From Erwin.Craps at ithelps.be Wed Sep 1 01:14:44 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Wed, 1 Sep 2004 08:14:44 +0200 Subject: [AccessD] A2K:Determine OS and version via VBA - Solved thanksGustav and Stuart Message-ID: <46B976F2B698FF46A4FE7636509B22DF0ADB51@stekelbes.ithelps.local> It is advised to put the MDE on the local computer of the client, so all network users use their own MDE file. Thats always good for several reasons already discusses in the mailing list, but I want to point out that there are some weirder things with Access 2003 references than we are used with 2K. References some times need to be disabled and re-enabled before the apllications works. In case you have different Access versions running in the same site, a MDE file on the user local computer is a must due to these references. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Wednesday, September 01, 2004 5:25 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K:Determine OS and version via VBA - Solved thanksGustav and Stuart Gustav and Stuart Many thanks to you both Both sets of code Work like a charm Many thanks to you both Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, 31 August 2004 9:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K:Determine OS and version via VBA Hi Darren > I used to have a little code jewel from the list tucked away in my own > personal little archive that would allow me to determine the OS in > VBA- But alas since the death of the laptop my personal stash has gone > So....Anyone got any code to determine the OS and version? We use this module: Option Compare Database Option Explicit ' Major Minor ' OS Platform Version Version Build ' ' Windows 95 1 4 0 ' Windows 98 1 4 10 1998 ' Windows 98SE 1 4 10 2222 ' Windows ME 1 4 90 3000 ' NT 3.51 2 3 51 ' NT 2 4 0 1381 ' 2000 2 5 0 ' XP 2 5 1 2600 ' Server 2003 2 5 2 ' Code based on MS API documentation. ' 2004-07-02. Assembled by Cactus Data ApS, CPH. Private Const VER_PLATFORM_WIN32s As Long = 0 ' Win32s on Windows 3.1x. Private Const VER_PLATFORM_WIN32_WINDOWS As Long = 1 ' Windows 95, Windows 98, Windows ME. Private Const VER_PLATFORM_WIN32_NT As Long = 2 ' Windows NT, Windows 2000, Windows XP, Windows Server 2003. Private Const clngCSDVersion As Long = 128 Private Type OSVERSIONINFO dwOSVersionInfoSize As Long dwMajorVersion As Long dwMinorVersion As Long dwBuildNumber As Long dwPlatformId As Long szCSDVersion As String * clngCSDVersion End Type Private Declare Function GetVersionEx Lib "kernel32" Alias "GetVersionExA" ( _ ByRef lpVersionInformation As OSVERSIONINFO) _ As Long Public Function GetVersion() As String ' Retrieves version of current Windows OS. ' Returns version as full string. ' ' 2004-07-02. Cactus Data ApS, CPH. Dim OSV As OSVERSIONINFO Dim strVersion As String OSV.dwOSVersionInfoSize = Len(OSV) OSV.szCSDVersion = Space$(clngCSDVersion) GetVersionEx OSV With OSV ' Service Pack info string. Debug.Print .szCSDVersion Select Case .dwPlatformId Case VER_PLATFORM_WIN32s ' Win32s on Windows 3.1x. strVersion = "Windows 3.1" Case VER_PLATFORM_WIN32_WINDOWS ' Windows 95, Windows 98, Select Case .dwMinorVersion ' Windows ME. Case 0 strVersion = "Windows 95" Case 10 If (.dwBuildNumber And &HFFFF&) = 2222 Then strVersion = "Windows 98SE" Else strVersion = "Windows 98" End If Case 90 strVersion = "Windows ME" End Select Case VER_PLATFORM_WIN32_NT ' Windows NT, Windows 2000, Windows XP, Select Case .dwMajorVersion ' Windows Server 2003. Case 3 strVersion = "Windows NT 3.51" Case 4 strVersion = "Windows NT 4.0" Case 5 Select Case .dwMinorVersion Case 0 strVersion = "Windows 2000" Case 1 strVersion = "Windows XP" Case 2 strVersion = "Windows Server 2003" End Select End Select Case Else strVersion = "Unknown" End Select End With GetVersion = strVersion End Function Public Function IsWinXP() As Boolean ' Checks current Windows OS. ' Returns True if OS is Win XP or Server 2003. ' ' 2004-07-07. Cactus Data ApS, CPH. Dim OSV As OSVERSIONINFO Dim booVersion As Boolean OSV.dwOSVersionInfoSize = Len(OSV) GetVersionEx OSV With OSV Select Case .dwPlatformId Case VER_PLATFORM_WIN32_NT ' Windows NT, Windows 2000, Windows XP, Select Case .dwMajorVersion ' Windows Server 2003. Case 5 Select Case .dwMinorVersion Case 0 ' strVersion = "Windows 2000" Case 1 ' strVersion = "Windows XP" booVersion = True Case 2 ' strVersion = "Windows Server 2003" booVersion = True End Select End Select End Select End With IsWinXP = booVersion End Function Have fun! /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Wed Sep 1 02:56:08 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Wed, 1 Sep 2004 09:56:08 +0200 Subject: [AccessD] A2K:Determine OS and version via VBA - SolvedthanksGustav and Stuart Message-ID: <46B976F2B698FF46A4FE7636509B22DF0ADB52@stekelbes.ithelps.local> Ignore my previous message, it was intended for another issue.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Wednesday, September 01, 2004 8:15 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K:Determine OS and version via VBA - SolvedthanksGustav and Stuart It is advised to put the MDE on the local computer of the client, so all network users use their own MDE file. Thats always good for several reasons already discusses in the mailing list, but I want to point out that there are some weirder things with Access 2003 references than we are used with 2K. References some times need to be disabled and re-enabled before the apllications works. In case you have different Access versions running in the same site, a MDE file on the user local computer is a must due to these references. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Wednesday, September 01, 2004 5:25 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K:Determine OS and version via VBA - Solved thanksGustav and Stuart Gustav and Stuart Many thanks to you both Both sets of code Work like a charm Many thanks to you both Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, 31 August 2004 9:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K:Determine OS and version via VBA Hi Darren > I used to have a little code jewel from the list tucked away in my own > personal little archive that would allow me to determine the OS in > VBA- But alas since the death of the laptop my personal stash has gone > So....Anyone got any code to determine the OS and version? We use this module: Option Compare Database Option Explicit ' Major Minor ' OS Platform Version Version Build ' ' Windows 95 1 4 0 ' Windows 98 1 4 10 1998 ' Windows 98SE 1 4 10 2222 ' Windows ME 1 4 90 3000 ' NT 3.51 2 3 51 ' NT 2 4 0 1381 ' 2000 2 5 0 ' XP 2 5 1 2600 ' Server 2003 2 5 2 ' Code based on MS API documentation. ' 2004-07-02. Assembled by Cactus Data ApS, CPH. Private Const VER_PLATFORM_WIN32s As Long = 0 ' Win32s on Windows 3.1x. Private Const VER_PLATFORM_WIN32_WINDOWS As Long = 1 ' Windows 95, Windows 98, Windows ME. Private Const VER_PLATFORM_WIN32_NT As Long = 2 ' Windows NT, Windows 2000, Windows XP, Windows Server 2003. Private Const clngCSDVersion As Long = 128 Private Type OSVERSIONINFO dwOSVersionInfoSize As Long dwMajorVersion As Long dwMinorVersion As Long dwBuildNumber As Long dwPlatformId As Long szCSDVersion As String * clngCSDVersion End Type Private Declare Function GetVersionEx Lib "kernel32" Alias "GetVersionExA" ( _ ByRef lpVersionInformation As OSVERSIONINFO) _ As Long Public Function GetVersion() As String ' Retrieves version of current Windows OS. ' Returns version as full string. ' ' 2004-07-02. Cactus Data ApS, CPH. Dim OSV As OSVERSIONINFO Dim strVersion As String OSV.dwOSVersionInfoSize = Len(OSV) OSV.szCSDVersion = Space$(clngCSDVersion) GetVersionEx OSV With OSV ' Service Pack info string. Debug.Print .szCSDVersion Select Case .dwPlatformId Case VER_PLATFORM_WIN32s ' Win32s on Windows 3.1x. strVersion = "Windows 3.1" Case VER_PLATFORM_WIN32_WINDOWS ' Windows 95, Windows 98, Select Case .dwMinorVersion ' Windows ME. Case 0 strVersion = "Windows 95" Case 10 If (.dwBuildNumber And &HFFFF&) = 2222 Then strVersion = "Windows 98SE" Else strVersion = "Windows 98" End If Case 90 strVersion = "Windows ME" End Select Case VER_PLATFORM_WIN32_NT ' Windows NT, Windows 2000, Windows XP, Select Case .dwMajorVersion ' Windows Server 2003. Case 3 strVersion = "Windows NT 3.51" Case 4 strVersion = "Windows NT 4.0" Case 5 Select Case .dwMinorVersion Case 0 strVersion = "Windows 2000" Case 1 strVersion = "Windows XP" Case 2 strVersion = "Windows Server 2003" End Select End Select Case Else strVersion = "Unknown" End Select End With GetVersion = strVersion End Function Public Function IsWinXP() As Boolean ' Checks current Windows OS. ' Returns True if OS is Win XP or Server 2003. ' ' 2004-07-07. Cactus Data ApS, CPH. Dim OSV As OSVERSIONINFO Dim booVersion As Boolean OSV.dwOSVersionInfoSize = Len(OSV) GetVersionEx OSV With OSV Select Case .dwPlatformId Case VER_PLATFORM_WIN32_NT ' Windows NT, Windows 2000, Windows XP, Select Case .dwMajorVersion ' Windows Server 2003. Case 5 Select Case .dwMinorVersion Case 0 ' strVersion = "Windows 2000" Case 1 ' strVersion = "Windows XP" booVersion = True Case 2 ' strVersion = "Windows Server 2003" booVersion = True End Select End Select End Select End With IsWinXP = booVersion End Function Have fun! /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Wed Sep 1 02:56:20 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Wed, 1 Sep 2004 09:56:20 +0200 Subject: [AccessD] Will an A2K MDE run unde A2003? Message-ID: <46B976F2B698FF46A4FE7636509B22DF0ADB53@stekelbes.ithelps.local> It is advised to put the MDE on the local computer of the client, so all network users use their own MDE file. Thats always good for several reasons already discusses in the mailing list, but I want to point out that there are some weirder things with Access 2003 references than we are used with 2K. References some times need to be disabled and re-enabled before the apllications works. In case you have different Access versions running in the same site, a MDE file on the user local computer is a must due to these references. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, September 01, 2004 5:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Will an A2K MDE run unde A2003? For my market having Access is quite common. So it's not really an issue. I've got Wise and could, I suppose, get the Sagekey script for A2K. But that's already 2 versions behind the latest. I understand that A2003 has a pretty decent deployment facility. Yes? If this prospect wants the software and it will only run in A2003 I'll get A2003, and then I'll have a chance to test the deployment features. Rocky ----- Original Message ----- From: "Francisco Tapia" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 31, 2004 5:03 PM Subject: Re: [AccessD] Will an A2K MDE run unde A2003? > I am curious as to why you don't deploy it w/ a runtime?, I mean you > don't have it as opensource to allow the customer to work w/ the app. > > On Tue, 31 Aug 2004 16:40:07 -0700, Rocky Smolin - Beach Access > Software wrote: > > Dear List: > > > > I have to call a guy tomorrow morning and tell him whether my software will work in Access 2003. I compile it into an MDE under Access 2000. I know that MDE will run under Access 2002. Will the MDE run in 2003? > > > > I also have Access 2002 which I could use to make an MDE. Would an MDE compiled under Access 2002 run under Access 2003? > > > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Sep 1 01:44:59 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 31 Aug 2004 23:44:59 -0700 Subject: [AccessD] Slightly OT: HTTPS question In-Reply-To: <08F823FD83787D4BA0B99CA580AD3C74089AF3@TTNEXCHCL2.hshhp.com> Message-ID: Hi Jim: I do not know wether this is an issue with you but a client was having some problems with their version of IE. It turned out to be a proxy issue and nothing to do with the browser. Their proxy client was not properly setup or was not installed. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Monday, August 30, 2004 10:32 AM To: AccessD (E-mail) Subject: [AccessD] Slightly OT: HTTPS question List, Does anyone know if IE 5xx has any issues with accessing https sites? I'm pretty sure I can get them on my home PC but I've got a laptop here at the office that serves up "page not found" errors on two of our sites (one a web app, the other a Citrix server). Thanks, Jim DeMarco Director Application Development Hudson Health Plan Tarrytown, NY **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Sep 1 01:48:48 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 31 Aug 2004 23:48:48 -0700 Subject: [AccessD] Will an A2K MDE run unde A2003? References: <001701c48fb3$d92f7320$6601a8c0@HAL9002> <00f801c48fd6$6f473f10$6601a8c0@HAL9002> Message-ID: <413570D0.8010209@shaw.ca> SageKey has an MSI deployment script for Access 2003. $400 It also removes the need for a digital certificate. which might prove to be a problem or just a nuisance with Access 2000 MDE running under 2003. I guess you will find out. Rocky Smolin - Beach Access Software wrote: >For my market having Access is quite common. So it's not really an issue. >I've got Wise and could, I suppose, get the Sagekey script for A2K. But >that's already 2 versions behind the latest. > >I understand that A2003 has a pretty decent deployment facility. Yes? > >If this prospect wants the software and it will only run in A2003 I'll get >A2003, and then I'll have a chance to test the deployment features. > >Rocky > >----- Original Message ----- >From: "Francisco Tapia" >To: "Access Developers discussion and problem solving" > >Sent: Tuesday, August 31, 2004 5:03 PM >Subject: Re: [AccessD] Will an A2K MDE run unde A2003? > > > > >>I am curious as to why you don't deploy it w/ a runtime?, I mean you >>don't have it as opensource to allow the customer to work w/ the app. >> >>On Tue, 31 Aug 2004 16:40:07 -0700, Rocky Smolin - Beach Access >>Software wrote: >> >> >>>Dear List: >>> >>>I have to call a guy tomorrow morning and tell him whether my software >>> >>> >will work in Access 2003. I compile it into an MDE under Access 2000. I >know that MDE will run under Access 2002. Will the MDE run in 2003? > > >>>I also have Access 2002 which I could use to make an MDE. Would an MDE >>> >>> >compiled under Access 2002 run under Access 2003? > > >>-- >>-Francisco >>-- >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From andy at minstersystems.co.uk Wed Sep 1 05:26:30 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 1 Sep 2004 11:26:30 +0100 Subject: [AccessD] Prompt after Form loads In-Reply-To: Message-ID: <000501c4900e$25b38380$b274d0d5@minster33c3r25> Francisco I'd go with your OnTimer idea. I think all of the other obvious events will fire before the form is fully displayed. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Francisco Tapia > Sent: 31 August 2004 23:32 > To: Access Developers discussion and problem solving > Subject: [AccessD] Prompt after Form loads > > > I have a form which autoloads data to some unbound controls. > I have a need to prompt the user if he wants to overwrite > some fields w/ defaults. However since the "IF" is in the > form_load event it prompts before the form is fully loaded, > thus the user can't make an informed decision. > > Any idea how to do this? on timer, then disable it? > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From gustav at cactus.dk Wed Sep 1 05:34:56 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 1 Sep 2004 12:34:56 +0200 Subject: [AccessD] Prompt after Form loads In-Reply-To: <000501c4900e$25b38380$b274d0d5@minster33c3r25> References: <000501c4900e$25b38380$b274d0d5@minster33c3r25> Message-ID: <4314961823.20040901123456@cactus.dk> Hi Andy and Francisco I would suggest OnCurrent. To prevent multiple prompts, set a static flag: Static booIsPrompted As Boolean If booIsPrompted = False Then ' Ask if you user wish to load data. booIsPrompted = True End If /gustav > Francisco > I'd go with your OnTimer idea. I think all of the other obvious events will > fire before the form is fully displayed. > -- Andy Lacey > http://www.minstersystems.co.uk >> I have a form which autoloads data to some unbound controls. >> I have a need to prompt the user if he wants to overwrite >> some fields w/ defaults. However since the "IF" is in the >> form_load event it prompts before the form is fully loaded, >> thus the user can't make an informed decision. From Jdemarco at hudsonhealthplan.org Wed Sep 1 07:08:24 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Wed, 1 Sep 2004 08:08:24 -0400 Subject: [AccessD] Slightly OT: HTTPS question Message-ID: <08F823FD83787D4BA0B99CA580AD3C74089B12@TTNEXCHCL2.hshhp.com> Interesting. How would I check this out? Thanks, Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Wednesday, September 01, 2004 2:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Slightly OT: HTTPS question Hi Jim: I do not know wether this is an issue with you but a client was having some problems with their version of IE. It turned out to be a proxy issue and nothing to do with the browser. Their proxy client was not properly setup or was not installed. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Monday, August 30, 2004 10:32 AM To: AccessD (E-mail) Subject: [AccessD] Slightly OT: HTTPS question List, Does anyone know if IE 5xx has any issues with accessing https sites? I'm pretty sure I can get them on my home PC but I've got a laptop here at the office that serves up "page not found" errors on two of our sites (one a web app, the other a Citrix server). Thanks, Jim DeMarco Director Application Development Hudson Health Plan Tarrytown, NY **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From cyx5 at cdc.gov Wed Sep 1 07:18:57 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Wed, 1 Sep 2004 08:18:57 -0400 Subject: [AccessD] Get User Name Message-ID: It is great to be back on the list and working with Access again. It has been a while. I am looking for the user defined function to grab the network user name or id. I have inherited an Access 2002/SQL 2000 back-end database run completely by macros with a pretty bad password scenario. This should keep me busy for a while. Karen Nicholson National Laboratory Xerox Global Services From bheid at appdevgrp.com Wed Sep 1 07:33:40 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 1 Sep 2004 08:33:40 -0400 Subject: [AccessD] Get User Name In-Reply-To: <916187228923D311A6FE00A0CC3FAA30962AAD@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB7AD@ADGSERVER> Hi Karen, I use this (note that I did not write this): Private Declare Function GetUserName Lib "advapi32.dll" Alias _ "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long ' Returns the network login name or 'Admin' if api call fails Public Function GetOSUserName() As String Dim lngLen As Long Dim lngX As Long Dim strUserName As String On Error GoTo Proc_Err strUserName = String$(254, 0) lngLen = 255 lngX = GetUserName(strUserName, lngLen) If lngX <> 0 Then GetOSUserName = Left$(strUserName, lngLen - 1) Else GetOSUserName = "ADMIN" End If Proc_Exit: Exit Function Proc_Err: MsgBox Err.Number & " - " & Err.Description, vbExclamation + vbOKOnly , "GetOSUserName" Resume Proc_Exit End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Wednesday, September 01, 2004 8:19 AM To: accessd at databaseadvisors.com Subject: [AccessD] Get User Name It is great to be back on the list and working with Access again. It has been a while. I am looking for the user defined function to grab the network user name or id. I have inherited an Access 2002/SQL 2000 back-end database run completely by macros with a pretty bad password scenario. This should keep me busy for a while. Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Sep 1 07:35:01 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 01 Sep 2004 22:35:01 +1000 Subject: [AccessD] Get User Name In-Reply-To: Message-ID: <41364E95.3834.4E48C09@lexacorp.com.pg> On 1 Sep 2004 at 8:18, Nicholson, Karen wrote: > It is great to be back on the list and working with Access again. It > has been a while. I am looking for the user defined function to grab > the network user name or id. I have inherited an Access 2002/SQL 2000 > back-end database run completely by macros with a pretty bad password > scenario. This should keep me busy for a while. > Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long Function UserName() As String Dim strUName As String Dim lngResponse As Long UNAME = Space$(32) lngResponse = GetUserName(strUName, 32) strUName = Trim$(strUName) UserName = Left$(strUName, Len(strUName) - 1) 'strip Chr$(0) from end of name End Function -- Stuart From carbonnb at gmail.com Wed Sep 1 07:57:06 2004 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 1 Sep 2004 08:57:06 -0400 Subject: [AccessD] Get User Name In-Reply-To: References: Message-ID: On Wed, 1 Sep 2004 08:18:57 -0400, Nicholson, Karen wrote: > It is great to be back on the list and working with Access again. It > has been a while. I am looking for the user defined function to grab > the network user name or id. I have inherited an Access 2002/SQL 2000 > back-end database run completely by macros with a pretty bad password > scenario. This should keep me busy for a while. The functions that Bobby and Stuart posted are fine for a windows network, but if you are on a Novell network this will get you the NovellID '*+ Module API declarations Private Declare Function NWCallsInit Lib "calwin32" _ (reserved1 As Byte, reserved2 As Byte) As Long Private Declare Function NWDSCreateContextHandle Lib "netwin32" _ (newHandle As Long) As Long Private Declare Function NWDSWhoAmI Lib "netwin32" _ (ByVal context As Long, ByVal objectName As String) As Long Private Declare Function NWDSFreeContext Lib "netwin32" _ (ByVal context As Long) As Long '*- Module API declarations Function fGetNovellUserName() As String '-------------------------------------------------------------------------- '.Purpose : To get Novell User Name '.Author : Bryan Carbonnell '.Date : 3-May-2002 '.Called by : frmUser Form_Open Event '.Calls : NWCallsInit - API '. NWDSCreateContextHandle - API '. NWDSFreeContext - API '.Revised : 3-May-2002 - Original '-------------------------------------------------------------------------- On Error GoTo fGetNovellUserName_Error Dim lngContextCode As Long Dim lngContext As Long Dim strMyName As String ' allocate space for user name On Error GoTo fGetNovellUserName_Error strMyName = Space(255) ' initialize NetWare client lngContextCode = NWCallsInit(0, 0) If lngContextCode <> 0 Then 'NW Client cannot be initialised, so we can't get the User Name fGetNovellUserName = "NWCallsInit() - Cannot initialize" Else ' a context is req'd for all NDS functions lngContextCode = NWDSCreateContextHandle(lngContext) If lngContextCode = 0 Then 'We have a valid Context, so we can do stuff ' now, get my name lngContextCode = NWDSWhoAmI(lngContext, strMyName) 'Change to return username If lngContextCode = 0 Then strMyName = Left(strMyName, (InStr(strMyName, Chr(0)) - 1)) strMyName = Mid(strMyName, 4) fGetNovellUserName = strMyName End If ' clean-up lngContextCode = NWDSFreeContext(lngContext) End If End If Exit_fGetNovellUserName: On Error GoTo 0 Exit Function 'Error Handler fGetNovellUserName_Error: 'Display Error Message MsgBox "Error " & Err.Number & " (" & Err.Description & _ ") in procedure " & .ProcedureName & " of " & .ModuleName 'Exit the procedure properly Resume Exit_fGetNovellUserName 'For Debugging Resume End Function -- 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 markamatte at hotmail.com Wed Sep 1 08:29:40 2004 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 01 Sep 2004 13:29:40 +0000 Subject: [AccessD] Every 100th record Message-ID: Arthur, First...congrats on the new contract...second...for this contract...do the queries you are optimizing need to be real time... or can they be on data prior to today(or what is the acceptable lag time)? Just curious... Thanks, Mark >From: "Arthur Fuller" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: RE: [AccessD] Every 100th record >Date: Tue, 31 Aug 2004 19:32:55 -0400 > >Just to put things in perspective, JC, the first client of the people >who developed MySQL had 60M rows in their principal table. There are >lots of apps way bigger than that. I once had a client that was adding >10M rows per month to the table of concern (this was an app recording >seismic activity from several hundred meters). I must caution you that >you should not use the term VLDB as loosely as you have been using it. >You don't know the meaning of VLDB -- not yet at least. You're beginning >to appreciate the turf, however. Once I bid on a project that had 100M >rows each containing a graphic file. Not to say that size is everything, >but IMO VLDB comprises at least a TB, and often many hundreds of TBs. > >I just got a contract with a company using MySQL whose test database's >most important table comprises 100M rows. They expect their clients to >have 10* as many rows. My job is to optimize the queries. Fortunately, I >can assume any hardware I deem necessary to do it. They are after >sub-second retrieves against 1B rows, with maybe 1000 users. Life's a >beach and then you drown. I don't know if I can deliver what they want, >but what I can deliver is benchmarks against the various DBs that I'm >comfortable with -- SQL 2000, Oracle, MySQL and DB/2. I figure that if >none of them can do it, I'm off the hook :) > >The difficult part of this new assignment is that there's no way I can >duplicate the hardware resources required to emulate the required >system, so I have to assume that the benchmarks on my local system will >hold up in a load-leveling 100-server environment -- at least until I >have something worthy of installing and then test it in that >environment. > >I sympathize and empathize with your situation, JC. It's amazing how >many of our tried-and-true solutions go right out the window when you >escalate the number of rows to 100M -- and then factor in multiple >joins. Stuff that looks spectacular with only 1M rows suddenly sucks >big-time when applied to 100M rows. > >Arthur > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby >Sent: Tuesday, August 31, 2004 7:13 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Every 100th record > > >Paul, > >In fact I am trying to make this run on my home system which is part of >the problem. This week I am playing "stay-at-home dad" as my wife >starts the chhool year this week and has all those 1st week teacher >meetings / training. > >I have never come even close to a db this size and it has definitely >been a learning experience. Here's hoping I survive. > >John W. Colby >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Rodgers >Sent: Tuesday, August 31, 2004 3:49 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Every 100th record > > >65 million! What an amazing world you work it. Is there ever time in the >week to pop home for an hour? >Cheers paul > >-----Original Message----- >From: John W. Colby [mailto:jwcolby at colbyconsulting.com] >Sent: 27 August 2004 16:39 >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Every 100th record > > >Gustav, > >I am working on a SQL Server database of about 65 million records. We >need to pull a subset of those for doing counts of data in specific >fields. Trying to do that analysis on the entire 65 million records just >won't work at least in anything close to realtime. Thus we literally >want to pull every Nth record. If we pulled every 100th record into a >table that would give a sampling of 650K records to run this analysis >on. That still won't be lightning fast but at least doable. > >John W. Colby >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: Friday, August 27, 2004 11:22 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Every 100th record > > >Hi John > > > > Does anyone have a strategy for pulling every Nth record? My client > > wants to pull every 100th record into a dataset for analysis, to speed > > > things up I am guessing. > >To speed up what? Analysis on a sample only and not on the full set? > >If so, you could select by "Random Between 1 To 100" = 1. > >/gustav > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >--- >Incoming mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/2004 > > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/2004 > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Sep 1 08:52:11 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 1 Sep 2004 15:52:11 +0200 Subject: [AccessD] Time zones (was: internationalization) In-Reply-To: <11525103216.20040714155748@cactus.dk> References: <2F8793082E00D4119A1700B0D0216BF8017A1F98@main2.marlow.com> <32007103843568110723d0567@global.net.pg> <11525103216.20040714155748@cactus.dk> Message-ID: <19626796821.20040901155211@cactus.dk> Hi all I just saw that Helen has published the part two of this horror code and checked if anything had been changed - but no. Just in case you should be involved in time zones, I will just say: look everywhere else. But how do you US people deal with time zones? In Europe we seldom do (the countries are too small) but you have to shift between Pacific and Mountain etc. all day, except for local compannies, of course. /gustav > Hi all > This topic popped up in all its glory in the recent issue of "Woody's > Access Watch" where Helen Feddema is goofing around trying to parse > date/time strings to figure out time zones. Of course, this dirty > deroute is paved with traps so it doesn't work outside the US where > other regional settings are used. > Just in case anyone should have a need for dealing with time zones, > here are a couple of functions we use. You'll quickly notice that > essentially it is nothing more than a little clean up and one single > line of code: > datRemote = DateAdd("n", lngBias, datLocal) > If you have nothing to do Friday you may wish to browse Helen's demo: > ftp://ftp.helenfeddema.com/pub/accarch121.zip > > Public Function TimeZoneBiasDiff( _ > ByVal lngLocalTimeBias As Long, _ > ByVal lngRemoteTimeBias As Long) _ > As Long > ' Calculates the difference in minutes between two time zones, > ' typically the local time zone and a remote time zone. > ' Both time zones must be expressed by their bias relative to > ' UTC (Coordinated Universal Time) which is measured in minutes. > ' > ' 2000-05-30. Cactus Data ApS, CPH. > ' Minimum amount of minutes for a time zone bias. > Const clngTimeZoneBiasMin As Long = 15 > Dim lngTimeZoneBiasDiff As Long > ' Round off time zone bias by minimum time zone difference. > lngLocalTimeBias = lngLocalTimeBias \ clngTimeZoneBiasMin > lngLocalTimeBias = lngLocalTimeBias * clngTimeZoneBiasMin > lngRemoteTimeBias = lngRemoteTimeBias \ clngTimeZoneBiasMin > lngRemoteTimeBias = lngRemoteTimeBias * clngTimeZoneBiasMin > ' Calculate difference in time zone bias. > lngTimeZoneBiasDiff = lngRemoteTimeBias - lngLocalTimeBias > TimeZoneBiasDiff = lngTimeZoneBiasDiff > End Function > Public Function DateAddTimeZoneDiff( _ > ByVal datLocal As Date, _ > ByVal lngLocalBias, _ > ByVal lngRemoteBias) _ > As Date > ' Calculates the date/time of datLocal in a remote time zone. > ' The difference in minutes will be the difference between the > ' local time zone bias and the remote time zone bias where the > ' bias are relative to UTC. > ' > ' Examples: > ' > ' datRemote = DateAddTimeZoneDiff(Now(), 60, -600) > ' will return datRemote as eleven hours behind local time. > ' > ' datRemote = DateAddTimeZoneDiff(Now(), -600, 60) > ' will return datRemote as eleven hours ahead of local time. > ' > ' 2000-05-30. Cactus Data ApS, CPH. > Dim datRemote As Date > Dim lngBias As Long > ' Get difference (in minutes) in time zone bias. > lngBias = TimeZoneBiasDiff(lngLocalBias, lngRemoteBias) > ' Calculate remote date/time. > datRemote = DateAdd("n", lngBias, datLocal) > DateAddTimeZoneDiff = datRemote > End Function > > Also, note "GMT" has been considered obsolete for years and has for > every serious use been replaced with UTC. > /gustav >> On 27 Nov 2002 at 15:45, Gustav Brock wrote: >>> Hi Drew >>> >>> > Thanks. Next version I'll incorporate that. >>> >>> OK. >>> >>> > Time zones are pretty easy. In fact, all of this date stuff is too. The >>> > only real monster is Arizona, which decreed to ignore daylight savings time. >>> >>> So how DO you deal with the time zones? >>> >>> I have seen no options in Access for this contrary to Oracle which can >>> record date/time including the time zone. >>> >>> My thought was to use a byte field with a shifted value similar to how >>> MySQL can store a year value in a byte field ... >>> >> You could get the Bias member of the Time_Zone_Information structure >> retrieved with the GetTimeZoneInformation API function and either >> apply it to the time in question or store it in another field as a >> long (or integer if space is critical) >> >> Stuart From kaupca at chevrontexaco.com Wed Sep 1 09:10:40 2004 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Wed, 1 Sep 2004 09:10:40 -0500 Subject: [AccessD] Subform problem with detail section Message-ID: <1375769556091B4DAABC159F944CA1BB0B046A@bocnte2k4.boc.chevrontexaco.net> I have a subform on a main form. If I set the recordset type property to snapshot I can see the records from the record source table but cannot add records. If I set the recordset type to dynaset the detail section of the subreport disappears. I believe dynaset will allow records to be added but an invisible detail section is of no help. What do I have set wrong? Thanks Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7414 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From cyx5 at cdc.gov Wed Sep 1 09:18:23 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Wed, 1 Sep 2004 10:18:23 -0400 Subject: [AccessD] Order By in Subform Message-ID: Syntax, syntax. The prior programmer used a pound sign in the subform name. I am trying to place on 'on click' event procedure to sort the subform by the task number field. I am getting a syntax error with this code: Me.[frmSortTask#].Form.OrderBy = "TaskNumber" Me.[frmSortTask#].Form.OrderByOn = True Any ideas? Karen Nicholson National Laboratory Xerox Global Services From bchacc at san.rr.com Wed Sep 1 09:55:46 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 1 Sep 2004 07:55:46 -0700 Subject: [AccessD] Order By in Subform References: Message-ID: <010401c49033$c34e7fd0$6601a8c0@HAL9002> Karen: I think doing a global replace on the name would be the quickest way. Do you have Find and Replace, Speed Ferret or some other third party add-in? I use Find and Replace and that would change all the references even in the object names. HTH Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "Nicholson, Karen" To: Sent: Wednesday, September 01, 2004 7:18 AM Subject: [AccessD] Order By in Subform Syntax, syntax. The prior programmer used a pound sign in the subform name. I am trying to place on 'on click' event procedure to sort the subform by the task number field. I am getting a syntax error with this code: Me.[frmSortTask#].Form.OrderBy = "TaskNumber" Me.[frmSortTask#].Form.OrderByOn = True Any ideas? Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Wed Sep 1 10:03:48 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Wed, 1 Sep 2004 11:03:48 -0400 Subject: [AccessD] Order By in Subform Message-ID: Got it. Overthinking, I suppose. This works: Me.OrderBy = "tasknumber" Me.OrderByOn = True Any objections? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Wednesday, September 01, 2004 10:18 AM To: accessd at databaseadvisors.com Subject: [AccessD] Order By in Subform Syntax, syntax. The prior programmer used a pound sign in the subform name. I am trying to place on 'on click' event procedure to sort the subform by the task number field. I am getting a syntax error with this code: Me.[frmSortTask#].Form.OrderBy = "TaskNumber" Me.[frmSortTask#].Form.OrderByOn = True Any ideas? Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Wed Sep 1 10:35:54 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 08:35:54 -0700 Subject: [AccessD] Prompt after Form loads In-Reply-To: <4314961823.20040901123456@cactus.dk> References: <000501c4900e$25b38380$b274d0d5@minster33c3r25> <4314961823.20040901123456@cactus.dk> Message-ID: I will try this option Gustav, thanks :D. btw, Rocky... What I meant by autoload was that in the Form_Load event I have code that loads data to the form. because it was in the form_load event, the prompt was occuring before the user had a chance to see the form. On Wed, 1 Sep 2004 12:34:56 +0200, Gustav Brock wrote: > Hi Andy and Francisco > > I would suggest OnCurrent. > To prevent multiple prompts, set a static flag: > > Static booIsPrompted As Boolean > > If booIsPrompted = False Then > ' Ask if you user wish to load data. > > booIsPrompted = True > End If -- -Francisco From cfoust at infostatsystems.com Wed Sep 1 10:36:42 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 1 Sep 2004 08:36:42 -0700 Subject: [AccessD] Time zones (was: internationalization) Message-ID: We don't generally deal with it except in our heads. I've never had to address it in an application, although probably I would use an offset to UTC as well. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, September 01, 2004 6:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Time zones (was: internationalization) Hi all I just saw that Helen has published the part two of this horror code and checked if anything had been changed - but no. Just in case you should be involved in time zones, I will just say: look everywhere else. But how do you US people deal with time zones? In Europe we seldom do (the countries are too small) but you have to shift between Pacific and Mountain etc. all day, except for local compannies, of course. /gustav > Hi all > This topic popped up in all its glory in the recent issue of "Woody's > Access Watch" where Helen Feddema is goofing around trying to parse > date/time strings to figure out time zones. Of course, this dirty > deroute is paved with traps so it doesn't work outside the US where > other regional settings are used. > Just in case anyone should have a need for dealing with time zones, > here are a couple of functions we use. You'll quickly notice that > essentially it is nothing more than a little clean up and one single > line of code: > datRemote = DateAdd("n", lngBias, datLocal) > If you have nothing to do Friday you may wish to browse Helen's demo: > ftp://ftp.helenfeddema.com/pub/accarch121.zip > > Public Function TimeZoneBiasDiff( _ > ByVal lngLocalTimeBias As Long, _ > ByVal lngRemoteTimeBias As Long) _ > As Long > ' Calculates the difference in minutes between two time zones, ' > typically the local time zone and a remote time zone. ' Both time > zones must be expressed by their bias relative to ' UTC (Coordinated > Universal Time) which is measured in minutes. ' > ' 2000-05-30. Cactus Data ApS, CPH. > ' Minimum amount of minutes for a time zone bias. > Const clngTimeZoneBiasMin As Long = 15 > Dim lngTimeZoneBiasDiff As Long > ' Round off time zone bias by minimum time zone difference. > lngLocalTimeBias = lngLocalTimeBias \ clngTimeZoneBiasMin > lngLocalTimeBias = lngLocalTimeBias * clngTimeZoneBiasMin > lngRemoteTimeBias = lngRemoteTimeBias \ clngTimeZoneBiasMin > lngRemoteTimeBias = lngRemoteTimeBias * clngTimeZoneBiasMin > ' Calculate difference in time zone bias. > lngTimeZoneBiasDiff = lngRemoteTimeBias - lngLocalTimeBias > TimeZoneBiasDiff = lngTimeZoneBiasDiff > End Function > Public Function DateAddTimeZoneDiff( _ > ByVal datLocal As Date, _ > ByVal lngLocalBias, _ > ByVal lngRemoteBias) _ > As Date > ' Calculates the date/time of datLocal in a remote time zone. ' The > difference in minutes will be the difference between the ' local time > zone bias and the remote time zone bias where the ' bias are relative > to UTC. ' > ' Examples: > ' > ' datRemote = DateAddTimeZoneDiff(Now(), 60, -600) > ' will return datRemote as eleven hours behind local time. > ' > ' datRemote = DateAddTimeZoneDiff(Now(), -600, 60) > ' will return datRemote as eleven hours ahead of local time. > ' > ' 2000-05-30. Cactus Data ApS, CPH. > Dim datRemote As Date > Dim lngBias As Long > ' Get difference (in minutes) in time zone bias. > lngBias = TimeZoneBiasDiff(lngLocalBias, lngRemoteBias) > ' Calculate remote date/time. > datRemote = DateAdd("n", lngBias, datLocal) > DateAddTimeZoneDiff = datRemote > End Function > > Also, note "GMT" has been considered obsolete for years and has for > every serious use been replaced with UTC. > /gustav >> On 27 Nov 2002 at 15:45, Gustav Brock wrote: >>> Hi Drew >>> >>> > Thanks. Next version I'll incorporate that. >>> >>> OK. >>> >>> > Time zones are pretty easy. In fact, all of this date stuff is >>> > too. The only real monster is Arizona, which decreed to ignore >>> > daylight savings time. >>> >>> So how DO you deal with the time zones? >>> >>> I have seen no options in Access for this contrary to Oracle which >>> can record date/time including the time zone. >>> >>> My thought was to use a byte field with a shifted value similar to >>> how MySQL can store a year value in a byte field ... >>> >> You could get the Bias member of the Time_Zone_Information structure >> retrieved with the GetTimeZoneInformation API function and either >> apply it to the time in question or store it in another field as a >> long (or integer if space is critical) >> >> Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Wed Sep 1 10:41:20 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 08:41:20 -0700 Subject: [AccessD] Prompt after Form loads In-Reply-To: References: <000501c4900e$25b38380$b274d0d5@minster33c3r25> <4314961823.20040901123456@cactus.dk> Message-ID: Just tried it and the OnCurrent event also fires before the form is loaded :(, gonna try the OnTimmer... On Wed, 1 Sep 2004 08:35:54 -0700, Francisco Tapia wrote: > I will try this option Gustav, thanks :D. > > btw, Rocky... What I meant by autoload was that in the Form_Load event > I have code that loads data to the form. because it was in the > form_load event, the prompt was occuring before the user had a chance > to see the form. > > On Wed, 1 Sep 2004 12:34:56 +0200, Gustav Brock wrote: > > Hi Andy and Francisco > > > > I would suggest OnCurrent. > > To prevent multiple prompts, set a static flag: > > > > Static booIsPrompted As Boolean > > > > If booIsPrompted = False Then > > ' Ask if you user wish to load data. > > > > booIsPrompted = True > > End If > > -- > -Francisco > -- -Francisco From gustav at cactus.dk Wed Sep 1 10:54:01 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 1 Sep 2004 17:54:01 +0200 Subject: [AccessD] Time zones (was: internationalization) In-Reply-To: References: Message-ID: <10834106562.20040901175401@cactus.dk> Hi Charlotte Really? But "nation wide" corporations exist - and the dates of Honolulu and Miami can be a date apart for many hours? /gustav > We don't generally deal with it except in our heads. I've never had to > address it in an application, although probably I would use an offset to > UTC as well. From gustav at cactus.dk Wed Sep 1 10:56:04 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 1 Sep 2004 17:56:04 +0200 Subject: [AccessD] Prompt after Form loads In-Reply-To: References: <000501c4900e$25b38380$b274d0d5@minster33c3r25> <4314961823.20040901123456@cactus.dk> Message-ID: <9234229188.20040901175604@cactus.dk> Hi Francisco Yes, that's right ... But replace the Boolean with a counter: one, two ... /gustav > Just tried it and the OnCurrent event also fires before the form is > loaded :(, gonna try the OnTimmer... > On Wed, 1 Sep 2004 08:35:54 -0700, Francisco Tapia wrote: >> I will try this option Gustav, thanks :D. >> >> btw, Rocky... What I meant by autoload was that in the Form_Load event >> I have code that loads data to the form. because it was in the >> form_load event, the prompt was occuring before the user had a chance >> to see the form. >> >> On Wed, 1 Sep 2004 12:34:56 +0200, Gustav Brock wrote: >> > Hi Andy and Francisco >> > >> > I would suggest OnCurrent. >> > To prevent multiple prompts, set a static flag: >> > >> > Static booIsPrompted As Boolean >> > >> > If booIsPrompted = False Then >> > ' Ask if you user wish to load data. >> > >> > booIsPrompted = True >> > End If From cfoust at infostatsystems.com Wed Sep 1 11:11:44 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 1 Sep 2004 09:11:44 -0700 Subject: [AccessD] Time zones (was: internationalization) Message-ID: World wide corporations exist too. We generally look at the clock to see whether we can reach one of our clients in the North Sea or Yemen or Canada or South America. What are you envisioning? In our business, the relative times aren't relevant, only the local time is important, so we don't have to worry about it. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, September 01, 2004 8:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Time zones (was: internationalization) Hi Charlotte Really? But "nation wide" corporations exist - and the dates of Honolulu and Miami can be a date apart for many hours? /gustav > We don't generally deal with it except in our heads. I've never had > to address it in an application, although probably I would use an > offset to UTC as well. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Wed Sep 1 11:28:51 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 09:28:51 -0700 Subject: [AccessD] Prompt after Form loads In-Reply-To: References: <000501c4900e$25b38380$b274d0d5@minster33c3r25> <4314961823.20040901123456@cactus.dk> Message-ID: On Timmer w/ a static variable is what I ended up using (plus after it fires I shoot the timer interval to 2hrs (more than enough time) so it hopefully won't fire again until after their session is done. On Wed, 1 Sep 2004 08:41:20 -0700, Francisco Tapia wrote: > Just tried it and the OnCurrent event also fires before the form is > loaded :(, gonna try the OnTimmer... > > > > On Wed, 1 Sep 2004 08:35:54 -0700, Francisco Tapia wrote: > > I will try this option Gustav, thanks :D. > > > > btw, Rocky... What I meant by autoload was that in the Form_Load event > > I have code that loads data to the form. because it was in the > > form_load event, the prompt was occuring before the user had a chance > > to see the form. > > > > On Wed, 1 Sep 2004 12:34:56 +0200, Gustav Brock wrote: > > > Hi Andy and Francisco > > > > > > I would suggest OnCurrent. > > > To prevent multiple prompts, set a static flag: > > > > > > Static booIsPrompted As Boolean > > > > > > If booIsPrompted = False Then > > > ' Ask if you user wish to load data. > > > > > > booIsPrompted = True > > > End If > > > > -- > > -Francisco > > > > > -- > -Francisco > -- -Francisco From fhtapia at gmail.com Wed Sep 1 11:32:23 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 09:32:23 -0700 Subject: [AccessD] Time zones (was: internationalization) In-Reply-To: References: Message-ID: Here is an issue that I never quite took into consideration: In a (now in production) database all times are stored as UTC, however to display I AM using an Offset of the local time, however if i were to query an "OLDER" timeframe that was outside the scope of the daylights savigns, then my math would be incorrect right? How would you manage that? would it be wise to wrap the date inside a function that could distinguish the daylights savings w/ non for the local area? This way the dates not shift between daylights and non-daylights savings schedules. On Wed, 1 Sep 2004 09:11:44 -0700, Charlotte Foust wrote: > World wide corporations exist too. We generally look at the clock to > see whether we can reach one of our clients in the North Sea or Yemen or > Canada or South America. What are you envisioning? In our business, > the relative times aren't relevant, only the local time is important, so > we don't have to worry about it. > > Charlotte Foust > > > > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, September 01, 2004 8:54 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Time zones (was: internationalization) > > Hi Charlotte > > Really? But "nation wide" corporations exist - and the dates of Honolulu > and Miami can be a date apart for many hours? > > /gustav > > > We don't generally deal with it except in our heads. I've never had > > to address it in an application, although probably I would use an > > offset to UTC as well. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From gustav at cactus.dk Wed Sep 1 11:48:39 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 1 Sep 2004 18:48:39 +0200 Subject: [AccessD] Time zones (was: internationalization) In-Reply-To: References: Message-ID: <2337384085.20040901184839@cactus.dk> Hi Francisco Well, to Charlotte this seems to be no problem, but it was considerations as those you describe I was thinking of. So far my thoughts would be to store date/time as UTC time, then do the conversion (shift) later to whatever time zone you may need. But what is your question really? Daylight savings is just another twist to time zone issues. And remember, some time zones are offset by 30 or even 15 minutes only. Did you see my code previously posted (2004-07-14)? /gustav > Here is an issue that I never quite took into consideration: In a > (now in production) database all times are stored as UTC, however to > display I AM using an Offset of the local time, however if i were to > query an "OLDER" timeframe that was outside the scope of the daylights > savigns, then my math would be incorrect right? > How would you manage that? would it be wise to wrap the date inside a > function that could distinguish the daylights savings w/ non for the > local area? This way the dates not shift between daylights and > non-daylights savings schedules. > On Wed, 1 Sep 2004 09:11:44 -0700, Charlotte Foust > wrote: >> World wide corporations exist too. We generally look at the clock to >> see whether we can reach one of our clients in the North Sea or Yemen or >> Canada or South America. What are you envisioning? In our business, >> the relative times aren't relevant, only the local time is important, so >> we don't have to worry about it. >> >> Charlotte Foust >> >> >> -----Original Message----- >> From: Gustav Brock [mailto:gustav at cactus.dk] >> Sent: Wednesday, September 01, 2004 8:54 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Time zones (was: internationalization) >> >> Hi Charlotte >> >> Really? But "nation wide" corporations exist - and the dates of Honolulu >> and Miami can be a date apart for many hours? >> >> /gustav >> >> > We don't generally deal with it except in our heads. I've never had >> > to address it in an application, although probably I would use an >> > offset to UTC as well. From fhtapia at gmail.com Wed Sep 1 11:56:49 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 09:56:49 -0700 Subject: [AccessD] Prompt after Form loads In-Reply-To: <9234229188.20040901175604@cactus.dk> References: <000501c4900e$25b38380$b274d0d5@minster33c3r25> <4314961823.20040901123456@cactus.dk> <9234229188.20040901175604@cactus.dk> Message-ID: Why a counter? On Wed, 1 Sep 2004 17:56:04 +0200, Gustav Brock wrote: > Hi Francisco > > Yes, that's right ... > But replace the Boolean with a counter: one, two ... > -- -Francisco From fhtapia at gmail.com Wed Sep 1 12:08:26 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 10:08:26 -0700 Subject: [AccessD] Subform problem with detail section In-Reply-To: <1375769556091B4DAABC159F944CA1BB0B046A@bocnte2k4.boc.chevrontexaco.net> References: <1375769556091B4DAABC159F944CA1BB0B046A@bocnte2k4.boc.chevrontexaco.net> Message-ID: Sounds like you enabled the subform for dataentry, which Will NOT show your records, only new records can be added when in this mode. This mode is useful for adding new records but not if you're trying to edit/add for that I suggest you visit your form properties under the data tab, disable data entry. On Wed, 1 Sep 2004 09:10:40 -0500, Kaup, Chester A wrote: > I have a subform on a main form. If I set the recordset type property to > snapshot I can see the records from the record source table but cannot > add records. If I set the recordset type to dynaset the detail section > of the subreport disappears. I believe dynaset will allow records to be > added but an invisible detail section is of no help. What do I have set > wrong? Thanks -- -Francisco From gustav at cactus.dk Wed Sep 1 12:11:43 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 1 Sep 2004 19:11:43 +0200 Subject: [AccessD] Prompt after Form loads In-Reply-To: References: <000501c4900e$25b38380$b274d0d5@minster33c3r25> <4314961823.20040901123456@cactus.dk> <9234229188.20040901175604@cactus.dk> Message-ID: <15538768786.20040901191143@cactus.dk> Hi Francisco > Why a counter? Form loads => 1 Form hits current first time => 2 So: If lngCounter = 2 then End If lngCounter = lngCounter + 1 /gustav >> But replace the Boolean with a counter: one, two ... From CMackin at Quiznos.com Wed Sep 1 12:25:15 2004 From: CMackin at Quiznos.com (Mackin, Christopher) Date: Wed, 1 Sep 2004 11:25:15 -0600 Subject: [AccessD] Prompt after Form loads Message-ID: Why not set the timerinterval to zero so it's guaranteed to not fire again? -Chris Mackin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco Tapia Sent: Wednesday, September 01, 2004 10:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Prompt after Form loads On Timmer w/ a static variable is what I ended up using (plus after it fires I shoot the timer interval to 2hrs (more than enough time) so it hopefully won't fire again until after their session is done. On Wed, 1 Sep 2004 08:41:20 -0700, Francisco Tapia wrote: > Just tried it and the OnCurrent event also fires before the form is > loaded :(, gonna try the OnTimmer... > > > > On Wed, 1 Sep 2004 08:35:54 -0700, Francisco Tapia wrote: > > I will try this option Gustav, thanks :D. > > > > btw, Rocky... What I meant by autoload was that in the Form_Load event > > I have code that loads data to the form. because it was in the > > form_load event, the prompt was occuring before the user had a chance > > to see the form. > > > > On Wed, 1 Sep 2004 12:34:56 +0200, Gustav Brock wrote: > > > Hi Andy and Francisco > > > > > > I would suggest OnCurrent. > > > To prevent multiple prompts, set a static flag: > > > > > > Static booIsPrompted As Boolean > > > > > > If booIsPrompted = False Then > > > ' Ask if you user wish to load data. > > > > > > booIsPrompted = True > > > End If > > > > -- > > -Francisco > > > > > -- > -Francisco > -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kaupca at chevrontexaco.com Wed Sep 1 12:33:30 2004 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Wed, 1 Sep 2004 12:33:30 -0500 Subject: [AccessD] Subform problem with detail section Message-ID: <1375769556091B4DAABC159F944CA1BB07A193@bocnte2k4.boc.chevrontexaco.net> Guess I did not make it clear. I only want to be able to add new records not see the existing records. The problem is that none of the list boxes or text boxes in the detail section show up to enter data into. Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7414 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Wednesday, September 01, 2004 12:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Subform problem with detail section Sounds like you enabled the subform for dataentry, which Will NOT show your records, only new records can be added when in this mode. This mode is useful for adding new records but not if you're trying to edit/add for that I suggest you visit your form properties under the data tab, disable data entry. On Wed, 1 Sep 2004 09:10:40 -0500, Kaup, Chester A wrote: > I have a subform on a main form. If I set the recordset type property > to snapshot I can see the records from the record source table but > cannot add records. If I set the recordset type to dynaset the detail > section of the subreport disappears. I believe dynaset will allow > records to be added but an invisible detail section is of no help. > What do I have set wrong? Thanks -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Sep 1 12:34:03 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 1 Sep 2004 19:34:03 +0200 Subject: [AccessD] Prompt after Form loads In-Reply-To: <15538768786.20040901191143@cactus.dk> References: <000501c4900e$25b38380$b274d0d5@minster33c3r25> <4314961823.20040901123456@cactus.dk> <9234229188.20040901175604@cactus.dk> <15538768786.20040901191143@cactus.dk> Message-ID: <1640108342.20040901193403@cactus.dk> Hi Francisco Sorry, should of course be: If lngCounter = 1 then End If lngCounter = lngCounter + 1 or lngCounter = lngCounter + 1 If lngCounter = 2 then End If /gustav >> Why a counter? > Form loads => 1 > Form hits current first time => 2 > So: > If lngCounter = 2 then > > End If > lngCounter = lngCounter + 1 > /gustav >>> But replace the Boolean with a counter: one, two ... From fhtapia at gmail.com Wed Sep 1 12:39:01 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 10:39:01 -0700 Subject: [AccessD] Time zones (was: internationalization) In-Reply-To: <2337384085.20040901184839@cactus.dk> References: <2337384085.20040901184839@cactus.dk> Message-ID: No, but after a quick archive search I found it, thanks :D thanks Gustav, so to be clear, if I have a record from daylights savings time, and I query it in NON-Daylights saving time, this code will keep the record at it's accurate time, meaning if It was processed in the summer (GMT-8) at 4pm, and I query the record in the Winter will the record show up processed at 4pm or 3pm?, the UTC time stored in the db doesn't change, but when they query it, will. Thanks, On Wed, 1 Sep 2004 18:48:39 +0200, Gustav Brock wrote: > Hi Francisco > > Well, to Charlotte this seems to be no problem, but it was > considerations as those you describe I was thinking of. > > So far my thoughts would be to store date/time as UTC time, then do > the conversion (shift) later to whatever time zone you may need. > But what is your question really? Daylight savings is just another > twist to time zone issues. And remember, some time zones are offset by > 30 or even 15 minutes only. > > Did you see my code previously posted (2004-07-14)? > -- -Francisco From fhtapia at gmail.com Wed Sep 1 12:41:17 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 10:41:17 -0700 Subject: [AccessD] Prompt after Form loads In-Reply-To: References: Message-ID: AH! :D, thanks On Wed, 1 Sep 2004 11:25:15 -0600, Mackin, Christopher wrote: > Why not set the timerinterval to zero so it's guaranteed to not fire again? > > -Chris Mackin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco > Tapia > Sent: Wednesday, September 01, 2004 10:29 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Prompt after Form loads > > On Timmer w/ a static variable is what I ended up using (plus after it > fires I shoot the timer interval to 2hrs (more than enough time) so > it hopefully won't fire again until after their session is done. > > On Wed, 1 Sep 2004 08:41:20 -0700, Francisco Tapia wrote: > > Just tried it and the OnCurrent event also fires before the form is > > loaded :(, gonna try the OnTimmer... -- -Francisco From fhtapia at gmail.com Wed Sep 1 12:45:49 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 10:45:49 -0700 Subject: [AccessD] Prompt after Form loads In-Reply-To: <15538768786.20040901191143@cactus.dk> References: <000501c4900e$25b38380$b274d0d5@minster33c3r25> <4314961823.20040901123456@cactus.dk> <9234229188.20040901175604@cactus.dk> <15538768786.20040901191143@cactus.dk> Message-ID: just the same I did it as a boolean static so Static blnINIT As Boolean IF blnINIT = FALSE then blnINIT = TRUE Endif On Wed, 1 Sep 2004 19:11:43 +0200, Gustav Brock wrote: > Hi Francisco > > > Why a counter? > > Form loads => 1 > Form hits current first time => 2 > > So: > > If lngCounter = 2 then > > End If > lngCounter = lngCounter + 1 > > /gustav > > >> But replace the Boolean with a counter: one, two ... > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From fhtapia at gmail.com Wed Sep 1 12:48:17 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 10:48:17 -0700 Subject: [AccessD] Subform problem with detail section In-Reply-To: <1375769556091B4DAABC159F944CA1BB07A193@bocnte2k4.boc.chevrontexaco.net> References: <1375769556091B4DAABC159F944CA1BB07A193@bocnte2k4.boc.chevrontexaco.net> Message-ID: So then, is the Data Entry option enabled?, is the table you're adding records to you have a Primary Key ID? On Wed, 1 Sep 2004 12:33:30 -0500, Kaup, Chester A wrote: > Guess I did not make it clear. I only want to be able to add new records > not see the existing records. The problem is that none of the list boxes > or text boxes in the detail section show up to enter data into. -- -Francisco From adtp at touchtelindia.net Wed Sep 1 12:57:30 2004 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Wed, 1 Sep 2004 23:27:30 +0530 Subject: [AccessD] Prompt after Form loads References: <000501c4900e$25b38380$b274d0d5@minster33c3r25><4314961823.20040 901123456@cactus.dk> Message-ID: <00c001c4904d$5dc1f3d0$571865cb@winxp> Francisco, As far as practicable, it is considered desirable to avoid activation of form's timer. Following course of action is suggested. Use a plain temporary form (it need not have any controls at all) to open the main form (named F_Main). Put the code given below in Open event of this form. Now, whenever you open the the temporary form, the main form will be displayed normally along with the prompt - as desired. (In the meanwhile the temporary form will close by itself - the user will not become aware of it). Regards, A.D.Tejpal -------------- ================================ Private Sub Form_Open(Cancel As Integer) DoCmd.OpenForm "F_Main" MsgBox "Pl Check The Values" Cancel = 1 End Sub ================================ ----- Original Message ----- From: Francisco Tapia To: Access Developers discussion and problem solving Sent: Wednesday, September 01, 2004 21:58 Subject: Re: [AccessD] Prompt after Form loads On Timmer w/ a static variable is what I ended up using (plus after it fires I shoot the timer interval to 2hrs (more than enough time) so it hopefully won't fire again until after their session is done. On Wed, 1 Sep 2004 08:41:20 -0700, Francisco Tapia wrote: > Just tried it and the OnCurrent event also fires before the form is > loaded :(, gonna try the OnTimmer... > > > > On Wed, 1 Sep 2004 08:35:54 -0700, Francisco Tapia wrote: > > I will try this option Gustav, thanks :D. > > > > btw, Rocky... What I meant by autoload was that in the Form_Load event > > I have code that loads data to the form. because it was in the > > form_load event, the prompt was occuring before the user had a chance > > to see the form. > > > > On Wed, 1 Sep 2004 12:34:56 +0200, Gustav Brock wrote: > > > Hi Andy and Francisco > > > > > > I would suggest OnCurrent. > > > To prevent multiple prompts, set a static flag: > > > > > > Static booIsPrompted As Boolean > > > > > > If booIsPrompted = False Then > > > ' Ask if you user wish to load data. > > > > > > booIsPrompted = True > > > End If > > > > -- > > -Francisco > > > > > -- > -Francisco > -- -Francisco From gustav at cactus.dk Wed Sep 1 12:59:41 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 1 Sep 2004 19:59:41 +0200 Subject: [AccessD] Prompt after Form loads In-Reply-To: References: <000501c4900e$25b38380$b274d0d5@minster33c3r25> <4314961823.20040901123456@cactus.dk> <9234229188.20040901175604@cactus.dk> <15538768786.20040901191143@cactus.dk> Message-ID: <141646033.20040901195941@cactus.dk> Hi Francisco It's not quite the same. The counter counts to one, then runs your code. No Timer fiddling. /gustav > just the same I did it as a boolean static > so > Static blnINIT As Boolean > IF blnINIT = FALSE then > > blnINIT = TRUE > Endif > On Wed, 1 Sep 2004 19:11:43 +0200, Gustav Brock wrote: >> Hi Francisco >> >> > Why a counter? >> >> Form loads => 1 >> Form hits current first time => 2 >> >> So: >> >> If lngCounter = 2 then >> >> End If >> lngCounter = lngCounter + 1 >> >> /gustav >> >> >> But replace the Boolean with a counter: one, two ... From Jdemarco at hudsonhealthplan.org Wed Sep 1 13:11:50 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Wed, 1 Sep 2004 14:11:50 -0400 Subject: [AccessD] Prompt after Form loads Message-ID: <08F823FD83787D4BA0B99CA580AD3C74089B22@TTNEXCHCL2.hshhp.com> A.D. I don't know that I've ever used form's timer but why is it considered desirable to avoid? Thanks, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of A.D.Tejpal Sent: Wednesday, September 01, 2004 1:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Prompt after Form loads Francisco, As far as practicable, it is considered desirable to avoid activation of form's timer. Following course of action is suggested. Use a plain temporary form (it need not have any controls at all) to open the main form (named F_Main). Put the code given below in Open event of this form. Now, whenever you open the the temporary form, the main form will be displayed normally along with the prompt - as desired. (In the meanwhile the temporary form will close by itself - the user will not become aware of it). Regards, A.D.Tejpal -------------- ================================ Private Sub Form_Open(Cancel As Integer) DoCmd.OpenForm "F_Main" MsgBox "Pl Check The Values" Cancel = 1 End Sub ================================ ----- Original Message ----- From: Francisco Tapia To: Access Developers discussion and problem solving Sent: Wednesday, September 01, 2004 21:58 Subject: Re: [AccessD] Prompt after Form loads On Timmer w/ a static variable is what I ended up using (plus after it fires I shoot the timer interval to 2hrs (more than enough time) so it hopefully won't fire again until after their session is done. On Wed, 1 Sep 2004 08:41:20 -0700, Francisco Tapia wrote: > Just tried it and the OnCurrent event also fires before the form is > loaded :(, gonna try the OnTimmer... > > > > On Wed, 1 Sep 2004 08:35:54 -0700, Francisco Tapia wrote: > > I will try this option Gustav, thanks :D. > > > > btw, Rocky... What I meant by autoload was that in the Form_Load event > > I have code that loads data to the form. because it was in the > > form_load event, the prompt was occuring before the user had a chance > > to see the form. > > > > On Wed, 1 Sep 2004 12:34:56 +0200, Gustav Brock wrote: > > > Hi Andy and Francisco > > > > > > I would suggest OnCurrent. > > > To prevent multiple prompts, set a static flag: > > > > > > Static booIsPrompted As Boolean > > > > > > If booIsPrompted = False Then > > > ' Ask if you user wish to load data. > > > > > > booIsPrompted = True > > > End If > > > > -- > > -Francisco > > > > > -- > -Francisco > -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From ppeters1 at cce.umn.edu Wed Sep 1 13:18:34 2004 From: ppeters1 at cce.umn.edu (Polly R Peterson) Date: Wed, 1 Sep 2004 13:18:34 -0500 Subject: [AccessD] FW: Preparing Access Applications for Office 2003 Conversion Message-ID: If any of you have experience/advice on this issue we would appreciate your input. Thanks in advance! -Polly P. ________________________________________________________________________ ___________________ PROBLEM: Converting from Office XP to Office 2003 raises security warning messages in Access .ADP applications that are delivered to users via a standard image. CONVERSION SECURITY ISSUE: When testing our .adp applications in an Office 2003 test environment, we find the following results: * When macro security is set to high applications basically do not function. * When macro security is set to medium, a security warning appears at startup: "This file may not be safe if it contains code that was intended to harm your computer. Do you want to open the file or cancel the operation?" If you select 'open' then the application appears to function normally * When macro security is set to low: Everything appears to function normally. OUR PROPOSED SOLUTION: Microsoft recommends setting Macro Security to medium or high in Access applications. After reading several articles, I'm leaning toward the following solution: Set Access macro security to medium and disable the security warning. >From what I've read, it's possible for an administrator to do this via Certificate Server on Windows 2000/2003 Server. The administrator could create a digital signature that would be valid across the domain. This digital signature certificate would essentially turn off the error message you see if macro security settings are at medium. QUESTIONS 1. How can we best adopt Microsoft's security recommendations and avoid this error message? 2. Does our solution seem sensible? Has anyone actually done this before? Are their details I'm overlooking? How have others dealt with this conversion? 3. Where can we see what security level we are currently using in Access 2002? The Tools, Macro, Security path isn't an option in 2002 and I can't find much on Macro security in that environment. SPECS: We're currently running Office XP, Access 2002, MS Jet 4.0 sp 8 (4.0.8618.0), Security Level: ? We're Migrating to Office 2003, Access 2003, MS Jet 4.0 sp 8 (4.0.8618.0), Security Level Medium From cfoust at infostatsystems.com Wed Sep 1 13:21:43 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 1 Sep 2004 11:21:43 -0700 Subject: [AccessD] Prompt after Form loads Message-ID: I've used them under protest, but they tend to cause screen flickers and various other odd behavior and they fight with other form events. The form timer isn't implemented very well in Access, unlike the timer controls you can use in VB. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hudsonhealthplan.org] Sent: Wednesday, September 01, 2004 11:12 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Prompt after Form loads A.D. I don't know that I've ever used form's timer but why is it considered desirable to avoid? Thanks, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of A.D.Tejpal Sent: Wednesday, September 01, 2004 1:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Prompt after Form loads Francisco, As far as practicable, it is considered desirable to avoid activation of form's timer. Following course of action is suggested. Use a plain temporary form (it need not have any controls at all) to open the main form (named F_Main). Put the code given below in Open event of this form. Now, whenever you open the the temporary form, the main form will be displayed normally along with the prompt - as desired. (In the meanwhile the temporary form will close by itself - the user will not become aware of it). Regards, A.D.Tejpal -------------- ================================ Private Sub Form_Open(Cancel As Integer) DoCmd.OpenForm "F_Main" MsgBox "Pl Check The Values" Cancel = 1 End Sub ================================ ----- Original Message ----- From: Francisco Tapia To: Access Developers discussion and problem solving Sent: Wednesday, September 01, 2004 21:58 Subject: Re: [AccessD] Prompt after Form loads On Timmer w/ a static variable is what I ended up using (plus after it fires I shoot the timer interval to 2hrs (more than enough time) so it hopefully won't fire again until after their session is done. On Wed, 1 Sep 2004 08:41:20 -0700, Francisco Tapia wrote: > Just tried it and the OnCurrent event also fires before the form is > loaded :(, gonna try the OnTimmer... > > > > On Wed, 1 Sep 2004 08:35:54 -0700, Francisco Tapia wrote: > > I will try this option Gustav, thanks :D. > > > > btw, Rocky... What I meant by autoload was that in the Form_Load event > > I have code that loads data to the form. because it was in the > > form_load event, the prompt was occuring before the user had a chance > > to see the form. > > > > On Wed, 1 Sep 2004 12:34:56 +0200, Gustav Brock wrote: > > > Hi Andy and Francisco > > > > > > I would suggest OnCurrent. > > > To prevent multiple prompts, set a static flag: > > > > > > Static booIsPrompted As Boolean > > > > > > If booIsPrompted = False Then > > > ' Ask if you user wish to load data. > > > > > > booIsPrompted = True > > > End If > > > > -- > > -Francisco > > > > > -- > -Francisco > -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kaupca at chevrontexaco.com Wed Sep 1 13:26:29 2004 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Wed, 1 Sep 2004 13:26:29 -0500 Subject: [AccessD] Subform problem with detail section Message-ID: <1375769556091B4DAABC159F944CA1BB07A194@bocnte2k4.boc.chevrontexaco.net> So then, is the Data Entry option enabled?, YES is the table you're adding records to you have a Primary Key ID? NO What confuses me is the form works fine as a regular form but does not work correctly when added to another form as a subform. Thanks for the assistance. Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7414 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Wednesday, September 01, 2004 12:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Subform problem with detail section So then, is the Data Entry option enabled?, is the table you're adding records to you have a Primary Key ID? On Wed, 1 Sep 2004 12:33:30 -0500, Kaup, Chester A wrote: > Guess I did not make it clear. I only want to be able to add new > records not see the existing records. The problem is that none of the > list boxes or text boxes in the detail section show up to enter data > into. -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Wed Sep 1 13:35:29 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 11:35:29 -0700 Subject: [AccessD] Prompt after Form loads In-Reply-To: References: Message-ID: Agreed, I use them as a very last solution. They do CAUSE flickers, and they interrupt other process as well. Such as adverse behavoirs when using a combo bx and you find that your dropdown doesn't stay dropped, because the timer continues to fire off in the background :D On Wed, 1 Sep 2004 11:21:43 -0700, Charlotte Foust wrote: > I've used them under protest, but they tend to cause screen flickers and > various other odd behavior and they fight with other form events. The > form timer isn't implemented very well in Access, unlike the timer > controls you can use in VB. > > Charlotte Foust -- -Francisco From gustav at cactus.dk Wed Sep 1 13:33:42 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 1 Sep 2004 20:33:42 +0200 Subject: [AccessD] Time zones (was: internationalization) In-Reply-To: References: <2337384085.20040901184839@cactus.dk> Message-ID: <2443687429.20040901203342@cactus.dk> Hi Francisco > No, but after a quick archive search I found it, thanks :D Fine. > thanks Gustav, so to be clear, if I have a record from daylights > savings time, and I query it in NON-Daylights saving time, this code > will keep the record at it's accurate time, meaning > if It was processed in the summer (GMT-8) at 4pm, and I query the > record in the Winter will the record show up processed at 4pm or 3pm?, > the UTC time stored in the db doesn't change, but when they query it, > will. Access doesn't record any time zone or daylight savings info so "a time is a time" as is when stored. For your example, there would be a difference if measured by the hour but normally you count by the day. If you need precise hour (or really: minute count) you would need to either store the time zone info in another field or convert the local time to UTC, and then, whenever you need to read the data, either regard any time as local or convert it from UTC to local. This is at least how I see it. Perhaps Charlotte can suggest a simpler approach? /gustav >> Well, to Charlotte this seems to be no problem, but it was >> considerations as those you describe I was thinking of. >> >> So far my thoughts would be to store date/time as UTC time, then do >> the conversion (shift) later to whatever time zone you may need. >> But what is your question really? Daylight savings is just another >> twist to time zone issues. And remember, some time zones are offset by >> 30 or even 15 minutes only. >> >> Did you see my code previously posted (2004-07-14)? From artful at rogers.com Wed Sep 1 13:37:07 2004 From: artful at rogers.com (Arthur Fuller) Date: Wed, 1 Sep 2004 14:37:07 -0400 Subject: [AccessD] BoY() and EoY() functions Message-ID: <045701c49052$afd8b730$6501a8c0@rock> I was positive that I had written these, but can't seem to find them. BoY() accepts a date and returns the beginning of the year. EoY() accepts a date and returns the end of the year. They must accept any international system settings and return the desired dates in the same format. Anyone have them handy? TIA, Arthur From fhtapia at gmail.com Wed Sep 1 13:47:01 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 11:47:01 -0700 Subject: [AccessD] Subform problem with detail section In-Reply-To: <1375769556091B4DAABC159F944CA1BB07A194@bocnte2k4.boc.chevrontexaco.net> References: <1375769556091B4DAABC159F944CA1BB07A194@bocnte2k4.boc.chevrontexaco.net> Message-ID: It is my opinion, that you should have a PKID of some sort for table you are adding records, if not a Surrogate Key, then at the very least a Natural Key. either is bether than NO key :D On Wed, 1 Sep 2004 13:26:29 -0500, Kaup, Chester A wrote: > So then, is the Data Entry option enabled?, YES > is the table you're adding records to you have a Primary Key ID? NO > > What confuses me is the form works fine as a regular form but does not > work correctly when added to another form as a subform. > > Thanks for the assistance. -- -Francisco From gustav at cactus.dk Wed Sep 1 13:43:57 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 1 Sep 2004 20:43:57 +0200 Subject: [AccessD] FW: Preparing Access Applications for Office 2003 Conversion In-Reply-To: References: Message-ID: <9944302002.20040901204357@cactus.dk> Hi Polly Look up in the archive of April: Access 2003 Digital Certificate /gustav > If any of you have experience/advice on this issue we would appreciate > your input. Thanks in advance! > -Polly P. > ________________________________________________________________________ > ___________________ > PROBLEM: > Converting from Office XP to Office 2003 raises security warning > messages in Access .ADP applications that are delivered to users via a > standard image. > CONVERSION SECURITY ISSUE: > When testing our .adp applications in an Office 2003 test environment, > we find the following results: > * When macro security is set to high applications basically do not > function. > * When macro security is set to medium, a security warning appears > at startup: > "This file may not be safe if it contains code that was intended to harm > your computer. Do you want to open the file or cancel the operation?" > If you select 'open' then the application appears to function normally > * When macro security is set to low: Everything appears to > function normally. > OUR PROPOSED SOLUTION: > Microsoft recommends setting Macro Security to medium or high in Access > applications. After reading several articles, I'm leaning toward the > following solution: > Set Access macro security to medium and disable the security warning. >>From what I've read, it's possible for an administrator to do this via > Certificate Server on Windows 2000/2003 Server. The administrator could > create a digital signature that would be valid across the domain. This > digital signature certificate would essentially turn off the error > message you see if macro security settings are at medium. > QUESTIONS > 1. How can we best adopt Microsoft's security recommendations and > avoid this error message? > 2. Does our solution seem sensible? Has anyone actually done this > before? Are their details I'm overlooking? How have others dealt with > this conversion? > 3. Where can we see what security level we are currently using in > Access 2002? The Tools, Macro, Security path isn't an option in 2002 > and I can't find much on Macro security in that environment. > SPECS: > We're currently running Office XP, Access 2002, MS Jet 4.0 sp 8 > (4.0.8618.0), Security Level: ? > We're Migrating to Office 2003, Access 2003, MS Jet 4.0 sp 8 > (4.0.8618.0), Security Level Medium From gustav at cactus.dk Wed Sep 1 13:48:39 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 1 Sep 2004 20:48:39 +0200 Subject: [AccessD] BoY() and EoY() functions In-Reply-To: <045701c49052$afd8b730$6501a8c0@rock> References: <045701c49052$afd8b730$6501a8c0@rock> Message-ID: <18444584619.20040901204839@cactus.dk> Hi Arthur BoY() is DateSerial(Year(datDate), 1, 1) EoY() is DateSerial(Year(datDate) + 1, 1, 0) They should really returns date/time values. The format is up to you. /gustav > I was positive that I had written these, but can't seem to find them. > BoY() accepts a date and returns the beginning of the year. EoY() > accepts a date and returns the end of the year. They must accept any > international system settings and return the desired dates in the same > format. From gustav at cactus.dk Wed Sep 1 13:53:36 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 1 Sep 2004 20:53:36 +0200 Subject: [AccessD] Prompt after Form loads In-Reply-To: References: Message-ID: <8444881516.20040901205336@cactus.dk> Hi Francisco > Agreed, I use them as a very last solution. They do CAUSE flickers, > and they interrupt other process as well. Such as adverse behavoirs > when using a combo bx and you find that your dropdown doesn't stay > dropped, because the timer continues to fire off in the background :D Except in this case ... did you try the counter solution? Works excellent here. /gustav > On Wed, 1 Sep 2004 11:21:43 -0700, Charlotte Foust > wrote: >> I've used them under protest, but they tend to cause screen flickers and >> various other odd behavior and they fight with other form events. The >> form timer isn't implemented very well in Access, unlike the timer >> controls you can use in VB. >> >> Charlotte Foust From fhtapia at gmail.com Wed Sep 1 14:03:52 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 12:03:52 -0700 Subject: [AccessD] Prompt after Form loads In-Reply-To: <141646033.20040901195941@cactus.dk> References: <000501c4900e$25b38380$b274d0d5@minster33c3r25> <4314961823.20040901123456@cactus.dk> <9234229188.20040901175604@cactus.dk> <15538768786.20040901191143@cactus.dk> <141646033.20040901195941@cactus.dk> Message-ID: I know but if I use the OnCurrent Event, it fires before the form is even drawn up on the screen, I have code in the Form_Load event, and added a simple "TEST" messagebox to the OnCurrent Event, and found that it does not FIRE after the form is visible, instead the user will be prompted IF they want to OverRide data w/ Defaults before they can read the data, the Timmer control helps to avoid this.... :( The code in the Form_Load Event opens recordsets to load into the primary form, calls a subform and listbox to load. When it ends, I'd figure that the form would display but it does not. OnCurrent and OnActivate also fire before the form is visible... so it appears that the only solution is to leave this on the OnTimer event. On Wed, 1 Sep 2004 19:59:41 +0200, Gustav Brock wrote: > Hi Francisco > > It's not quite the same. > The counter counts to one, then runs your code. > No Timer fiddling. > > /gustav > > > > > > just the same I did it as a boolean static > > > so > > Static blnINIT As Boolean > > IF blnINIT = FALSE then > > > > blnINIT = TRUE > > Endif > > > On Wed, 1 Sep 2004 19:11:43 +0200, Gustav Brock wrote: > >> Hi Francisco > >> > >> > Why a counter? > >> > >> Form loads => 1 > >> Form hits current first time => 2 > >> > >> So: > >> > >> If lngCounter = 2 then > >> > >> End If > >> lngCounter = lngCounter + 1 > >> > >> /gustav > >> > >> >> But replace the Boolean with a counter: one, two ... > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From kaupca at chevrontexaco.com Wed Sep 1 14:43:21 2004 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Wed, 1 Sep 2004 14:43:21 -0500 Subject: [AccessD] Subform problem with detail section Message-ID: <1375769556091B4DAABC159F944CA1BB07A195@bocnte2k4.boc.chevrontexaco.net> Added the primary key but text boxes and list boxes in the detail section do not display. Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7414 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Wednesday, September 01, 2004 1:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Subform problem with detail section It is my opinion, that you should have a PKID of some sort for table you are adding records, if not a Surrogate Key, then at the very least a Natural Key. either is bether than NO key :D On Wed, 1 Sep 2004 13:26:29 -0500, Kaup, Chester A wrote: > So then, is the Data Entry option enabled?, YES > is the table you're adding records to you have a Primary Key ID? NO > > What confuses me is the form works fine as a regular form but does not > work correctly when added to another form as a subform. > > Thanks for the assistance. -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Wed Sep 1 16:14:42 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 14:14:42 -0700 Subject: [AccessD] Prompt after Form loads In-Reply-To: <8444881516.20040901205336@cactus.dk> References: <8444881516.20040901205336@cactus.dk> Message-ID: I tried the counter solution, and it fires before the form is "visible" On Wed, 1 Sep 2004 20:53:36 +0200, Gustav Brock wrote: > Hi Francisco > > > Agreed, I use them as a very last solution. They do CAUSE flickers, > > and they interrupt other process as well. Such as adverse behavoirs > > when using a combo bx and you find that your dropdown doesn't stay > > dropped, because the timer continues to fire off in the background :D > > Except in this case ... did you try the counter solution? > Works excellent here. -- -Francisco From fhtapia at gmail.com Wed Sep 1 16:17:08 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 14:17:08 -0700 Subject: [AccessD] Prompt after Form loads In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F02D0888E@xlivmbx21.aig.com> References: <1D7828CDB8350747AFE9D69E0E90DA1F02D0888E@xlivmbx21.aig.com> Message-ID: I have tried this as well, and I do get the "Hello" Message box, however the user would have to click off the form and then back on before they saw this message.... :|. remember my production form does this: Form Open -> set some object classes, Form Load -> open recordsets load fields Form Timer -> after 1ms, check if key data fields match defaults. Access 2000 (ADP) On Wed, 1 Sep 2004 16:57:50 -0400 , Heenan, Lambert wrote: > The Activate event should do the trick, you just need to keep tack of how > many times it fires. I just tried this out with a form/subform setup, and > the following code seems to work just fine > > Private Sub Form_Activate() > Static lngLoaded As Long > lngLoaded = lngLoaded + 1 > DoEvents > If lngLoaded > 1 Then MsgBox "Hello " > End Sub > > The DoEvents does not seem to be necessary, but I thought I'd put it in > anyway. > > What I found was that the entire form and subform was displayed with the > exception of some controls on the form which have statements like this... > > =Count([cFaceAmount]) > > ... in their control source property. > -- -Francisco From Mark.Mitsules at ngc.com Wed Sep 1 16:42:05 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Wed, 1 Sep 2004 17:42:05 -0400 Subject: [AccessD] Access & AutoCAD Message-ID: Has anyone tackled this combination? There is ONE example in the AutoCAD samples folder. There is ONE book that I found regarding database connectivity (circa 1999). ...and a DISTINCT lack of web-based material as far as I can tell:( I would be most appreciative for pointers towards any of the following: recent books (AutoCAD 2002 or later), web-based tutorials, web-based examples, personal examples, cave paintings...anything. Thanks in advance for any/all information. Mark Conversely, I am willing to pay $40 to anyone willing to take the AutoCAD help files and develop a booklet within the next 2 weeks, including a table of contents, that will allow me to chronologically work my way through a project. From martyconnelly at shaw.ca Wed Sep 1 15:09:25 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 01 Sep 2004 13:09:25 -0700 Subject: [AccessD] FW: Preparing Access Applications for Office 2003 Conversion References: Message-ID: <41362C75.4010302@shaw.ca> I have handled it by turning security off in registry keys. Your net admin could handle this system wide. HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Access\Security\Level If the value is 1, then the macro security of Access 2003 is set to low. If the value is 2, then the macro security of Access 2003 is set to medium. If the value is 3, then the macro security of Access 2003 is set to high. Not sure if certmgr.exe to create certificate from Win2003 has to be created for each new version of the ADP which could be a pain if doing a lot of mods. See my post Re: [AccessD] Access 2003, Runtime, and Built-in Security Aug 2 2004 You can check this registry key in code below Not sure about Access 2002 version=10 If Application.Version >= 11 Then 'set it Application.AutomationSecurity = 1 ' msoAutomationSecurityLow 'or read it debug.print "Security level=" & Application.AutomationSecurity End If Polly R Peterson wrote: >If any of you have experience/advice on this issue we would appreciate >your input. Thanks in advance! >-Polly P. >________________________________________________________________________ >___________________ > > >PROBLEM: >Converting from Office XP to Office 2003 raises security warning >messages in Access .ADP applications that are delivered to users via a >standard image. > > >CONVERSION SECURITY ISSUE: >When testing our .adp applications in an Office 2003 test environment, >we find the following results: > >* When macro security is set to high applications basically do not >function. >* When macro security is set to medium, a security warning appears >at startup: > >"This file may not be safe if it contains code that was intended to harm >your computer. Do you want to open the file or cancel the operation?" > >If you select 'open' then the application appears to function normally > >* When macro security is set to low: Everything appears to >function normally. > > >OUR PROPOSED SOLUTION: >Microsoft recommends setting Macro Security to medium or high in Access >applications. After reading several articles, I'm leaning toward the >following solution: >Set Access macro security to medium and disable the security warning. >>From what I've read, it's possible for an administrator to do this via >Certificate Server on Windows 2000/2003 Server. The administrator could >create a digital signature that would be valid across the domain. This >digital signature certificate would essentially turn off the error >message you see if macro security settings are at medium. > > >QUESTIONS >1. How can we best adopt Microsoft's security recommendations and >avoid this error message? >2. Does our solution seem sensible? Has anyone actually done this >before? Are their details I'm overlooking? How have others dealt with >this conversion? >3. Where can we see what security level we are currently using in >Access 2002? The Tools, Macro, Security path isn't an option in 2002 >and I can't find much on Macro security in that environment. > > > >SPECS: >We're currently running Office XP, Access 2002, MS Jet 4.0 sp 8 >(4.0.8618.0), Security Level: ? > >We're Migrating to Office 2003, Access 2003, MS Jet 4.0 sp 8 >(4.0.8618.0), Security Level Medium > > -- Marty Connelly Victoria, B.C. Canada From bchacc at san.rr.com Wed Sep 1 17:24:02 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 1 Sep 2004 15:24:02 -0700 Subject: [AccessD] Will an A2K MDE run unde A2003? References: <001701c48fb3$d92f7320$6601a8c0@HAL9002> <00f801c48fd6$6f473f10$6601a8c0@HAL9002> <413570D0.8010209@shaw.ca> Message-ID: <024201c49072$628680f0$6601a8c0@HAL9002> If I have to get Access 2003 do you know anything about how good the deployment feature is? Regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 31, 2004 11:48 PM Subject: Re: [AccessD] Will an A2K MDE run unde A2003? > SageKey has an MSI deployment script for Access 2003. $400 It also > removes the need for a digital certificate. > which might prove to be a problem or just a nuisance with Access 2000 > MDE running under 2003. > I guess you will find out. > > Rocky Smolin - Beach Access Software wrote: > > >For my market having Access is quite common. So it's not really an issue. > >I've got Wise and could, I suppose, get the Sagekey script for A2K. But > >that's already 2 versions behind the latest. > > > >I understand that A2003 has a pretty decent deployment facility. Yes? > > > >If this prospect wants the software and it will only run in A2003 I'll get > >A2003, and then I'll have a chance to test the deployment features. > > > >Rocky > > > >----- Original Message ----- > >From: "Francisco Tapia" > >To: "Access Developers discussion and problem solving" > > > >Sent: Tuesday, August 31, 2004 5:03 PM > >Subject: Re: [AccessD] Will an A2K MDE run unde A2003? > > > > > > > > > >>I am curious as to why you don't deploy it w/ a runtime?, I mean you > >>don't have it as opensource to allow the customer to work w/ the app. > >> > >>On Tue, 31 Aug 2004 16:40:07 -0700, Rocky Smolin - Beach Access > >>Software wrote: > >> > >> > >>>Dear List: > >>> > >>>I have to call a guy tomorrow morning and tell him whether my software > >>> > >>> > >will work in Access 2003. I compile it into an MDE under Access 2000. I > >know that MDE will run under Access 2002. Will the MDE run in 2003? > > > > > >>>I also have Access 2002 which I could use to make an MDE. Would an MDE > >>> > >>> > >compiled under Access 2002 run under Access 2003? > > > > > >>-- > >>-Francisco > >>-- > >>_______________________________________________ > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >> > >> > >> > > > > > > > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Sep 1 19:18:23 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 1 Sep 2004 20:18:23 -0400 Subject: [AccessD] Every 100th record In-Reply-To: Message-ID: <002801c49082$5f78ff90$80b3fea9@ColbyM6805> And for the record, by the time I index this database it will be well over a terabyte. If I end up merging in their other databases it will be several terabytes. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Tuesday, August 31, 2004 8:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Every 100th record For the record I think it was me who applied the term VLDB to his db :D. Even thow I've been my dept's DBA for the last 3 years, I have not run into any company database that touches the Millions of records, the only tables that I have that contain a near enough number of consequential tables, (auditing) On Tue, 31 Aug 2004 19:32:55 -0400, Arthur Fuller wrote: > Just to put things in perspective, JC, the first client of the people > who developed MySQL had 60M rows in their principal table. There are > lots of apps way bigger than that. I once had a client that was adding > 10M rows per month to the table of concern (this was an app recording > seismic activity from several hundred meters). I must caution you that > you should not use the term VLDB as loosely as you have been using it. > You don't know the meaning of VLDB -- not yet at least. You're > beginning to appreciate the turf, however. Once I bid on a project > that had 100M rows each containing a graphic file. Not to say that > size is everything, but IMO VLDB comprises at least a TB, and often > many hundreds of TBs. -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Sep 1 19:20:03 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 1 Sep 2004 20:20:03 -0400 Subject: [AccessD] Firefox opens two windows In-Reply-To: Message-ID: <002901c49082$979f6350$80b3fea9@ColbyM6805> Can anyone point me to why suddenly FireFox is opening TWO browser windows whenever I open any link, as in an email or such? More importantly, how to fix it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Tuesday, August 31, 2004 8:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Every 100th record For the record I think it was me who applied the term VLDB to his db :D. Even thow I've been my dept's DBA for the last 3 years, I have not run into any company database that touches the Millions of records, the only tables that I have that contain a near enough number of consequential tables, (auditing) On Tue, 31 Aug 2004 19:32:55 -0400, Arthur Fuller wrote: > Just to put things in perspective, JC, the first client of the people > who developed MySQL had 60M rows in their principal table. There are > lots of apps way bigger than that. I once had a client that was adding > 10M rows per month to the table of concern (this was an app recording > seismic activity from several hundred meters). I must caution you that > you should not use the term VLDB as loosely as you have been using it. > You don't know the meaning of VLDB -- not yet at least. You're > beginning to appreciate the turf, however. Once I bid on a project > that had 100M rows each containing a graphic file. Not to say that > size is everything, but IMO VLDB comprises at least a TB, and often > many hundreds of TBs. -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Sep 1 20:29:53 2004 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 1 Sep 2004 20:29:53 -0500 Subject: [AccessD] Firefox opens two windows In-Reply-To: <29479305.1094086527041.JavaMail.root@sniper12.usinternet.com> Message-ID: <000401c4908c$5953ecb0$de1811d8@danwaters> John, I had this same problem a while back. I went to the FireFox site and found a link to their user group. I did a search using some appropriate phrase, and did find a reference to the problem. Someone had found the specific problem and posted a patch. I installed it and firefox has worked well since. This was the name of the patch: firefox_bug_246078_rev3.reg Best of luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, September 01, 2004 7:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Firefox opens two windows Can anyone point me to why suddenly FireFox is opening TWO browser windows whenever I open any link, as in an email or such? More importantly, how to fix it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Tuesday, August 31, 2004 8:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Every 100th record For the record I think it was me who applied the term VLDB to his db :D. Even thow I've been my dept's DBA for the last 3 years, I have not run into any company database that touches the Millions of records, the only tables that I have that contain a near enough number of consequential tables, (auditing) On Tue, 31 Aug 2004 19:32:55 -0400, Arthur Fuller wrote: > Just to put things in perspective, JC, the first client of the people > who developed MySQL had 60M rows in their principal table. There are > lots of apps way bigger than that. I once had a client that was adding > 10M rows per month to the table of concern (this was an app recording > seismic activity from several hundred meters). I must caution you that > you should not use the term VLDB as loosely as you have been using it. > You don't know the meaning of VLDB -- not yet at least. You're > beginning to appreciate the turf, however. Once I bid on a project > that had 100M rows each containing a graphic file. Not to say that > size is everything, but IMO VLDB comprises at least a TB, and often > many hundreds of TBs. -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Wed Sep 1 21:06:21 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 19:06:21 -0700 Subject: [AccessD] Firefox opens two windows In-Reply-To: <002901c49082$979f6350$80b3fea9@ColbyM6805> References: <002901c49082$979f6350$80b3fea9@ColbyM6805> Message-ID: which version of firefox?, I'm running 9.3 and have not seen this problem. On Wed, 1 Sep 2004 20:20:03 -0400, John W. Colby wrote: > Can anyone point me to why suddenly FireFox is opening TWO browser windows > whenever I open any link, as in an email or such? More importantly, how to > fix it. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia > Sent: Tuesday, August 31, 2004 8:02 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Every 100th record > > For the record I think it was me who applied the term VLDB to his db :D. > Even thow I've been my dept's DBA for the last 3 years, I have not run into > any company database that touches the Millions of records, the only tables > that I have that contain a near enough number of consequential tables, > (auditing) > > On Tue, 31 Aug 2004 19:32:55 -0400, Arthur Fuller wrote: > > Just to put things in perspective, JC, the first client of the people > > who developed MySQL had 60M rows in their principal table. There are > > lots of apps way bigger than that. I once had a client that was adding > > 10M rows per month to the table of concern (this was an app recording > > seismic activity from several hundred meters). I must caution you that > > you should not use the term VLDB as loosely as you have been using it. > > You don't know the meaning of VLDB -- not yet at least. You're > > beginning to appreciate the turf, however. Once I bid on a project > > that had 100M rows each containing a graphic file. Not to say that > > size is everything, but IMO VLDB comprises at least a TB, and often > > many hundreds of TBs. > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From jwcolby at colbyconsulting.com Wed Sep 1 21:18:35 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 1 Sep 2004 22:18:35 -0400 Subject: [AccessD] Firefox opens two windows In-Reply-To: <000401c4908c$5953ecb0$de1811d8@danwaters> Message-ID: <002a01c49093$2abf2a20$80b3fea9@ColbyM6805> Works great,thanks! John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, September 01, 2004 9:30 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Firefox opens two windows John, I had this same problem a while back. I went to the FireFox site and found a link to their user group. I did a search using some appropriate phrase, and did find a reference to the problem. Someone had found the specific problem and posted a patch. I installed it and firefox has worked well since. This was the name of the patch: firefox_bug_246078_rev3.reg Best of luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, September 01, 2004 7:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Firefox opens two windows Can anyone point me to why suddenly FireFox is opening TWO browser windows whenever I open any link, as in an email or such? More importantly, how to fix it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Tuesday, August 31, 2004 8:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Every 100th record For the record I think it was me who applied the term VLDB to his db :D. Even thow I've been my dept's DBA for the last 3 years, I have not run into any company database that touches the Millions of records, the only tables that I have that contain a near enough number of consequential tables, (auditing) On Tue, 31 Aug 2004 19:32:55 -0400, Arthur Fuller wrote: > Just to put things in perspective, JC, the first client of the people > who developed MySQL had 60M rows in their principal table. There are > lots of apps way bigger than that. I once had a client that was adding > 10M rows per month to the table of concern (this was an app recording > seismic activity from several hundred meters). I must caution you that > you should not use the term VLDB as loosely as you have been using it. > You don't know the meaning of VLDB -- not yet at least. You're > beginning to appreciate the turf, however. Once I bid on a project > that had 100M rows each containing a graphic file. Not to say that > size is everything, but IMO VLDB comprises at least a TB, and often > many hundreds of TBs. -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davide at dalyn.co.nz Wed Sep 1 21:26:42 2004 From: davide at dalyn.co.nz (David Emerson) Date: Thu, 02 Sep 2004 14:26:42 +1200 Subject: [AccessD] TransferText Causing System Crash In-Reply-To: <5.2.0.9.0.20040901065033.00b2c0b0@mail.dalyn.co.nz> References: Message-ID: <5.2.0.9.0.20040902142408.00baf360@mail.dalyn.co.nz> Solution has been found! It seemed to be something to do with the shortcut!!! I recreated the shortcut and the crashing stopped. I don't know why the shortcut would affect things (why would only 2 commands out of an entire library cause it to cash?) David At 1/09/2004, you wrote: >Thanks for the suggestion. All the file names have the extension included. > >David > >At 31/08/2004, you wrote: >>Hi >> >> >>My similar experience with Access(97) running under XP (with Office XP >>installed) when exporting text data was that if the export text filename >>did not have an file extension e.g. MyDownloadFile, Access would hang. >>Exporting to MyDownloadFile.txt would solve the issue. May or may not >>be relevant here (I was using Acc 97 but it was the XP OS (or Office XP) >>that seemed to be the issue here). >> >>Richard >> >>-----Original Message----- >>From: David Emerson [mailto:davide at dalyn.co.nz] >>Sent: 30 August 2004 06:26 >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] TransferText Causing System Crash >> >>That solved most of the problem. Now the commands work on the server. >> >>However, it is used as a terminal server. Although it runs fine when >>using >>the program direct on the computer, if anyone connects to a terminal >>server >>session they still get the same crashing. >> >>Any pointers on this one!! >> >>David >> >>At 27/08/2004, you wrote: >> >Oh and one other thing to check that you have installed >> >Overview of Office XP Service Pack 3 for Access 2002 Runtime. Note this >>is >> >in addition to normal SP3 >> >http://support.microsoft.com/default.aspx?scid=kb;en-us;834693&Product= >>acc >> > >> >MartyConnelly wrote: >> > >> >>Well it looks like different Office XP service packs on the machines, >>XP >> >>SP-3 on your development machine. >> >>Are you doing a full new runtime install on the server, or just >>passing >> >>over the adp file to the server with changes.? >> >>This could lead to problems. >> >> >> >>David Emerson wrote: >> >> >> >>>Group, >> >>> >> >>>I have an AXP ade/SQL2000 runtime setup running on Windows 2003 >> >>>Server. When I use the DoCmd.TransferSpreadsheet or >>DoCmd.TransferText >> >>>commands my database crashes (Unexpected error in MSAccess.exe). >> >>> >> >>>Examples are - >> >>> >> >>>DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel7, >> >>>strTableName, strFullName >> >>>DoCmd.TransferSpreadsheet acImport, , "dbo.ttmpTOURawData", >>strFullName, >> >>>False >> >>>DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel97, >> >>>"dbo.ttmpSwitchNewIn", Me!txtSwitchFile, True >> >>>DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel97, >> >>>"dbo.ttmpTemporary", Me!txtDataFile >> >>>DoCmd.TransferText acExportDelim, , "dbo.ttmpAgedDebtorDDebitExp", >> >>>strFullName >> >>>DoCmd.TransferText acExportDelim, , "dbo.ttmpExportMerge", >> >>>DLookup("RootFolder", "tblCompany") & "\Merge\CustMerge.TXT", True >> >>>DoCmd.TransferText acExportDelim, , "dbo.ttmpSwitchNewOut", >> >>>DLookup("RootFolder", "tblCompany") & "\Switch\CustSwitch.TXT", True >> >>>DoCmd.TransferText acImportDelim, , "dbo.ttmpTOURawData", >>strFullName, False >> >>> >> >>>The commands work on my development machine (WXP Professional with >> >>>Office 97 and Office XP). >> >>> >> >>>I have tried uninstalling and reinstalling the runtime application. >> >>> >> >>>Other commands in the Access library seem to work ok. The version of >> >> >>>the olb (C:\Program Files\Microsoft OfficeXP\Office10\msacc.olb) on >>my >> >>>machine is 10.0.6308.0. The runtime machine (C:\Program >>Files\Microsoft >> >>>Access Runtime\Office10\msacc.olb) has version 10.0.2627.1. >> >>> >> >>>Any clues why the transfer commands might be causing problems? >> >>> >> >>> >> >>>Regards >> >>> >> >>>David Emerson >> >>>Dalyn Software Ltd >> >>>25 Cunliffe St, Churton Park >> >>>Wellington, New Zealand >> >>>Ph/Fax (04) 478-7456 >> >>>Mobile 027-280-9348 > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From jmoss111 at bellsouth.net Wed Sep 1 21:30:35 2004 From: jmoss111 at bellsouth.net (JMoss) Date: Wed, 1 Sep 2004 21:30:35 -0500 Subject: [AccessD] Every 100th record In-Reply-To: <000d01c48fba$264f5980$80b3fea9@ColbyM6805> Message-ID: John, I can't help but think that you could lose as much as 10 - 15 % of the volume of this database by doing some type of dedup and / or householding process. I wonder about the logic of mixing lists of different types in one database. It seems to me that the customer wouldn't want to mail an offer to someone from a sports list to someone who got added to a list because they had purchased knitting supplies or some similar type item. The database marketing firm that I worked with kept separate databases. Merging different types of customers into a mail blast seems like a blast or shotgun approach, or someone just selling a lot of addresses in a very non methodical manner. Do you get enough of a performance boost from a 64 bit processor running a 32 bit OS or application to make it worth while? I would think that multiple 32 bit cpu's would be the ticket for 32 bit apps. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, August 31, 2004 7:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Every 100th record In fact the client has another database that has 125 million addresses, another that has 14 million more people, and another that handles all their sports mailings. They would like to merge them all. I just bought a 3ghz socket 754 Athlon 64 which I am loading with Win2K and SQL Server tonight. I can only pray that this gives me SOMETHING in the way of a speedup against my old AMD Athlon 2500. I have to examine my options, down to splitting up the database and having different machines process pieces. I also have to learn to tune SQL Server. Since I am starting from "know absolutely nothing" it shouldn't be too hard to get better results over time. ;-) John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, August 31, 2004 7:33 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Every 100th record Just to put things in perspective, JC, the first client of the people who developed MySQL had 60M rows in their principal table. There are lots of apps way bigger than that. I once had a client that was adding 10M rows per month to the table of concern (this was an app recording seismic activity from several hundred meters). I must caution you that you should not use the term VLDB as loosely as you have been using it. You don't know the meaning of VLDB -- not yet at least. You're beginning to appreciate the turf, however. Once I bid on a project that had 100M rows each containing a graphic file. Not to say that size is everything, but IMO VLDB comprises at least a TB, and often many hundreds of TBs. I just got a contract with a company using MySQL whose test database's most important table comprises 100M rows. They expect their clients to have 10* as many rows. My job is to optimize the queries. Fortunately, I can assume any hardware I deem necessary to do it. They are after sub-second retrieves against 1B rows, with maybe 1000 users. Life's a beach and then you drown. I don't know if I can deliver what they want, but what I can deliver is benchmarks against the various DBs that I'm comfortable with -- SQL 2000, Oracle, MySQL and DB/2. I figure that if none of them can do it, I'm off the hook :) The difficult part of this new assignment is that there's no way I can duplicate the hardware resources required to emulate the required system, so I have to assume that the benchmarks on my local system will hold up in a load-leveling 100-server environment -- at least until I have something worthy of installing and then test it in that environment. I sympathize and empathize with your situation, JC. It's amazing how many of our tried-and-true solutions go right out the window when you escalate the number of rows to 100M -- and then factor in multiple joins. Stuff that looks spectacular with only 1M rows suddenly sucks big-time when applied to 100M rows. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 31, 2004 7:13 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Every 100th record Paul, In fact I am trying to make this run on my home system which is part of the problem. This week I am playing "stay-at-home dad" as my wife starts the chhool year this week and has all those 1st week teacher meetings / training. I have never come even close to a db this size and it has definitely been a learning experience. Here's hoping I survive. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Rodgers Sent: Tuesday, August 31, 2004 3:49 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Every 100th record 65 million! What an amazing world you work it. Is there ever time in the week to pop home for an hour? Cheers paul -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Wed Sep 1 22:36:44 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Wed, 1 Sep 2004 23:36:44 -0400 Subject: [AccessD] Rotating Excel In-Reply-To: <001101c48fc0$747cdf50$80b3fea9@ColbyM6805> Message-ID: <000201c4909e$14a42230$0201a8c0@COA3> Excel has a Transpose command, which would do what you are asking once in the worksheet ... BUT ... It also has a 255 column limit. How about an ADO recordset ... Loop the fields, write the names to table? hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 31, 2004 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Rotating Excel I need to export data from this big database into Excel. The objective = is to get the FIELD NAMES out with data from about 100 records. I then = need to rotate excel such that the field names are down the left side and the = data for each record runs down vertically, the data for any given field runs across horizontally. Can anyone tell me how to rotate the spreadsheet = such that the field names are down the left side? I assume that the export MUST go out with the field names across the top row, and the data below that. =20 Can anyone tell me how to get the entire 600+ fields out in a single = export? When I try to use dts it works but complains (fails) if I try and export more than about 240 fields. It LOOKS LIKE perhaps the length of the = field names in the first row is confusing Excel. It is telling me I am = exceeding the 1000 column limit (or some such) What I really want to do is export all the columns (about 600) with the field names in the top row, then rotate the whole shootin match. Any assistance on any of this is greatly appreciated. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Sep 1 22:52:17 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 1 Sep 2004 23:52:17 -0400 Subject: [AccessD] Every 100th record In-Reply-To: Message-ID: <002c01c490a0$40f98d00$80b3fea9@ColbyM6805> Jim, I think the merge idea is simply to maximize the sheer number of names in the database. From what they are saying, they get info on various people over time and need to update those people. Perhaps a poll on car buying, or smoking, or whatever. If those fields don't already exist in the "big table" they add new ones to hold the info. Thus from that perspective "sports" is just another interest, no different from hunting or fishing or gun ownership. As for the 64 bit processor helping with 32 bit apps, nope, not at all - however it certainly doesn't slow 32 bit apps down. However I understand that a 64 bit version of Windows 2003 and SQL Server are available. I purchased the Action Pack which AFAICT contains these things. I am hoping that the 64 bit versions may give some tangible benefit. If not, at least I have a current generation motherboard / processor with current generation SATA, gbit LAN etc. I purchased the MSI K8 Neo Platinum motherboard which appears to be a pretty solid system. It provides all the raid 0/1/10 your heard could desire, can directly manipulate 4 SATA drives and 4 IDE drives and can combine these drives in any order into RAID arrays. These machines have gbit LAN built in, coming right off the NVIDIA core (not across the PCI bus). I am putting in a 5 port gbit switch so they can talk to each other at top speed. I have acknowledged TOTAL ignorance about the ins and outs of SQL Server but I am learning as fast as I can. My reading indicates that SQL Server can distribute a database across entirely different machines. Again how this is done I haven't a clue but in order to find out (and test it) I need two machines. I will shortly have two of these A64 machines to experiment with. If this can indeed be done and the results are good, I can take it from there. I will keep the group informed of my findings. If I can get this all to work I stand to have a good solid client and a lot of work. If I can't I stand to have a totally overpowered (but NICE) dev machine and a lot more SQL Server knowledge than I currently possess. In fact my Insurance Call Center client needs to go to SQL Server as well so this will hopefully help me there as well. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JMoss Sent: Wednesday, September 01, 2004 10:31 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Every 100th record John, I can't help but think that you could lose as much as 10 - 15 % of the volume of this database by doing some type of dedup and / or householding process. I wonder about the logic of mixing lists of different types in one database. It seems to me that the customer wouldn't want to mail an offer to someone from a sports list to someone who got added to a list because they had purchased knitting supplies or some similar type item. The database marketing firm that I worked with kept separate databases. Merging different types of customers into a mail blast seems like a blast or shotgun approach, or someone just selling a lot of addresses in a very non methodical manner. Do you get enough of a performance boost from a 64 bit processor running a 32 bit OS or application to make it worth while? I would think that multiple 32 bit cpu's would be the ticket for 32 bit apps. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, August 31, 2004 7:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Every 100th record In fact the client has another database that has 125 million addresses, another that has 14 million more people, and another that handles all their sports mailings. They would like to merge them all. I just bought a 3ghz socket 754 Athlon 64 which I am loading with Win2K and SQL Server tonight. I can only pray that this gives me SOMETHING in the way of a speedup against my old AMD Athlon 2500. I have to examine my options, down to splitting up the database and having different machines process pieces. I also have to learn to tune SQL Server. Since I am starting from "know absolutely nothing" it shouldn't be too hard to get better results over time. ;-) John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, August 31, 2004 7:33 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Every 100th record Just to put things in perspective, JC, the first client of the people who developed MySQL had 60M rows in their principal table. There are lots of apps way bigger than that. I once had a client that was adding 10M rows per month to the table of concern (this was an app recording seismic activity from several hundred meters). I must caution you that you should not use the term VLDB as loosely as you have been using it. You don't know the meaning of VLDB -- not yet at least. You're beginning to appreciate the turf, however. Once I bid on a project that had 100M rows each containing a graphic file. Not to say that size is everything, but IMO VLDB comprises at least a TB, and often many hundreds of TBs. I just got a contract with a company using MySQL whose test database's most important table comprises 100M rows. They expect their clients to have 10* as many rows. My job is to optimize the queries. Fortunately, I can assume any hardware I deem necessary to do it. They are after sub-second retrieves against 1B rows, with maybe 1000 users. Life's a beach and then you drown. I don't know if I can deliver what they want, but what I can deliver is benchmarks against the various DBs that I'm comfortable with -- SQL 2000, Oracle, MySQL and DB/2. I figure that if none of them can do it, I'm off the hook :) The difficult part of this new assignment is that there's no way I can duplicate the hardware resources required to emulate the required system, so I have to assume that the benchmarks on my local system will hold up in a load-leveling 100-server environment -- at least until I have something worthy of installing and then test it in that environment. I sympathize and empathize with your situation, JC. It's amazing how many of our tried-and-true solutions go right out the window when you escalate the number of rows to 100M -- and then factor in multiple joins. Stuff that looks spectacular with only 1M rows suddenly sucks big-time when applied to 100M rows. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 31, 2004 7:13 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Every 100th record Paul, In fact I am trying to make this run on my home system which is part of the problem. This week I am playing "stay-at-home dad" as my wife starts the chhool year this week and has all those 1st week teacher meetings / training. I have never come even close to a db this size and it has definitely been a learning experience. Here's hoping I survive. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Rodgers Sent: Tuesday, August 31, 2004 3:49 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Every 100th record 65 million! What an amazing world you work it. Is there ever time in the week to pop home for an hour? Cheers paul -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Sep 1 21:54:54 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed, 01 Sep 2004 19:54:54 -0700 Subject: [AccessD] Rotating Excel In-Reply-To: <001101c48fc0$747cdf50$80b3fea9@ColbyM6805> Message-ID: Hi John: I believe there is a 1000 column and 65000 row limit to an excel spreadsheet. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, August 31, 2004 6:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Rotating Excel I need to export data from this big database into Excel. The objective = is to get the FIELD NAMES out with data from about 100 records. I then = need to rotate excel such that the field names are down the left side and the = data for each record runs down vertically, the data for any given field runs across horizontally. Can anyone tell me how to rotate the spreadsheet = such that the field names are down the left side? I assume that the export MUST go out with the field names across the top row, and the data below that. =20 Can anyone tell me how to get the entire 600+ fields out in a single = export? When I try to use dts it works but complains (fails) if I try and export more than about 240 fields. It LOOKS LIKE perhaps the length of the = field names in the first row is confusing Excel. It is telling me I am = exceeding the 1000 column limit (or some such) What I really want to do is export all the columns (about 600) with the field names in the top row, then rotate the whole shootin match. Any assistance on any of this is greatly appreciated. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Sep 1 23:09:24 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 2 Sep 2004 00:09:24 -0400 Subject: [AccessD] Rotating Excel In-Reply-To: <000201c4909e$14a42230$0201a8c0@COA3> Message-ID: <002d01c490a2$a5d4e0b0$80b3fea9@ColbyM6805> I may end up doing a little program. I was hoping for something built in. Let me look at the transpose thingie. Thanks, John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin (Developer at UltraDNT) Sent: Wednesday, September 01, 2004 11:37 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Rotating Excel Excel has a Transpose command, which would do what you are asking once in the worksheet ... BUT ... It also has a 255 column limit. How about an ADO recordset ... Loop the fields, write the names to table? hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 31, 2004 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Rotating Excel I need to export data from this big database into Excel. The objective = is to get the FIELD NAMES out with data from about 100 records. I then = need to rotate excel such that the field names are down the left side and the = data for each record runs down vertically, the data for any given field runs across horizontally. Can anyone tell me how to rotate the spreadsheet = such that the field names are down the left side? I assume that the export MUST go out with the field names across the top row, and the data below that. =20 Can anyone tell me how to get the entire 600+ fields out in a single = export? When I try to use dts it works but complains (fails) if I try and export more than about 240 fields. It LOOKS LIKE perhaps the length of the = field names in the first row is confusing Excel. It is telling me I am = exceeding the 1000 column limit (or some such) What I really want to do is export all the columns (about 600) with the field names in the top row, then rotate the whole shootin match. Any assistance on any of this is greatly appreciated. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Wed Sep 1 23:15:54 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 21:15:54 -0700 Subject: [AccessD] OT: Online storage In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8031BB312@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF8031BB312@main2.marlow.com> Message-ID: it is peculiar to me that you would upload to some online storage place, I would suggest a cheap alternative, ghost + external DVD writter "cheap" DVD r media. (btw, Acronis sucks, just so you knwo not to go a 'cheap' way out) On Mon, 30 Aug 2004 09:51:12 -0500, dwutka at marlow.com wrote: > If you are just talking about data...what kind of space requirement are you > talking? I have about 10 gigs free on my servers data drive, if you want to > just store data. Of course, unless you have screaming upload speed a gig or > two is going to take a day or two. (At 1.5 meg up, to my house, it took > about 45 minutes to transfer a 380 meg file). > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Sunday, August 29, 2004 7:28 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] OT: Online storage > > We're moving in a few days and I don't have the facilities to back up both > of the systems I work on -- I usually just back up from one to the other. > Can anyone suggest an online service where I could upload both systems, just > in case something happens during the move? > > Since this is so off topic, I guess you should reply off list. > > Also, I'll be unsubbing for a few days -- anyone needing me can reach me off > list at ssharkins at bellsouth.net -- but it might take a few days for me to > get back to you. > > Thanks everyone. > > Susan H. > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From gustav at cactus.dk Thu Sep 2 03:10:59 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 2 Sep 2004 10:10:59 +0200 Subject: [AccessD] Determine current page number of report in preview Message-ID: <225449706.20040902101059@cactus.dk> Hi all (Drew?) How do you catch the current page in preview? Access caches pages while you are browsing forward. Fine, but if the user moves (browses) backwards, the Page property stays on the highest number even though the preview displays the correct lower page number. I guess the only chance would be to catch the current page number from the status line of the preview window but I don't know if that is possible. /gustav From gustav at cactus.dk Thu Sep 2 03:35:14 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 2 Sep 2004 10:35:14 +0200 Subject: [AccessD] Prompt after Form loads In-Reply-To: References: <8444881516.20040901205336@cactus.dk> Message-ID: <1896904147.20040902103514@cactus.dk> Hi Francisco > I tried the counter solution, and it fires before the form is "visible" You are right, missed that, but here is how to do this without the Timer: First, create this function in the subform: Private Function ShowAtOpen() Static booOpened As Boolean If booOpened = False Then ' Replace with your code. MsgBox "Load?", vbQuestion, "Francisco" ' Run only once. booOpened = True End If End Function Now, create a textbox in the subform, make it not Visible, and bind it like this: =ShowAtOpen() This will pop the code when the form and the sub have been rendered including controls bound to the recordsource of the form. The only limitation I can see is, that other controls bound to an expression (=something()) may have their values retrieved after the firing of ShowAtOpen. /gustav > On Wed, 1 Sep 2004 20:53:36 +0200, Gustav Brock wrote: >> Hi Francisco >> >> > Agreed, I use them as a very last solution. They do CAUSE flickers, >> > and they interrupt other process as well. Such as adverse behavoirs >> > when using a combo bx and you find that your dropdown doesn't stay >> > dropped, because the timer continues to fire off in the background :D >> >> Except in this case ... did you try the counter solution? >> Works excellent here. From HollisVJ at pgdp.usec.com Thu Sep 2 07:39:04 2004 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 02 Sep 2004 07:39:04 -0500 Subject: [AccessD] Required Field in Function Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0F53BAE5@cntexchange.pgdp.usec.com> I have a function (code below) that is used to append data from a linked Excel file (xlsBPS). The Excel file is linked to the database as a table. There is a column in the Excel file named AssetID - this is a required field in the database. Yesterday when the user ran the append code the AssetID was blank in one of the records in the xlsBPS file. This caused all the records to move up one. For example: Record 1: AssetID = Description: This one Record 2: AssetID = ABC Description: My Name The results after the append code ran were: Record 1: AssetID = ABC Description: This one What can I add to the function to check for null fields to ensure the AssetID is completed, if not, the code does not run? I tried adding a check (where I added the ***** in the code, but I receive the error, RunTime 424, Object Required. Virginia _____________________________________________________________________ Function AppendBPS() 'Appends new data from xlsBPS to tblFailure, tblSystemMain, and tblFailureTimeSelected. Beep Title = "Append new BPS data from Excel" ' Work Order table import. Msg = "Your are about to modify data in this database." Msg = Msg & " Do you want to continue?" DgDef = vbQuestion + vbYesNo + vbDefaultButton1 ' Describe dialog box. Response = MsgBox(Msg, DgDef, Title) ' Get user response. If Response = vbYes Then ' Evaluate response ******** If IsNull(xlsBPS.AssetID) Then ******************************* ******* MsgBox "Asset ID must be completed before downloading" ******** Cancel = True ******* End If DoCmd.SetWarnings False DoCmd.Echo False, "Appending Data" DoCmd.Hourglass True 'Append data to tables DoCmd.OpenQuery "qry_AppendBPS_tblSystemMain", acNormal, acEdit 'Open append query for tblSystemMain DoCmd.OpenQuery "qry_AppendBPS_tblFailures", acNormal, acEdit 'Open append query for tblFailures DoCmd.OpenQuery "qry_AppendBPS_tblFailureTimeSelected", acNormal, acEdit 'Open append query for tblFailureTimeSelected DoCmd.Echo False, "Appending new data" DoCmd.Echo True DoCmd.Hourglass False Beep MsgBox "All done!" DoCmd.SetWarnings True DoCmd.OpenForm "frmSystemFailure", acNormal, "qryStatusPending", , acFormEdit, acWindowNormal 'DoCmd.Quit Else ' You chose No or pressed Enter. End If End Function From chizotz at mchsi.com Thu Sep 2 07:50:22 2004 From: chizotz at mchsi.com (Ron Allen) Date: Thu, 2 Sep 2004 07:50:22 -0500 Subject: [AccessD] FW: photo editing In-Reply-To: <001401c48e9e$128ffde0$80b3fea9@ColbyM6805> References: <001401c48e9e$128ffde0$80b3fea9@ColbyM6805> Message-ID: <657746720.20040902075022@mchsi.com> Hello John and Janice, Paint Shop Pro, www.jasc.com, is a great image editor that is very reasonably priced. It does most everything that Photoshop can do at only a fraction of the cost. PSP can definitely save .tif files, and you can measure in inches rather than pixels. I've done both these things in PSP myself. HTH, Ron Monday, August 30, 2004, 9:31:37 AM, you wrote: JWC> My sister in law is looking for photo editing stuff. If anyone knows of any JWC> that fits the description in the message below my sig could you reply JWC> directly to me off line or directly to Janice. JWC> Thanks, JWC> John W. Colby JWC> www.ColbyConsulting.com JWC> -----Original Message----- JWC> From: JMcK110 at aol.com [mailto:JMcK110 at aol.com] JWC> Sent: Monday, August 30, 2004 9:00 AM JWC> To: jwcolby at colbyconsulting.com JWC> Subject: photo editing JWC> John: JWC> For your type of computer, are you familiar with any non-professional JWC> software(not Photoshop) that lets you save photos as tiffs and measure JWC> photos in JWC> inches rather than pixels? JWC> Client is using Microsfot Photo Editor and having lots of trouble with it? JWC> Don't do any research on this question. I know you're busy. I'm just JWC> looking for off the top of your head answer. JWC> Janice From andy at minstersystems.co.uk Thu Sep 2 08:02:32 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 2 Sep 2004 14:02:32 +0100 Subject: [AccessD] Required Field in Function Message-ID: <20040902130230.0B87724E2D7@smtp.nildram.co.uk> Virginia Your test may well be ok but all you're doinmg is setting Cancel=True; you still carry on and execute the queries. The query execution needs to be on an Else so that it does not run if the IsNull test is True. Setting Cancel=True does not stop subsequent code. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: Access Developers discussion and problem solving To: accessD at databaseadvisors.com Subject: [AccessD] Required Field in Function Date: 02/09/04 12:45 > > I have a function (code below) that is used to append data from a linked > Excel file (xlsBPS). The Excel file is linked to the database as a table. > There is a column in the Excel file named AssetID - this is a required field > in the database. Yesterday when the user ran the append code the AssetID was > blank in one of the records in the xlsBPS file. This caused all the records > to move up one. For example: > > > > Record 1: AssetID = > > Description: This one > > > > Record 2: AssetID = ABC > > Description: My Name > > > > The results after the append code ran were: > > > > Record 1: AssetID = ABC > > Description: This one > > > > What can I add to the function to check for null fields to ensure the > AssetID is completed, if not, the code does not run? I tried adding a check > (where I added the ***** in the code, but I receive the error, RunTime 424, > Object Required. > > > > Virginia > > _____________________________________________________________________ > > Function AppendBPS() > > 'Appends new data from xlsBPS to tblFailure, tblSystemMain, and > tblFailureTimeSelected. > > > > Beep > > > > Title = "Append new BPS data from Excel" > > ' Work Order table import. > > Msg = "Your are about to modify data in this database." > > Msg = Msg & " Do you want to continue?" > > DgDef = vbQuestion + vbYesNo + vbDefaultButton1 ' Describe dialog > box. > > Response = MsgBox(Msg, DgDef, Title) ' Get user response. > > If Response = vbYes Then ' Evaluate response > > > > ******** If IsNull(xlsBPS.AssetID) Then > ******************************* > > ******* MsgBox "Asset ID must be completed before downloading" > > ******** Cancel = True > > ******* End If > > > > DoCmd.SetWarnings False > > > > DoCmd.Echo False, "Appending Data" > > DoCmd.Hourglass True > > > > 'Append data to tables > > DoCmd.OpenQuery "qry_AppendBPS_tblSystemMain", acNormal, acEdit > 'Open append query for tblSystemMain > > DoCmd.OpenQuery "qry_AppendBPS_tblFailures", acNormal, acEdit 'Open > append query for tblFailures > > DoCmd.OpenQuery "qry_AppendBPS_tblFailureTimeSelected", acNormal, > acEdit 'Open append query for tblFailureTimeSelected > > DoCmd.Echo False, "Appending new data" > > > > DoCmd.Echo True > > DoCmd.Hourglass False > > > > Beep > > > > MsgBox "All done!" > > DoCmd.SetWarnings True > > DoCmd.OpenForm "frmSystemFailure", acNormal, "qryStatusPending", , > acFormEdit, acWindowNormal > > 'DoCmd.Quit > > > > Else > > ' You chose No or pressed Enter. > > End If > > > > End Function > > -- > _______________________________________________ > 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 HollisVJ at pgdp.usec.com Thu Sep 2 08:28:14 2004 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 02 Sep 2004 08:28:14 -0500 Subject: [AccessD] Required Field in Function Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0F53BAFE@cntexchange.pgdp.usec.com> I removed the Cancel = True, added "Else" after the MsgBox, and moved the End If to the bottom of the code. But I still receive the RunTime Error 424 Object Required on the If IsNull ... code. Am I missing something else? What would stop the code from running and what is causing the error? If IsNull(xlsBPS.AssetID) Then MsgBox "Asset ID must be completed before downloading" Else ....... End If End If Virginia ________________________________________________________ Virginia Your test may well be ok but all you're doinmg is setting Cancel=True; you still carry on and execute the queries. The query execution needs to be on an Else so that it does not run if the IsNull test is True. Setting Cancel=True does not stop subsequent code. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: Access Developers discussion and problem solving > To: accessD at databaseadvisors.com > Subject: [AccessD] Required Field in Function Date: 02/09/04 12:45 I have a function (code below) that is used to append data from a linked Excel file (xlsBPS). The Excel file is linked to the database as a table. There is a column in the Excel file named AssetID - this is a required field in the database. Yesterday when the user ran the append code the AssetID was blank in one of the records in the xlsBPS file. This caused all the records to move up one. For example: Record 1: AssetID = Description: This one Record 2: AssetID = ABC Description: My Name The results after the append code ran were: Record 1: AssetID = ABC Description: This one What can I add to the function to check for null fields to ensure the AssetID is completed, if not, the code does not run? I tried adding a check (where I added the ***** in the code, but I receive the error, RunTime 424, Object Required. Virginia ____________________________________________________________________ Function AppendBPS() 'Appends new data from xlsBPS to tblFailure, tblSystemMain, and tblFailureTimeSelected. Beep Title = "Append new BPS data from Excel" ' Work Order table import. Msg = "Your are about to modify data in this database." Msg = Msg & " Do you want to continue?" DgDef = vbQuestion + vbYesNo + vbDefaultButton1 ' Describe dialog box. Response = MsgBox(Msg, DgDef, Title) ' Get user response. If Response = vbYes Then ' Evaluate response ******** If IsNull(xlsBPS.AssetID) Then ******************************* ******* MsgBox "Asset ID must be completed before downloading" ******** Cancel = True ******* End If DoCmd.SetWarnings False DoCmd.Echo False, "Appending Data" DoCmd.Hourglass True 'Append data to tables DoCmd.OpenQuery "qry_AppendBPS_tblSystemMain", acNormal, acEdit 'Open append query for tblSystemMain DoCmd.OpenQuery "qry_AppendBPS_tblFailures", acNormal, acEdit 'Open append query for tblFailures DoCmd.OpenQuery "qry_AppendBPS_tblFailureTimeSelected",acNormal, acEdit 'Open append query for tblFailureTimeSelected DoCmd.Echo False, "Appending new data" DoCmd.Echo True DoCmd.Hourglass False Beep MsgBox "All done!" DoCmd.SetWarnings True DoCmd.OpenForm "frmSystemFailure", acNormal, "qryStatusPending", , acFormEdit, acWindowNormal Else ' You chose No or pressed Enter. End If End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Thu Sep 2 08:48:33 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Thu, 2 Sep 2004 15:48:33 +0200 Subject: [AccessD] A2K3 Import does not work Message-ID: <46B976F2B698FF46A4FE7636509B22DF0ADB68@stekelbes.ithelps.local> In Access 2003 to import a txt file (CSV) File >Import > change to TXT file > select file and open Nothing happens. I just come back to the database window. No error, no import, no nothing!! Same thing in A2K2 (XP) works fine.... Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From cyx5 at cdc.gov Thu Sep 2 09:08:41 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Thu, 2 Sep 2004 10:08:41 -0400 Subject: [AccessD] Form Resizing Itself Message-ID: I don't think I have worked in A2K (XP). The funkiest thing is happening. I have a frmMainSwitchboard that opens, I do a DoCmd.Maximize in the on open event. If I click on a button to open up another form, leaving frmMainSwitchboard open, when I return to frmMainSwitchboard it shrinks in size to center itself on the screen. I have all the centering stuff turned off. There is no code that touches this form from the second code. What the? Any ideas, this should be a simple one. Karen Nicholson National Laboratory Xerox Global Services From Jim.Hale at FleetPride.com Thu Sep 2 09:18:33 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 2 Sep 2004 09:18:33 -0500 Subject: [AccessD] Rotating Excel Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677217FEB7@corp-es01.fleetpride.com> For Excel 2000 the limit is: Worksheet size 65,536 rows by 256 columns Jim Hale -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Wednesday, September 01, 2004 9:55 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Rotating Excel Hi John: I believe there is a 1000 column and 65000 row limit to an excel spreadsheet. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, August 31, 2004 6:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Rotating Excel I need to export data from this big database into Excel. The objective = is to get the FIELD NAMES out with data from about 100 records. I then = need to rotate excel such that the field names are down the left side and the = data for each record runs down vertically, the data for any given field runs across horizontally. Can anyone tell me how to rotate the spreadsheet = such that the field names are down the left side? I assume that the export MUST go out with the field names across the top row, and the data below that. =20 Can anyone tell me how to get the entire 600+ fields out in a single = export? When I try to use dts it works but complains (fails) if I try and export more than about 240 fields. It LOOKS LIKE perhaps the length of the = field names in the first row is confusing Excel. It is telling me I am = exceeding the 1000 column limit (or some such) What I really want to do is export all the columns (about 600) with the field names in the top row, then rotate the whole shootin match. Any assistance on any of this is greatly appreciated. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Thu Sep 2 09:33:46 2004 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Thu, 2 Sep 2004 10:33:46 -0400 Subject: [AccessD] Form Resizing Itself References: Message-ID: <035a01c490f9$db486df0$6401a8c0@default> ----- Original Message ----- From: "Nicholson, Karen" To: Sent: Thursday, September 02, 2004 10:08 AM Subject: [AccessD] Form Resizing Itself I don't think I have worked in A2K (XP). The funkiest thing is happening. I have a frmMainSwitchboard that opens, I do a DoCmd.Maximize in the on open event. If I click on a button to open up another form, leaving frmMainSwitchboard open, when I return to frmMainSwitchboard it shrinks in size to center itself on the screen. I have all the centering stuff turned off. There is no code that touches this form from the second code. What the? Any ideas, this should be a simple one. Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ Hi Karen, Fancy meeting you here! In the Events of Activate and On Got Focus put your DoCmd.Maximize also. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From chizotz at mchsi.com Thu Sep 2 09:45:06 2004 From: chizotz at mchsi.com (chizotz at mchsi.com) Date: Thu, 02 Sep 2004 14:45:06 +0000 Subject: [AccessD] Form Resizing Itself Message-ID: <090220041445.13043.28e4@mchsi.com> Set the border to a fixed type, that should take care of it. > I don't think I have worked in A2K (XP). The funkiest thing is > happening. I have a frmMainSwitchboard that opens, I do a > DoCmd.Maximize in the on open event. If I click on a button to open up > another form, leaving frmMainSwitchboard open, when I return to > frmMainSwitchboard it shrinks in size to center itself on the screen. I > have all the centering stuff turned off. There is no code that touches > this form from the second code. What the? Any ideas, this should be a > simple one. > > Karen Nicholson > National Laboratory > Xerox Global Services > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Sep 2 09:45:17 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Thu, 2 Sep 2004 09:45:17 -0500 Subject: [AccessD] FW: photo editing Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB326@main2.marlow.com> All NT based machines (as far as I know) come with Imaging. It's sort of like paint, but can save as .TIFF files. It also measures in inches (or you can change what you units you want). Should be directly under Accessories in the program menu. FYI, I opened a .gif in it, but it wouldn't let me 'edit' anything until I saved it as a TIFF (or another format). Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, August 30, 2004 9:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FW: photo editing My sister in law is looking for photo editing stuff. If anyone knows of any that fits the description in the message below my sig could you reply directly to me off line or directly to Janice. Thanks, John W. Colby www.ColbyConsulting.com -----Original Message----- From: JMcK110 at aol.com [mailto:JMcK110 at aol.com] Sent: Monday, August 30, 2004 9:00 AM To: jwcolby at colbyconsulting.com Subject: photo editing John: For your type of computer, are you familiar with any non-professional software(not Photoshop) that lets you save photos as tiffs and measure photos in inches rather than pixels? Client is using Microsfot Photo Editor and having lots of trouble with it? Don't do any research on this question. I know you're busy. I'm just looking for off the top of your head answer. Janice -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Thu Sep 2 10:11:27 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 2 Sep 2004 10:11:27 -0500 Subject: [AccessD] Required Field in Function Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677217FEB8@corp-es01.fleetpride.com> Maintaining the integrity of data Linked to Excel spreadsheets is often problematic, since the Excel "databases" are subject to manipulation by the user (ie. blank cells, changing column headings, inserting rows, text instead of numbers, etc. One way I reduce these problems is by having a hidden sheet that is linked to the data input cells/sheets. This sheet can have a "validation" field (column) with an excel formula that tests for conditions such as all fields being filled, no text where numbers should be, etc. If the "record" fails the test the formula result can be whatever code you wish. Since you can create your own specialized Excel formula these validation routines can be quite elaborate. When you are reading these Excel "records" into the Access database you can test for these codes and handle the record appropriately. Just a thought. Jim Hale -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, September 02, 2004 8:28 AM To: accessd at databaseadvisors.com Subject: [AccessD] Required Field in Function I removed the Cancel = True, added "Else" after the MsgBox, and moved the End If to the bottom of the code. But I still receive the RunTime Error 424 Object Required on the If IsNull ... code. Am I missing something else? What would stop the code from running and what is causing the error? If IsNull(xlsBPS.AssetID) Then MsgBox "Asset ID must be completed before downloading" Else ....... End If End If Virginia ________________________________________________________ Virginia Your test may well be ok but all you're doinmg is setting Cancel=True; you still carry on and execute the queries. The query execution needs to be on an Else so that it does not run if the IsNull test is True. Setting Cancel=True does not stop subsequent code. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: Access Developers discussion and problem solving > To: accessD at databaseadvisors.com > Subject: [AccessD] Required Field in Function Date: 02/09/04 12:45 I have a function (code below) that is used to append data from a linked Excel file (xlsBPS). The Excel file is linked to the database as a table. There is a column in the Excel file named AssetID - this is a required field in the database. Yesterday when the user ran the append code the AssetID was blank in one of the records in the xlsBPS file. This caused all the records to move up one. For example: Record 1: AssetID = Description: This one Record 2: AssetID = ABC Description: My Name The results after the append code ran were: Record 1: AssetID = ABC Description: This one What can I add to the function to check for null fields to ensure the AssetID is completed, if not, the code does not run? I tried adding a check (where I added the ***** in the code, but I receive the error, RunTime 424, Object Required. Virginia ____________________________________________________________________ Function AppendBPS() 'Appends new data from xlsBPS to tblFailure, tblSystemMain, and tblFailureTimeSelected. Beep Title = "Append new BPS data from Excel" ' Work Order table import. Msg = "Your are about to modify data in this database." Msg = Msg & " Do you want to continue?" DgDef = vbQuestion + vbYesNo + vbDefaultButton1 ' Describe dialog box. Response = MsgBox(Msg, DgDef, Title) ' Get user response. If Response = vbYes Then ' Evaluate response ******** If IsNull(xlsBPS.AssetID) Then ******************************* ******* MsgBox "Asset ID must be completed before downloading" ******** Cancel = True ******* End If DoCmd.SetWarnings False DoCmd.Echo False, "Appending Data" DoCmd.Hourglass True 'Append data to tables DoCmd.OpenQuery "qry_AppendBPS_tblSystemMain", acNormal, acEdit 'Open append query for tblSystemMain DoCmd.OpenQuery "qry_AppendBPS_tblFailures", acNormal, acEdit 'Open append query for tblFailures DoCmd.OpenQuery "qry_AppendBPS_tblFailureTimeSelected",acNormal, acEdit 'Open append query for tblFailureTimeSelected DoCmd.Echo False, "Appending new data" DoCmd.Echo True DoCmd.Hourglass False Beep MsgBox "All done!" DoCmd.SetWarnings True DoCmd.OpenForm "frmSystemFailure", acNormal, "qryStatusPending", , acFormEdit, acWindowNormal Else ' You chose No or pressed Enter. End If End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Thu Sep 2 10:12:08 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Thu, 2 Sep 2004 17:12:08 +0200 Subject: [AccessD] Reader for .MSG files. Message-ID: <46B976F2B698FF46A4FE7636509B22DF0ADB6A@stekelbes.ithelps.local> Does a simple reader software exist to read, exported from Outlook, .MSG files? To read the MSG file without having outlook. Opening a attachement in that MSG file must also be posible. Erwin Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From cyx5 at cdc.gov Thu Sep 2 10:00:41 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Thu, 2 Sep 2004 11:00:41 -0400 Subject: [AccessD] Form Resizing Itself Message-ID: I set the border to thin and the same thing happened. Putting the docmd.maximize on the activate works, but I get the dreaded screen flicker. Why does Access decide to go ahead and shrink a form size when another form is opened? Aughghghg. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of chizotz at mchsi.com Sent: Thursday, September 02, 2004 10:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form Resizing Itself Set the border to a fixed type, that should take care of it. > I don't think I have worked in A2K (XP). The funkiest thing is > happening. I have a frmMainSwitchboard that opens, I do a > DoCmd.Maximize in the on open event. If I click on a button to open up > another form, leaving frmMainSwitchboard open, when I return to > frmMainSwitchboard it shrinks in size to center itself on the screen. I > have all the centering stuff turned off. There is no code that touches > this form from the second code. What the? Any ideas, this should be a > simple one. > > Karen Nicholson > National Laboratory > Xerox Global Services > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Sep 2 10:42:16 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Sep 2004 08:42:16 -0700 Subject: [AccessD] Required Field in Function Message-ID: Have you declared xlsBPS as an Excel worksheet or is it an attached Excel "table"? I would suspect the referencing xlsBPS.AssetID is giving you the problem. Charlotte Foust -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, September 02, 2004 6:28 AM To: accessd at databaseadvisors.com Subject: [AccessD] Required Field in Function I removed the Cancel = True, added "Else" after the MsgBox, and moved the End If to the bottom of the code. But I still receive the RunTime Error 424 Object Required on the If IsNull ... code. Am I missing something else? What would stop the code from running and what is causing the error? If IsNull(xlsBPS.AssetID) Then MsgBox "Asset ID must be completed before downloading" Else ....... End If End If Virginia ________________________________________________________ Virginia Your test may well be ok but all you're doinmg is setting Cancel=True; you still carry on and execute the queries. The query execution needs to be on an Else so that it does not run if the IsNull test is True. Setting Cancel=True does not stop subsequent code. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: Access Developers discussion and problem solving > To: accessD at databaseadvisors.com > Subject: [AccessD] Required Field in Function Date: 02/09/04 12:45 I have a function (code below) that is used to append data from a linked Excel file (xlsBPS). The Excel file is linked to the database as a table. There is a column in the Excel file named AssetID - this is a required field in the database. Yesterday when the user ran the append code the AssetID was blank in one of the records in the xlsBPS file. This caused all the records to move up one. For example: Record 1: AssetID = Description: This one Record 2: AssetID = ABC Description: My Name The results after the append code ran were: Record 1: AssetID = ABC Description: This one What can I add to the function to check for null fields to ensure the AssetID is completed, if not, the code does not run? I tried adding a check (where I added the ***** in the code, but I receive the error, RunTime 424, Object Required. Virginia ____________________________________________________________________ Function AppendBPS() 'Appends new data from xlsBPS to tblFailure, tblSystemMain, and tblFailureTimeSelected. Beep Title = "Append new BPS data from Excel" ' Work Order table import. Msg = "Your are about to modify data in this database." Msg = Msg & " Do you want to continue?" DgDef = vbQuestion + vbYesNo + vbDefaultButton1 ' Describe dialog box. Response = MsgBox(Msg, DgDef, Title) ' Get user response. If Response = vbYes Then ' Evaluate response ******** If IsNull(xlsBPS.AssetID) Then ******************************* ******* MsgBox "Asset ID must be completed before downloading" ******** Cancel = True ******* End If DoCmd.SetWarnings False DoCmd.Echo False, "Appending Data" DoCmd.Hourglass True 'Append data to tables DoCmd.OpenQuery "qry_AppendBPS_tblSystemMain", acNormal, acEdit 'Open append query for tblSystemMain DoCmd.OpenQuery "qry_AppendBPS_tblFailures", acNormal, acEdit 'Open append query for tblFailures DoCmd.OpenQuery "qry_AppendBPS_tblFailureTimeSelected",acNormal, acEdit 'Open append query for tblFailureTimeSelected DoCmd.Echo False, "Appending new data" DoCmd.Echo True DoCmd.Hourglass False Beep MsgBox "All done!" DoCmd.SetWarnings True DoCmd.OpenForm "frmSystemFailure", acNormal, "qryStatusPending", , acFormEdit, acWindowNormal Else ' You chose No or pressed Enter. End If End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Thu Sep 2 10:46:56 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 2 Sep 2004 08:46:56 -0700 Subject: [AccessD] JIT Forms? In-Reply-To: <001701c48f82$95d45ea0$80b3fea9@ColbyM6805> References: <001701c48f82$95d45ea0$80b3fea9@ColbyM6805> Message-ID: so the idea is to open the form up in design first add the fields? is that right? thanks, On Tue, 31 Aug 2004 13:47:27 -0400, John W. Colby wrote: > You can do that but only in design view. > > John W. Colby > www.ColbyConsulting.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia > Sent: Tuesday, August 31, 2004 11:46 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] JIT Forms? > > Anyone have a link, or advice on creating controls JIT? > > Access2000 / ADP > I have an unbound form, that I'd like to pass a recordset to and thus be > able to on-the-fly create controls that match the recordset... any ideas? > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From HollisVJ at pgdp.usec.com Thu Sep 2 10:47:38 2004 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 02 Sep 2004 10:47:38 -0500 Subject: [AccessD] Required Field in Function Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0F53BB39@cntexchange.pgdp.usec.com> The strangest thing is happening. I created a query with the linked Excel table xlsBPS and set the criteria to show AssetID = IsNull. I added the DCount to the function and ran it. What is strange, when I first created the query and ran the query, it showed which record contained the Null AssetID. After running the append code, it does not show this record - the query is blank. I don't understand why it isn't picking up the Null AssetID record anymore. If I look on the spreadsheet or open the linked table, that field is Null. Since the query does not show any records containing Null AssetIDs anymore (even though there is a null record) it runs the append code. I also tried having the query open so the user can enter the missing data. I found out if you enter data into the linked Excel table, it corrupts the spreadsheet file and gives an error message about not being in a correct file format. -----Original Message----- From: Nancy Lytle [mailto:nlytle at swales.com] Sent: Thursday, September 02, 2004 9:59 AM To: Hollis,Virginia Subject: RE: [AccessD] Required Field in Function I've done similiar things. Anything to control what the user can and can't do. If the query is being run from a form and you don't want user in the actual tables then run the IsNull query then open a form you created based on that query, once thta have completed that you can have them close or update the recordset and rerun the IsNull and if it returns 0 records the run the append query. Heres some pseudo code If DCount("*", "qryIsNull) >0 then Open frmDataEntry Else Run AppendQuery End if On Open of frmDataEntry frmDataEntry.recordsourcetype = "table/query" frmDataEntry.recordsource = "qryIsNull" On Close frmDataEntry Refresh the form to catch all newly entered data If DCount("*", "qryIsNull) >0 then "there are still items to correct" Return them to finish entering Else Run AppendQuery End if Nancy -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, September 02, 2004 10:45 AM To: Nancy Lytle Subject: RE: [AccessD] Required Field in Function That is fine replying directly, thanks. That sounds like a good idea; it would show the user exactly what is wrong too. I will try to play around with that idea. Have you ever tried it? Va. -----Original Message----- From: Nancy Lytle [mailto:nlytle at swales.com] Sent: Thursday, September 02, 2004 9:41 AM To: HollisVJ at pgdp.usec.com Subject: Re: [AccessD] Required Field in Function I couldn't reply on the list so here goes: I may be off base here but why not have an IsNotNull Criteria in the append, then a second query to pop up a form for all those where the field is null? Or do the reverse, have it pop up with all the null fields, require them to be filled in before the append query can run. ----- Original Message ----- From: "Hollis,Virginia" To: Sent: Thursday, September 02, 2004 9:28 AM Subject: [AccessD] Required Field in Function > I removed the Cancel = True, added "Else" after the MsgBox, and moved the > End If to the bottom of the code. But I still receive the RunTime Error 424 > Object Required on the If IsNull ... code. Am I missing something else? What > would stop the code from running and what is causing the error? > > If IsNull(xlsBPS.AssetID) Then > MsgBox "Asset ID must be completed before downloading" > Else > ....... > End If > End If > > Virginia > ________________________________________________________ > Virginia > Your test may well be ok but all you're doinmg is setting Cancel=True; you > still carry on and execute the queries. The query execution needs to be on > an Else so that it does not run if the IsNull test is True. Setting > Cancel=True does not stop subsequent code. > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > --------- Original Message -------- > From: Access Developers discussion and problem solving > > > To: accessD at databaseadvisors.com > databaseadvisors.com > > > Subject: [AccessD] Required Field in Function > Date: 02/09/04 12:45 > > > I have a function (code below) that is used to append data from a linked > Excel file (xlsBPS). The Excel file is linked to the database as a table. > There is a column in the Excel file named AssetID - this is a required > field in the database. Yesterday when the user ran the append code the > AssetID was blank in one of the records in the xlsBPS file. This caused all > the records to move up one. For example: > > Record 1: AssetID = > Description: This one > > Record 2: AssetID = ABC > Description: My Name > > The results after the append code ran were: > > Record 1: AssetID = ABC > Description: This one > > What can I add to the function to check for null fields to ensure the > AssetID is completed, if not, the code does not run? I tried adding a check > (where I added the ***** in the code, but I receive the error, RunTime 424, > Object Required. > > Virginia > ____________________________________________________________________ > > Function AppendBPS() > > 'Appends new data from xlsBPS to tblFailure, tblSystemMain, and > tblFailureTimeSelected. > > Beep > > Title = "Append new BPS data from Excel" > > ' Work Order table import. > > Msg = "Your are about to modify data in this database." > Msg = Msg & " Do you want to continue?" > DgDef = vbQuestion + vbYesNo + vbDefaultButton1 ' Describe dialog > box. > > Response = MsgBox(Msg, DgDef, Title) ' Get user response. > If Response = vbYes Then ' Evaluate response > > ******** If IsNull(xlsBPS.AssetID) Then > ******************************* > ******* MsgBox "Asset ID must be completed before > downloading" > ******** Cancel = True > ******* End If > > DoCmd.SetWarnings False > > DoCmd.Echo False, "Appending Data" > > DoCmd.Hourglass True > > 'Append data to tables > > DoCmd.OpenQuery "qry_AppendBPS_tblSystemMain", acNormal, > acEdit > 'Open append query for tblSystemMain > > DoCmd.OpenQuery "qry_AppendBPS_tblFailures", acNormal, > acEdit 'Open append query for tblFailures > DoCmd.OpenQuery > "qry_AppendBPS_tblFailureTimeSelected",acNormal, acEdit 'Open > append query for tblFailureTimeSelected > DoCmd.Echo False, "Appending new data" > > DoCmd.Echo True > DoCmd.Hourglass False > > Beep > > MsgBox "All done!" > > DoCmd.SetWarnings True > > DoCmd.OpenForm "frmSystemFailure", acNormal, > "qryStatusPending", , acFormEdit, acWindowNormal > > Else > > ' You chose No or pressed Enter. > > End If > > End Function > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From HollisVJ at pgdp.usec.com Thu Sep 2 10:48:35 2004 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 02 Sep 2004 10:48:35 -0500 Subject: [AccessD] Required Field in Function Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0F53BB3A@cntexchange.pgdp.usec.com> The xlsBPS is an attached Excel table. It is linked to the Excel spreadsheet. Virginia _______________________ Have you declared xlsBPS as an Excel worksheet or is it an attached Excel "table"? I would suspect the referencing xlsBPS.AssetID is giving you the problem. Charlotte Foust From HollisVJ at pgdp.usec.com Thu Sep 2 10:49:48 2004 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 02 Sep 2004 10:49:48 -0500 Subject: [AccessD] Required Field in Function Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0F53BB3B@cntexchange.pgdp.usec.com> This is what I added: If DCount("*", "qryBPSNull") > 0 Then MsgBox "Asset ID must be entered" Else Append code..... -----Original Message----- From: Hollis,Virginia Sent: Thursday, September 02, 2004 10:48 AM To: 'nlytle at swales.com'; 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Required Field in Function The strangest thing is happening. I created a query with the linked Excel table xlsBPS and set the criteria to show AssetID = IsNull. I added the DCount to the function and ran it. What is strange, when I first created the query and ran the query, it showed which record contained the Null AssetID. After running the append code, it does not show this record - the query is blank. I don't understand why it isn't picking up the Null AssetID record anymore. If I look on the spreadsheet or open the linked table, that field is Null. Since the query does not show any records containing Null AssetIDs anymore (even though there is a null record) it runs the append code. I also tried having the query open so the user can enter the missing data. I found out if you enter data into the linked Excel table, it corrupts the spreadsheet file and gives an error message about not being in a correct file format. -----Original Message----- From: Nancy Lytle [mailto:nlytle at swales.com] Sent: Thursday, September 02, 2004 9:59 AM To: Hollis,Virginia Subject: RE: [AccessD] Required Field in Function I've done similiar things. Anything to control what the user can and can't do. If the query is being run from a form and you don't want user in the actual tables then run the IsNull query then open a form you created based on that query, once thta have completed that you can have them close or update the recordset and rerun the IsNull and if it returns 0 records the run the append query. Heres some pseudo code If DCount("*", "qryIsNull) >0 then Open frmDataEntry Else Run AppendQuery End if On Open of frmDataEntry frmDataEntry.recordsourcetype = "table/query" frmDataEntry.recordsource = "qryIsNull" On Close frmDataEntry Refresh the form to catch all newly entered data If DCount("*", "qryIsNull) >0 then "there are still items to correct" Return them to finish entering Else Run AppendQuery End if Nancy -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, September 02, 2004 10:45 AM To: Nancy Lytle Subject: RE: [AccessD] Required Field in Function That is fine replying directly, thanks. That sounds like a good idea; it would show the user exactly what is wrong too. I will try to play around with that idea. Have you ever tried it? Va. -----Original Message----- From: Nancy Lytle [mailto:nlytle at swales.com] Sent: Thursday, September 02, 2004 9:41 AM To: HollisVJ at pgdp.usec.com Subject: Re: [AccessD] Required Field in Function I couldn't reply on the list so here goes: I may be off base here but why not have an IsNotNull Criteria in the append, then a second query to pop up a form for all those where the field is null? Or do the reverse, have it pop up with all the null fields, require them to be filled in before the append query can run. ----- Original Message ----- From: "Hollis,Virginia" To: Sent: Thursday, September 02, 2004 9:28 AM Subject: [AccessD] Required Field in Function > I removed the Cancel = True, added "Else" after the MsgBox, and moved the > End If to the bottom of the code. But I still receive the RunTime Error 424 > Object Required on the If IsNull ... code. Am I missing something else? What > would stop the code from running and what is causing the error? > > If IsNull(xlsBPS.AssetID) Then > MsgBox "Asset ID must be completed before downloading" > Else > ....... > End If > End If > > Virginia > ________________________________________________________ > Virginia > Your test may well be ok but all you're doinmg is setting Cancel=True; you > still carry on and execute the queries. The query execution needs to be on > an Else so that it does not run if the IsNull test is True. Setting > Cancel=True does not stop subsequent code. > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > --------- Original Message -------- > From: Access Developers discussion and problem solving > > > To: accessD at databaseadvisors.com > databaseadvisors.com > > > Subject: [AccessD] Required Field in Function > Date: 02/09/04 12:45 > > > I have a function (code below) that is used to append data from a linked > Excel file (xlsBPS). The Excel file is linked to the database as a table. > There is a column in the Excel file named AssetID - this is a required > field in the database. Yesterday when the user ran the append code the > AssetID was blank in one of the records in the xlsBPS file. This caused all > the records to move up one. For example: > > Record 1: AssetID = > Description: This one > > Record 2: AssetID = ABC > Description: My Name > > The results after the append code ran were: > > Record 1: AssetID = ABC > Description: This one > > What can I add to the function to check for null fields to ensure the > AssetID is completed, if not, the code does not run? I tried adding a check > (where I added the ***** in the code, but I receive the error, RunTime 424, > Object Required. > > Virginia > ____________________________________________________________________ > > Function AppendBPS() > > 'Appends new data from xlsBPS to tblFailure, tblSystemMain, and > tblFailureTimeSelected. > > Beep > > Title = "Append new BPS data from Excel" > > ' Work Order table import. > > Msg = "Your are about to modify data in this database." > Msg = Msg & " Do you want to continue?" > DgDef = vbQuestion + vbYesNo + vbDefaultButton1 ' Describe dialog > box. > > Response = MsgBox(Msg, DgDef, Title) ' Get user response. > If Response = vbYes Then ' Evaluate response > > ******** If IsNull(xlsBPS.AssetID) Then > ******************************* > ******* MsgBox "Asset ID must be completed before > downloading" > ******** Cancel = True > ******* End If > > DoCmd.SetWarnings False > > DoCmd.Echo False, "Appending Data" > > DoCmd.Hourglass True > > 'Append data to tables > > DoCmd.OpenQuery "qry_AppendBPS_tblSystemMain", acNormal, > acEdit > 'Open append query for tblSystemMain > > DoCmd.OpenQuery "qry_AppendBPS_tblFailures", acNormal, > acEdit 'Open append query for tblFailures > DoCmd.OpenQuery > "qry_AppendBPS_tblFailureTimeSelected",acNormal, acEdit 'Open > append query for tblFailureTimeSelected > DoCmd.Echo False, "Appending new data" > > DoCmd.Echo True > DoCmd.Hourglass False > > Beep > > MsgBox "All done!" > > DoCmd.SetWarnings True > > DoCmd.OpenForm "frmSystemFailure", acNormal, > "qryStatusPending", , acFormEdit, acWindowNormal > > Else > > ' You chose No or pressed Enter. > > End If > > End Function > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Sep 2 10:57:07 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Sep 2004 08:57:07 -0700 Subject: [AccessD] Required Field in Function Message-ID: Try testing for a zero length as well. Charlotte Foust -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, September 02, 2004 8:48 AM To: nlytle at swales.com; accessd at databaseadvisors.com Subject: RE: [AccessD] Required Field in Function The strangest thing is happening. I created a query with the linked Excel table xlsBPS and set the criteria to show AssetID = IsNull. I added the DCount to the function and ran it. What is strange, when I first created the query and ran the query, it showed which record contained the Null AssetID. After running the append code, it does not show this record - the query is blank. I don't understand why it isn't picking up the Null AssetID record anymore. If I look on the spreadsheet or open the linked table, that field is Null. Since the query does not show any records containing Null AssetIDs anymore (even though there is a null record) it runs the append code. I also tried having the query open so the user can enter the missing data. I found out if you enter data into the linked Excel table, it corrupts the spreadsheet file and gives an error message about not being in a correct file format. -----Original Message----- From: Nancy Lytle [mailto:nlytle at swales.com] Sent: Thursday, September 02, 2004 9:59 AM To: Hollis,Virginia Subject: RE: [AccessD] Required Field in Function I've done similiar things. Anything to control what the user can and can't do. If the query is being run from a form and you don't want user in the actual tables then run the IsNull query then open a form you created based on that query, once thta have completed that you can have them close or update the recordset and rerun the IsNull and if it returns 0 records the run the append query. Heres some pseudo code If DCount("*", "qryIsNull) >0 then Open frmDataEntry Else Run AppendQuery End if On Open of frmDataEntry frmDataEntry.recordsourcetype = "table/query" frmDataEntry.recordsource = "qryIsNull" On Close frmDataEntry Refresh the form to catch all newly entered data If DCount("*", "qryIsNull) >0 then "there are still items to correct" Return them to finish entering Else Run AppendQuery End if Nancy -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, September 02, 2004 10:45 AM To: Nancy Lytle Subject: RE: [AccessD] Required Field in Function That is fine replying directly, thanks. That sounds like a good idea; it would show the user exactly what is wrong too. I will try to play around with that idea. Have you ever tried it? Va. -----Original Message----- From: Nancy Lytle [mailto:nlytle at swales.com] Sent: Thursday, September 02, 2004 9:41 AM To: HollisVJ at pgdp.usec.com Subject: Re: [AccessD] Required Field in Function I couldn't reply on the list so here goes: I may be off base here but why not have an IsNotNull Criteria in the append, then a second query to pop up a form for all those where the field is null? Or do the reverse, have it pop up with all the null fields, require them to be filled in before the append query can run. ----- Original Message ----- From: "Hollis,Virginia" To: Sent: Thursday, September 02, 2004 9:28 AM Subject: [AccessD] Required Field in Function > I removed the Cancel = True, added "Else" after the MsgBox, and moved > the End If to the bottom of the code. But I still receive the RunTime > Error 424 > Object Required on the If IsNull ... code. Am I missing something > else? What > would stop the code from running and what is causing the error? > > If IsNull(xlsBPS.AssetID) Then > MsgBox "Asset ID must be completed before downloading" Else > ....... > End If > End If > > Virginia ________________________________________________________ > Virginia > Your test may well be ok but all you're doinmg is setting Cancel=True; you > still carry on and execute the queries. The query execution needs to be on > an Else so that it does not run if the IsNull test is True. Setting > Cancel=True does not stop subsequent code. > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > --------- Original Message -------- > From: Access Developers discussion and problem solving databaseadvisors.com > > > To: accessD at databaseadvisors.com > databaseadvisors.com > > > Subject: [AccessD] Required Field in Function > Date: 02/09/04 12:45 > > > I have a function (code below) that is used to append data from a > linked Excel file (xlsBPS). The Excel file is linked to the database > as a table. There is a column in the Excel file named AssetID - this > is a required field in the database. Yesterday when the user ran the > append code the AssetID was blank in one of the records in the xlsBPS > file. This caused all > the records to move up one. For example: > > Record 1: AssetID = > Description: This one > > Record 2: AssetID = ABC > Description: My Name > > The results after the append code ran were: > > Record 1: AssetID = ABC > Description: This one > > What can I add to the function to check for null fields to ensure the > AssetID is completed, if not, the code does not run? I tried adding a check > (where I added the ***** in the code, but I receive the error, RunTime 424, > Object Required. > > Virginia > ____________________________________________________________________ > > Function AppendBPS() > > 'Appends new data from xlsBPS to tblFailure, tblSystemMain, and > tblFailureTimeSelected. > > Beep > > Title = "Append new BPS data from Excel" > > ' Work Order table import. > > Msg = "Your are about to modify data in this database." > Msg = Msg & " Do you want to continue?" > DgDef = vbQuestion + vbYesNo + vbDefaultButton1 ' Describe dialog > box. > > Response = MsgBox(Msg, DgDef, Title) ' Get user response. > If Response = vbYes Then ' Evaluate response > > ******** If IsNull(xlsBPS.AssetID) Then > ******************************* > ******* MsgBox "Asset ID must be completed before > downloading" > ******** Cancel = True > ******* End If > > DoCmd.SetWarnings False > > DoCmd.Echo False, "Appending Data" > > DoCmd.Hourglass True > > 'Append data to tables > > DoCmd.OpenQuery "qry_AppendBPS_tblSystemMain", acNormal, > acEdit > 'Open append query for tblSystemMain > > DoCmd.OpenQuery "qry_AppendBPS_tblFailures", > acNormal, acEdit 'Open append query for tblFailures > DoCmd.OpenQuery > "qry_AppendBPS_tblFailureTimeSelected",acNormal, acEdit > 'Open append query for tblFailureTimeSelected > DoCmd.Echo False, "Appending new data" > > DoCmd.Echo True > DoCmd.Hourglass False > > Beep > > MsgBox "All done!" > > DoCmd.SetWarnings True > > DoCmd.OpenForm "frmSystemFailure", acNormal, > "qryStatusPending", , acFormEdit, acWindowNormal > > Else > > ' You chose No or pressed Enter. > > End If > > End Function > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Sep 2 10:54:01 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 2 Sep 2004 17:54:01 +0200 Subject: [AccessD] Reader for .MSG files. In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF0ADB6A@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF0ADB6A@stekelbes.ithelps.local> Message-ID: <17233231223.20040902175401@cactus.dk> Hi Erwin "The Bat!" from RitLabs can import msg and eml files. /gustav > Does a simple reader software exist to read, exported from Outlook, .MSG > files? > To read the MSG file without having outlook. > Opening a attachement in that MSG file must also be posible. From dwaters at usinternet.com Thu Sep 2 11:05:22 2004 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 2 Sep 2004 11:05:22 -0500 Subject: [AccessD] Firefox opens two windows In-Reply-To: <25115780.1094091514866.JavaMail.root@sniper5.usinternet.com> Message-ID: <000d01c49106$a718fb00$de1811d8@danwaters> Hi Francisco, I patched version 9.2 so I would guess that 9.3 doesn't have that problem. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Wednesday, September 01, 2004 9:06 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Firefox opens two windows which version of firefox?, I'm running 9.3 and have not seen this problem. On Wed, 1 Sep 2004 20:20:03 -0400, John W. Colby wrote: > Can anyone point me to why suddenly FireFox is opening TWO browser windows > whenever I open any link, as in an email or such? More importantly, how to > fix it. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia > Sent: Tuesday, August 31, 2004 8:02 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Every 100th record > > For the record I think it was me who applied the term VLDB to his db :D. > Even thow I've been my dept's DBA for the last 3 years, I have not run into > any company database that touches the Millions of records, the only tables > that I have that contain a near enough number of consequential tables, > (auditing) > > On Tue, 31 Aug 2004 19:32:55 -0400, Arthur Fuller wrote: > > Just to put things in perspective, JC, the first client of the people > > who developed MySQL had 60M rows in their principal table. There are > > lots of apps way bigger than that. I once had a client that was adding > > 10M rows per month to the table of concern (this was an app recording > > seismic activity from several hundred meters). I must caution you that > > you should not use the term VLDB as loosely as you have been using it. > > You don't know the meaning of VLDB -- not yet at least. You're > > beginning to appreciate the turf, however. Once I bid on a project > > that had 100M rows each containing a graphic file. Not to say that > > size is everything, but IMO VLDB comprises at least a TB, and often > > many hundreds of TBs. > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Thu Sep 2 11:09:19 2004 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 2 Sep 2004 11:09:19 -0500 Subject: [AccessD] FW: photo editing In-Reply-To: <18804565.1094138878520.JavaMail.root@sniper12.usinternet.com> Message-ID: <000e01c49107$33fc2e20$de1811d8@danwaters> Drew, I believe you are talking about Kodak Imaging, which was a nice program. It was available in W2K, but not in WXP. I read somewhere that Kodak and MS has a falling out. I searched MS for information, and was directed to a link which was a third party who provided similar software for about $100/seat. Rats! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Thursday, September 02, 2004 9:45 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] FW: photo editing All NT based machines (as far as I know) come with Imaging. It's sort of like paint, but can save as .TIFF files. It also measures in inches (or you can change what you units you want). Should be directly under Accessories in the program menu. FYI, I opened a .gif in it, but it wouldn't let me 'edit' anything until I saved it as a TIFF (or another format). Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, August 30, 2004 9:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FW: photo editing My sister in law is looking for photo editing stuff. If anyone knows of any that fits the description in the message below my sig could you reply directly to me off line or directly to Janice. Thanks, John W. Colby www.ColbyConsulting.com -----Original Message----- From: JMcK110 at aol.com [mailto:JMcK110 at aol.com] Sent: Monday, August 30, 2004 9:00 AM To: jwcolby at colbyconsulting.com Subject: photo editing John: For your type of computer, are you familiar with any non-professional software(not Photoshop) that lets you save photos as tiffs and measure photos in inches rather than pixels? Client is using Microsfot Photo Editor and having lots of trouble with it? Don't do any research on this question. I know you're busy. I'm just looking for off the top of your head answer. Janice -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Thu Sep 2 11:21:55 2004 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 2 Sep 2004 12:21:55 -0400 Subject: [AccessD] Reader for .MSG files. Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F02D08898@xlivmbx21.aig.com> Did a quick Google search and came up with this... http://www.thebeatlesforever.com/processtext/abcoutlk.html > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT > Helps > Sent: Thursday, September 02, 2004 11:12 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Reader for .MSG files. > > Does a simple reader software exist to read, exported from Outlook, .MSG > files? > To read the MSG file without having outlook. > Opening a attachement in that MSG file must also be posible. > > Erwin > > > > > > Erwin Craps > > Zaakvoerder > > www.ithelps.be/jonathan > > > > This E-mail is confidential, may be legally privileged, and is for the > intended recipient only. Access, disclosure, copying, distribution, or > reliance on any of it by anyone else is prohibited and may be a criminal > offence. Please delete if obtained in error and E-mail confirmation to > the sender. > > IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg > > www.ithelps.be * www.boxoffice.be > * www.stadleuven.be > > > IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven > > IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: > Info at ithelps.be > > Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: > Staff at boxoffice.be > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Thu Sep 2 12:04:12 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Thu, 2 Sep 2004 13:04:12 -0400 Subject: [AccessD] Access & AutoCAD Message-ID: ...so I'm guessing I'm the only one in this unique position:((( Mark -----Original Message----- From: Mitsules, Mark Sent: Wednesday, September 01, 2004 5:42 PM To: [AccessD] Subject: [AccessD] Access & AutoCAD Has anyone tackled this combination? There is ONE example in the AutoCAD samples folder. There is ONE book that I found regarding database connectivity (circa 1999). ...and a DISTINCT lack of web-based material as far as I can tell:( I would be most appreciative for pointers towards any of the following: recent books (AutoCAD 2002 or later), web-based tutorials, web-based examples, personal examples, cave paintings...anything. Thanks in advance for any/all information. Mark Conversely, I am willing to pay $40 to anyone willing to take the AutoCAD help files and develop a booklet within the next 2 weeks, including a table of contents, that will allow me to chronologically work my way through a project. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Sep 2 12:30:29 2004 From: john at winhaven.net (John Bartow) Date: Thu, 2 Sep 2004 12:30:29 -0500 Subject: [AccessD] Access & AutoCAD In-Reply-To: Message-ID: Mark, Are you trying to use automation between the two or are you trying to use access as a database for Autocad Attributes? John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 02, 2004 12:04 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access & AutoCAD ...so I'm guessing I'm the only one in this unique position:((( Mark -----Original Message----- From: Mitsules, Mark Sent: Wednesday, September 01, 2004 5:42 PM To: [AccessD] Subject: [AccessD] Access & AutoCAD Has anyone tackled this combination? There is ONE example in the AutoCAD samples folder. There is ONE book that I found regarding database connectivity (circa 1999). ...and a DISTINCT lack of web-based material as far as I can tell:( I would be most appreciative for pointers towards any of the following: recent books (AutoCAD 2002 or later), web-based tutorials, web-based examples, personal examples, cave paintings...anything. Thanks in advance for any/all information. Mark Conversely, I am willing to pay $40 to anyone willing to take the AutoCAD help files and develop a booklet within the next 2 weeks, including a table of contents, that will allow me to chronologically work my way through a project. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sep 2 12:50:59 2004 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 02 Sep 2004 17:50:59 +0000 Subject: [AccessD] Form Resizing Itself Message-ID: I might be mistaken...but I thought if you had multple foms/windows open in Access...and you closed one...the next one to get focus would have the same setting(maximized/restored) as the one that closed...unless you handle it in the events. An easy way to show this...open 2 seperate forms...and maximize each of them...navigating them by using the toolbar/window button. Even maximize the db window...if you close 1...then the next window that has focus will still be maximized...but if you were to click the restore button on the form that had focus...it would restore ALL open forms. I know this happens in A97 and A2K...not sure about xp...and not sure if this behavior is controlled by a setting...or just the way things are. Thanks, Mark A. Matte >From: "Nicholson, Karen" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] Form Resizing Itself >Date: Thu, 2 Sep 2004 11:00:41 -0400 > >I set the border to thin and the same thing happened. Putting the >docmd.maximize on the activate works, but I get the dreaded screen >flicker. Why does Access decide to go ahead and shrink a form size when >another form is opened? Aughghghg. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >chizotz at mchsi.com >Sent: Thursday, September 02, 2004 10:45 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Form Resizing Itself > > >Set the border to a fixed type, that should take care of it. > > > I don't think I have worked in A2K (XP). The funkiest thing is > > happening. I have a frmMainSwitchboard that opens, I do a > > DoCmd.Maximize in the on open event. If I click on a button to open >up > > another form, leaving frmMainSwitchboard open, when I return to > > frmMainSwitchboard it shrinks in size to center itself on the screen. >I > > have all the centering stuff turned off. There is no code that >touches > > this form from the second code. What the? Any ideas, this should be >a > > simple one. > > > > Karen Nicholson > > National Laboratory > > Xerox Global Services > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Thu Sep 2 12:51:28 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Thu, 2 Sep 2004 13:51:28 -0400 Subject: [AccessD] Access & AutoCAD Message-ID: Both. First project is our departmental floor plan which will include ALL of the attributes for personnel and equipment. Later projects will build BOM drawings in AutoCAD dynamically. Concurrently with those, I would like to develop an automation process which monitors a network folder, and when a new drawing is placed there, automatically extract certain drawing attributes, log them into a database, and create a .dwf format version for intranet publication. Mark -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Thursday, September 02, 2004 1:30 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access & AutoCAD Mark, Are you trying to use automation between the two or are you trying to use access as a database for Autocad Attributes? John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 02, 2004 12:04 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access & AutoCAD ...so I'm guessing I'm the only one in this unique position:((( Mark -----Original Message----- From: Mitsules, Mark Sent: Wednesday, September 01, 2004 5:42 PM To: [AccessD] Subject: [AccessD] Access & AutoCAD Has anyone tackled this combination? There is ONE example in the AutoCAD samples folder. There is ONE book that I found regarding database connectivity (circa 1999). ...and a DISTINCT lack of web-based material as far as I can tell:( I would be most appreciative for pointers towards any of the following: recent books (AutoCAD 2002 or later), web-based tutorials, web-based examples, personal examples, cave paintings...anything. Thanks in advance for any/all information. Mark Conversely, I am willing to pay $40 to anyone willing to take the AutoCAD help files and develop a booklet within the next 2 weeks, including a table of contents, that will allow me to chronologically work my way through a project. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sep 2 12:58:05 2004 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 02 Sep 2004 17:58:05 +0000 Subject: [AccessD] Required Field in Function Message-ID: Just a thought...but could you code the db to import the excel file 'as is' each time...and then prompt your user to fill the nulls locally? Thanks, Mark A. Matte >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] Required Field in Function >Date: Thu, 2 Sep 2004 08:57:07 -0700 > >Try testing for a zero length as well. > >Charlotte Foust > > >-----Original Message----- >From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] >Sent: Thursday, September 02, 2004 8:48 AM >To: nlytle at swales.com; accessd at databaseadvisors.com >Subject: RE: [AccessD] Required Field in Function > > >The strangest thing is happening. > >I created a query with the linked Excel table xlsBPS and set the >criteria to show AssetID = IsNull. I added the DCount to the function >and ran it. > >What is strange, when I first created the query and ran the query, it >showed which record contained the Null AssetID. After running the append >code, it does not show this record - the query is blank. I don't >understand why it isn't picking up the Null AssetID record anymore. If I >look on the spreadsheet or open the linked table, that field is Null. > >Since the query does not show any records containing Null AssetIDs >anymore (even though there is a null record) it runs the append code. > >I also tried having the query open so the user can enter the missing >data. I found out if you enter data into the linked Excel table, it >corrupts the spreadsheet file and gives an error message about not being >in a correct file format. > >-----Original Message----- >From: Nancy Lytle [mailto:nlytle at swales.com] >Sent: Thursday, September 02, 2004 9:59 AM >To: Hollis,Virginia >Subject: RE: [AccessD] Required Field in Function > >I've done similiar things. Anything to control what the user can and >can't do. If the query is being run from a form and you don't want user >in the actual tables then run the IsNull query then open a form you >created based on that query, once thta have completed that you can have >them close or update the recordset and rerun the IsNull and if it >returns 0 records the run the append query. > > >Heres some pseudo code > >If DCount("*", "qryIsNull) >0 then >Open frmDataEntry >Else >Run AppendQuery >End if > >On Open of frmDataEntry >frmDataEntry.recordsourcetype = "table/query" frmDataEntry.recordsource >= "qryIsNull" > >On Close frmDataEntry >Refresh the form to catch all newly entered data >If DCount("*", "qryIsNull) >0 then >"there are still items to correct" >Return them to finish entering >Else >Run AppendQuery >End if > >Nancy > >-----Original Message----- >From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] >Sent: Thursday, September 02, 2004 10:45 AM >To: Nancy Lytle >Subject: RE: [AccessD] Required Field in Function > > >That is fine replying directly, thanks. > >That sounds like a good idea; it would show the user exactly what is >wrong too. I will try to play around with that idea. Have you ever tried >it? > >Va. > >-----Original Message----- >From: Nancy Lytle [mailto:nlytle at swales.com] >Sent: Thursday, September 02, 2004 9:41 AM >To: HollisVJ at pgdp.usec.com >Subject: Re: [AccessD] Required Field in Function > >I couldn't reply on the list so here goes: >I may be off base here but why not have an IsNotNull Criteria in the >append, then a second query to pop up a form for all those where the >field is null? Or do the reverse, have it pop up with all the null >fields, require them to be filled in before the append query can run. >----- Original Message ----- >From: "Hollis,Virginia" >To: >Sent: Thursday, September 02, 2004 9:28 AM >Subject: [AccessD] Required Field in Function > > > > I removed the Cancel = True, added "Else" after the MsgBox, and moved > > the End If to the bottom of the code. But I still receive the RunTime > > Error >424 > > Object Required on the If IsNull ... code. Am I missing something > > else? >What > > would stop the code from running and what is causing the error? > > > > If IsNull(xlsBPS.AssetID) Then > > MsgBox "Asset ID must be completed before downloading" Else > > ....... > > End If > > End If > > > > Virginia ________________________________________________________ > > Virginia > > Your test may well be ok but all you're doinmg is setting Cancel=True; >you > > still carry on and execute the queries. The query execution needs to >be on > > an Else so that it does not run if the IsNull test is True. Setting > > Cancel=True does not stop subsequent code. > > > > -- > > Andy Lacey > > http://www.minstersystems.co.uk > > > > > > > > --------- Original Message -------- > > From: Access Developers discussion and problem solving > databaseadvisors.com > > > > > To: accessD at databaseadvisors.com > > > databaseadvisors.com > > > > > > Subject: [AccessD] Required Field in Function > > Date: 02/09/04 12:45 > > > > > > I have a function (code below) that is used to append data from a > > linked Excel file (xlsBPS). The Excel file is linked to the database > > as a table. There is a column in the Excel file named AssetID - this > > is a required field in the database. Yesterday when the user ran the > > append code the AssetID was blank in one of the records in the xlsBPS > > file. This caused >all > > the records to move up one. For example: > > > > Record 1: AssetID = > > Description: This one > > > > Record 2: AssetID = ABC > > Description: My Name > > > > The results after the append code ran were: > > > > Record 1: AssetID = ABC > > Description: This one > > > > What can I add to the function to check for null fields to ensure the > > AssetID is completed, if not, the code does not run? I tried adding a >check > > (where I added the ***** in the code, but I receive the error, RunTime >424, > > Object Required. > > > > Virginia > > ____________________________________________________________________ > > > > Function AppendBPS() > > > > 'Appends new data from xlsBPS to tblFailure, tblSystemMain, and > > tblFailureTimeSelected. > > > > Beep > > > > Title = "Append new BPS data from Excel" > > > > ' Work Order table import. > > > > Msg = "Your are about to modify data in this database." > > Msg = Msg & " Do you want to continue?" > > DgDef = vbQuestion + vbYesNo + vbDefaultButton1 ' Describe >dialog > > box. > > > > Response = MsgBox(Msg, DgDef, Title) ' Get user response. > > If Response = vbYes Then ' Evaluate response > > > > ******** If IsNull(xlsBPS.AssetID) Then > > ******************************* > > ******* MsgBox "Asset ID must be completed before > > downloading" > > ******** Cancel = True > > ******* End If > > > > DoCmd.SetWarnings False > > > > DoCmd.Echo False, "Appending Data" > > > > DoCmd.Hourglass True > > > > 'Append data to tables > > > > DoCmd.OpenQuery "qry_AppendBPS_tblSystemMain", >acNormal, > > acEdit > > 'Open append query for tblSystemMain > > > > DoCmd.OpenQuery "qry_AppendBPS_tblFailures", > > acNormal, acEdit 'Open append query for tblFailures > > DoCmd.OpenQuery > > "qry_AppendBPS_tblFailureTimeSelected",acNormal, acEdit > > 'Open append query for tblFailureTimeSelected > > DoCmd.Echo False, "Appending new data" > > > > DoCmd.Echo True > > DoCmd.Hourglass False > > > > Beep > > > > MsgBox "All done!" > > > > DoCmd.SetWarnings True > > > > DoCmd.OpenForm "frmSystemFailure", acNormal, > > "qryStatusPending", , acFormEdit, acWindowNormal > > > > Else > > > > ' You chose No or pressed Enter. > > > > End If > > > > End Function > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From James at fcidms.com Thu Sep 2 13:53:52 2004 From: James at fcidms.com (James Barash) Date: Thu, 2 Sep 2004 14:53:52 -0400 Subject: [AccessD] Rotating Excel In-Reply-To: <001101c48fc0$747cdf50$80b3fea9@ColbyM6805> Message-ID: <200409021853.OAA04105@kittybird.bcentralhost.com> John: Excel has a absolute maximum of 256 columns (1 byte of addressing) so you cannot directly export any more than that. You are also limited to 65,536 rows but that shouldn't be an issue. While you could export and transpose 256 columns at a time, you are probably better off doing the whole thing in code: create an excel sheet with 101 columns of text, extract the field names and write them to the first column, then extract and write the 100 rows to the rest of the columns. I have some code that does something like this I've used to create cross-tab reports in excel if you'd like. James Barash -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 31, 2004 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Rotating Excel I need to export data from this big database into Excel. The objective = is to get the FIELD NAMES out with data from about 100 records. I then = need to rotate excel such that the field names are down the left side and the = data for each record runs down vertically, the data for any given field runs across horizontally. Can anyone tell me how to rotate the spreadsheet = such that the field names are down the left side? I assume that the export MUST go out with the field names across the top row, and the data below that. =20 Can anyone tell me how to get the entire 600+ fields out in a single = export? When I try to use dts it works but complains (fails) if I try and export more than about 240 fields. It LOOKS LIKE perhaps the length of the = field names in the first row is confusing Excel. It is telling me I am = exceeding the 1000 column limit (or some such) What I really want to do is export all the columns (about 600) with the field names in the top row, then rotate the whole shootin match. Any assistance on any of this is greatly appreciated. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Thu Sep 2 14:17:16 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 2 Sep 2004 14:17:16 -0500 Subject: [AccessD] Rotating Excel Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677217FEBA@corp-es01.fleetpride.com> One way to do it would be to create a pivot table with the column heading field on the left. It could be created from within Excel linking to the Access table or from within Access using code. Jim Hale -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 31, 2004 8:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Rotating Excel I need to export data from this big database into Excel. The objective = is to get the FIELD NAMES out with data from about 100 records. I then = need to rotate excel such that the field names are down the left side and the = data for each record runs down vertically, the data for any given field runs across horizontally. Can anyone tell me how to rotate the spreadsheet = such that the field names are down the left side? I assume that the export MUST go out with the field names across the top row, and the data below that. =20 Can anyone tell me how to get the entire 600+ fields out in a single = export? When I try to use dts it works but complains (fails) if I try and export more than about 240 fields. It LOOKS LIKE perhaps the length of the = field names in the first row is confusing Excel. It is telling me I am = exceeding the 1000 column limit (or some such) What I really want to do is export all the columns (about 600) with the field names in the top row, then rotate the whole shootin match. Any assistance on any of this is greatly appreciated. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Sep 2 14:53:31 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Thu, 2 Sep 2004 14:53:31 -0500 Subject: [AccessD] FW: photo editing Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB328@main2.marlow.com> I think your right. I know it was in NT 4.0, and I know it's on W2k, didn't know it wasn't on XP. That stinks. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Thursday, September 02, 2004 11:09 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] FW: photo editing Drew, I believe you are talking about Kodak Imaging, which was a nice program. It was available in W2K, but not in WXP. I read somewhere that Kodak and MS has a falling out. I searched MS for information, and was directed to a link which was a third party who provided similar software for about $100/seat. Rats! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Thursday, September 02, 2004 9:45 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] FW: photo editing All NT based machines (as far as I know) come with Imaging. It's sort of like paint, but can save as .TIFF files. It also measures in inches (or you can change what you units you want). Should be directly under Accessories in the program menu. FYI, I opened a .gif in it, but it wouldn't let me 'edit' anything until I saved it as a TIFF (or another format). Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, August 30, 2004 9:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FW: photo editing My sister in law is looking for photo editing stuff. If anyone knows of any that fits the description in the message below my sig could you reply directly to me off line or directly to Janice. Thanks, John W. Colby www.ColbyConsulting.com -----Original Message----- From: JMcK110 at aol.com [mailto:JMcK110 at aol.com] Sent: Monday, August 30, 2004 9:00 AM To: jwcolby at colbyconsulting.com Subject: photo editing John: For your type of computer, are you familiar with any non-professional software(not Photoshop) that lets you save photos as tiffs and measure photos in inches rather than pixels? Client is using Microsfot Photo Editor and having lots of trouble with it? Don't do any research on this question. I know you're busy. I'm just looking for off the top of your head answer. Janice -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sep 2 16:22:39 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 02 Sep 2004 14:22:39 -0700 Subject: [AccessD] The Very very big DB In-Reply-To: <002c01c490a0$40f98d00$80b3fea9@ColbyM6805> Message-ID: Hi John: I have sent along your problem(s) to a friend who has some extensive work in various SQL DBS to see if he had any comments. He found the whole scenario very intriguing and then sent this email: With the OLAP layout, are we looking at a central table with basic person info (pivot table) surrounded by a bunch of "fact tables", as follows? /* the "pivot" table */ person person_id person_name (maybe a few more fundamental attributes) /* the "fact" tables (possibly hundreds of these) */ address person_id street city zip_code etc. education person_id highest_level_reached specialty etc. etc. (ad nauseum) Or, is our friend planning to put it all in one table with 600 columns? Either way, I would be interested in trying the following, which is close to what I was doing in Calgary. I am not quite sure how well the server will handle it, but it does offer some advantages: /* pivot table */ person person_id person_name info_tags info_tag /* primary key, e.g., "address", "phone number", "edu_highest_level" etc. */ info_description /* a long description for the tag */ is_required /* whether this is a required or optional tag */ info_class /* text, number, money etc (for use with validation and display stuff) */ etc. /* fact table */ person_info person_id /* foreign key -> person */ info_tag /* foreign key -> info_tags */ info /* the actual info, stored as a general type (I forget what this is called in SQL server) */ Notice a few things about this design: - There is only one fact table. This is both a blessing and a curse. The blessing: - It can be sparsely populated; only the attributes that apply to a given person need be filled in. No nulls to deal with. - New tags can be added on the fly, because they are simply metadata. - very simple to understand the schema, and to query for any combination of tags your heart desires. - a max of three indexes required on the fact table; one of these can be a clustered index. The curse: - the table is humungous: potentially, 60 million x 600 = 36 billion records. This will make for some pretty slow index builds, and painfully slow table scans. The key to success will be queries that avoid table scans. BTW, the potential benefits of using Cache to do this would be many: the resulting data compression and much easier index management, along with a big increase in speed. Very easy distribution across multiple physical databases and processors. As for the cost, it depends on the number of access seats that are required. I was surprised at how reasonably priced these guys are. In many situations, they are way cheaper than SQL server. When we spoke to them, we were going to get licences at $US200 per seat. There enterprise licence was $US500 / seat. This included full networking of multiple databases - much easier to do than with SQL server. At the end of the day, especially if you consider the hardware and screwing-around costs, much cheaper than SQL server... Hope this provides some useful information. Jim From martyconnelly at shaw.ca Thu Sep 2 19:10:07 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 02 Sep 2004 17:10:07 -0700 Subject: [AccessD] A2K3 Import does not work References: <46B976F2B698FF46A4FE7636509B22DF0ADB68@stekelbes.ithelps.local> Message-ID: <4137B65F.4010408@shaw.ca> Works fine for me with either csv or txt extension Are you sure you are highlighting filename before clicking import It even works if you doubleclick on filename. Maybe text driver is not installed. Erwin Craps - IT Helps wrote: >In Access 2003 to import a txt file (CSV) > >File >Import > change to TXT file > select file and open >Nothing happens. I just come back to the database window. >No error, no import, no nothing!! > >Same thing in A2K2 (XP) works fine.... > > > > > >Erwin Craps > >Zaakvoerder > >www.ithelps.be/jonathan > > > >This E-mail is confidential, may be legally privileged, and is for the >intended recipient only. Access, disclosure, copying, distribution, or >reliance on any of it by anyone else is prohibited and may be a criminal >offence. Please delete if obtained in error and E-mail confirmation to >the sender. > >IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg > >www.ithelps.be * www.boxoffice.be > * www.stadleuven.be > > >IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven > >IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: >Info at ithelps.be > >Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: >Staff at boxoffice.be > > > > -- Marty Connelly Victoria, B.C. Canada From john at winhaven.net Thu Sep 2 23:01:10 2004 From: john at winhaven.net (John Bartow) Date: Thu, 2 Sep 2004 23:01:10 -0500 Subject: [AccessD] Access & AutoCAD In-Reply-To: Message-ID: Mark, I'm assuming, you are probably being driven by another department which already has or has decided to use AutoCad. If not have you considered doing this with Visio? I've seen similar building/equipment projects done iwth Visio automation. Sorry I can't be of any help on this - the scope of it is far beyond my experience with AutoCad. What I do know is that this will project take a lot of enthusiam, time, endurance and patience - Good Luck! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 02, 2004 12:51 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access & AutoCAD Both. First project is our departmental floor plan which will include ALL of the attributes for personnel and equipment. Later projects will build BOM drawings in AutoCAD dynamically. Concurrently with those, I would like to develop an automation process which monitors a network folder, and when a new drawing is placed there, automatically extract certain drawing attributes, log them into a database, and create a .dwf format version for intranet publication. Mark -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Thursday, September 02, 2004 1:30 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access & AutoCAD Mark, Are you trying to use automation between the two or are you trying to use access as a database for Autocad Attributes? John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 02, 2004 12:04 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access & AutoCAD ...so I'm guessing I'm the only one in this unique position:((( Mark -----Original Message----- From: Mitsules, Mark Sent: Wednesday, September 01, 2004 5:42 PM To: [AccessD] Subject: [AccessD] Access & AutoCAD Has anyone tackled this combination? There is ONE example in the AutoCAD samples folder. There is ONE book that I found regarding database connectivity (circa 1999). ...and a DISTINCT lack of web-based material as far as I can tell:( I would be most appreciative for pointers towards any of the following: recent books (AutoCAD 2002 or later), web-based tutorials, web-based examples, personal examples, cave paintings...anything. Thanks in advance for any/all information. Mark Conversely, I am willing to pay $40 to anyone willing to take the AutoCAD help files and develop a booklet within the next 2 weeks, including a table of contents, that will allow me to chronologically work my way through a project. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Fri Sep 3 01:40:09 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Fri, 3 Sep 2004 08:40:09 +0200 Subject: [AccessD] Reader for .MSG files. Message-ID: <46B976F2B698FF46A4FE7636509B22DF0ADB6F@stekelbes.ithelps.local> Well thats an E-mail client... The problem is that the company is not allowed to install another E-mail client than Notes. And it really must be a simple viewer like The Access Snapshot viewer (for example). Just by doubleclicking on the .MSG file the content must displayed and the Excel file in the .MSG file can be opened directly like in outlook... But thx anyway Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, September 02, 2004 5:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Reader for .MSG files. Hi Erwin "The Bat!" from RitLabs can import msg and eml files. /gustav > Does a simple reader software exist to read, exported from Outlook, > .MSG files? > To read the MSG file without having outlook. > Opening a attachement in that MSG file must also be posible. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Thu Sep 2 10:11:34 2004 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 2 Sep 2004 11:11:34 -0400 Subject: [AccessD] Form Resizing Itself Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F02D08894@xlivmbx21.aig.com> This happens in all versions of access and indeed all MDI applications. If you want to keep the first form maximized either issue a DomCmd.Mazimize in the form's Activate event or open the other forms in pop-up mode. Lambert > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen > Sent: Thursday, September 02, 2004 10:09 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Form Resizing Itself > > I don't think I have worked in A2K (XP). The funkiest thing is > happening. I have a frmMainSwitchboard that opens, I do a > DoCmd.Maximize in the on open event. If I click on a button to open up > another form, leaving frmMainSwitchboard open, when I return to > frmMainSwitchboard it shrinks in size to center itself on the screen. I > have all the centering stuff turned off. There is no code that touches > this form from the second code. What the? Any ideas, this should be a > simple one. > > Karen Nicholson > National Laboratory > Xerox Global Services > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From thevigil at kabelfoon.nl Fri Sep 3 03:32:44 2004 From: thevigil at kabelfoon.nl (Bert-Jan Brinkhuis) Date: Fri, 3 Sep 2004 10:32:44 +0200 Subject: [AccessD] Columns with composite data References: <9C382E065F54AE48BC3AA7925DCBB01C0103E29C@karta-exc-int.Karta.com> Message-ID: <00d601c49190$9c7a5ec0$3f412d3e@jester> Hi Jim, you have probably tried this, but you didn't mention it (and i didn't test if it is working for you!) but have you tried a page footer? Or maybe a group footer? HTH Bert-Jan ----- Original Message ----- From: "Jim Hewson" To: "AccessD" Sent: Tuesday, August 31, 2004 5:15 PM Subject: [AccessD] Columns with composite data Just curious if anyone has done this before. I created a report with four columns. The columns run down, then across. The fourth column of page 3 is about half way down the page in length. Is it possible to use the remainder of the column space for a composite data? E.g. total number of records or something similar. If put in the Report footer, a new page is generated. I currently put such information in the Report Header. Thanks, Jim ---------------------------------------------------------------------------- ---- > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Erwin.Craps at ithelps.be Fri Sep 3 04:38:34 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Fri, 3 Sep 2004 11:38:34 +0200 Subject: [AccessD] A2K3 Import does not work Message-ID: <46B976F2B698FF46A4FE7636509B22DF0ADB73@stekelbes.ithelps.local> Yeah I'm sure. Select file, click open. The first time I see in the status bar "preparing import wizards" (translated from dutch) very fast disapearing and nothing happens, I'm back in the database window. XLS files don't work neither. MDB works, dont know for others type. I do have A2K, A2K2 and A2K3 on my computer... Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, September 03, 2004 2:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K3 Import does not work Works fine for me with either csv or txt extension Are you sure you are highlighting filename before clicking import It even works if you doubleclick on filename. Maybe text driver is not installed. Erwin Craps - IT Helps wrote: >In Access 2003 to import a txt file (CSV) > >File >Import > change to TXT file > select file and open Nothing >happens. I just come back to the database window. >No error, no import, no nothing!! > >Same thing in A2K2 (XP) works fine.... > > > > > >Erwin Craps > >Zaakvoerder > >www.ithelps.be/jonathan > > > >This E-mail is confidential, may be legally privileged, and is for the >intended recipient only. Access, disclosure, copying, distribution, or >reliance on any of it by anyone else is prohibited and may be a >criminal offence. Please delete if obtained in error and E-mail >confirmation to the sender. > >IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg > >www.ithelps.be * www.boxoffice.be > * www.stadleuven.be > > >IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven > >IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: >Info at ithelps.be > >Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: >Staff at boxoffice.be > > > > -- Marty Connelly Victoria, B.C. Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Fri Sep 3 06:09:05 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 3 Sep 2004 07:09:05 -0400 Subject: [AccessD] Form Resizing Itself Message-ID: I do issue a docmd.maximize on both the on open and activate for the first switchboard form. When a button is clicked to open the next form, also in maximized state, the switchboard resizes itself, so when I return it is small - until I put the on activate maximize. I don't like the momentary flicker that occurs as the first form re-maximizes. But, I suppose that is life? I don't remember Access doing this before. It has been about a year and a half since I worked in Access, though. And I am so happy to be back having fun. Spent a year and a half doing SQL development. This database is front end Access and back end SQL. Someday to be upped to VB.net/ASP.net after I get the design fixed, which should take a few months. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, September 02, 2004 11:12 AM To: 'Access Developers discussion and problem solving'; Nicholson, Karen Subject: RE: [AccessD] Form Resizing Itself This happens in all versions of access and indeed all MDI applications. If you want to keep the first form maximized either issue a DomCmd.Mazimize in the form's Activate event or open the other forms in pop-up mode. Lambert > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen > Sent: Thursday, September 02, 2004 10:09 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Form Resizing Itself > > I don't think I have worked in A2K (XP). The funkiest thing is > happening. I have a frmMainSwitchboard that opens, I do a > DoCmd.Maximize in the on open event. If I click on a button to open up > another form, leaving frmMainSwitchboard open, when I return to > frmMainSwitchboard it shrinks in size to center itself on the screen. I > have all the centering stuff turned off. There is no code that touches > this form from the second code. What the? Any ideas, this should be a > simple one. > > Karen Nicholson > National Laboratory > Xerox Global Services > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From awithing at twcny.rr.com Fri Sep 3 06:43:22 2004 From: awithing at twcny.rr.com (augusta withington) Date: Fri, 3 Sep 2004 07:43:22 -0400 Subject: [AccessD] Access & AutoCAD In-Reply-To: Message-ID: <200409031145.i83BjLZw015552@ms-smtp-01.nyroc.rr.com> I remember researching this same question for a client - they wanted to take the drawings they had for the local schools and integrate with a database each room, how lightbulbs, exits -Facilities Management-. . .etc. It was a NYS requirement. There is a different product that AutoDesk makes that addresses this. I think that it is called MapGIde. What also works is ARCView and Microstation. Hth Augusta -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, September 03, 2004 12:01 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access & AutoCAD Mark, I'm assuming, you are probably being driven by another department which already has or has decided to use AutoCad. If not have you considered doing this with Visio? I've seen similar building/equipment projects done iwth Visio automation. Sorry I can't be of any help on this - the scope of it is far beyond my experience with AutoCad. What I do know is that this will project take a lot of enthusiam, time, endurance and patience - Good Luck! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 02, 2004 12:51 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access & AutoCAD Both. First project is our departmental floor plan which will include ALL of the attributes for personnel and equipment. Later projects will build BOM drawings in AutoCAD dynamically. Concurrently with those, I would like to develop an automation process which monitors a network folder, and when a new drawing is placed there, automatically extract certain drawing attributes, log them into a database, and create a .dwf format version for intranet publication. Mark -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Thursday, September 02, 2004 1:30 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access & AutoCAD Mark, Are you trying to use automation between the two or are you trying to use access as a database for Autocad Attributes? John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 02, 2004 12:04 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access & AutoCAD ...so I'm guessing I'm the only one in this unique position:((( Mark -----Original Message----- From: Mitsules, Mark Sent: Wednesday, September 01, 2004 5:42 PM To: [AccessD] Subject: [AccessD] Access & AutoCAD Has anyone tackled this combination? There is ONE example in the AutoCAD samples folder. There is ONE book that I found regarding database connectivity (circa 1999). ...and a DISTINCT lack of web-based material as far as I can tell:( I would be most appreciative for pointers towards any of the following: recent books (AutoCAD 2002 or later), web-based tutorials, web-based examples, personal examples, cave paintings...anything. Thanks in advance for any/all information. Mark Conversely, I am willing to pay $40 to anyone willing to take the AutoCAD help files and develop a booklet within the next 2 weeks, including a table of contents, that will allow me to chronologically work my way through a project. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Fri Sep 3 08:09:53 2004 From: JHewson at karta.com (Jim Hewson) Date: Fri, 3 Sep 2004 08:09:53 -0500 Subject: [AccessD] Columns with composite data Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0103E2D5@karta-exc-int.Karta.com> Bert-Jan, I tried both. The page footer gave me "#error" on each page. The group footer gave me a total for each record. But... that got me to thinking -- after your email, I might add. In the query, I created a field ( CNT: IIf(IsNull(LastName),1,0) ) so all the results would be the same. I then created the group footer using the name of the new field. It worked! I now have the Total at the bottom of the last column. Thanks. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bert-Jan Brinkhuis Sent: Friday, September 03, 2004 3:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Columns with composite data Hi Jim, you have probably tried this, but you didn't mention it (and i didn't test if it is working for you!) but have you tried a page footer? Or maybe a group footer? HTH Bert-Jan ----- Original Message ----- From: "Jim Hewson" To: "AccessD" Sent: Tuesday, August 31, 2004 5:15 PM Subject: [AccessD] Columns with composite data Just curious if anyone has done this before. I created a report with four columns. The columns run down, then across. The fourth column of page 3 is about half way down the page in length. Is it possible to use the remainder of the column space for a composite data? E.g. total number of records or something similar. If put in the Report footer, a new page is generated. I currently put such information in the Report Header. Thanks, Jim ---------------------------------------------------------------------------- ---- > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Sep 3 10:24:29 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 3 Sep 2004 17:24:29 +0200 Subject: [AccessD] Remote Desktop Connection Client 1.0.2 for Mac OS X In-Reply-To: <6826407592.20040827181338@cactus.dk> References: <6826407592.20040827181338@cactus.dk> Message-ID: <15718612102.20040903172429@cactus.dk> Hi all No comments on this? Looks like an easy way to bring your app to the desktop of a Mac user. /gustav > Anyone having experiences with this, running Access or anything else? > http://www.microsoft.com/mac/downloads.aspx?pid=download&location=/mac/DOWNLOAD/MISC/RDC.xml&secid=80&ssid=9&flgnosysreq=False > If connecting to a Terminal Server what are the licensing for this > for, say, 10 users? What that be a Windows 2003 server with 10 CALs? From john at winhaven.net Fri Sep 3 10:46:39 2004 From: john at winhaven.net (John Bartow) Date: Fri, 3 Sep 2004 10:46:39 -0500 Subject: [AccessD] Access & AutoCAD In-Reply-To: <200409031145.i83BjLZw015552@ms-smtp-01.nyroc.rr.com> Message-ID: Hi Augusta Good point - there are a number of Facility Mgt packages (that ride on top of Microstation and or Autocad) that would probably do this out of the box. We used quite a few add-ons for engineering, surveying, plat mapping, hydrography, etc. All functions that you could build yourself but the time would have been more than the cost of the packages. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of augusta withington Sent: Friday, September 03, 2004 6:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access & AutoCAD I remember researching this same question for a client - they wanted to take the drawings they had for the local schools and integrate with a database each room, how lightbulbs, exits -Facilities Management-. . .etc. It was a NYS requirement. There is a different product that AutoDesk makes that addresses this. I think that it is called MapGIde. What also works is ARCView and Microstation. Hth Augusta -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, September 03, 2004 12:01 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access & AutoCAD Mark, I'm assuming, you are probably being driven by another department which already has or has decided to use AutoCad. If not have you considered doing this with Visio? I've seen similar building/equipment projects done iwth Visio automation. Sorry I can't be of any help on this - the scope of it is far beyond my experience with AutoCad. What I do know is that this will project take a lot of enthusiam, time, endurance and patience - Good Luck! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 02, 2004 12:51 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access & AutoCAD Both. First project is our departmental floor plan which will include ALL of the attributes for personnel and equipment. Later projects will build BOM drawings in AutoCAD dynamically. Concurrently with those, I would like to develop an automation process which monitors a network folder, and when a new drawing is placed there, automatically extract certain drawing attributes, log them into a database, and create a .dwf format version for intranet publication. Mark -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Thursday, September 02, 2004 1:30 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access & AutoCAD Mark, Are you trying to use automation between the two or are you trying to use access as a database for Autocad Attributes? John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 02, 2004 12:04 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access & AutoCAD ...so I'm guessing I'm the only one in this unique position:((( Mark -----Original Message----- From: Mitsules, Mark Sent: Wednesday, September 01, 2004 5:42 PM To: [AccessD] Subject: [AccessD] Access & AutoCAD Has anyone tackled this combination? There is ONE example in the AutoCAD samples folder. There is ONE book that I found regarding database connectivity (circa 1999). ...and a DISTINCT lack of web-based material as far as I can tell:( I would be most appreciative for pointers towards any of the following: recent books (AutoCAD 2002 or later), web-based tutorials, web-based examples, personal examples, cave paintings...anything. Thanks in advance for any/all information. Mark Conversely, I am willing to pay $40 to anyone willing to take the AutoCAD help files and develop a booklet within the next 2 weeks, including a table of contents, that will allow me to chronologically work my way through a project. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 at PStrauss.net Fri Sep 3 12:52:41 2004 From: Paul at PStrauss.net (Paul Strauss) Date: Fri, 03 Sep 2004 13:52:41 -0400 Subject: [AccessD] Form Resizing Itself In-Reply-To: References: Message-ID: <6.1.2.0.2.20040903134839.02239418@mail.pstrauss.net> At 9/3/2004 07:09 AM, you wrote: >I do issue a docmd.maximize on both the on open and activate for the >first switchboard form. When a button is clicked to open the next form, >also in maximized state, the switchboard resizes itself, so when I >return it is small - until I put the on activate maximize. I don't like >the momentary flicker that occurs as the first form re-maximizes. But, >I suppose that is life? ...snip Try enclosing the DoCmd.Maximize in Echo Off/Echo On. This sometimes helps this kind of problem. Regards, Paul Strauss From cyx5 at cdc.gov Fri Sep 3 14:15:48 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 3 Sep 2004 15:15:48 -0400 Subject: [AccessD] VB Menus - Creating Function for Actions? Message-ID: I am coding my custom menus for many forms. From what I have read, it seems that in order to process an .OnAction, one needs to create a function that can be reference inside of, for instance: .Caption = "Tracking Sheet - Approval Applications" .OnAction = "fnOpenTrackingSystemCL" Do I really need to create functions to execute something as simple as: DoCmd.OpenForm "frmTrackingSystemCL", acNormal DoCmd.Maximize (which is in the function fnOpenTrackingSystemCL) Show below is my code for the menu item; there are a few modules associated with this code to make it work, but this is the bulk of it: Sub CreateNewMenuB() Dim strMenuNameB As String Dim cmdNewMenuB As CommandBar Dim cctlFormMenuB As CommandBarControl Dim cctlExitMenuB As CommandBarControl strMenuNameB = "ClosedProjectsMenu" 'If strMenuName exists then deleted it. Commandbars have unique names. 'See global section for fIsCreated If fIsCreated(strMenuNameB) Then Application.CommandBars(strMenuNameB).Delete End If 'Create a new Commandbar as MenuType Set cmdNewMenuB = Application.CommandBars.Add(strMenuNameB, msoBarTop, True, False) With cmdNewMenuB 'Set commandbar protection to no protection so users can change it .Protection = msoBarNoProtection 'Show new menu .Visible = True End With 'Creating Form menu Set cctlFormMenuB = cmdNewMenuB.Controls.Add(msoControlPopup) cctlFormMenuB.Caption = "&File" 'Creating Exit menu under File Set cctlExitMenuB = cctlFormMenuB.Controls.Add(msoControlButton) With cctlExitMenuB .Caption = "R&eturn" .OnAction = "fnQuitApp" .Caption = "Tracking Sheet - Approval Applications" .OnAction = "fnOpenTrackingSystemCL" End With End Sub Karen Nicholson National Laboratory Xerox Global Services From jwcolby at colbyconsulting.com Fri Sep 3 14:31:58 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 03 Sep 2004 15:31:58 -0400 Subject: [AccessD] JIT Forms? In-Reply-To: Message-ID: <000001c491ec$b123a870$80b3fea9@ColbyM6805> Well... The thing to understand is that a control is nothing more than VB code. You can export a form to text and see the vb code used to create it. Thus when you add a control to a form you are literally adding code to the form's module except that you are doing so via the design wizard. You can add code to the module directly, but it has to be in design view. I have never done this, but I know the concept. I have done manipulation of code in the modules before. I would advise looking at the form's vba to see what you need to do. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Thursday, September 02, 2004 11:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT Forms? so the idea is to open the form up in design first add the fields? is that right? thanks, On Tue, 31 Aug 2004 13:47:27 -0400, John W. Colby wrote: > You can do that but only in design view. > > John W. Colby > www.ColbyConsulting.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Tuesday, August 31, 2004 11:46 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] JIT Forms? > > Anyone have a link, or advice on creating controls JIT? > > Access2000 / ADP > I have an unbound form, that I'd like to pass a recordset to and thus > be able to on-the-fly create controls that match the recordset... any > ideas? > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Sep 3 15:00:00 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 3 Sep 2004 13:00:00 -0700 Subject: [AccessD] VB Menus - Creating Function for Actions? Message-ID: Yes. You need to create either functions or macros for custom actions in the menubars. Charlotte -----Original Message----- From: Nicholson, Karen [mailto:cyx5 at cdc.gov] Sent: Friday, September 03, 2004 12:16 PM To: accessd at databaseadvisors.com Subject: [AccessD] VB Menus - Creating Function for Actions? I am coding my custom menus for many forms. From what I have read, it seems that in order to process an .OnAction, one needs to create a function that can be reference inside of, for instance: .Caption = "Tracking Sheet - Approval Applications" .OnAction = "fnOpenTrackingSystemCL" Do I really need to create functions to execute something as simple as: DoCmd.OpenForm "frmTrackingSystemCL", acNormal DoCmd.Maximize (which is in the function fnOpenTrackingSystemCL) Show below is my code for the menu item; there are a few modules associated with this code to make it work, but this is the bulk of it: Sub CreateNewMenuB() Dim strMenuNameB As String Dim cmdNewMenuB As CommandBar Dim cctlFormMenuB As CommandBarControl Dim cctlExitMenuB As CommandBarControl strMenuNameB = "ClosedProjectsMenu" 'If strMenuName exists then deleted it. Commandbars have unique names. 'See global section for fIsCreated If fIsCreated(strMenuNameB) Then Application.CommandBars(strMenuNameB).Delete End If 'Create a new Commandbar as MenuType Set cmdNewMenuB = Application.CommandBars.Add(strMenuNameB, msoBarTop, True, False) With cmdNewMenuB 'Set commandbar protection to no protection so users can change it .Protection = msoBarNoProtection 'Show new menu .Visible = True End With 'Creating Form menu Set cctlFormMenuB = cmdNewMenuB.Controls.Add(msoControlPopup) cctlFormMenuB.Caption = "&File" 'Creating Exit menu under File Set cctlExitMenuB = cctlFormMenuB.Controls.Add(msoControlButton) With cctlExitMenuB .Caption = "R&eturn" .OnAction = "fnQuitApp" .Caption = "Tracking Sheet - Approval Applications" .OnAction = "fnOpenTrackingSystemCL" End With End Sub Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Sep 3 15:03:17 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 3 Sep 2004 13:03:17 -0700 Subject: [AccessD] JIT Forms? Message-ID: Look at the Application.CreateControl method for creating controls from code. If you want code behind that control, you need to add that to the form's module and set the control's named event to "[event procedure]" to connect them. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, September 03, 2004 12:32 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] JIT Forms? Well... The thing to understand is that a control is nothing more than VB code. You can export a form to text and see the vb code used to create it. Thus when you add a control to a form you are literally adding code to the form's module except that you are doing so via the design wizard. You can add code to the module directly, but it has to be in design view. I have never done this, but I know the concept. I have done manipulation of code in the modules before. I would advise looking at the form's vba to see what you need to do. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Thursday, September 02, 2004 11:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT Forms? so the idea is to open the form up in design first add the fields? is that right? thanks, On Tue, 31 Aug 2004 13:47:27 -0400, John W. Colby wrote: > You can do that but only in design view. > > John W. Colby > www.ColbyConsulting.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Tuesday, August 31, 2004 11:46 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] JIT Forms? > > Anyone have a link, or advice on creating controls JIT? > > Access2000 / ADP > I have an unbound form, that I'd like to pass a recordset to and thus > be able to on-the-fly create controls that match the recordset... any > ideas? > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Sep 3 15:00:00 2004 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 3 Sep 2004 15:00:00 -0500 Subject: [AccessD] VB Menus - Creating Function for Actions? In-Reply-To: <14123085.1094239780007.JavaMail.root@sniper7.usinternet.com> Message-ID: <001b01c491f0$9875c4d0$de1811d8@danwaters> Hello Karen, I've only done this once with custom menus, but I did use an argument in the Function. For example, OnAction is =StatusChange("Green") There are three items on the menu, Red, Yellow, and Green. They each call the same Function, but the action is dictated by the argument. In the Function, set up a Select Case scenario, and you've gone from three functions to one. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Friday, September 03, 2004 2:16 PM To: accessd at databaseadvisors.com Subject: [AccessD] VB Menus - Creating Function for Actions? I am coding my custom menus for many forms. From what I have read, it seems that in order to process an .OnAction, one needs to create a function that can be reference inside of, for instance: .Caption = "Tracking Sheet - Approval Applications" .OnAction = "fnOpenTrackingSystemCL" Do I really need to create functions to execute something as simple as: DoCmd.OpenForm "frmTrackingSystemCL", acNormal DoCmd.Maximize (which is in the function fnOpenTrackingSystemCL) Show below is my code for the menu item; there are a few modules associated with this code to make it work, but this is the bulk of it: Sub CreateNewMenuB() Dim strMenuNameB As String Dim cmdNewMenuB As CommandBar Dim cctlFormMenuB As CommandBarControl Dim cctlExitMenuB As CommandBarControl strMenuNameB = "ClosedProjectsMenu" 'If strMenuName exists then deleted it. Commandbars have unique names. 'See global section for fIsCreated If fIsCreated(strMenuNameB) Then Application.CommandBars(strMenuNameB).Delete End If 'Create a new Commandbar as MenuType Set cmdNewMenuB = Application.CommandBars.Add(strMenuNameB, msoBarTop, True, False) With cmdNewMenuB 'Set commandbar protection to no protection so users can change it .Protection = msoBarNoProtection 'Show new menu .Visible = True End With 'Creating Form menu Set cctlFormMenuB = cmdNewMenuB.Controls.Add(msoControlPopup) cctlFormMenuB.Caption = "&File" 'Creating Exit menu under File Set cctlExitMenuB = cctlFormMenuB.Controls.Add(msoControlButton) With cctlExitMenuB .Caption = "R&eturn" .OnAction = "fnQuitApp" .Caption = "Tracking Sheet - Approval Applications" .OnAction = "fnOpenTrackingSystemCL" End With End Sub Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at adelphia.net Fri Sep 3 15:07:53 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Fri, 3 Sep 2004 16:07:53 -0400 Subject: [AccessD] VB Menus - Creating Function for Actions? In-Reply-To: Message-ID: <000001c491f1$b2cfdf90$cb0ba845@hargrove.internal> I'm afraid so. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Friday, September 03, 2004 3:16 PM To: accessd at databaseadvisors.com Subject: [AccessD] VB Menus - Creating Function for Actions? I am coding my custom menus for many forms. From what I have read, it seems that in order to process an .OnAction, one needs to create a function that can be reference inside of, for instance: .Caption = "Tracking Sheet - Approval Applications" .OnAction = "fnOpenTrackingSystemCL" Do I really need to create functions to execute something as simple as: DoCmd.OpenForm "frmTrackingSystemCL", acNormal DoCmd.Maximize (which is in the function fnOpenTrackingSystemCL) Show below is my code for the menu item; there are a few modules associated with this code to make it work, but this is the bulk of it: Sub CreateNewMenuB() Dim strMenuNameB As String Dim cmdNewMenuB As CommandBar Dim cctlFormMenuB As CommandBarControl Dim cctlExitMenuB As CommandBarControl strMenuNameB = "ClosedProjectsMenu" 'If strMenuName exists then deleted it. Commandbars have unique names. 'See global section for fIsCreated If fIsCreated(strMenuNameB) Then Application.CommandBars(strMenuNameB).Delete End If 'Create a new Commandbar as MenuType Set cmdNewMenuB = Application.CommandBars.Add(strMenuNameB, msoBarTop, True, False) With cmdNewMenuB 'Set commandbar protection to no protection so users can change it .Protection = msoBarNoProtection 'Show new menu .Visible = True End With 'Creating Form menu Set cctlFormMenuB = cmdNewMenuB.Controls.Add(msoControlPopup) cctlFormMenuB.Caption = "&File" 'Creating Exit menu under File Set cctlExitMenuB = cctlFormMenuB.Controls.Add(msoControlButton) With cctlExitMenuB .Caption = "R&eturn" .OnAction = "fnQuitApp" .Caption = "Tracking Sheet - Approval Applications" .OnAction = "fnOpenTrackingSystemCL" End With End Sub Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Fri Sep 3 16:04:53 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Fri, 3 Sep 2004 14:04:53 -0700 Subject: [AccessD] JIT Forms? In-Reply-To: References: Message-ID: Thanks for the tip... I suppose this is something could not be done in an MDE/ADE environment if it requires that the form be opened in Design view... On Fri, 3 Sep 2004 13:03:17 -0700, Charlotte Foust wrote: > Look at the Application.CreateControl method for creating controls from > code. If you want code behind that control, you need to add that to the > form's module and set the control's named event to "[event procedure]" > to connect them. > > Charlotte Foust > > > > > -----Original Message----- > From: John W. Colby [mailto:jwcolby at colbyconsulting.com] > Sent: Friday, September 03, 2004 12:32 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] JIT Forms? > > Well... The thing to understand is that a control is nothing more than > VB code. You can export a form to text and see the vb code used to > create it. Thus when you add a control to a form you are literally > adding code to the form's module except that you are doing so via the > design wizard. You can add code to the module directly, but it has to > be in design view. > > I have never done this, but I know the concept. I have done > manipulation of code in the modules before. I would advise looking at > the form's vba to see what you need to do. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Thursday, September 02, 2004 11:47 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] JIT Forms? > > so the idea is to open the form up in design first add the fields? is > that right? > > thanks, > > On Tue, 31 Aug 2004 13:47:27 -0400, John W. Colby > wrote: > > You can do that but only in design view. > > > > John W. Colby > > www.ColbyConsulting.com > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > > Tapia > > Sent: Tuesday, August 31, 2004 11:46 AM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] JIT Forms? > > > > Anyone have a link, or advice on creating controls JIT? > > > > Access2000 / ADP > > I have an unbound form, that I'd like to pass a recordset to and thus > > be able to on-the-fly create controls that match the recordset... any > > ideas? > > > > -- > > -Francisco > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From jwcolby at colbyconsulting.com Fri Sep 3 16:12:32 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 03 Sep 2004 17:12:32 -0400 Subject: [AccessD] JIT Forms? In-Reply-To: Message-ID: <000301c491fa$be80cc60$80b3fea9@ColbyM6805> Charlotte, Do you know if this works at runtime or only at design time? John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, September 03, 2004 4:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] JIT Forms? Look at the Application.CreateControl method for creating controls from code. If you want code behind that control, you need to add that to the form's module and set the control's named event to "[event procedure]" to connect them. Charlotte Foust From Lambert.Heenan at aig.com Wed Sep 1 15:57:50 2004 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Wed, 1 Sep 2004 16:57:50 -0400 Subject: [AccessD] Prompt after Form loads Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F02D0888E@xlivmbx21.aig.com> The Activate event should do the trick, you just need to keep tack of how many times it fires. I just tried this out with a form/subform setup, and the following code seems to work just fine Private Sub Form_Activate() Static lngLoaded As Long lngLoaded = lngLoaded + 1 DoEvents If lngLoaded > 1 Then MsgBox "Hello " End Sub The DoEvents does not seem to be necessary, but I thought I'd put it in anyway. What I found was that the entire form and subform was displayed with the exception of some controls on the form which have statements like this... =Count([cFaceAmount]) ... in their control source property. This was Access 97 Lambert > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia > Sent: Wednesday, September 01, 2004 3:04 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Prompt after Form loads > > I know but if I use the OnCurrent Event, it fires before the form is > even drawn up on the screen, I have code in the Form_Load event, and > added a simple "TEST" messagebox to the OnCurrent Event, and found > that it does not FIRE after the form is visible, instead the user will > be prompted IF they want to OverRide data w/ Defaults before they can > read the data, the Timmer control helps to avoid this.... :( > > The code in the Form_Load Event opens recordsets to load into the > primary form, calls a subform and listbox to load. When it ends, I'd > figure that the form would display but it does not. OnCurrent and > OnActivate also fire before the form is visible... so it appears that > the only solution is to leave this on the OnTimer event. > > On Wed, 1 Sep 2004 19:59:41 +0200, Gustav Brock wrote: > > Hi Francisco > > > > It's not quite the same. > > The counter counts to one, then runs your code. > > No Timer fiddling. > > > > /gustav > > > > > > > > > > > just the same I did it as a boolean static > > > > > so > > > Static blnINIT As Boolean > > > IF blnINIT = FALSE then > > > > > > blnINIT = TRUE > > > Endif > > > > > On Wed, 1 Sep 2004 19:11:43 +0200, Gustav Brock > wrote: > > >> Hi Francisco > > >> > > >> > Why a counter? > > >> > > >> Form loads => 1 > > >> Form hits current first time => 2 > > >> > > >> So: > > >> > > >> If lngCounter = 2 then > > >> > > >> End If > > >> lngCounter = lngCounter + 1 > > >> > > >> /gustav > > >> > > >> >> But replace the Boolean with a counter: one, two ... > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Fri Sep 3 19:05:51 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 04 Sep 2004 10:05:51 +1000 Subject: [AccessD] Reader for .MSG files. In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF0ADB6F@stekelbes.ithelps.local> Message-ID: <4139937F.2086.1CF024@lexacorp.com.pg> On 3 Sep 2004 at 8:40, Erwin Craps - IT Helps wrote: > And it really must be a simple viewer like The Access Snapshot viewer > (for example). > Just by doubleclicking on the .MSG file the content must displayed and > the Excel file in the .MSG file can be opened directly like in > outlook... > Take a look at http://www.priasoft.com/products_msg_v.asp "MSG File Viewer is a convenient application for opening MSG files and reading, printing, or viewing the attachments within. MSG Viewer also has a lightning fast search utility to allow you to find MSG files that meet specific attributes and then open them in the Viewer." -- Stuart From cfoust at infostatsystems.com Fri Sep 3 19:09:00 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 3 Sep 2004 17:09:00 -0700 Subject: [AccessD] JIT Forms? Message-ID: Nope. I've used it in a development environment to build survey forms, but I can't imagine a way to do it in an MDE/ADE. Charlotte Foust -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Friday, September 03, 2004 2:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT Forms? Thanks for the tip... I suppose this is something could not be done in an MDE/ADE environment if it requires that the form be opened in Design view... On Fri, 3 Sep 2004 13:03:17 -0700, Charlotte Foust wrote: > Look at the Application.CreateControl method for creating controls > from code. If you want code behind that control, you need to add that > to the form's module and set the control's named event to "[event > procedure]" to connect them. > > Charlotte Foust > > > > > -----Original Message----- > From: John W. Colby [mailto:jwcolby at colbyconsulting.com] > Sent: Friday, September 03, 2004 12:32 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] JIT Forms? > > Well... The thing to understand is that a control is nothing more than > VB code. You can export a form to text and see the vb code used to > create it. Thus when you add a control to a form you are literally > adding code to the form's module except that you are doing so via the > design wizard. You can add code to the module directly, but it has to > be in design view. > > I have never done this, but I know the concept. I have done > manipulation of code in the modules before. I would advise looking at > the form's vba to see what you need to do. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Thursday, September 02, 2004 11:47 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] JIT Forms? > > so the idea is to open the form up in design first add the fields? is > that right? > > thanks, > > On Tue, 31 Aug 2004 13:47:27 -0400, John W. Colby > wrote: > > You can do that but only in design view. > > > > John W. Colby > > www.ColbyConsulting.com > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > > Tapia > > Sent: Tuesday, August 31, 2004 11:46 AM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] JIT Forms? > > > > Anyone have a link, or advice on creating controls JIT? > > > > Access2000 / ADP > > I have an unbound form, that I'd like to pass a recordset to and > > thus be able to on-the-fly create controls that match the > > recordset... any ideas? > > > > -- > > -Francisco > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Sep 3 19:09:59 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 3 Sep 2004 17:09:59 -0700 Subject: [AccessD] JIT Forms? Message-ID: I've only used it at design time, so I can't say. I don't suppose it's all that different from changing the paper size at run time. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, September 03, 2004 2:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] JIT Forms? Charlotte, Do you know if this works at runtime or only at design time? John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, September 03, 2004 4:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] JIT Forms? Look at the Application.CreateControl method for creating controls from code. If you want code behind that control, you need to add that to the form's module and set the control's named event to "[event procedure]" to connect them. 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 Fri Sep 3 20:18:05 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 03 Sep 2004 21:18:05 -0400 Subject: [AccessD] OT: 200g hd for $60 After rebate. Message-ID: <000001c4921d$0c9f9b70$80b3fea9@ColbyM6805> http://shop1.outpost.com/product/4008252 John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Fri Sep 3 21:14:40 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 03 Sep 2004 22:14:40 -0400 Subject: [AccessD] XP SP2 Applied Message-ID: <000101c49224$f2ecf530$80b3fea9@ColbyM6805> My Emachines M6805 laptop just applied the XP SP2 with no apparent problems. Had to turn off Windows firewall (again) after the install. John W. Colby www.ColbyConsulting.com From fhtapia at gmail.com Fri Sep 3 22:55:54 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Fri, 3 Sep 2004 20:55:54 -0700 Subject: [AccessD] OT: 200g hd for $60 After rebate. In-Reply-To: <000001c4921d$0c9f9b70$80b3fea9@ColbyM6805> References: <000001c4921d$0c9f9b70$80b3fea9@ColbyM6805> Message-ID: smoking deal!!!! On Fri, 03 Sep 2004 21:18:05 -0400, John W. Colby wrote: > > http://shop1.outpost.com/product/4008252 > > John W. Colby > www.ColbyConsulting.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From Lambert.Heenan at aig.com Wed Sep 1 12:04:09 2004 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Wed, 1 Sep 2004 13:04:09 -0400 Subject: [AccessD] Prompt after Form loads Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F02D0888A@xlivmbx21.aig.com> If you want to be *sure* that the timer event will not fire again then set the timer interval to zero. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia > Sent: Wednesday, September 01, 2004 12:29 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Prompt after Form loads > > On Timmer w/ a static variable is what I ended up using (plus after it > fires I shoot the timer interval to 2hrs (more than enough time) so > it hopefully won't fire again until after their session is done. > > On Wed, 1 Sep 2004 08:41:20 -0700, Francisco Tapia > wrote: > > Just tried it and the OnCurrent event also fires before the form is > > loaded :(, gonna try the OnTimmer... > > > > > > > > On Wed, 1 Sep 2004 08:35:54 -0700, Francisco Tapia > wrote: > > > I will try this option Gustav, thanks :D. > > > > > > btw, Rocky... What I meant by autoload was that in the Form_Load event > > > I have code that loads data to the form. because it was in the > > > form_load event, the prompt was occuring before the user had a chance > > > to see the form. > > > > > > On Wed, 1 Sep 2004 12:34:56 +0200, Gustav Brock > wrote: > > > > Hi Andy and Francisco > > > > > > > > I would suggest OnCurrent. > > > > To prevent multiple prompts, set a static flag: > > > > > > > > Static booIsPrompted As Boolean > > > > > > > > If booIsPrompted = False Then > > > > ' Ask if you user wish to load data. > > > > > > > > booIsPrompted = True > > > > End If > > > > > > -- > > > -Francisco > > > > > > > > > -- > > -Francisco > > > > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From fhtapia at gmail.com Sat Sep 4 00:13:16 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Fri, 3 Sep 2004 22:13:16 -0700 Subject: [AccessD] XP SP2 Applied In-Reply-To: <000101c49224$f2ecf530$80b3fea9@ColbyM6805> References: <000101c49224$f2ecf530$80b3fea9@ColbyM6805> Message-ID: kudos... I always forget to mention to people tho, that in many cases it's always best to turn off all services in order to upgrade the SP just nice... I have a utility that was written by an NT admin Michael Espinola, I use this script (TARS.cmd) for every SP upgrade I need to apply to either Windows 2000 and now XP, since then all SP updates have gone smoothly. if anyone needs a copy of this file, email me off list and I can send it on it's way :) On Fri, 03 Sep 2004 22:14:40 -0400, John W. Colby wrote: > My Emachines M6805 laptop just applied the XP SP2 with no apparent problems. > Had to turn off Windows firewall (again) after the install. > > John W. Colby > www.ColbyConsulting.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From fhtapia at gmail.com Sat Sep 4 01:53:30 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Fri, 3 Sep 2004 23:53:30 -0700 Subject: [AccessD] A2K ideas on Order Entry Message-ID: Brainstorming here: I have a parent form which houses important order entry information such as Billto/Shipto, PO#, SO#, and Notes... along with that I have a listbox (but have been working on a readonly subform datasheet view). Users currently go into a popup window box to add new lineitems to this order. However... I'd like to control where the popup box hovers over... meaning allowing for the subform to be viewable while the popup form is on the screen. This allows ME to refresh the subform to display the newly entered items. now currently while in the popup mode, I've made it so that as soon as one line entry is complete, the form display clears out to allow another entry, and thus all the data entry guy has to do is key in the new qty etc. for his order. but once he is done, I use a keypreview to capture the ESC key to allow them to get out. I thought about what if they could just hit ENTER and when the QTY field is null it should kick him out, but I get a bizzar error on the .OnExit event of the Qty Field. thus I can't exit the form while it's processing or something like that.... any ideas?.. (yeah I realize that its' 12:00am PST but that's when the mind is wandering :D) thanks, -- -Francisco From accessd at shaw.ca Sat Sep 4 00:38:35 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri, 03 Sep 2004 22:38:35 -0700 Subject: [AccessD] XP SP2 Applied In-Reply-To: Message-ID: Hi Francisco: I am not sure what your utility does but if any thing can aid my pending upgrades for XP, it will be very welcomed. Please send a copy off-line at your nearest convenience. TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco Tapia Sent: Friday, September 03, 2004 10:13 PM To: Access Developers discussion and problem solving; Discussion of Hardware and Software issues Subject: Re: [AccessD] XP SP2 Applied kudos... I always forget to mention to people tho, that in many cases it's always best to turn off all services in order to upgrade the SP just nice... I have a utility that was written by an NT admin Michael Espinola, I use this script (TARS.cmd) for every SP upgrade I need to apply to either Windows 2000 and now XP, since then all SP updates have gone smoothly. if anyone needs a copy of this file, email me off list and I can send it on it's way :) On Fri, 03 Sep 2004 22:14:40 -0400, John W. Colby wrote: > My Emachines M6805 laptop just applied the XP SP2 with no apparent problems. > Had to turn off Windows firewall (again) after the install. > > John W. Colby > www.ColbyConsulting.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Sat Sep 4 04:06:41 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat, 4 Sep 2004 10:06:41 +0100 Subject: [AccessD] Form Resizing Itself In-Reply-To: <6.1.2.0.2.20040903134839.02239418@mail.pstrauss.net> Message-ID: <000101c4925e$7e727d30$b274d0d5@minster33c3r25> Karen Try issuing a DoCmd.Maximize before you even open the first form. I find maxmizing the app makes everything behave better thereafter. I do reissue the Max in my menu's OnActivate though as suggested. -- Andy Lacey http://www.minstersystems.co.uk From kost36 at otenet.gr Sat Sep 4 06:03:16 2004 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Sat, 4 Sep 2004 14:03:16 +0300 Subject: [AccessD] Protecting a subform with password References: Message-ID: <001b01c4926e$c8fba790$0100a8c0@KOST36> Hi group, On a main form I use a button which opens a subform. Is it possible to protect the subform asking a password before? Thank's kostas From Paul.Rogers at SummitMedia.co.uk Fri Sep 3 09:01:04 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Fri, 3 Sep 2004 15:01:04 +0100 Subject: [AccessD] Open a form from a different db Message-ID: I need to open a form from another database. I just can't find it in my books. Anyone done this simple thing recently please? Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/2004 From fhtapia at gmail.com Sat Sep 4 10:50:44 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Sat, 4 Sep 2004 08:50:44 -0700 Subject: [AccessD] XP SP2 Applied In-Reply-To: References: Message-ID: it's a .CMD aka bat file, it cycles through your pc's services turning off everything TCP/IP, A/V, FireWall, and anything else that may be running in the background. After you run it your pc would be disconnected from the network, so you should have a copy of the SP update either on the local disk or on CD. Then you can run the SP update, what I've found is that SP installs have never worked so smooth. On Fri, 03 Sep 2004 22:38:35 -0700, Jim Lawrence (AccessD) wrote: > Hi Francisco: > > I am not sure what your utility does but if any thing can aid my pending > upgrades for XP, it will be very welcomed. > > Please send a copy off-line at your nearest convenience. > > TIA > Jim > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco > Tapia > Sent: Friday, September 03, 2004 10:13 PM > To: Access Developers discussion and problem solving; Discussion of > Hardware and Software issues > Subject: Re: [AccessD] XP SP2 Applied > > kudos... I always forget to mention to people tho, that in many cases > it's always best to turn off all services in order to upgrade the SP > just nice... I have a utility that was written by an NT admin Michael > Espinola, I use this script (TARS.cmd) for every SP upgrade I need to > apply to either Windows 2000 and now XP, since then all SP updates > have gone smoothly. if anyone needs a copy of this file, email me off > list and I can send it on it's way :) > > On Fri, 03 Sep 2004 22:14:40 -0400, John W. Colby > wrote: > > My Emachines M6805 laptop just applied the XP SP2 with no apparent > problems. > > Had to turn off Windows firewall (again) after the install. > > > > John W. Colby > > www.ColbyConsulting.com > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From jwcolby at colbyconsulting.com Sat Sep 4 12:17:07 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 04 Sep 2004 13:17:07 -0400 Subject: [AccessD] Can you Raid Message-ID: <000501c492a3$04f7f4e0$80b3fea9@ColbyM6805> Does anyone know if you can use Windows built-in raid capability to set up a raid 1 (mirror) then break the raid and move the mirror to another identical machine as the boot drive? I have a pair of MSI k8n Neo motherboards that I purchased. I have a pair of 80 gb samsung drives in one machine that I have just finished setting up. I need to create an image of that setup and move that image to the other machine. John W. Colby www.ColbyConsulting.com From fhtapia at gmail.com Sat Sep 4 10:58:35 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Sat, 4 Sep 2004 08:58:35 -0700 Subject: [AccessD] Protecting a subform with password In-Reply-To: <001b01c4926e$c8fba790$0100a8c0@KOST36> References: <001b01c4926e$c8fba790$0100a8c0@KOST36> Message-ID: You can build a pwd form where the user can enter this info and upon successful entry allow access to the subform, but I suspect that this kind of deployment will eventually grow tiresome. Typically I create groups, and assing new users to groups... If going w/ full Access Security then of course this makes a ton of sense, but if even if you're going the route of something lightweight, you can hardcode forms to allow only members of rolled-your-own groups. I think it was John Colby who had a sample of a "light weight" security. I think that's what you're looking for. On Sat, 4 Sep 2004 14:03:16 +0300, Kostas Konstantinidis wrote: > Hi group, > > On a main form I use a button which opens a subform. > Is it possible to protect the subform asking a password before? > > Thank's > kostas -- -Francisco From fhtapia at gmail.com Sat Sep 4 11:04:53 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Sat, 4 Sep 2004 09:04:53 -0700 Subject: [AccessD] Remote Desktop Connection Client 1.0.2 for Mac OS X In-Reply-To: <15718612102.20040903172429@cactus.dk> References: <6826407592.20040827181338@cactus.dk> <15718612102.20040903172429@cactus.dk> Message-ID: I currently do not have a need for Mac desktop connectivity... but for all my Windoze system I use UltraVNC, and for Other platforms I use RealVNC. you can google for either... On Fri, 3 Sep 2004 17:24:29 +0200, Gustav Brock wrote: > Hi all > > No comments on this? > Looks like an easy way to bring your app to the desktop of a Mac user. > > /gustav > > > Anyone having experiences with this, running Access or anything else? > > > http://www.microsoft.com/mac/downloads.aspx?pid=download&location=/mac/DOWNLOAD/MISC/RDC.xml&secid=80&ssid=9&flgnosysreq=False > > > If connecting to a Terminal Server what are the licensing for this > > for, say, 10 users? What that be a Windows 2003 server with 10 CALs? > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From jwcolby at colbyconsulting.com Sat Sep 4 12:45:49 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 04 Sep 2004 13:45:49 -0400 Subject: [AccessD] Open a form from a different db In-Reply-To: Message-ID: <000601c492a7$07d5eab0$80b3fea9@ColbyM6805> Paul, One way to do this is to reference the database (set a reference to it), then build a function in the database that opens a form. Now call that function, passing the name of the form to open. Be aware however that if the form is bound it will try to bind to a table in that database, so if your intention is to use that form to display data in the current db you will need to late bind the form. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Rodgers Sent: Friday, September 03, 2004 10:01 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Open a form from a different db I need to open a form from another database. I just can't find it in my books. Anyone done this simple thing recently please? Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/2004 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Sat Sep 4 11:07:51 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Sat, 4 Sep 2004 09:07:51 -0700 Subject: [AccessD] Subform problem with detail section In-Reply-To: <1375769556091B4DAABC159F944CA1BB07A195@bocnte2k4.boc.chevrontexaco.net> References: AcSQVlX8vyoP4CC3TE6pKB/3cipfdgABX7eA <1375769556091B4DAABC159F944CA1BB07A195@bocnte2k4.boc.chevrontexaco.net> Message-ID: Finally... You should have a Linked ID between the Parent Form and the Subform. Typically something like tbl_Orders Field: PKOrderID tbl_SubformTable Field: FKOrderID, PKID the Linked ID would be the OrderID. Checking the properties of the subform, you should see the linked table field to be the OrderID On Wed, 1 Sep 2004 14:43:21 -0500, Kaup, Chester A wrote: > Added the primary key but text boxes and list boxes in the detail > section do not display. > > Chester Kaup > Information Management Technician > IT-MidContinent/MidContinent Business Unit > CTN 8-687-7415 > Outside 432-687-7414 > > No trees were killed in the sending of this message. However a large > number of electrons were terribly inconvenienced. > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Wednesday, September 01, 2004 1:47 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Subform problem with detail section > > It is my opinion, that you should have a PKID of some sort for table you > are adding records, if not a Surrogate Key, then at the very least a > Natural Key. either is bether than NO key :D > > On Wed, 1 Sep 2004 13:26:29 -0500, Kaup, Chester A > wrote: > > So then, is the Data Entry option enabled?, YES > > is the table you're adding records to you have a Primary Key ID? NO > > > > What confuses me is the form works fine as a regular form but does not > > > work correctly when added to another form as a subform. > > > > Thanks for the assistance. > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From fhtapia at gmail.com Sat Sep 4 11:08:30 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Sat, 4 Sep 2004 09:08:30 -0700 Subject: [AccessD] Prompt after Form loads In-Reply-To: <1896904147.20040902103514@cactus.dk> References: <8444881516.20040901205336@cactus.dk> <1896904147.20040902103514@cactus.dk> Message-ID: I will try this solution later... thanks :D On Thu, 2 Sep 2004 10:35:14 +0200, Gustav Brock wrote: > Hi Francisco > > > I tried the counter solution, and it fires before the form is "visible" > > You are right, missed that, but here is how to do this without the > Timer: > > First, create this function in the subform: > > Private Function ShowAtOpen() > > Static booOpened As Boolean > > If booOpened = False Then > ' Replace with your code. > MsgBox "Load?", vbQuestion, "Francisco" > ' Run only once. > booOpened = True > End If > > End Function > > Now, create a textbox in the subform, make it not Visible, and bind it > like this: > > =ShowAtOpen() > > This will pop the code when the form and the sub have been rendered > including controls bound to the recordsource of the form. The only > limitation I can see is, that other controls bound to an expression > (=something()) may have their values retrieved after the firing of > ShowAtOpen. > > /gustav > > > > On Wed, 1 Sep 2004 20:53:36 +0200, Gustav Brock wrote: > >> Hi Francisco > >> > >> > Agreed, I use them as a very last solution. They do CAUSE flickers, > >> > and they interrupt other process as well. Such as adverse behavoirs > >> > when using a combo bx and you find that your dropdown doesn't stay > >> > dropped, because the timer continues to fire off in the background :D > >> > >> Except in this case ... did you try the counter solution? > >> Works excellent here. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From bchacc at san.rr.com Sat Sep 4 12:56:13 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 4 Sep 2004 10:56:13 -0700 Subject: [AccessD] Fw: Action Pack versus Partner Program Message-ID: <008901c492a8$77e4f070$6601a8c0@HAL9002> > Any opinions on the Action Pack versus the Partner program? > > TIA > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > > ----- Original Message ----- > From: "Dixon" > To: "Rocky Smolin - Beach Access Software" > Sent: Saturday, September 04, 2004 10:58 AM > Subject: Re: Fw: ...holy smoly!!! > > > > Rocky, > > The Action Pac contains less stuff and has less obligation and lower > price. Bottom line, I think Action Pac is best for me and the full pac you > are looking at may be best for you. > > > > Action Pac has 5 licenses for: > > Win XP Pro, Office Pro 2003, MapPoint, FrontPage, InfoPath, OneNote, > InfoPath, Project, Publisher, Sharepoint, Visio, VirtualPC. > > And a bunch of servers; SQL2000Standard, LiveCommunications, Exchange, > MobileInformation, Windows2003Standard, Windows2003Web and SmallBusiness. > > It also has tons of sales training material. > > Development tools such as .Net, Visual Studio and other compilers are not > included. > > Price is $300/Year with no limit on continuing subscriptions, quarterly > updates and no obligations to produce anything. > > > > The one you are looking at may be more interesting for you because it > includes the same software plus other systems (Win2K) and .Net and more MSDN > features and you can satisfy the development obligation. Drawbacks are; it > only lasts for two years then reverts to standard pricing. > > > > Dixon. > > > > ======= At 2004-09-03, 22:24:00 you wrote: ======= > > > > >Dixon: > > > > > >This is the Microsoft deal I was looking at. How's this compare to the > > >Action Pack? > > > > > >Rocky > > > > > >----- Original Message ----- > > >From: "William Hindman" > > >To: "'Steven W. Erbach'" > > >Cc: ; ; > > >; ; > > >Sent: Monday, July 26, 2004 10:42 AM > > >Subject: ...holy smoly!!! > > > > > > > > > >http://members.microsoft.com/partner/competency/isvcomp/empower/default.asp > x > > >#P59_3411 > > > > > >....check this out ...a full MSDN Universal Subscription for only > $375.00! > > > > > >....from Microsoft themselves! > > > > > >....that's an incredible price when you consider it includes virtually > every > > >piece of Microsoft software except maybe Flight simulator ...plus umpteen > > >developer aids and CD updates every month ...plus five user licenses. > > > > > >....all you have to do is register as a partner (very easy, no cost) and > > >PROMISE to develop an application for a market of your choice. > > > > > >....and they'll let you do this for two years before moving you up to > regular > > >pricing. > > > > > >William Hindman > > > > > > > > > > > >. > > > > = = = = = = = = = = = = = = = = = = = = > > > > > > > > > > > From accessd at shaw.ca Sat Sep 4 11:58:35 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 04 Sep 2004 09:58:35 -0700 Subject: [AccessD] Access & AutoCAD In-Reply-To: <200409031145.i83BjLZw015552@ms-smtp-01.nyroc.rr.com> Message-ID: Hi Mark: Sorry I am late to this conversation but is not AutoCAD comprised of a group of exposed objects (dlls and ActiveX components) and AutoLISP, a VBA type language. You of course have to be on a station where AutoCAD is installed as well as Access. One friend works in a government mapping office that uses ArcInfo but has a number of translators and automated translation processes, one script used translates AutoCAD DWG files into ArcInfo files and back...all using various built in objects and their properties. I know they have the capabilities to automate the extraction by levels, object types etc.. I imagine anything else would be possible. I think there is a few downloads and samples from some of the companies that work extensively with various government agencies like: http://www.esri.com/. I might be able to get some help but would have to know a specific requirement. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 02, 2004 12:51 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access & AutoCAD Both. First project is our departmental floor plan which will include ALL of the attributes for personnel and equipment. Later projects will build BOM drawings in AutoCAD dynamically. Concurrently with those, I would like to develop an automation process which monitors a network folder, and when a new drawing is placed there, automatically extract certain drawing attributes, log them into a database, and create a .dwf format version for intranet publication. Mark -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Thursday, September 02, 2004 1:30 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access & AutoCAD Mark, Are you trying to use automation between the two or are you trying to use access as a database for Autocad Attributes? John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 02, 2004 12:04 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access & AutoCAD ...so I'm guessing I'm the only one in this unique position:((( Mark -----Original Message----- From: Mitsules, Mark Sent: Wednesday, September 01, 2004 5:42 PM To: [AccessD] Subject: [AccessD] Access & AutoCAD Has anyone tackled this combination? There is ONE example in the AutoCAD samples folder. There is ONE book that I found regarding database connectivity (circa 1999). ...and a DISTINCT lack of web-based material as far as I can tell:( I would be most appreciative for pointers towards any of the following: recent books (AutoCAD 2002 or later), web-based tutorials, web-based examples, personal examples, cave paintings...anything. Thanks in advance for any/all information. Mark Conversely, I am willing to pay $40 to anyone willing to take the AutoCAD help files and develop a booklet within the next 2 weeks, including a table of contents, that will allow me to chronologically work my way through a project. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sep 4 12:59:35 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 04 Sep 2004 13:59:35 -0400 Subject: [AccessD] Protecting a subform with password In-Reply-To: Message-ID: <000701c492a8$f5a68af0$80b3fea9@ColbyM6805> I would suggest a small login form as the db opens, then the db knows who is working in it. Now build a table of "can use" and a function that checks if the logged in user can use. If so then allow the unhide / enable. I do something similar to this with controls that only supervisors should have access to. I have users, groups, GroupUsers, then objects, GroupsCanUseObjects. Of course that is overkill if this is the only object in the db that you need to protect but if there are many of them then it makes sense. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Saturday, September 04, 2004 11:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Protecting a subform with password You can build a pwd form where the user can enter this info and upon successful entry allow access to the subform, but I suspect that this kind of deployment will eventually grow tiresome. Typically I create groups, and assing new users to groups... If going w/ full Access Security then of course this makes a ton of sense, but if even if you're going the route of something lightweight, you can hardcode forms to allow only members of rolled-your-own groups. I think it was John Colby who had a sample of a "light weight" security. I think that's what you're looking for. On Sat, 4 Sep 2004 14:03:16 +0300, Kostas Konstantinidis wrote: > Hi group, > > On a main form I use a button which opens a subform. > Is it possible to protect the subform asking a password before? > > Thank's > kostas -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Sep 4 13:00:56 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 04 Sep 2004 14:00:56 -0400 Subject: [AccessD] Remote Desktop Connection Client 1.0.2 for Mac OS X In-Reply-To: Message-ID: <000801c492a9$24ecbf00$80b3fea9@ColbyM6805> I also use RealVNC. I even used it inside my LAN prior to buying the KMV switch. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Saturday, September 04, 2004 12:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Remote Desktop Connection Client 1.0.2 for Mac OS X I currently do not have a need for Mac desktop connectivity... but for all my Windoze system I use UltraVNC, and for Other platforms I use RealVNC. you can google for either... On Fri, 3 Sep 2004 17:24:29 +0200, Gustav Brock wrote: > Hi all > > No comments on this? > Looks like an easy way to bring your app to the desktop of a Mac user. > > /gustav > > > Anyone having experiences with this, running Access or anything > > else? > > > http://www.microsoft.com/mac/downloads.aspx?pid=download&location=/m > > ac/DOWNLOAD/MISC/RDC.xml&secid=80&ssid=9&flgnosysreq=False > > > If connecting to a Terminal Server what are the licensing for this > > for, say, 10 users? What that be a Windows 2003 server with 10 CALs? > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Sep 4 13:17:58 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 04 Sep 2004 14:17:58 -0400 Subject: [AccessD] Fw: Action Pack versus Partner Program In-Reply-To: <008901c492a8$77e4f070$6601a8c0@HAL9002> Message-ID: <000a01c492ab$84b98470$80b3fea9@ColbyM6805> Rocky AFAICT you have to join the partner program (free) then you are allowed to buy the action pack. I just did so but haven't received the action pack yet. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, September 04, 2004 1:56 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: Action Pack versus Partner Program > Any opinions on the Action Pack versus the Partner program? > > TIA > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > > ----- Original Message ----- > From: "Dixon" > To: "Rocky Smolin - Beach Access Software" > Sent: Saturday, September 04, 2004 10:58 AM > Subject: Re: Fw: ...holy smoly!!! > > > > Rocky, > > The Action Pac contains less stuff and has less obligation and lower > price. Bottom line, I think Action Pac is best for me and the full pac > you are looking at may be best for you. > > > > Action Pac has 5 licenses for: > > Win XP Pro, Office Pro 2003, MapPoint, FrontPage, InfoPath, OneNote, > InfoPath, Project, Publisher, Sharepoint, Visio, VirtualPC. > > And a bunch of servers; SQL2000Standard, LiveCommunications, > > Exchange, > MobileInformation, Windows2003Standard, Windows2003Web and > SmallBusiness. > > It also has tons of sales training material. > > Development tools such as .Net, Visual Studio and other compilers > > are not > included. > > Price is $300/Year with no limit on continuing subscriptions, > > quarterly > updates and no obligations to produce anything. > > > > The one you are looking at may be more interesting for you because > > it > includes the same software plus other systems (Win2K) and .Net and > more MSDN > features and you can satisfy the development obligation. Drawbacks > are; it only lasts for two years then reverts to standard pricing. > > > > Dixon. > > > > ======= At 2004-09-03, 22:24:00 you wrote: ======= > > > > >Dixon: > > > > > >This is the Microsoft deal I was looking at. How's this compare to > > >the Action Pack? > > > > > >Rocky > > > > > >----- Original Message ----- > > >From: "William Hindman" > > >To: "'Steven W. Erbach'" > > >Cc: ; ; > > >; ; > > >Sent: Monday, July 26, 2004 10:42 AM > > >Subject: ...holy smoly!!! > > > > > > > > > >http://members.microsoft.com/partner/competency/isvcomp/empower/default >.asp > x > > >#P59_3411 > > > > > >....check this out ...a full MSDN Universal Subscription for only > $375.00! > > > > > >....from Microsoft themselves! > > > > > >....that's an incredible price when you consider it includes > > >virtually > every > > >piece of Microsoft software except maybe Flight simulator ...plus umpteen > > >developer aids and CD updates every month ...plus five user > > >licenses. > > > > > >....all you have to do is register as a partner (very easy, no > > >cost) and > > >PROMISE to develop an application for a market of your choice. > > > > > >....and they'll let you do this for two years before moving you up > > >to > regular > > >pricing. > > > > > >William Hindman > > > > > > > > > > > >. > > > > = = = = = = = = = = = = = = = = = = = = > > > > > > > > > > > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Sat Sep 4 14:47:28 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Sat, 4 Sep 2004 12:47:28 -0700 Subject: [AccessD] Remote Desktop Connection Client 1.0.2 for Mac OS X In-Reply-To: <000801c492a9$24ecbf00$80b3fea9@ColbyM6805> References: <000801c492a9$24ecbf00$80b3fea9@ColbyM6805> Message-ID: REALvnc is a stable, awesome release, I don't knock it in fact UltraVnc is built on top of existing cores from RealVNC. however, when using ULTRA, you will have much more flexibility and power, such as being able to authenticate via your NT userid, also you can transfer files if you need FTP. and over LAN i've found that coupled together w/ their Video Driver you get much more speed as if you were right in front of the other pc. On Sat, 04 Sep 2004 14:00:56 -0400, John W. Colby wrote: > I also use RealVNC. I even used it inside my LAN prior to buying the KMV > switch. > > John W. Colby > www.ColbyConsulting.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia > Sent: Saturday, September 04, 2004 12:05 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Remote Desktop Connection Client 1.0.2 for Mac OS X > > I currently do not have a need for Mac desktop connectivity... but for all > my Windoze system I use UltraVNC, and for Other platforms I use RealVNC. > > you can google for either... > > On Fri, 3 Sep 2004 17:24:29 +0200, Gustav Brock wrote: > > Hi all > > > > No comments on this? > > Looks like an easy way to bring your app to the desktop of a Mac user. > > > > /gustav > > > > > Anyone having experiences with this, running Access or anything > > > else? > > > > > http://www.microsoft.com/mac/downloads.aspx?pid=download&location=/m > > > ac/DOWNLOAD/MISC/RDC.xml&secid=80&ssid=9&flgnosysreq=False > > > > > If connecting to a Terminal Server what are the licensing for this > > > for, say, 10 users? What that be a Windows 2003 server with 10 CALs? > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From fhtapia at gmail.com Sat Sep 4 14:59:50 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Sat, 4 Sep 2004 12:59:50 -0700 Subject: [AccessD] Can you Raid In-Reply-To: <000501c492a3$04f7f4e0$80b3fea9@ColbyM6805> References: <000501c492a3$04f7f4e0$80b3fea9@ColbyM6805> Message-ID: Never tried it. but if you are building this for your VLDB system, keep in mind that hardware raid is always faster and therefore better than Software Raid. On Sat, 04 Sep 2004 13:17:07 -0400, John W. Colby wrote: > Does anyone know if you can use Windows built-in raid capability to set up a > raid 1 (mirror) then break the raid and move the mirror to another identical > machine as the boot drive? I have a pair of MSI k8n Neo motherboards that I > purchased. I have a pair of 80 gb samsung drives in one machine that I have > just finished setting up. I need to create an image of that setup and move > that image to the other machine. > > John W. Colby > www.ColbyConsulting.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From jwcolby at colbyconsulting.com Sat Sep 4 15:12:16 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 04 Sep 2004 16:12:16 -0400 Subject: [AccessD] Can you Raid In-Reply-To: Message-ID: <000c01c492bb$7d6d20e0$80b3fea9@ColbyM6805> >keep in mind that hardware raid is always faster and therefore better than Software Raid. I am having issues getting ANY (hardware) bootable raid going. I am working with the tech support of the MB manufacturer however I must get a system up and functioning. My intent is NOT to raid the boot drive per se, but rather to create an image of the drive with all software installed, then move that image to another identical machine. I would be using Mirror as a replacement for Norton Ghost or similar software. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Saturday, September 04, 2004 4:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Can you Raid Never tried it. but if you are building this for your VLDB system, keep in mind that hardware raid is always faster and therefore better than Software Raid. On Sat, 04 Sep 2004 13:17:07 -0400, John W. Colby wrote: > Does anyone know if you can use Windows built-in raid capability to > set up a raid 1 (mirror) then break the raid and move the mirror to > another identical machine as the boot drive? I have a pair of MSI k8n > Neo motherboards that I purchased. I have a pair of 80 gb samsung > drives in one machine that I have just finished setting up. I need to > create an image of that setup and move that image to the other > machine. > > John W. Colby > www.ColbyConsulting.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sat Sep 4 14:56:20 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 04 Sep 2004 12:56:20 -0700 Subject: [AccessD] JIT Forms? References: Message-ID: <413A1DE4.4000801@shaw.ca> You can't recompile code in an mde But here is some example code to read code in a Form You can also write code to a form Have a look at http://www.helenfeddema.com Design Schemas accarch76.zip and 77 She modifies existing controls at runtime and adds code. Function ListAllProcsinForms(strModuleName As String) 'Purpose: lists all procedures/functions for given module 'Example: ListAllProcsinForms ("MyForm") Dim mdlF As Form Dim mdl As Module Dim lngCount As Long, lngCountDecl As Long, lngI As Long Dim strProcName As String, astrProcNames() As String Dim intI As Integer, strMsg As String Dim lngR As Long ' Open specified Module object. DoCmd.OpenForm strModuleName,acDesign 'open in design view ' Return reference to Form object. Set mdlF = Forms(strModuleName) ' Return reference to Module object. Set mdl = mdlF.Module ' Count lines in module. lngCount = mdl.CountOfLines ' Count lines in Declaration section in module. lngCountDecl = mdl.CountOfDeclarationLines ' Determine name of first procedure. strProcName = mdl.ProcOfLine(lngCountDecl + 1, lngR) ' Initialize counter variable. intI = 0 ' Redimension array. ReDim Preserve astrProcNames(intI) ' Store name of first procedure in array. astrProcNames(intI) = strProcName ' Determine procedure name for each line after declarations. For lngI = lngCountDecl + 1 To lngCount ' Compare procedure name with ProcOfLine property value. If strProcName <> mdl.ProcOfLine(lngI, lngR) Then ' Increment counter. intI = intI + 1 strProcName = mdl.ProcOfLine(lngI, lngR) ReDim Preserve astrProcNames(intI) ' Assign unique procedure names to array. astrProcNames(intI) = strProcName End If Next lngI strMsg = "Procedures in module '" & strModuleName & "': " _ & vbCrLf & vbCrLf Debug.Print "Procedures in module '" & strModuleName & "': " For intI = 0 To UBound(astrProcNames) strMsg = strMsg & astrProcNames(intI) & vbCrLf 'Print list in debug window: Debug.Print astrProcNames(intI) Next intI ' Dialog box listing all procedures in module. MsgBox strMsg End Function Charlotte Foust wrote: >I've only used it at design time, so I can't say. I don't suppose it's >all that different from changing the paper size at run time. > >Charlotte Foust > > >-----Original Message----- >From: John W. Colby [mailto:jwcolby at colbyconsulting.com] >Sent: Friday, September 03, 2004 2:13 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] JIT Forms? > > >Charlotte, > >Do you know if this works at runtime or only at design time? > >John W. Colby >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: Friday, September 03, 2004 4:03 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] JIT Forms? > > >Look at the Application.CreateControl method for creating controls from >code. If you want code behind that control, you need to add that to the >form's module and set the control's named event to "[event procedure]" >to connect them. > >Charlotte Foust > > > > > -- Marty Connelly Victoria, B.C. Canada From bchacc at san.rr.com Sat Sep 4 15:41:53 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 4 Sep 2004 13:41:53 -0700 Subject: [AccessD] Fw: Action Pack versus Partner Program References: <000a01c492ab$84b98470$80b3fea9@ColbyM6805> Message-ID: <00e201c492bf$9c726cd0$6601a8c0@HAL9002> Es verdad. I was just wondering if the additional stuff you get in the partner program was worth the extra $75. Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Saturday, September 04, 2004 11:17 AM Subject: RE: [AccessD] Fw: Action Pack versus Partner Program > Rocky > > AFAICT you have to join the partner program (free) then you are allowed to > buy the action pack. I just did so but haven't received the action pack > yet. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Saturday, September 04, 2004 1:56 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Fw: Action Pack versus Partner Program > > > > > Any opinions on the Action Pack versus the Partner program? > > > > TIA > > > > Rocky Smolin > > Beach Access Software > > http://www.e-z-mrp.com > > > > > > ----- Original Message ----- > > From: "Dixon" > > To: "Rocky Smolin - Beach Access Software" > > Sent: Saturday, September 04, 2004 10:58 AM > > Subject: Re: Fw: ...holy smoly!!! > > > > > > > Rocky, > > > The Action Pac contains less stuff and has less obligation and > lower > > price. Bottom line, I think Action Pac is best for me and the full pac > > you are looking at may be best for you. > > > > > > Action Pac has 5 licenses for: > > > Win XP Pro, Office Pro 2003, MapPoint, FrontPage, InfoPath, OneNote, > > InfoPath, Project, Publisher, Sharepoint, Visio, VirtualPC. > > > And a bunch of servers; SQL2000Standard, LiveCommunications, > > > Exchange, > > MobileInformation, Windows2003Standard, Windows2003Web and > > SmallBusiness. > > > It also has tons of sales training material. > > > Development tools such as .Net, Visual Studio and other compilers > > > are > not > > included. > > > Price is $300/Year with no limit on continuing subscriptions, > > > quarterly > > updates and no obligations to produce anything. > > > > > > The one you are looking at may be more interesting for you because > > > it > > includes the same software plus other systems (Win2K) and .Net and > > more > MSDN > > features and you can satisfy the development obligation. Drawbacks > > are; it only lasts for two years then reverts to standard pricing. > > > > > > Dixon. > > > > > > ======= At 2004-09-03, 22:24:00 you wrote: ======= > > > > > > >Dixon: > > > > > > > >This is the Microsoft deal I was looking at. How's this compare to > > > >the Action Pack? > > > > > > > >Rocky > > > > > > > >----- Original Message ----- > > > >From: "William Hindman" > > > >To: "'Steven W. Erbach'" > > > >Cc: ; ; > > > >; ; > > > >Sent: Monday, July 26, 2004 10:42 AM > > > >Subject: ...holy smoly!!! > > > > > > > > > > > > > > >http://members.microsoft.com/partner/competency/isvcomp/empower/default > >.asp > > x > > > >#P59_3411 > > > > > > > >....check this out ...a full MSDN Universal Subscription for only > > $375.00! > > > > > > > >....from Microsoft themselves! > > > > > > > >....that's an incredible price when you consider it includes > > > >virtually > > every > > > >piece of Microsoft software except maybe Flight simulator ...plus > umpteen > > > >developer aids and CD updates every month ...plus five user > > > >licenses. > > > > > > > >....all you have to do is register as a partner (very easy, no > > > >cost) > and > > > >PROMISE to develop an application for a market of your choice. > > > > > > > >....and they'll let you do this for two years before moving you up > > > >to > > regular > > > >pricing. > > > > > > > >William Hindman > > > > > > > > > > > > > > > >. > > > > > > = = = = = = = = = = = = = = = = = = = = > > > > > > > > > > > > > > > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Sat Sep 4 15:44:51 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 04 Sep 2004 16:44:51 -0400 Subject: [AccessD] JIT Forms? In-Reply-To: <413A1DE4.4000801@shaw.ca> Message-ID: <000e01c492c0$07dff370$80b3fea9@ColbyM6805> This brings us to the question of "where the heck does Access store this stuff". As you know there is a class (MODULE) behind a form where you can add your own code, but there is an additional "something" where the form controls and stuff resides. I have always wondered where that "something" is (but not enough to do the research). ;-) It is almost as if that stuff were made invisible somehow. If you export a class to a text file there is stuff at the top of the file (properties) that are not visible from the IDE editor when viewing the class. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Saturday, September 04, 2004 3:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT Forms? You can't recompile code in an mde But here is some example code to read code in a Form You can also write code to a form Have a look at http://www.helenfeddema.com Design Schemas accarch76.zip and 77 She modifies existing controls at runtime and adds code. Function ListAllProcsinForms(strModuleName As String) 'Purpose: lists all procedures/functions for given module 'Example: ListAllProcsinForms ("MyForm") Dim mdlF As Form Dim mdl As Module Dim lngCount As Long, lngCountDecl As Long, lngI As Long Dim strProcName As String, astrProcNames() As String Dim intI As Integer, strMsg As String Dim lngR As Long ' Open specified Module object. DoCmd.OpenForm strModuleName,acDesign 'open in design view ' Return reference to Form object. Set mdlF = Forms(strModuleName) ' Return reference to Module object. Set mdl = mdlF.Module ' Count lines in module. lngCount = mdl.CountOfLines ' Count lines in Declaration section in module. lngCountDecl = mdl.CountOfDeclarationLines ' Determine name of first procedure. strProcName = mdl.ProcOfLine(lngCountDecl + 1, lngR) ' Initialize counter variable. intI = 0 ' Redimension array. ReDim Preserve astrProcNames(intI) ' Store name of first procedure in array. astrProcNames(intI) = strProcName ' Determine procedure name for each line after declarations. For lngI = lngCountDecl + 1 To lngCount ' Compare procedure name with ProcOfLine property value. If strProcName <> mdl.ProcOfLine(lngI, lngR) Then ' Increment counter. intI = intI + 1 strProcName = mdl.ProcOfLine(lngI, lngR) ReDim Preserve astrProcNames(intI) ' Assign unique procedure names to array. astrProcNames(intI) = strProcName End If Next lngI strMsg = "Procedures in module '" & strModuleName & "': " _ & vbCrLf & vbCrLf Debug.Print "Procedures in module '" & strModuleName & "': " For intI = 0 To UBound(astrProcNames) strMsg = strMsg & astrProcNames(intI) & vbCrLf 'Print list in debug window: Debug.Print astrProcNames(intI) Next intI ' Dialog box listing all procedures in module. MsgBox strMsg End Function Charlotte Foust wrote: >I've only used it at design time, so I can't say. I don't suppose it's >all that different from changing the paper size at run time. > >Charlotte Foust > > >-----Original Message----- >From: John W. Colby [mailto:jwcolby at colbyconsulting.com] >Sent: Friday, September 03, 2004 2:13 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] JIT Forms? > > >Charlotte, > >Do you know if this works at runtime or only at design time? > >John W. Colby >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: Friday, September 03, 2004 4:03 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] JIT Forms? > > >Look at the Application.CreateControl method for creating controls from >code. If you want code behind that control, you need to add that to >the form's module and set the control's named event to "[event >procedure]" to connect them. > >Charlotte Foust > > > > > -- Marty Connelly Victoria, B.C. Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Sat Sep 4 15:46:37 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Sat, 4 Sep 2004 22:46:37 +0200 Subject: [AccessD] Can you Raid Message-ID: <46B976F2B698FF46A4FE7636509B22DF734C@stekelbes.ithelps.local> I done that with NT4 (windows software mirror). Works perfect with sometimes one exception. The mirror is not always bootable depending on the type of disk. A floppy drive boot disk is a workaround at that moment. Ofcourse you need to respect regular OS rules. If your other machine is other hardware you can get in to trouble... Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens John W. Colby Verzonden: zaterdag 4 september 2004 22:12 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] Can you Raid >keep in mind that hardware raid is always faster and therefore better >than Software Raid. I am having issues getting ANY (hardware) bootable raid going. I am working with the tech support of the MB manufacturer however I must get a system up and functioning. My intent is NOT to raid the boot drive per se, but rather to create an image of the drive with all software installed, then move that image to another identical machine. I would be using Mirror as a replacement for Norton Ghost or similar software. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Saturday, September 04, 2004 4:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Can you Raid Never tried it. but if you are building this for your VLDB system, keep in mind that hardware raid is always faster and therefore better than Software Raid. On Sat, 04 Sep 2004 13:17:07 -0400, John W. Colby wrote: > Does anyone know if you can use Windows built-in raid capability to > set up a raid 1 (mirror) then break the raid and move the mirror to > another identical machine as the boot drive? I have a pair of MSI k8n > Neo motherboards that I purchased. I have a pair of 80 gb samsung > drives in one machine that I have just finished setting up. I need to > create an image of that setup and move that image to the other > machine. > > John W. Colby > www.ColbyConsulting.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat Sep 4 11:25:16 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 04 Sep 2004 09:25:16 -0700 Subject: [AccessD] Protecting a subform with password In-Reply-To: <001b01c4926e$c8fba790$0100a8c0@KOST36> Message-ID: Hi Kostas: Add some code something like the following and the command button that opens the subform will be set appropriately. In the Form Load subroutine Private Sub Form_Load() ' Maybe something like.... if CheckUsername() < 5 then ' Disable command button and make subform invisible. Me.cmbOpenSubForm.Enabled = False Me!MySubform.Form.Visible = False else Me.cmbOpenSubForm.Enabled = True Me!MySubform.Form.Visible = True end if End Sub Private Function CheckUsername() As Integer Dim intSecurityLevel as Integer IntSecurityLevel = 0 ' add code here.... ' In here you would put code that either asks for the username ' and then validates it's level of access against a protected table, ' value or an imbedded list or current users in the Access security ' tables. ' This example checks which security group the ' current user is in then sets the security level. If CurrentUser() = "Admin" Then intSecurityLevel = 5 CheckUsername() = intSecurityLevel End Function This is not a complete answer but hope this starts you on your way. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kostas Konstantinidis Sent: Saturday, September 04, 2004 4:03 AM To: Access Developers discussion and problem solving Subject: [AccessD] Protecting a subform with password Hi group, On a main form I use a button which opens a subform. Is it possible to protect the subform asking a password before? Thank's kostas -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmoss111 at bellsouth.net Sat Sep 4 17:49:12 2004 From: jmoss111 at bellsouth.net (JMoss) Date: Sat, 4 Sep 2004 17:49:12 -0500 Subject: [AccessD] Fw: Action Pack versus Partner Program In-Reply-To: <00e201c492bf$9c726cd0$6601a8c0@HAL9002> Message-ID: You don't really get anything in the Partner program which is free. The Action Pack is $299/yr and the Action Pack Plus is $399/yr. The Plus gets you a subscription of Microsoft bCentral List Builder in addition to what you get in the Action Pack subscription. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, September 04, 2004 3:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fw: Action Pack versus Partner Program Es verdad. I was just wondering if the additional stuff you get in the partner program was worth the extra $75. Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Saturday, September 04, 2004 11:17 AM Subject: RE: [AccessD] Fw: Action Pack versus Partner Program > Rocky > > AFAICT you have to join the partner program (free) then you are allowed to > buy the action pack. I just did so but haven't received the action pack > yet. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Saturday, September 04, 2004 1:56 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Fw: Action Pack versus Partner Program > > > > > Any opinions on the Action Pack versus the Partner program? > > > > TIA > > > > Rocky Smolin > > Beach Access Software > > http://www.e-z-mrp.com > > > > > > ----- Original Message ----- > > From: "Dixon" > > To: "Rocky Smolin - Beach Access Software" > > Sent: Saturday, September 04, 2004 10:58 AM > > Subject: Re: Fw: ...holy smoly!!! > > > > > > > Rocky, > > > The Action Pac contains less stuff and has less obligation and > lower > > price. Bottom line, I think Action Pac is best for me and the full pac > > you are looking at may be best for you. > > > > > > Action Pac has 5 licenses for: > > > Win XP Pro, Office Pro 2003, MapPoint, FrontPage, InfoPath, OneNote, > > InfoPath, Project, Publisher, Sharepoint, Visio, VirtualPC. > > > And a bunch of servers; SQL2000Standard, LiveCommunications, > > > Exchange, > > MobileInformation, Windows2003Standard, Windows2003Web and > > SmallBusiness. > > > It also has tons of sales training material. > > > Development tools such as .Net, Visual Studio and other compilers > > > are > not > > included. > > > Price is $300/Year with no limit on continuing subscriptions, > > > quarterly > > updates and no obligations to produce anything. > > > > > > The one you are looking at may be more interesting for you because > > > it > > includes the same software plus other systems (Win2K) and .Net and > > more > MSDN > > features and you can satisfy the development obligation. Drawbacks > > are; it only lasts for two years then reverts to standard pricing. > > > > > > Dixon. > > > > > > ======= At 2004-09-03, 22:24:00 you wrote: ======= > > > > > > >Dixon: > > > > > > > >This is the Microsoft deal I was looking at. How's this compare to > > > >the Action Pack? > > > > > > > >Rocky > > > > > > > >----- Original Message ----- > > > >From: "William Hindman" > > > >To: "'Steven W. Erbach'" > > > >Cc: ; ; > > > >; ; > > > >Sent: Monday, July 26, 2004 10:42 AM > > > >Subject: ...holy smoly!!! > > > > > > > > > > > > > > >http://members.microsoft.com/partner/competency/isvcomp/empower/default > >.asp > > x > > > >#P59_3411 > > > > > > > >....check this out ...a full MSDN Universal Subscription for only > > $375.00! > > > > > > > >....from Microsoft themselves! > > > > > > > >....that's an incredible price when you consider it includes > > > >virtually > > every > > > >piece of Microsoft software except maybe Flight simulator ...plus > umpteen > > > >developer aids and CD updates every month ...plus five user > > > >licenses. > > > > > > > >....all you have to do is register as a partner (very easy, no > > > >cost) > and > > > >PROMISE to develop an application for a market of your choice. > > > > > > > >....and they'll let you do this for two years before moving you up > > > >to > > regular > > > >pricing. > > > > > > > >William Hindman > > > > > > > > > > > > > > > >. > > > > > > = = = = = = = = = = = = = = = = = = = = > > > > > > > > > > > > > > > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Oleg_123 at xuppa.com Sat Sep 4 18:48:30 2004 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Sat, 4 Sep 2004 19:48:30 -0400 (EDT) Subject: [AccessD] Import columns In-Reply-To: References: Message-ID: <16154.216.223.34.13.1094341710.squirrel@heck.xuppa.com> Hey Group, happy holidays fro those of u in US. I am supposed to count the number of columns and based on the result import the data into a table with month names. The last column always contains December Am I on the right track ? This is what I've done so far --- Private Sub Command1_Click() Dim cnn As ADODB.Connection Dim rst1 As New ADODB.Recordset Dim SQL1 As String, SQL2 As String Dim a As Integer 'number of columns Dim b As Integer Dim Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec Set cnn = CurrentProject.Connection SQL1 = "Select * From Hrsqd" rst1.Open SQL1, cnn, adOpenKeyset, adLockOptimistic, adCmdTableDirect a = rst1.Fields.Count 'number of fields b = a - 2 ' number of month fields If b = 6 Then 'Jul - Dec Do Until rst1.EOF Jul = rst1.Fields(3) Aug = rst1.Fields(4) Sep = rst1.Fields(5) Oct = rst1.Fields(6) Nov = rst1.Fields(7) Dec = rst1.Fields(8) Loop End If If b = 5 Then 'Aug - Dec Do Until rst1.EOF Aug = rst1.Fields(3) Sep = rst1.Fields(4) Oct = rst1.Fields(5) Nov = rst1.Fields(6) Dec = rst1.Fields(7) Loop End If If b = 4 Then 'Sep - Dec Do Until rst1.EOF Sep = rst1.Fields(3) Oct = rst1.Fields(4) Nov = rst1.Fields(5) Dec = rst1.Fields(6) Loop End If rst1.Close SQL2 = "INSERT Into HRSQD_Full (Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec) Values (" & Jan & "," & Feb & "," & Mar & "," & Apr & "," & May & "," & Jun & "," & Jul & "," & Aug & "," & Sep & "," & Oct & "," & Nov & "," & Dec & ")" MsgBox a End Sub ----------------------------------------- Make Money and Find Love at Finally.com http://www.finally.com/?link=webmail From lister at actuarial-files.com Sat Sep 4 18:57:34 2004 From: lister at actuarial-files.com (Ralf Lister) Date: Sat, 04 Sep 2004 23:57:34 -0000 Subject: [AccessD] OpenForm gets cancelled Message-ID: <000001c47a7e$ca728fb0$d8bd3ac8@ralf> Hello all, I have a weird problem: In one of my forms I have coded "DoCmd.Openform "frmForm"". But everytime I try to execute this Code I get the message "Error message 2501 at run time. The action OpenForm was cancelled". Can someone help me out, so I can perform the OpenForm-Command. TIA Saludos Ralf From Jeff at OUTBAKTech.com Sat Sep 4 19:10:44 2004 From: Jeff at OUTBAKTech.com (Jeff Barrows) Date: Sat, 4 Sep 2004 19:10:44 -0500 Subject: [AccessD] Fw: Action Pack versus Partner Program Message-ID: <8DA8776D2F418E46A2A464AC6CE630509341@outbaksrv1.outbaktech.com> The Action Pack renewal is only $199/yr. Jeff Barrows MCP, MCAD, MCSD Outbak Technologies, LLC Racine, WI jeff at outbaktech.com -----Original Message----- From: JMoss [mailto:jmoss111 at bellsouth.net] Sent: Saturday, September 04, 2004 5:49 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: Action Pack versus Partner Program You don't really get anything in the Partner program which is free. The Action Pack is $299/yr and the Action Pack Plus is $399/yr. The Plus gets you a subscription of Microsoft bCentral List Builder in addition to what you get in the Action Pack subscription. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, September 04, 2004 3:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fw: Action Pack versus Partner Program Es verdad. I was just wondering if the additional stuff you get in the partner program was worth the extra $75. Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Saturday, September 04, 2004 11:17 AM Subject: RE: [AccessD] Fw: Action Pack versus Partner Program > Rocky > > AFAICT you have to join the partner program (free) then you are allowed to > buy the action pack. I just did so but haven't received the action pack > yet. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Saturday, September 04, 2004 1:56 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Fw: Action Pack versus Partner Program > > > > > Any opinions on the Action Pack versus the Partner program? > > > > TIA > > > > Rocky Smolin > > Beach Access Software > > http://www.e-z-mrp.com > > > > > > ----- Original Message ----- > > From: "Dixon" > > To: "Rocky Smolin - Beach Access Software" > > Sent: Saturday, September 04, 2004 10:58 AM > > Subject: Re: Fw: ...holy smoly!!! > > > > > > > Rocky, > > > The Action Pac contains less stuff and has less obligation and > lower > > price. Bottom line, I think Action Pac is best for me and the full pac > > you are looking at may be best for you. > > > > > > Action Pac has 5 licenses for: > > > Win XP Pro, Office Pro 2003, MapPoint, FrontPage, InfoPath, OneNote, > > InfoPath, Project, Publisher, Sharepoint, Visio, VirtualPC. > > > And a bunch of servers; SQL2000Standard, LiveCommunications, > > > Exchange, > > MobileInformation, Windows2003Standard, Windows2003Web and > > SmallBusiness. > > > It also has tons of sales training material. > > > Development tools such as .Net, Visual Studio and other compilers > > > are > not > > included. > > > Price is $300/Year with no limit on continuing subscriptions, > > > quarterly > > updates and no obligations to produce anything. > > > > > > The one you are looking at may be more interesting for you because > > > it > > includes the same software plus other systems (Win2K) and .Net and > > more > MSDN > > features and you can satisfy the development obligation. Drawbacks > > are; it only lasts for two years then reverts to standard pricing. > > > > > > Dixon. > > > > > > ======= At 2004-09-03, 22:24:00 you wrote: ======= > > > > > > >Dixon: > > > > > > > >This is the Microsoft deal I was looking at. How's this compare to > > > >the Action Pack? > > > > > > > >Rocky > > > > > > > >----- Original Message ----- > > > >From: "William Hindman" > > > >To: "'Steven W. Erbach'" > > > >Cc: ; ; > > > >; ; > > > >Sent: Monday, July 26, 2004 10:42 AM > > > >Subject: ...holy smoly!!! > > > > > > > > > > > > > > >http://members.microsoft.com/partner/competency/isvcomp/empower/default > >.asp > > x > > > >#P59_3411 > > > > > > > >....check this out ...a full MSDN Universal Subscription for only > > $375.00! > > > > > > > >....from Microsoft themselves! > > > > > > > >....that's an incredible price when you consider it includes > > > >virtually > > every > > > >piece of Microsoft software except maybe Flight simulator ...plus > umpteen > > > >developer aids and CD updates every month ...plus five user > > > >licenses. > > > > > > > >....all you have to do is register as a partner (very easy, no > > > >cost) > and > > > >PROMISE to develop an application for a market of your choice. > > > > > > > >....and they'll let you do this for two years before moving you up > > > >to > > regular > > > >pricing. > > > > > > > >William Hindman > > > > > > > > > > > > > > > >. > > > > > > = = = = = = = = = = = = = = = = = = = = > > > > > > > > > > > > > > > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Sep 4 19:59:50 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 05 Sep 2004 10:59:50 +1000 Subject: [AccessD] Import columns In-Reply-To: <16154.216.223.34.13.1094341710.squirrel@heck.xuppa.com> References: Message-ID: <413AF1A6.26310.4C93E5A@lexacorp.com.pg> On 4 Sep 2004 at 19:48, Oleg_123 at xuppa.com wrote: > Hey Group, happy holidays fro those of u in US. I am supposed to count the > number of columns and based on the result import the data into a table > with month names. The last column always contains December > Am I on the right track ? Sounds like someone wants a homework assignment done for them :-) -- Stuart From bchacc at san.rr.com Sat Sep 4 23:15:24 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 4 Sep 2004 21:15:24 -0700 Subject: [AccessD] OpenForm gets cancelled References: <000001c47a7e$ca728fb0$d8bd3ac8@ralf> Message-ID: <017001c492fe$f80433f0$6601a8c0@HAL9002> Ralf: Sounds like something is going wrong in frmForm. Can you open it in form view from the database container? Can you do a "compile all" without a compile error? Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "Ralf Lister" To: "Access Developers discussion and problem solving" Sent: Wednesday, August 04, 2004 4:51 PM Subject: [AccessD] OpenForm gets cancelled Hello all, I have a weird problem: In one of my forms I have coded "DoCmd.Openform "frmForm"". But everytime I try to execute this Code I get the message "Error message 2501 at run time. The action OpenForm was cancelled". Can someone help me out, so I can perform the OpenForm-Command. TIA Saludos Ralf -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Sep 5 04:22:45 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 5 Sep 2004 11:22:45 +0200 Subject: [AccessD] Remote Desktop Connection Client 1.0.2 for Mac OS X In-Reply-To: References: <6826407592.20040827181338@cactus.dk> <15718612102.20040903172429@cactus.dk> Message-ID: <114417632.20040905112245@cactus.dk> Hi Francisco Remote control is not what I had in mind. A terminal server allows, say, ten users to access your Access app concurrently - and those ten users could be powered by a Macintosh. /gustav > Date: 2004-09-04 18:04 > I currently do not have a need for Mac desktop connectivity... but for > all my Windoze system I use UltraVNC, and for Other platforms I use > RealVNC. > you can google for either... >> No comments on this? >> Looks like an easy way to bring your app to the desktop of a Mac user. >> >> /gustav >> >> > Anyone having experiences with this, running Access or anything else? >> >> > http://www.microsoft.com/mac/downloads.aspx?pid=download&location=/mac/DOWNLOAD/MISC/RDC.xml&secid=80&ssid=9&flgnosysreq=False >> >> > If connecting to a Terminal Server what are the licensing for this >> > for, say, 10 users? What that be a Windows 2003 server with 10 CALs? From Erwin.Craps at ithelps.be Sun Sep 5 04:42:24 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Sun, 5 Sep 2004 11:42:24 +0200 Subject: [AccessD] Reader for .MSG files. Message-ID: <46B976F2B698FF46A4FE7636509B22DF734D@stekelbes.ithelps.local> That seems to be it... No price, no eval. Requested info.. Thx Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Stuart McLachlan Verzonden: zaterdag 4 september 2004 2:06 Aan: Access Developers discussion and problemsolving Onderwerp: RE: [AccessD] Reader for .MSG files. On 3 Sep 2004 at 8:40, Erwin Craps - IT Helps wrote: > And it really must be a simple viewer like The Access Snapshot viewer > (for example). > Just by doubleclicking on the .MSG file the content must displayed and > the Excel file in the .MSG file can be opened directly like in > outlook... > Take a look at http://www.priasoft.com/products_msg_v.asp "MSG File Viewer is a convenient application for opening MSG files and reading, printing, or viewing the attachments within. MSG Viewer also has a lightning fast search utility to allow you to find MSG files that meet specific attributes and then open them in the Viewer." -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Sep 5 04:54:15 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 05 Sep 2004 19:54:15 +1000 Subject: [AccessD] Reader for .MSG files. In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF734D@stekelbes.ithelps.local> Message-ID: <413B6EE7.25507.6B28367@lexacorp.com.pg> On 5 Sep 2004 at 11:42, Erwin Craps - IT Helps wrote: > That seems to be it... > > No price, no eval. > Requested info.. > There was a page to request an evaluation copy (after you have told them your life history) http://www.priasoft.com/evaluation.asp -- Stuart From Erwin.Craps at ithelps.be Sun Sep 5 04:58:50 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Sun, 5 Sep 2004 11:58:50 +0200 Subject: [AccessD] Reader for .MSG files. Message-ID: <46B976F2B698FF46A4FE7636509B22DF7350@stekelbes.ithelps.local> Yes I seen it and told them the story of my life... I should be getting it for free, for compassion now :-) -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Stuart McLachlan Verzonden: zondag 5 september 2004 11:54 Aan: Access Developers discussion and problemsolving Onderwerp: RE: [AccessD] Reader for .MSG files. On 5 Sep 2004 at 11:42, Erwin Craps - IT Helps wrote: > That seems to be it... > > No price, no eval. > Requested info.. > There was a page to request an evaluation copy (after you have told them your life history) http://www.priasoft.com/evaluation.asp -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Sep 5 06:22:50 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 5 Sep 2004 13:22:50 +0200 Subject: [AccessD] Import columns In-Reply-To: <16154.216.223.34.13.1094341710.squirrel@heck.xuppa.com> References: <16154.216.223.34.13.1094341710.squirrel@heck.xuppa.com> Message-ID: <5211622762.20040905132250@cactus.dk> Hi Oleg Assuming that your 12 fields are juxtaposed, why not just loop through the records and the fields: Public Function AppendRecords() ' First field of source table to pick data. Const clngRst1Offset As Long = 4 ' Adjust! ' First field of target table to insert data. Const clngRst2Offset As Long = 1 ' Adjust! ' Max count of fields to use in target table. Const clngRst2Max As Long = 12 Dim cnn As ADODB.Connection Dim rst1 As ADODB.Recordset Dim rst2 As ADODB.Recordset Dim strSQL1 As String Dim strSQL2 As String Dim lngField1 As Long Dim lngField2 As Long Dim lngField As Long Set cnn = CurrentProject.Connection Set rst1 = New ADODB.Recordset Set rst2 = New ADODB.Recordset strSQL1 = "Select * From Hrsqd" strSQL2 = "Select Top 1 * From Hrsqd_Full" rst1.Open strSQL1, cnn, adOpenKeyset, adLockOptimistic, adCmdTableDirect rst2.Open strSQL2, cnn, adOpenKeyset, adLockOptimistic, adCmdTableDirect ' Number of fields to pick from source table. lngField1 = rst1.Fields.Count - clngRst1Offset ' First field in target table to insert data. lngField2 = clngRst2Offset + clngRst2Max - lngField1 Do While Not rst1.EOF rst2.AddNew For lngField = 0 To lngField1 - 1 rst2.Fields(lngField2 + lngField).Value = _ rst1.Fields(clngRst1Offset + lngField).Value Next rst2.Update rst1.MoveNext Loop rst2.Close rst1.Close Set rst2 = Nothing Set rst1 = Nothing Set cnn = Nothing End Function /gustav > Hey Group, happy holidays fro those of u in US. I am supposed to count the > number of columns and based on the result import the data into a table > with month names. The last column always contains December > Am I on the right track ? > This is what I've done so far --- > Private Sub Command1_Click() > Dim cnn As ADODB.Connection > Dim rst1 As New ADODB.Recordset > Dim SQL1 As String, SQL2 As String > Dim a As Integer 'number of columns > Dim b As Integer > Dim Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec > Set cnn = CurrentProject.Connection > SQL1 = "Select * From Hrsqd" > rst1.Open SQL1, cnn, adOpenKeyset, adLockOptimistic, adCmdTableDirect > a = rst1.Fields.Count 'number of fields > b = a - 2 ' number of month fields > If b = 6 Then 'Jul - Dec > Do Until rst1.EOF > Jul = rst1.Fields(3) > Aug = rst1.Fields(4) > Sep = rst1.Fields(5) > Oct = rst1.Fields(6) > Nov = rst1.Fields(7) > Dec = rst1.Fields(8) > Loop > End If > If b = 5 Then 'Aug - Dec > Do Until rst1.EOF > Aug = rst1.Fields(3) > Sep = rst1.Fields(4) > Oct = rst1.Fields(5) > Nov = rst1.Fields(6) > Dec = rst1.Fields(7) > Loop > End If > If b = 4 Then 'Sep - Dec > Do Until rst1.EOF > Sep = rst1.Fields(3) > Oct = rst1.Fields(4) > Nov = rst1.Fields(5) > Dec = rst1.Fields(6) > Loop > End If > rst1.Close > SQL2 = "INSERT Into HRSQD_Full (Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, > Sep, Oct, Nov, Dec) Values (" & Jan & "," & Feb & "," & Mar & "," & Apr & > "," & May & "," & Jun & "," & Jul & "," & Aug & "," & Sep & "," & Oct & > "," & Nov & "," & Dec & ")" > MsgBox a > End Sub From fhtapia at gmail.com Sun Sep 5 11:15:28 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Sun, 5 Sep 2004 09:15:28 -0700 Subject: [AccessD] Remote Desktop Connection Client 1.0.2 for Mac OS X In-Reply-To: <114417632.20040905112245@cactus.dk> References: <6826407592.20040827181338@cactus.dk> <15718612102.20040903172429@cactus.dk> <114417632.20040905112245@cactus.dk> Message-ID: haha, i misunderstood, it did say Remote Desktop Connection On Sun, 5 Sep 2004 11:22:45 +0200, Gustav Brock wrote: > Hi Francisco > > Remote control is not what I had in mind. > > A terminal server allows, say, ten users to access your Access app > concurrently - and those ten users could be powered by a Macintosh. > > /gustav > > > Date: 2004-09-04 18:04 > > > > > I currently do not have a need for Mac desktop connectivity... but for > > all my Windoze system I use UltraVNC, and for Other platforms I use > > RealVNC. > > > you can google for either... > > >> No comments on this? > >> Looks like an easy way to bring your app to the desktop of a Mac user. > >> > >> /gustav > >> > >> > Anyone having experiences with this, running Access or anything else? > >> > >> > http://www.microsoft.com/mac/downloads.aspx?pid=download&location=/mac/DOWNLOAD/MISC/RDC.xml&secid=80&ssid=9&flgnosysreq=False > >> > >> > If connecting to a Terminal Server what are the licensing for this > >> > for, say, 10 users? What that be a Windows 2003 server with 10 CALs? > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From bchacc at san.rr.com Sun Sep 5 11:28:55 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 5 Sep 2004 09:28:55 -0700 Subject: [AccessD] Keyboard Shortcut for comments Message-ID: <004d01c49365$704cd540$6601a8c0@HAL9002> Dear List: On the edit toolbar there are icons for commenting and uncommenting blocks of code. Is there a keyboard shortcut for these? MTIA Rocky Smolin Beach Access Software http://www.e-z-mrp.com From gustav at cactus.dk Sun Sep 5 11:29:41 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 5 Sep 2004 18:29:41 +0200 Subject: [AccessD] Remote Desktop Connection Client 1.0.2 for Mac OS X In-Reply-To: References: <6826407592.20040827181338@cactus.dk> <15718612102.20040903172429@cactus.dk> <114417632.20040905112245@cactus.dk> Message-ID: <8030033395.20040905182941@cactus.dk> Hi Francisco > haha, i misunderstood, it did say Remote Desktop Connection Yes, however, subject is the official name from MS. /gustav > On Sun, 5 Sep 2004 11:22:45 +0200, Gustav Brock wrote: >> Hi Francisco >> >> Remote control is not what I had in mind. >> >> A terminal server allows, say, ten users to access your Access app >> concurrently - and those ten users could be powered by a Macintosh. >> >> /gustav From fhtapia at gmail.com Sun Sep 5 11:52:59 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Sun, 5 Sep 2004 09:52:59 -0700 Subject: [AccessD] Remote Desktop Connection Client 1.0.2 for Mac OS X In-Reply-To: <8030033395.20040905182941@cactus.dk> References: <6826407592.20040827181338@cactus.dk> <15718612102.20040903172429@cactus.dk> <114417632.20040905112245@cactus.dk> <8030033395.20040905182941@cactus.dk> Message-ID: i went back to re-read this and it looks like it's more for just Remote Desktop vs, Terminal Services. Am I mis-reading it? and since we're on the topic of MACs, I've Never been a mac user/lover but I saw their NEW imac G5's man what an awesome looking pc. Sure no expandability, but it IS nice, maybe for the wife :D. On Sun, 5 Sep 2004 18:29:41 +0200, Gustav Brock wrote: > Hi Francisco > > > haha, i misunderstood, it did say Remote Desktop Connection > > Yes, however, subject is the official name from MS. > > /gustav > > > > > > On Sun, 5 Sep 2004 11:22:45 +0200, Gustav Brock wrote: > >> Hi Francisco > >> > >> Remote control is not what I had in mind. > >> > >> A terminal server allows, say, ten users to access your Access app > >> concurrently - and those ten users could be powered by a Macintosh. > >> > >> /gustav > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From gustav at cactus.dk Sun Sep 5 12:09:11 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 5 Sep 2004 19:09:11 +0200 Subject: [AccessD] Remote Desktop Connection Client 1.0.2 for Mac OS X In-Reply-To: References: <6826407592.20040827181338@cactus.dk> <15718612102.20040903172429@cactus.dk> <114417632.20040905112245@cactus.dk> <8030033395.20040905182941@cactus.dk> Message-ID: <6632403343.20040905190911@cactus.dk> Hi Francisco > i went back to re-read this and it looks like it's more for just > Remote Desktop vs, Terminal Services. Am I mis-reading it? No, that's right. It's a client which will open a window on the Mac with a Windows Terminal Server session. Within this you can offer the Mac user to run your Access app off the Terminal Server without installing anything else on the Mac than this client. (You probably know all this, but it may be new stuff for someone else following this thread). I'm no Mac-fan but if clients wish to pay for a Terminal Server setup, I don't mind as long as it works reliably. /gustav From EricGoetz at egisystems.com Sun Sep 5 12:57:33 2004 From: EricGoetz at egisystems.com (Eric Goetz) Date: Sun, 5 Sep 2004 10:57:33 -0700 Subject: [AccessD] Can you Raid Message-ID: <37E09725C7EB7B4F9E1ACA8F24EE55DB203C6C@servera22.doma.ops> Hi John, I've worked with Windows 2000 Server software RAID 1. I've found that I could take either drive out, and boot off the other one. I wanted to go through the process of recovering from a failed drive before I had one. To get the system to boot off the drive in the second slot, I used a boot floppy with a boot.ini file that specified both slots as having an OS. I found that once I booted from one of the mirrored disks, I could not just put the other one back in and have a happy day. I needed to wipe the drive and rebuild the mirror. I used MS knowledge base article 311578, How to Edit the Boot.ini File in Windows 2000 for help. I think I'll use this idea for those systems where I can't get the right disk controller drivers for Ghost to work. I hope this helps you out. Thanks, Eric -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Saturday, September 04, 2004 10:17 AM To: AccessD; Tech - Database Advisors Inc. Subject: [AccessD] Can you Raid Does anyone know if you can use Windows built-in raid capability to set up a raid 1 (mirror) then break the raid and move the mirror to another identical machine as the boot drive? I have a pair of MSI k8n Neo motherboards that I purchased. I have a pair of 80 gb samsung drives in one machine that I have just finished setting up. I need to create an image of that setup and move that image to the other machine. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sun Sep 5 13:03:20 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 05 Sep 2004 11:03:20 -0700 Subject: [AccessD] Info Sample Data Models References: <000001c47a7e$ca728fb0$d8bd3ac8@ralf> <017001c492fe$f80433f0$6601a8c0@HAL9002> Message-ID: <413B54E8.20302@shaw.ca> Just something I re-rembered from a couple of years ago. This site is useful if you have to pull up a quick starting point data model for a client. Maybe someone will find useful. It has several hundred examples that you can mix and match. there are several hundred examples from Afghan rainfall to Zoos These include things like customer service, BOM and pizza delivery. There are small examples to handle things that might get complicated like traditional and contemporary marriage or customer metrics. http://www.databaseanswers.org/data_models/index.htm -- Marty Connelly Victoria, B.C. Canada From EricGoetz at egisystems.com Sun Sep 5 13:32:32 2004 From: EricGoetz at egisystems.com (Eric Goetz) Date: Sun, 5 Sep 2004 11:32:32 -0700 Subject: [AccessD] Parts and assemblies design Message-ID: <37E09725C7EB7B4F9E1ACA8F24EE55DB203C6D@servera22.doma.ops> Hi, I am working on a database to replace some paper forms. I get the feeling I'm starting more "from scratch" than I need to. So I thought I'd ask if anyone knows of any examples of solutions for the following problem. A medical device manufacturer needs to track all the actions performed on each device as it moves through manufacturing to meet FDA requirements. The forms are called "travelers." The first traveler gets created when the device is built. A new traveler gets created every time the device returns from the field (for upgrade or repair.) The forms show each part with its revision, part number, lot number, or other attribute. There are different attributes for different types of parts. Such as, software has a checksum, and a revision number while a relay has does not. Instead, a relay has a lot number. Here are a couple of my challenges: I am modeling parts and assemblies, where an assembly is also a part. As the devices come back from the field, they may get upgraded with different parts and assemblies so the hierarchy is flexible. There seems to be a many to many relationship between parts and assemblies. So, I made a basic parts table: Part { ID, PartNumber, Name } where ID is the primary key Sample data: { 1, 26.026, Enclosure } { 57, 26.002, PCA } { 113, 26.100, ECA } { 114, 26.098, Xfrm } { 115, 26.022, Xfrm } { 116, 26.021, Xfrm } And I made another table to hold the many to many assignments between parts and assemblies. AssyPartAssignment { ID, AssyID, PartID, Name } where ID is the primary key and AssyID and PartID are foreign keys for the ID in the Part table. Sample data: { 1, 113, 57, Controller PCA } { 2, 113, 1, ECA Enclosure } { 3, 57, 114, Xfrm T1 } { 4, 57, 115, Xfrm T2 } { 5, 57, 116, Xfrm T3 } { 6, 57, 115, Xfrm T4 } The report needs to show this hierarchy. 26.100 - ECA 26.026 - ECA Enclosure 26.002 - Controller PCA 26.098 - Xfrm T1 26.022 - Xfrm T2 26.021 - Xfrm T3 26.022 - Xfrm T4 The same transformer, 26.022 shows up twice in the PCA assembly. I'll build more tables for the different attributes of parts, such as, software with its checksum, and parts that have only lots, and parts that have revisions and lots. I'll use the ID key from the Part table as the primary key for the subtype tables based on the entity relationship chapter from the CJDate book. I need to make the forms to enter these variable hierarchies. Got any suggestions that might put a little more holiday in my Labor Day? Thanks, Eric From EricGoetz at egisystems.com Sun Sep 5 13:36:27 2004 From: EricGoetz at egisystems.com (Eric Goetz) Date: Sun, 5 Sep 2004 11:36:27 -0700 Subject: [AccessD] Info Sample Data Models Message-ID: <37E09725C7EB7B4F9E1ACA8F24EE55DB203C6E@servera22.doma.ops> Hi, I wish I would have seen this before I posted that long request for design help. Thanks, Eric c: (408) 892-7491 -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Sunday, September 05, 2004 11:03 AM To: Access Developers discussion and problem solving Subject: [AccessD] Info Sample Data Models Just something I re-rembered from a couple of years ago. This site is useful if you have to pull up a quick starting point data model for a client. Maybe someone will find useful. It has several hundred examples that you can mix and match. there are several hundred examples from Afghan rainfall to Zoos These include things like customer service, BOM and pizza delivery. There are small examples to handle things that might get complicated like traditional and contemporary marriage or customer metrics. http://www.databaseanswers.org/data_models/index.htm -- Marty Connelly Victoria, B.C. Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Sep 5 14:02:34 2004 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 5 Sep 2004 14:02:34 -0500 Subject: [AccessD] Parts and assemblies design In-Reply-To: <25833773.1094409795534.JavaMail.root@sniper7.usinternet.com> Message-ID: <000201c4937a$e7497260$de1811d8@danwaters> Eric, You are getting into the basics of a Material Resource Planning system (MRP). You are making a Bill of Material (BOM) structure. I would recommend that you find some examples of these before you do much more work. (Sorry I can't give you direction on this.) I suspect though, that using many-to-many relationships are not what you will want. Also, since you are developing a system for a medical device company, you must be very familiar with the FDA's rule on electronic records and signatures. This is called Title 21 CFR Part 11. Much information is on the FDA's website, http://www.accessdata.fda.gov/scripts/cdrh/cfdocs/cfcfr/CFRSearch.cfm?CFRPar t=11 Also, there are some guidance documents issued by the FDA over the past couple of years that will have an impact on what you're doing. The Regulatory Manager at your company should be able to give you more information. Best of Luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Goetz Sent: Sunday, September 05, 2004 1:33 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Parts and assemblies design Hi, I am working on a database to replace some paper forms. I get the feeling I'm starting more "from scratch" than I need to. So I thought I'd ask if anyone knows of any examples of solutions for the following problem. A medical device manufacturer needs to track all the actions performed on each device as it moves through manufacturing to meet FDA requirements. The forms are called "travelers." The first traveler gets created when the device is built. A new traveler gets created every time the device returns from the field (for upgrade or repair.) The forms show each part with its revision, part number, lot number, or other attribute. There are different attributes for different types of parts. Such as, software has a checksum, and a revision number while a relay has does not. Instead, a relay has a lot number. Here are a couple of my challenges: I am modeling parts and assemblies, where an assembly is also a part. As the devices come back from the field, they may get upgraded with different parts and assemblies so the hierarchy is flexible. There seems to be a many to many relationship between parts and assemblies. So, I made a basic parts table: Part { ID, PartNumber, Name } where ID is the primary key Sample data: { 1, 26.026, Enclosure } { 57, 26.002, PCA } { 113, 26.100, ECA } { 114, 26.098, Xfrm } { 115, 26.022, Xfrm } { 116, 26.021, Xfrm } And I made another table to hold the many to many assignments between parts and assemblies. AssyPartAssignment { ID, AssyID, PartID, Name } where ID is the primary key and AssyID and PartID are foreign keys for the ID in the Part table. Sample data: { 1, 113, 57, Controller PCA } { 2, 113, 1, ECA Enclosure } { 3, 57, 114, Xfrm T1 } { 4, 57, 115, Xfrm T2 } { 5, 57, 116, Xfrm T3 } { 6, 57, 115, Xfrm T4 } The report needs to show this hierarchy. 26.100 - ECA 26.026 - ECA Enclosure 26.002 - Controller PCA 26.098 - Xfrm T1 26.022 - Xfrm T2 26.021 - Xfrm T3 26.022 - Xfrm T4 The same transformer, 26.022 shows up twice in the PCA assembly. I'll build more tables for the different attributes of parts, such as, software with its checksum, and parts that have only lots, and parts that have revisions and lots. I'll use the ID key from the Part table as the primary key for the subtype tables based on the entity relationship chapter from the CJDate book. I need to make the forms to enter these variable hierarchies. Got any suggestions that might put a little more holiday in my Labor Day? Thanks, Eric -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Sun Sep 5 14:17:43 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 5 Sep 2004 12:17:43 -0700 Subject: [AccessD] Parts and assemblies design References: <37E09725C7EB7B4F9E1ACA8F24EE55DB203C6D@servera22.doma.ops> Message-ID: <00aa01c4937d$054f61a0$6601a8c0@HAL9002> Eric: Shameless plug for my manufacturing system. You can check it out at www.ezmrp.com It will do the structured bills of material that they need. I just added a Capacity Requirements Planning module to the system which does not yet show on the web site however. In the CRP module you define work centers and then add routings for each assembly - queue time, set up time and unit run time for each operation. Although it's not part of their immediate requirement, as a bonus, the CRP Calculate program will calculate how much of each work center's capacity is being used every day. Once they have that database built, since EZMRP is written in Access, and since the back end is wide open, you could easily write a report in their custom format, although E-Z-MRP does have a traveler report which shows the start date for each operation based on a specific work order, that work order's due date, and the assembly's lead time and, actually, the report you model there looks mostly like an indented bill of materials, which, of course, E-Z-MRP does. Starting with E-Z-MRP's framework might save you a LOT of development time. (BTW, the audit trail that it produces on each inventory transaction, to which you can attach a serial or lot number, also goes along way towards satisfying FDA requirements.) If you're interested after checking the web site, please contact me off-line at bchacc at san.rr.com and I'll give you a system to evaluate. Or call if you want to talk about it - 858-259-4334. HTH Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "Eric Goetz" To: Sent: Sunday, September 05, 2004 11:32 AM Subject: [AccessD] Parts and assemblies design Hi, I am working on a database to replace some paper forms. I get the feeling I'm starting more "from scratch" than I need to. So I thought I'd ask if anyone knows of any examples of solutions for the following problem. A medical device manufacturer needs to track all the actions performed on each device as it moves through manufacturing to meet FDA requirements. The forms are called "travelers." The first traveler gets created when the device is built. A new traveler gets created every time the device returns from the field (for upgrade or repair.) The forms show each part with its revision, part number, lot number, or other attribute. There are different attributes for different types of parts. Such as, software has a checksum, and a revision number while a relay has does not. Instead, a relay has a lot number. Here are a couple of my challenges: I am modeling parts and assemblies, where an assembly is also a part. As the devices come back from the field, they may get upgraded with different parts and assemblies so the hierarchy is flexible. There seems to be a many to many relationship between parts and assemblies. So, I made a basic parts table: Part { ID, PartNumber, Name } where ID is the primary key Sample data: { 1, 26.026, Enclosure } { 57, 26.002, PCA } { 113, 26.100, ECA } { 114, 26.098, Xfrm } { 115, 26.022, Xfrm } { 116, 26.021, Xfrm } And I made another table to hold the many to many assignments between parts and assemblies. AssyPartAssignment { ID, AssyID, PartID, Name } where ID is the primary key and AssyID and PartID are foreign keys for the ID in the Part table. Sample data: { 1, 113, 57, Controller PCA } { 2, 113, 1, ECA Enclosure } { 3, 57, 114, Xfrm T1 } { 4, 57, 115, Xfrm T2 } { 5, 57, 116, Xfrm T3 } { 6, 57, 115, Xfrm T4 } The report needs to show this hierarchy. 26.100 - ECA 26.026 - ECA Enclosure 26.002 - Controller PCA 26.098 - Xfrm T1 26.022 - Xfrm T2 26.021 - Xfrm T3 26.022 - Xfrm T4 The same transformer, 26.022 shows up twice in the PCA assembly. I'll build more tables for the different attributes of parts, such as, software with its checksum, and parts that have only lots, and parts that have revisions and lots. I'll use the ID key from the Part table as the primary key for the subtype tables based on the entity relationship chapter from the CJDate book. I need to make the forms to enter these variable hierarchies. Got any suggestions that might put a little more holiday in my Labor Day? Thanks, Eric -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Sep 5 14:38:03 2004 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 5 Sep 2004 14:38:03 -0500 Subject: [AccessD] Parts and assemblies design In-Reply-To: <6691981.1094412411561.JavaMail.root@sniper5.usinternet.com> Message-ID: <000e01c4937f$dc74ac60$de1811d8@danwaters> Hi Rocky! Yes that was shameless. But good! I was wondering if you address electronic signatures, and if so, what's your approach? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Sunday, September 05, 2004 2:18 PM To: Access Developers discussion and problem solving Cc: Tom Hintz Subject: Re: [AccessD] Parts and assemblies design Eric: Shameless plug for my manufacturing system. You can check it out at www.ezmrp.com It will do the structured bills of material that they need. I just added a Capacity Requirements Planning module to the system which does not yet show on the web site however. In the CRP module you define work centers and then add routings for each assembly - queue time, set up time and unit run time for each operation. Although it's not part of their immediate requirement, as a bonus, the CRP Calculate program will calculate how much of each work center's capacity is being used every day. Once they have that database built, since EZMRP is written in Access, and since the back end is wide open, you could easily write a report in their custom format, although E-Z-MRP does have a traveler report which shows the start date for each operation based on a specific work order, that work order's due date, and the assembly's lead time and, actually, the report you model there looks mostly like an indented bill of materials, which, of course, E-Z-MRP does. Starting with E-Z-MRP's framework might save you a LOT of development time. (BTW, the audit trail that it produces on each inventory transaction, to which you can attach a serial or lot number, also goes along way towards satisfying FDA requirements.) If you're interested after checking the web site, please contact me off-line at bchacc at san.rr.com and I'll give you a system to evaluate. Or call if you want to talk about it - 858-259-4334. HTH Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "Eric Goetz" To: Sent: Sunday, September 05, 2004 11:32 AM Subject: [AccessD] Parts and assemblies design Hi, I am working on a database to replace some paper forms. I get the feeling I'm starting more "from scratch" than I need to. So I thought I'd ask if anyone knows of any examples of solutions for the following problem. A medical device manufacturer needs to track all the actions performed on each device as it moves through manufacturing to meet FDA requirements. The forms are called "travelers." The first traveler gets created when the device is built. A new traveler gets created every time the device returns from the field (for upgrade or repair.) The forms show each part with its revision, part number, lot number, or other attribute. There are different attributes for different types of parts. Such as, software has a checksum, and a revision number while a relay has does not. Instead, a relay has a lot number. Here are a couple of my challenges: I am modeling parts and assemblies, where an assembly is also a part. As the devices come back from the field, they may get upgraded with different parts and assemblies so the hierarchy is flexible. There seems to be a many to many relationship between parts and assemblies. So, I made a basic parts table: Part { ID, PartNumber, Name } where ID is the primary key Sample data: { 1, 26.026, Enclosure } { 57, 26.002, PCA } { 113, 26.100, ECA } { 114, 26.098, Xfrm } { 115, 26.022, Xfrm } { 116, 26.021, Xfrm } And I made another table to hold the many to many assignments between parts and assemblies. AssyPartAssignment { ID, AssyID, PartID, Name } where ID is the primary key and AssyID and PartID are foreign keys for the ID in the Part table. Sample data: { 1, 113, 57, Controller PCA } { 2, 113, 1, ECA Enclosure } { 3, 57, 114, Xfrm T1 } { 4, 57, 115, Xfrm T2 } { 5, 57, 116, Xfrm T3 } { 6, 57, 115, Xfrm T4 } The report needs to show this hierarchy. 26.100 - ECA 26.026 - ECA Enclosure 26.002 - Controller PCA 26.098 - Xfrm T1 26.022 - Xfrm T2 26.021 - Xfrm T3 26.022 - Xfrm T4 The same transformer, 26.022 shows up twice in the PCA assembly. I'll build more tables for the different attributes of parts, such as, software with its checksum, and parts that have only lots, and parts that have revisions and lots. I'll use the ID key from the Part table as the primary key for the subtype tables based on the entity relationship chapter from the CJDate book. I need to make the forms to enter these variable hierarchies. Got any suggestions that might put a little more holiday in my Labor Day? Thanks, Eric -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Sun Sep 5 15:05:30 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 5 Sep 2004 13:05:30 -0700 Subject: [AccessD] Parts and assemblies design References: <000e01c4937f$dc74ac60$de1811d8@danwaters> Message-ID: <00cc01c49383$b1c3e220$6601a8c0@HAL9002> Dan: I have no shame. But I also have no electronic signature feature in the system. The system evolved when I first released it (1985) based on what the customers wanted. So I suppose the first customer who needs electronic signatures will get it. But I have no earthly idea how they work. Yet. Rocky ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Sunday, September 05, 2004 12:38 PM Subject: RE: [AccessD] Parts and assemblies design > Hi Rocky! > > Yes that was shameless. But good! > > I was wondering if you address electronic signatures, and if so, what's your > approach? > > Thanks, > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Sunday, September 05, 2004 2:18 PM > To: Access Developers discussion and problem solving > Cc: Tom Hintz > Subject: Re: [AccessD] Parts and assemblies design > > Eric: > > Shameless plug for my manufacturing system. You can check it out at > www.ezmrp.com > > It will do the structured bills of material that they need. > > I just added a Capacity Requirements Planning module to the system which > does not yet show on the web site however. In the CRP module you define > work centers and then add routings for each assembly - queue time, set up > time and unit run time for each operation. Although it's not part of their > immediate requirement, as a bonus, the CRP Calculate program will calculate > how much of each work center's capacity is being used every day. > > Once they have that database built, since EZMRP is written in Access, and > since the back end is wide open, you could easily write a report in their > custom format, although E-Z-MRP does have a traveler report which shows the > start date for each operation based on a specific work order, that work > order's due date, and the assembly's lead time and, actually, the report you > model there looks mostly like an indented bill of materials, which, of > course, E-Z-MRP does. > > Starting with E-Z-MRP's framework might save you a LOT of development time. > (BTW, the audit trail that it produces on each inventory transaction, to > which you can attach a serial or lot number, also goes along way towards > satisfying FDA requirements.) > > If you're interested after checking the web site, please contact me off-line > at bchacc at san.rr.com and I'll give you a system to evaluate. Or call if you > want to talk about it - 858-259-4334. > > HTH > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > > > > ----- Original Message ----- > From: "Eric Goetz" > To: > Sent: Sunday, September 05, 2004 11:32 AM > Subject: [AccessD] Parts and assemblies design > > > Hi, > > > > I am working on a database to replace some paper forms. I get the > feeling I'm starting more "from scratch" than I need to. So I thought > I'd ask if anyone knows of any examples of solutions for the following > problem. > > > > A medical device manufacturer needs to track all the actions performed > on each device as it moves through manufacturing to meet FDA > requirements. The forms are called "travelers." The first traveler gets > created when the device is built. A new traveler gets created every time > the device returns from the field (for upgrade or repair.) > > > > The forms show each part with its revision, part number, lot number, or > other attribute. There are different attributes for different types of > parts. Such as, software has a checksum, and a revision number while a > relay has does not. Instead, a relay has a lot number. > > > > Here are a couple of my challenges: > > > > I am modeling parts and assemblies, where an assembly is also a part. As > the devices come back from the field, they may get upgraded with > different parts and assemblies so the hierarchy is flexible. There seems > to be a many to many relationship between parts and assemblies. So, I > made a basic parts table: > > > > Part { ID, PartNumber, Name } where ID is the primary key > > Sample data: > > { 1, 26.026, Enclosure } > > { 57, 26.002, PCA } > > { 113, 26.100, ECA } > > { 114, 26.098, Xfrm } > > { 115, 26.022, Xfrm } > > { 116, 26.021, Xfrm } > > > > And I made another table to hold the many to many assignments between > parts and assemblies. > > AssyPartAssignment { ID, AssyID, PartID, Name } where ID is the primary > key and AssyID and PartID are foreign keys for the ID in the Part table. > > Sample data: > > { 1, 113, 57, Controller PCA } > > { 2, 113, 1, ECA Enclosure } > > { 3, 57, 114, Xfrm T1 } > > { 4, 57, 115, Xfrm T2 } > > { 5, 57, 116, Xfrm T3 } > > { 6, 57, 115, Xfrm T4 } > > > > The report needs to show this hierarchy. > > 26.100 - ECA > > 26.026 - ECA Enclosure > > 26.002 - Controller PCA > > 26.098 - Xfrm T1 > > 26.022 - Xfrm T2 > > 26.021 - Xfrm T3 > > 26.022 - Xfrm T4 > > > > The same transformer, 26.022 shows up twice in the PCA assembly. > > > > I'll build more tables for the different attributes of parts, such as, > software with its checksum, and parts that have only lots, and parts > that have revisions and lots. I'll use the ID key from the Part table as > the primary key for the subtype tables based on the entity relationship > chapter from the CJDate book. > > > > I need to make the forms to enter these variable hierarchies. > > > > Got any suggestions that might put a little more holiday in my Labor > Day? > > > > Thanks, > > > > Eric > > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From apg at alun.de Sun Sep 5 17:19:02 2004 From: apg at alun.de (alun) Date: Mon, 06 Sep 2004 00:19:02 +0200 Subject: [AccessD] Open a form from a different db In-Reply-To: References: Message-ID: <413B90D6.4020305@alun.de> Paul Rodgers wrote: >I need to open a form from another database. I just can't find it in my >books. Anyone done this simple thing recently please? Cheers >paul > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/2004 > > > > not sure if this is what you're looking for http://www.mvps.org/access/forms/frm0034.htm hth alun From martyconnelly at shaw.ca Sun Sep 5 17:45:45 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 05 Sep 2004 15:45:45 -0700 Subject: [AccessD] Parts and assemblies design References: <000e01c4937f$dc74ac60$de1811d8@danwaters> <00cc01c49383$b1c3e220$6601a8c0@HAL9002> Message-ID: <413B9719.2010207@shaw.ca> This may give you an idea what is involved, It is essentially an envelope around the document with a seal that says it hasn't been modified after signing. If you are looking for signatures either digital or digitized (mouse or stylus) that are FDA approved try things like Pronto from Alphatrust http://www.alphatrust.com/products/pronto/desktop.asp Their other products require IE access to a certificate server at around $250 a month. Getting your own hardware certificate server certified by FDA may start to cost you in $10,000 range. Rocky Smolin - Beach Access Software wrote: >Dan: > >I have no shame. > >But I also have no electronic signature feature in the system. > > The system evolved when I first released it (1985) based on what the >customers wanted. So I suppose the first customer who needs electronic >signatures will get it. But I have no earthly idea how they work. Yet. > >Rocky > >----- Original Message ----- >From: "Dan Waters" >To: "'Access Developers discussion and problem solving'" > >Sent: Sunday, September 05, 2004 12:38 PM >Subject: RE: [AccessD] Parts and assemblies design > > > > >>Hi Rocky! >> >>Yes that was shameless. But good! >> >>I was wondering if you address electronic signatures, and if so, what's >> >> >your > > >>approach? >> >>Thanks, >>Dan Waters >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - >>Beach Access Software >>Sent: Sunday, September 05, 2004 2:18 PM >>To: Access Developers discussion and problem solving >>Cc: Tom Hintz >>Subject: Re: [AccessD] Parts and assemblies design >> >>Eric: >> >>Shameless plug for my manufacturing system. You can check it out at >>www.ezmrp.com >> >>It will do the structured bills of material that they need. >> >>I just added a Capacity Requirements Planning module to the system which >>does not yet show on the web site however. In the CRP module you define >>work centers and then add routings for each assembly - queue time, set up >>time and unit run time for each operation. Although it's not part of >> >> >their > > >>immediate requirement, as a bonus, the CRP Calculate program will >> >> >calculate > > >>how much of each work center's capacity is being used every day. >> >>Once they have that database built, since EZMRP is written in Access, and >>since the back end is wide open, you could easily write a report in their >>custom format, although E-Z-MRP does have a traveler report which shows >> >> >the > > >>start date for each operation based on a specific work order, that work >>order's due date, and the assembly's lead time and, actually, the report >> >> >you > > >>model there looks mostly like an indented bill of materials, which, of >>course, E-Z-MRP does. >> >>Starting with E-Z-MRP's framework might save you a LOT of development >> >> >time. > > >>(BTW, the audit trail that it produces on each inventory transaction, to >>which you can attach a serial or lot number, also goes along way towards >>satisfying FDA requirements.) >> >>If you're interested after checking the web site, please contact me >> >> >off-line > > >>at bchacc at san.rr.com and I'll give you a system to evaluate. Or call if >> >> >you > > >>want to talk about it - 858-259-4334. >> >>HTH >> >>Rocky Smolin >>Beach Access Software >>http://www.e-z-mrp.com >> >> >> >> >>----- Original Message ----- >>From: "Eric Goetz" >>To: >>Sent: Sunday, September 05, 2004 11:32 AM >>Subject: [AccessD] Parts and assemblies design >> >> >>Hi, >> >> >> >>I am working on a database to replace some paper forms. I get the >>feeling I'm starting more "from scratch" than I need to. So I thought >>I'd ask if anyone knows of any examples of solutions for the following >>problem. >> >> >> >>A medical device manufacturer needs to track all the actions performed >>on each device as it moves through manufacturing to meet FDA >>requirements. The forms are called "travelers." The first traveler gets >>created when the device is built. A new traveler gets created every time >>the device returns from the field (for upgrade or repair.) >> >> >> >>The forms show each part with its revision, part number, lot number, or >>other attribute. There are different attributes for different types of >>parts. Such as, software has a checksum, and a revision number while a >>relay has does not. Instead, a relay has a lot number. >> >> >> >>Here are a couple of my challenges: >> >> >> >>I am modeling parts and assemblies, where an assembly is also a part. As >>the devices come back from the field, they may get upgraded with >>different parts and assemblies so the hierarchy is flexible. There seems >>to be a many to many relationship between parts and assemblies. So, I >>made a basic parts table: >> >> >> >>Part { ID, PartNumber, Name } where ID is the primary key >> >>Sample data: >> >>{ 1, 26.026, Enclosure } >> >>{ 57, 26.002, PCA } >> >>{ 113, 26.100, ECA } >> >>{ 114, 26.098, Xfrm } >> >>{ 115, 26.022, Xfrm } >> >>{ 116, 26.021, Xfrm } >> >> >> >>And I made another table to hold the many to many assignments between >>parts and assemblies. >> >>AssyPartAssignment { ID, AssyID, PartID, Name } where ID is the primary >>key and AssyID and PartID are foreign keys for the ID in the Part table. >> >>Sample data: >> >>{ 1, 113, 57, Controller PCA } >> >>{ 2, 113, 1, ECA Enclosure } >> >>{ 3, 57, 114, Xfrm T1 } >> >>{ 4, 57, 115, Xfrm T2 } >> >>{ 5, 57, 116, Xfrm T3 } >> >>{ 6, 57, 115, Xfrm T4 } >> >> >> >>The report needs to show this hierarchy. >> >>26.100 - ECA >> >> 26.026 - ECA Enclosure >> >> 26.002 - Controller PCA >> >> 26.098 - Xfrm T1 >> >> 26.022 - Xfrm T2 >> >> 26.021 - Xfrm T3 >> >> 26.022 - Xfrm T4 >> >> >> >>The same transformer, 26.022 shows up twice in the PCA assembly. >> >> >> >>I'll build more tables for the different attributes of parts, such as, >>software with its checksum, and parts that have only lots, and parts >>that have revisions and lots. I'll use the ID key from the Part table as >>the primary key for the subtype tables based on the entity relationship >>chapter from the CJDate book. >> >> >> >>I need to make the forms to enter these variable hierarchies. >> >> >> >>Got any suggestions that might put a little more holiday in my Labor >>Day? >> >> >> >>Thanks, >> >> >> >>Eric >> >> >> >> >> >>-- >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>-- >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>-- >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > > -- Marty Connelly Victoria, B.C. Canada From dwaters at usinternet.com Sun Sep 5 19:14:24 2004 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 5 Sep 2004 19:14:24 -0500 Subject: [AccessD] Parts and assemblies design In-Reply-To: <15599640.1094428169881.JavaMail.root@sniper7.usinternet.com> Message-ID: <000601c493a6$77855ee0$de1811d8@danwaters> Marty, I've talked with the FDA and it turns out that they themselves do not certify anything related to electronic signatures or records. The FDA does certify an individual company's usage of such software or hardware. This means that if a company like Alphatrust says that they have been certified by the FDA, they really mean that they have a customer who has been certified by the FDA. The FDA takes this position because what is good for one company may not be good for another, and the FDA cannot apply a 'blanket' approval for any particular mechanism. They also don't want to be in the position of limiting progress in the development of such mechanisms by certifying something, which then becomes the 'only way to go'. So - software developers like us need to work with our customer's Regulatory Managers to find out what the company's requirements actually are. They will get more difficult as the medical device becomes more complicated or more important to saving lives or maintaining health. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Sunday, September 05, 2004 5:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Parts and assemblies design This may give you an idea what is involved, It is essentially an envelope around the document with a seal that says it hasn't been modified after signing. If you are looking for signatures either digital or digitized (mouse or stylus) that are FDA approved try things like Pronto from Alphatrust http://www.alphatrust.com/products/pronto/desktop.asp Their other products require IE access to a certificate server at around $250 a month. Getting your own hardware certificate server certified by FDA may start to cost you in $10,000 range. Rocky Smolin - Beach Access Software wrote: >Dan: > >I have no shame. > >But I also have no electronic signature feature in the system. > > The system evolved when I first released it (1985) based on what the >customers wanted. So I suppose the first customer who needs electronic >signatures will get it. But I have no earthly idea how they work. Yet. > >Rocky > >----- Original Message ----- >From: "Dan Waters" >To: "'Access Developers discussion and problem solving'" > >Sent: Sunday, September 05, 2004 12:38 PM >Subject: RE: [AccessD] Parts and assemblies design > > > > >>Hi Rocky! >> >>Yes that was shameless. But good! >> >>I was wondering if you address electronic signatures, and if so, what's >> >> >your > > >>approach? >> >>Thanks, >>Dan Waters >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - >>Beach Access Software >>Sent: Sunday, September 05, 2004 2:18 PM >>To: Access Developers discussion and problem solving >>Cc: Tom Hintz >>Subject: Re: [AccessD] Parts and assemblies design >> >>Eric: >> >>Shameless plug for my manufacturing system. You can check it out at >>www.ezmrp.com >> >>It will do the structured bills of material that they need. >> >>I just added a Capacity Requirements Planning module to the system which >>does not yet show on the web site however. In the CRP module you define >>work centers and then add routings for each assembly - queue time, set up >>time and unit run time for each operation. Although it's not part of >> >> >their > > >>immediate requirement, as a bonus, the CRP Calculate program will >> >> >calculate > > >>how much of each work center's capacity is being used every day. >> >>Once they have that database built, since EZMRP is written in Access, and >>since the back end is wide open, you could easily write a report in their >>custom format, although E-Z-MRP does have a traveler report which shows >> >> >the > > >>start date for each operation based on a specific work order, that work >>order's due date, and the assembly's lead time and, actually, the report >> >> >you > > >>model there looks mostly like an indented bill of materials, which, of >>course, E-Z-MRP does. >> >>Starting with E-Z-MRP's framework might save you a LOT of development >> >> >time. > > >>(BTW, the audit trail that it produces on each inventory transaction, to >>which you can attach a serial or lot number, also goes along way towards >>satisfying FDA requirements.) >> >>If you're interested after checking the web site, please contact me >> >> >off-line > > >>at bchacc at san.rr.com and I'll give you a system to evaluate. Or call if >> >> >you > > >>want to talk about it - 858-259-4334. >> >>HTH >> >>Rocky Smolin >>Beach Access Software >>http://www.e-z-mrp.com >> >> >> >> >>----- Original Message ----- >>From: "Eric Goetz" >>To: >>Sent: Sunday, September 05, 2004 11:32 AM >>Subject: [AccessD] Parts and assemblies design >> >> >>Hi, >> >> >> >>I am working on a database to replace some paper forms. I get the >>feeling I'm starting more "from scratch" than I need to. So I thought >>I'd ask if anyone knows of any examples of solutions for the following >>problem. >> >> >> >>A medical device manufacturer needs to track all the actions performed >>on each device as it moves through manufacturing to meet FDA >>requirements. The forms are called "travelers." The first traveler gets >>created when the device is built. A new traveler gets created every time >>the device returns from the field (for upgrade or repair.) >> >> >> >>The forms show each part with its revision, part number, lot number, or >>other attribute. There are different attributes for different types of >>parts. Such as, software has a checksum, and a revision number while a >>relay has does not. Instead, a relay has a lot number. >> >> >> >>Here are a couple of my challenges: >> >> >> >>I am modeling parts and assemblies, where an assembly is also a part. As >>the devices come back from the field, they may get upgraded with >>different parts and assemblies so the hierarchy is flexible. There seems >>to be a many to many relationship between parts and assemblies. So, I >>made a basic parts table: >> >> >> >>Part { ID, PartNumber, Name } where ID is the primary key >> >>Sample data: >> >>{ 1, 26.026, Enclosure } >> >>{ 57, 26.002, PCA } >> >>{ 113, 26.100, ECA } >> >>{ 114, 26.098, Xfrm } >> >>{ 115, 26.022, Xfrm } >> >>{ 116, 26.021, Xfrm } >> >> >> >>And I made another table to hold the many to many assignments between >>parts and assemblies. >> >>AssyPartAssignment { ID, AssyID, PartID, Name } where ID is the primary >>key and AssyID and PartID are foreign keys for the ID in the Part table. >> >>Sample data: >> >>{ 1, 113, 57, Controller PCA } >> >>{ 2, 113, 1, ECA Enclosure } >> >>{ 3, 57, 114, Xfrm T1 } >> >>{ 4, 57, 115, Xfrm T2 } >> >>{ 5, 57, 116, Xfrm T3 } >> >>{ 6, 57, 115, Xfrm T4 } >> >> >> >>The report needs to show this hierarchy. >> >>26.100 - ECA >> >> 26.026 - ECA Enclosure >> >> 26.002 - Controller PCA >> >> 26.098 - Xfrm T1 >> >> 26.022 - Xfrm T2 >> >> 26.021 - Xfrm T3 >> >> 26.022 - Xfrm T4 >> >> >> >>The same transformer, 26.022 shows up twice in the PCA assembly. >> >> >> >>I'll build more tables for the different attributes of parts, such as, >>software with its checksum, and parts that have only lots, and parts >>that have revisions and lots. I'll use the ID key from the Part table as >>the primary key for the subtype tables based on the entity relationship >>chapter from the CJDate book. >> >> >> >>I need to make the forms to enter these variable hierarchies. >> >> >> >>Got any suggestions that might put a little more holiday in my Labor >>Day? >> >> >> >>Thanks, >> >> >> >>Eric >> >> >> >> >> >>-- >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>-- >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>-- >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > > -- Marty Connelly Victoria, B.C. Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Sep 5 20:23:22 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 06 Sep 2004 11:23:22 +1000 Subject: [AccessD] Keyboard Shortcut for comments In-Reply-To: <004d01c49365$704cd540$6601a8c0@HAL9002> Message-ID: <413C48AA.6044.A0516E7@lexacorp.com.pg> On 5 Sep 2004 at 9:28, Rocky Smolin - Beach Access S wrote: > Dear List: > > On the edit toolbar there are icons for commenting and uncommenting blocks of code. Is there a keyboard shortcut for these? > No. You can check by going into the Cutomize dialog for toolbars, selecting options and then selecting "Show shortcut keys in screen tips". Then hoivering over any shortcut item will show the shortcut key if it exists (there are none shown for comment/uncomment) -- Stuart From d.dick at uws.edu.au Sun Sep 5 22:35:54 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Mon, 6 Sep 2004 13:35:54 +1000 Subject: [AccessD] (no subject) Message-ID: <000b01c493c2$9e41fe00$4a619a89@DDICK> Hello all I'm having a little trouble with the syntax of an append SQL string I am setting a string value in code based on a booking ID I want to iterate through all the bookings - get the bookingID and then Append it to a table. Pretty basic, but I can never get the correct 'encasing' of the coded value right. EG where to use quotes, where to use ampersands etc. The code snip below is all cool except for the bit in the SQL where it is putting the coded value into the relevant field in the table, IE after the SELECT portion of the SQL Can anyone tidy this up for me? Many thanks in advance Dim strMyValueAsAString as string strMyValueAsAString = Me.BookingID appSQL = "INSERT INTO tblMyBookings ( BookingIDFromBookingsTable ) " _ & "SELECT " & strMyValueAsAString & " FROM tblMyBookings ;" Have a great day Darren From clh at christopherhawkins.com Sun Sep 5 23:05:52 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Sun, 5 Sep 2004 22:05:52 -0600 Subject: [AccessD] (no subject) Message-ID: <13130-220049164552428@christopherhawkins.com> HI, Darren. You have a few options. YOu can try this: appSQL = "INSERT INTO tblMyBookings ( BookingIDFromBookingsTable ) " _ & "SELECT '" & strMyValueAsAString & "' FROM tblMyBookings ;" Or this: appSQL = "INSERT INTO tblMyBookings ( BookingIDFromBookingsTable ) " _ & "SELECT " & Chr(34) & strMyValueAsAString & Chr(34) & " FROM tblMyBookings ;" Or, if you feel like writing a variable-wrapping function, even this: appSQL = "INSERT INTO tblMyBookings ( BookingIDFromBookingsTable ) " _ & "SELECT " & WrapVar(strMyValueAsAString,"text") & " FROM tblMyBookings ;" ---- Original Message ---- From: d.dick at uws.edu.au To: accessd at databaseadvisors.com, Subject: RE: [AccessD] (no subject) Date: Mon, 6 Sep 2004 13:35:54 +1000 >Hello all >I'm having a little trouble with the syntax of an append SQL string > >I am setting a string value in code based on a booking ID >I want to iterate through all the bookings - get the bookingID >and then Append it to a table. > >Pretty basic, but I can never get the correct 'encasing' of the >coded value right. EG where to use quotes, where to use ampersands >etc. >The code snip below is all cool except for the bit in the SQL where >it is >putting the coded value into the relevant field in the table, IE >after the >SELECT portion >of the SQL > >Can anyone tidy this up for me? > >Many thanks in advance > > >Dim strMyValueAsAString as string > > strMyValueAsAString = Me.BookingID > > appSQL = "INSERT INTO tblMyBookings ( >BookingIDFromBookingsTable >) " _ > & "SELECT " & strMyValueAsAString & " FROM tblMyBookings >;" > >Have a great day > >Darren > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From d.dick at uws.edu.au Sun Sep 5 23:27:45 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Mon, 6 Sep 2004 14:27:45 +1000 Subject: [AccessD] (no subject) In-Reply-To: <13130-220049164552428@christopherhawkins.com> Message-ID: <000e01c493c9$db91c6d0$4a619a89@DDICK> Chris Many thanks I took your first option - works great It was the little apostrophe inside the double quotes I was forgetting Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: Monday, 6 September 2004 2:06 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] (no subject) HI, Darren. You have a few options. YOu can try this: appSQL = "INSERT INTO tblMyBookings ( BookingIDFromBookingsTable ) " _ & "SELECT '" & strMyValueAsAString & "' FROM tblMyBookings ;" Or this: appSQL = "INSERT INTO tblMyBookings ( BookingIDFromBookingsTable ) " _ & "SELECT " & Chr(34) & strMyValueAsAString & Chr(34) & " FROM tblMyBookings ;" Or, if you feel like writing a variable-wrapping function, even this: appSQL = "INSERT INTO tblMyBookings ( BookingIDFromBookingsTable ) " _ & "SELECT " & WrapVar(strMyValueAsAString,"text") & " FROM tblMyBookings ;" ---- Original Message ---- From: d.dick at uws.edu.au To: accessd at databaseadvisors.com, Subject: RE: [AccessD] (no subject) Date: Mon, 6 Sep 2004 13:35:54 +1000 >Hello all >I'm having a little trouble with the syntax of an append SQL string > >I am setting a string value in code based on a booking ID >I want to iterate through all the bookings - get the bookingID >and then Append it to a table. > >Pretty basic, but I can never get the correct 'encasing' of the >coded value right. EG where to use quotes, where to use ampersands >etc. >The code snip below is all cool except for the bit in the SQL where >it is >putting the coded value into the relevant field in the table, IE >after the >SELECT portion >of the SQL > >Can anyone tidy this up for me? > >Many thanks in advance > > >Dim strMyValueAsAString as string > > strMyValueAsAString = Me.BookingID > > appSQL = "INSERT INTO tblMyBookings ( >BookingIDFromBookingsTable >) " _ > & "SELECT " & strMyValueAsAString & " FROM tblMyBookings >;" > >Have a great day > >Darren > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.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 Sun Sep 5 23:30:30 2004 From: actebs at actebs.com.au (ACTEBS) Date: Mon, 6 Sep 2004 14:30:30 +1000 Subject: [AccessD] (no subject) Message-ID: <2025BB6F17FCB54791F23CD505583328041BA4@starfleet.unknown.local> Darren, I wouldn't set it up like this. Try something like this: Dim dbs As dao.Database Dim rstDataToAppend As dao.Recordset Dim rstTableToAppendTo As dao.Recordset Dim strSQLDataForAppend As String strSQLDataForAppend = "SELECT .....Whatever...." Set dbs = CurrentDB() Set rstDataToAppend = dbs.OpenRecordset(strSQLDataForAppend, dbOpenDynaset) Set rstTableToAppendTo = dbs.OpenRecordset("tblYourTableToAppendTo", dbOpenDynaset) Do Until rstDataToAppend.EOF With rstTableToAppendTo .AddNew !Feild1FromTable = rstDataToAppend!Feild1FromRecordset !Feild2FromTable = rstDataToAppend!Feild2FromRecordset etc etc etc.... .Update End With rstDataToAppend.MoveNext Loop rstDataToAppend.Close rstTableToAppendTo.Close Set rstDataToAppend = Nothing Set rstTableToAppendTo = Nothing dbs.close Set dbs = Nothing A good idea is to also check whether the recordset has any data before hand, otheriwse this will throw up an error. Something like: If rstDataToAppend.Recordcount > 0 then Do Until rstDataToAppend.....etc etc etc HTH Regards Vlad Web: www.actebs.com.au -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Monday, 6 September 2004 1:36 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] (no subject) Hello all I'm having a little trouble with the syntax of an append SQL string I am setting a string value in code based on a booking ID I want to iterate through all the bookings - get the bookingID and then Append it to a table. Pretty basic, but I can never get the correct 'encasing' of the coded value right. EG where to use quotes, where to use ampersands etc. The code snip below is all cool except for the bit in the SQL where it is putting the coded value into the relevant field in the table, IE after the SELECT portion of the SQL Can anyone tidy this up for me? Many thanks in advance Dim strMyValueAsAString as string strMyValueAsAString = Me.BookingID appSQL = "INSERT INTO tblMyBookings ( BookingIDFromBookingsTable ) " _ & "SELECT " & strMyValueAsAString & " FROM tblMyBookings ;" Have a great day Darren -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Sep 6 00:26:20 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 5 Sep 2004 22:26:20 -0700 Subject: [AccessD] Parts and assemblies design References: <000e01c4937f$dc74ac60$de1811d8@danwaters> <00cc01c49383$b1c3e220$6601a8c0@HAL9002> <413B9719.2010207@shaw.ca> Message-ID: <012901c493d2$0b17c960$6601a8c0@HAL9002> Hope I don't need it soon. But if I do - you're the man. Rocky ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Sunday, September 05, 2004 3:45 PM Subject: Re: [AccessD] Parts and assemblies design > This may give you an idea what is involved, It is essentially an > envelope around the document > with a seal that says it hasn't been modified after signing. > > If you are looking for signatures either digital or digitized (mouse or > stylus) that are FDA approved > try things like Pronto from Alphatrust > http://www.alphatrust.com/products/pronto/desktop.asp > Their other products require IE access to a certificate server at around > $250 a month. > Getting your own hardware certificate server certified by FDA may start > to cost you in $10,000 range. > > > Rocky Smolin - Beach Access Software wrote: > > >Dan: > > > >I have no shame. > > > >But I also have no electronic signature feature in the system. > > > > The system evolved when I first released it (1985) based on what the > >customers wanted. So I suppose the first customer who needs electronic > >signatures will get it. But I have no earthly idea how they work. Yet. > > > >Rocky > > > >----- Original Message ----- > >From: "Dan Waters" > >To: "'Access Developers discussion and problem solving'" > > > >Sent: Sunday, September 05, 2004 12:38 PM > >Subject: RE: [AccessD] Parts and assemblies design > > > > > > > > > >>Hi Rocky! > >> > >>Yes that was shameless. But good! > >> > >>I was wondering if you address electronic signatures, and if so, what's > >> > >> > >your > > > > > >>approach? > >> > >>Thanks, > >>Dan Waters > >> > >>-----Original Message----- > >>From: accessd-bounces at databaseadvisors.com > >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > >>Beach Access Software > >>Sent: Sunday, September 05, 2004 2:18 PM > >>To: Access Developers discussion and problem solving > >>Cc: Tom Hintz > >>Subject: Re: [AccessD] Parts and assemblies design > >> > >>Eric: > >> > >>Shameless plug for my manufacturing system. You can check it out at > >>www.ezmrp.com > >> > >>It will do the structured bills of material that they need. > >> > >>I just added a Capacity Requirements Planning module to the system which > >>does not yet show on the web site however. In the CRP module you define > >>work centers and then add routings for each assembly - queue time, set up > >>time and unit run time for each operation. Although it's not part of > >> > >> > >their > > > > > >>immediate requirement, as a bonus, the CRP Calculate program will > >> > >> > >calculate > > > > > >>how much of each work center's capacity is being used every day. > >> > >>Once they have that database built, since EZMRP is written in Access, and > >>since the back end is wide open, you could easily write a report in their > >>custom format, although E-Z-MRP does have a traveler report which shows > >> > >> > >the > > > > > >>start date for each operation based on a specific work order, that work > >>order's due date, and the assembly's lead time and, actually, the report > >> > >> > >you > > > > > >>model there looks mostly like an indented bill of materials, which, of > >>course, E-Z-MRP does. > >> > >>Starting with E-Z-MRP's framework might save you a LOT of development > >> > >> > >time. > > > > > >>(BTW, the audit trail that it produces on each inventory transaction, to > >>which you can attach a serial or lot number, also goes along way towards > >>satisfying FDA requirements.) > >> > >>If you're interested after checking the web site, please contact me > >> > >> > >off-line > > > > > >>at bchacc at san.rr.com and I'll give you a system to evaluate. Or call if > >> > >> > >you > > > > > >>want to talk about it - 858-259-4334. > >> > >>HTH > >> > >>Rocky Smolin > >>Beach Access Software > >>http://www.e-z-mrp.com > >> > >> > >> > >> > >>----- Original Message ----- > >>From: "Eric Goetz" > >>To: > >>Sent: Sunday, September 05, 2004 11:32 AM > >>Subject: [AccessD] Parts and assemblies design > >> > >> > >>Hi, > >> > >> > >> > >>I am working on a database to replace some paper forms. I get the > >>feeling I'm starting more "from scratch" than I need to. So I thought > >>I'd ask if anyone knows of any examples of solutions for the following > >>problem. > >> > >> > >> > >>A medical device manufacturer needs to track all the actions performed > >>on each device as it moves through manufacturing to meet FDA > >>requirements. The forms are called "travelers." The first traveler gets > >>created when the device is built. A new traveler gets created every time > >>the device returns from the field (for upgrade or repair.) > >> > >> > >> > >>The forms show each part with its revision, part number, lot number, or > >>other attribute. There are different attributes for different types of > >>parts. Such as, software has a checksum, and a revision number while a > >>relay has does not. Instead, a relay has a lot number. > >> > >> > >> > >>Here are a couple of my challenges: > >> > >> > >> > >>I am modeling parts and assemblies, where an assembly is also a part. As > >>the devices come back from the field, they may get upgraded with > >>different parts and assemblies so the hierarchy is flexible. There seems > >>to be a many to many relationship between parts and assemblies. So, I > >>made a basic parts table: > >> > >> > >> > >>Part { ID, PartNumber, Name } where ID is the primary key > >> > >>Sample data: > >> > >>{ 1, 26.026, Enclosure } > >> > >>{ 57, 26.002, PCA } > >> > >>{ 113, 26.100, ECA } > >> > >>{ 114, 26.098, Xfrm } > >> > >>{ 115, 26.022, Xfrm } > >> > >>{ 116, 26.021, Xfrm } > >> > >> > >> > >>And I made another table to hold the many to many assignments between > >>parts and assemblies. > >> > >>AssyPartAssignment { ID, AssyID, PartID, Name } where ID is the primary > >>key and AssyID and PartID are foreign keys for the ID in the Part table. > >> > >>Sample data: > >> > >>{ 1, 113, 57, Controller PCA } > >> > >>{ 2, 113, 1, ECA Enclosure } > >> > >>{ 3, 57, 114, Xfrm T1 } > >> > >>{ 4, 57, 115, Xfrm T2 } > >> > >>{ 5, 57, 116, Xfrm T3 } > >> > >>{ 6, 57, 115, Xfrm T4 } > >> > >> > >> > >>The report needs to show this hierarchy. > >> > >>26.100 - ECA > >> > >> 26.026 - ECA Enclosure > >> > >> 26.002 - Controller PCA > >> > >> 26.098 - Xfrm T1 > >> > >> 26.022 - Xfrm T2 > >> > >> 26.021 - Xfrm T3 > >> > >> 26.022 - Xfrm T4 > >> > >> > >> > >>The same transformer, 26.022 shows up twice in the PCA assembly. > >> > >> > >> > >>I'll build more tables for the different attributes of parts, such as, > >>software with its checksum, and parts that have only lots, and parts > >>that have revisions and lots. I'll use the ID key from the Part table as > >>the primary key for the subtype tables based on the entity relationship > >>chapter from the CJDate book. > >> > >> > >> > >>I need to make the forms to enter these variable hierarchies. > >> > >> > >> > >>Got any suggestions that might put a little more holiday in my Labor > >>Day? > >> > >> > >> > >>Thanks, > >> > >> > >> > >>Eric > >> > >> > >> > >> > >> > >>-- > >>_______________________________________________ > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >> > >>-- > >>_______________________________________________ > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >> > >>-- > >>_______________________________________________ > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >> > >> > > > > > > > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Mon Sep 6 00:27:28 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 5 Sep 2004 22:27:28 -0700 Subject: [AccessD] Keyboard Shortcut for comments References: <413C48AA.6044.A0516E7@lexacorp.com.pg> Message-ID: <013101c493d2$33406550$6601a8c0@HAL9002> Rats. Another cluttery toolbar. Rocky ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Sunday, September 05, 2004 6:23 PM Subject: Re: [AccessD] Keyboard Shortcut for comments > On 5 Sep 2004 at 9:28, Rocky Smolin - Beach Access S wrote: > > > Dear List: > > > > On the edit toolbar there are icons for commenting and uncommenting blocks of code. Is there a keyboard shortcut for these? > > > > No. > > You can check by going into the Cutomize dialog for toolbars, selecting > options and then selecting "Show shortcut keys in screen tips". > > Then hoivering over any shortcut item will show the shortcut key if it > exists (there are none shown for comment/uncomment) > > > -- > Stuart > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From d.dick at uws.edu.au Mon Sep 6 01:59:40 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Mon, 6 Sep 2004 16:59:40 +1000 Subject: [AccessD] (no subject) In-Reply-To: <2025BB6F17FCB54791F23CD505583328041BA4@starfleet.unknown.local> Message-ID: <000001c493df$153f3330$4a619a89@DDICK> Hi Vlad Many thanks this is cool Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS Sent: Monday, 6 September 2004 2:31 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] (no subject) Darren, I wouldn't set it up like this. Try something like this: Dim dbs As dao.Database Dim rstDataToAppend As dao.Recordset Dim rstTableToAppendTo As dao.Recordset Dim strSQLDataForAppend As String strSQLDataForAppend = "SELECT .....Whatever...." Set dbs = CurrentDB() Set rstDataToAppend = dbs.OpenRecordset(strSQLDataForAppend, dbOpenDynaset) Set rstTableToAppendTo = dbs.OpenRecordset("tblYourTableToAppendTo", dbOpenDynaset) Do Until rstDataToAppend.EOF With rstTableToAppendTo .AddNew !Feild1FromTable = rstDataToAppend!Feild1FromRecordset !Feild2FromTable = rstDataToAppend!Feild2FromRecordset etc etc etc.... .Update End With rstDataToAppend.MoveNext Loop rstDataToAppend.Close rstTableToAppendTo.Close Set rstDataToAppend = Nothing Set rstTableToAppendTo = Nothing dbs.close Set dbs = Nothing A good idea is to also check whether the recordset has any data before hand, otheriwse this will throw up an error. Something like: If rstDataToAppend.Recordcount > 0 then Do Until rstDataToAppend.....etc etc etc HTH Regards Vlad Web: www.actebs.com.au -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Monday, 6 September 2004 1:36 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] (no subject) Hello all I'm having a little trouble with the syntax of an append SQL string I am setting a string value in code based on a booking ID I want to iterate through all the bookings - get the bookingID and then Append it to a table. Pretty basic, but I can never get the correct 'encasing' of the coded value right. EG where to use quotes, where to use ampersands etc. The code snip below is all cool except for the bit in the SQL where it is putting the coded value into the relevant field in the table, IE after the SELECT portion of the SQL Can anyone tidy this up for me? Many thanks in advance Dim strMyValueAsAString as string strMyValueAsAString = Me.BookingID appSQL = "INSERT INTO tblMyBookings ( BookingIDFromBookingsTable ) " _ & "SELECT " & strMyValueAsAString & " FROM tblMyBookings ;" Have a great day Darren -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Paul.Rogers at SummitMedia.co.uk Mon Sep 6 05:39:05 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Mon, 6 Sep 2004 11:39:05 +0100 Subject: [AccessD] Open a form from a different db Message-ID: Many thanks, Alun, very helpful. All the best paul -----Original Message----- From: alun [mailto:apg at alun.de] Sent: 05 September 2004 23:19 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Open a form from a different db --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/2004 From adtp at touchtelindia.net Mon Sep 6 08:52:17 2004 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Mon, 6 Sep 2004 19:22:17 +0530 Subject: [AccessD] Determine current page number of report in preview References: <225449706.20040902101059@cactus.dk> Message-ID: <002301c49418$f3b248d0$d01865cb@winxp> Gustav, It is observed that events generated by a report opened in preview mode, get exhausted in the first forward pass through its pages. As a result, in case of any subsequent navigation through the pages already covered, there is no more firing of any event at all. Values pertaining to Page and CurrentRecord properties of the report remain stuck at the highest value touched (even if the page now being viewed is a lower one in the sequence). In view of the above, any attempt to obtain the current page number (in subsequent passes) from code within the report's module, gets vitiated on account of non-availability of any event that could activate such code. If your situation permits use of code attached to a form, a solution could be worked out, adopting either of the following approaches - (a) Combination of SendKeys method along with API calls. It is based upon the feature that pressing F5 key in the report preview window selects the contents of page counter window at bottom left. (b) Avoiding use of SendKeys by using additional API calls. (In case of (a), the code involved is relatively simple, while (b) might need very bulky & tedious code) I can send you a sample db demonstrating a solution of type (a) above. Your eMail address to be used for this purpose, may please be advised. If you are keen to evolve a solution of type (b) above, you could get some working ideas from the function fTurnPage() at Stephan Leban's site. Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Gustav Brock To: Access Developers discussion and problem solving Sent: Thursday, September 02, 2004 13:40 Subject: [AccessD] Determine current page number of report in preview Hi all (Drew?) How do you catch the current page in preview? Access caches pages while you are browsing forward. Fine, but if the user moves (browses) backwards, the Page property stays on the highest number even though the preview displays the correct lower page number. I guess the only chance would be to catch the current page number from the status line of the preview window but I don't know if that is possible. /gustav From dwaters at usinternet.com Mon Sep 6 09:40:23 2004 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 6 Sep 2004 09:40:23 -0500 Subject: [AccessD] FW: Parts and assemblies design Message-ID: <000901c4941f$712fc6b0$de1811d8@danwaters> Marty, I've talked with the FDA and it turns out that they themselves do not certify anything related to electronic signatures or records. The FDA does certify an individual company's usage of such software or hardware. This means that if a company like Alphatrust says that they have been certified by the FDA, they really mean that they have a customer who has been certified by the FDA. The FDA takes this position because what is good for one company may not be good for another, and the FDA cannot apply a 'blanket' approval for any particular mechanism. They also don't want to be in the position of limiting progress in the development of such mechanisms by certifying something, which then becomes the 'only way to go'. So - software developers like us need to work with our customer's Regulatory Managers to find out what the company's requirements actually are. They will get more difficult as the medical device becomes more complicated or more important to saving lives or maintaining health. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Sunday, September 05, 2004 5:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Parts and assemblies design This may give you an idea what is involved, It is essentially an envelope around the document with a seal that says it hasn't been modified after signing. If you are looking for signatures either digital or digitized (mouse or stylus) that are FDA approved try things like Pronto from Alphatrust http://www.alphatrust.com/products/pronto/desktop.asp Their other products require IE access to a certificate server at around $250 a month. Getting your own hardware certificate server certified by FDA may start to cost you in $10,000 range. Rocky Smolin - Beach Access Software wrote: >Dan: > >I have no shame. > >But I also have no electronic signature feature in the system. > > The system evolved when I first released it (1985) based on what the >customers wanted. So I suppose the first customer who needs electronic >signatures will get it. But I have no earthly idea how they work. Yet. > >Rocky > >----- Original Message ----- >From: "Dan Waters" >To: "'Access Developers discussion and problem solving'" > >Sent: Sunday, September 05, 2004 12:38 PM >Subject: RE: [AccessD] Parts and assemblies design > > > > >>Hi Rocky! >> >>Yes that was shameless. But good! >> >>I was wondering if you address electronic signatures, and if so, what's >> >> >your > > >>approach? >> >>Thanks, >>Dan Waters >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - >>Beach Access Software >>Sent: Sunday, September 05, 2004 2:18 PM >>To: Access Developers discussion and problem solving >>Cc: Tom Hintz >>Subject: Re: [AccessD] Parts and assemblies design >> >>Eric: >> >>Shameless plug for my manufacturing system. You can check it out at >>www.ezmrp.com >> >>It will do the structured bills of material that they need. >> >>I just added a Capacity Requirements Planning module to the system which >>does not yet show on the web site however. In the CRP module you define >>work centers and then add routings for each assembly - queue time, set up >>time and unit run time for each operation. Although it's not part of >> >> >their > > >>immediate requirement, as a bonus, the CRP Calculate program will >> >> >calculate > > >>how much of each work center's capacity is being used every day. >> >>Once they have that database built, since EZMRP is written in Access, and >>since the back end is wide open, you could easily write a report in their >>custom format, although E-Z-MRP does have a traveler report which shows >> >> >the > > >>start date for each operation based on a specific work order, that work >>order's due date, and the assembly's lead time and, actually, the report >> >> >you > > >>model there looks mostly like an indented bill of materials, which, of >>course, E-Z-MRP does. >> >>Starting with E-Z-MRP's framework might save you a LOT of development >> >> >time. > > >>(BTW, the audit trail that it produces on each inventory transaction, to >>which you can attach a serial or lot number, also goes along way towards >>satisfying FDA requirements.) >> >>If you're interested after checking the web site, please contact me >> >> >off-line > > >>at bchacc at san.rr.com and I'll give you a system to evaluate. Or call if >> >> >you > > >>want to talk about it - 858-259-4334. >> >>HTH >> >>Rocky Smolin >>Beach Access Software >>http://www.e-z-mrp.com >> >> >> >> >>----- Original Message ----- >>From: "Eric Goetz" >>To: >>Sent: Sunday, September 05, 2004 11:32 AM >>Subject: [AccessD] Parts and assemblies design >> >> >>Hi, >> >> >> >>I am working on a database to replace some paper forms. I get the >>feeling I'm starting more "from scratch" than I need to. So I thought >>I'd ask if anyone knows of any examples of solutions for the following >>problem. >> >> >> >>A medical device manufacturer needs to track all the actions performed >>on each device as it moves through manufacturing to meet FDA >>requirements. The forms are called "travelers." The first traveler gets >>created when the device is built. A new traveler gets created every time >>the device returns from the field (for upgrade or repair.) >> >> >> >>The forms show each part with its revision, part number, lot number, or >>other attribute. There are different attributes for different types of >>parts. Such as, software has a checksum, and a revision number while a >>relay has does not. Instead, a relay has a lot number. >> >> >> >>Here are a couple of my challenges: >> >> >> >>I am modeling parts and assemblies, where an assembly is also a part. As >>the devices come back from the field, they may get upgraded with >>different parts and assemblies so the hierarchy is flexible. There seems >>to be a many to many relationship between parts and assemblies. So, I >>made a basic parts table: >> >> >> >>Part { ID, PartNumber, Name } where ID is the primary key >> >>Sample data: >> >>{ 1, 26.026, Enclosure } >> >>{ 57, 26.002, PCA } >> >>{ 113, 26.100, ECA } >> >>{ 114, 26.098, Xfrm } >> >>{ 115, 26.022, Xfrm } >> >>{ 116, 26.021, Xfrm } >> >> >> >>And I made another table to hold the many to many assignments between >>parts and assemblies. >> >>AssyPartAssignment { ID, AssyID, PartID, Name } where ID is the primary >>key and AssyID and PartID are foreign keys for the ID in the Part table. >> >>Sample data: >> >>{ 1, 113, 57, Controller PCA } >> >>{ 2, 113, 1, ECA Enclosure } >> >>{ 3, 57, 114, Xfrm T1 } >> >>{ 4, 57, 115, Xfrm T2 } >> >>{ 5, 57, 116, Xfrm T3 } >> >>{ 6, 57, 115, Xfrm T4 } >> >> >> >>The report needs to show this hierarchy. >> >>26.100 - ECA >> >> 26.026 - ECA Enclosure >> >> 26.002 - Controller PCA >> >> 26.098 - Xfrm T1 >> >> 26.022 - Xfrm T2 >> >> 26.021 - Xfrm T3 >> >> 26.022 - Xfrm T4 >> >> >> >>The same transformer, 26.022 shows up twice in the PCA assembly. >> >> >> >>I'll build more tables for the different attributes of parts, such as, >>software with its checksum, and parts that have only lots, and parts >>that have revisions and lots. I'll use the ID key from the Part table as >>the primary key for the subtype tables based on the entity relationship >>chapter from the CJDate book. >> >> >> >>I need to make the forms to enter these variable hierarchies. >> >> >> >>Got any suggestions that might put a little more holiday in my Labor >>Day? >> >> >> >>Thanks, >> >> >> >>Eric >> >> >> >> >> >>-- >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>-- >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>-- >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > > -- Marty Connelly Victoria, B.C. Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lister at actuarial-files.com Mon Sep 6 09:45:50 2004 From: lister at actuarial-files.com (Ralf Lister) Date: Mon, 06 Sep 2004 14:45:50 -0000 Subject: [AccessD] Public Array Message-ID: <000a01c47bc4$0512c860$7abc3ac8@ralf> Hello, In the Declaration section of a form module frmName I declared an array with "Public Container(9) As String". I understood that I have now an Array of 9 String fields. But it doesn't seem to be this way. When I make something like "Container3 = Forms!frmName.Container(3)" in a different form Access gives me an Error Message (# 2465) Can somebody help? TIA Saludos de Bolivia Ralf From gustav at cactus.dk Mon Sep 6 10:19:56 2004 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 6 Sep 2004 17:19:56 +0200 Subject: [AccessD] Public Array In-Reply-To: <000a01c47bc4$0512c860$7abc3ac8@ralf> References: <000a01c47bc4$0512c860$7abc3ac8@ralf> Message-ID: <5330057890.20040906171956@cactus.dk> Hi Ralf It would be Container3 = Container(3) But Container is a reserved word. Pick another. /gustav > In the Declaration section of a form module frmName I declared an array with "Public Container(9) As String". I understood that I have now an Array of 9 String fields. But it doesn't seem to be > this way. > When I make something like "Container3 = Forms!frmName.Container(3)" in a different form Access gives me an Error Message (# 2465) From Subscriptions at servicexp.com Mon Sep 6 16:51:59 2004 From: Subscriptions at servicexp.com (Robert Gracie) Date: Mon, 6 Sep 2004 17:51:59 -0400 Subject: [AccessD] Remove Beginning & Ending Quotes of a string In-Reply-To: <5330057890.20040906171956@cactus.dk> Message-ID: Example "This is a "Fine" Day we are having to day" I need to remove only the first and last quotes. This is a "Fine" Day we are having to day Robert Gracie www.servicexp.com From stuart at lexacorp.com.pg Mon Sep 6 17:17:59 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 07 Sep 2004 08:17:59 +1000 Subject: [AccessD] Remove Beginning & Ending Quotes of a string In-Reply-To: References: <5330057890.20040906171956@cactus.dk> Message-ID: <413D6EB7.24092.E81BB93@lexacorp.com.pg> On 6 Sep 2004 at 17:51, Robert Gracie wrote: > > Example "This is a "Fine" Day we are having to day" > > I need to remove only the first and last quotes. > > This is a "Fine" Day we are having to day > Mid$(myString,2,Len(myString)-2) will drop the first and last character, whatever they are. -- Stuart From Subscriptions at servicexp.com Mon Sep 6 17:27:37 2004 From: Subscriptions at servicexp.com (Robert Gracie) Date: Mon, 6 Sep 2004 18:27:37 -0400 Subject: [AccessD] Remove Beginning & Ending Quotes of a string In-Reply-To: <413D6EB7.24092.E81BB93@lexacorp.com.pg> Message-ID: Thanks Stuart, much cleaner then mine... :-) Private Function ClearQuoutes(ByVal SData As String) As String Dim strTemp As String Dim lngLen As Integer lngLen = Len(SData) If Left(SData, 1) = """" Then strTemp = Left(SData, (lngLen - 1)) strTemp = Right(strTemp, lngLen - 2) ClearQuoutes = strTemp Else ClearQuoutes = SData End If End Function Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Monday, September 06, 2004 6:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Remove Beginning & Ending Quotes of a string On 6 Sep 2004 at 17:51, Robert Gracie wrote: > > Example "This is a "Fine" Day we are having to day" > > I need to remove only the first and last quotes. > > This is a "Fine" Day we are having to day > Mid$(myString,2,Len(myString)-2) will drop the first and last character, whatever they are. -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Sep 6 17:16:03 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 06 Sep 2004 15:16:03 -0700 Subject: [AccessD] Remove Beginning & Ending Quotes of a string In-Reply-To: Message-ID: Hi Robert: Something like: strSentence = ""This is a "Fine" Day we are having to day"" if left(strSentence,1) = chr(34) then strSentence = mid(2,strSentence) if right(strSentence,1) = chr(34) then strSentence = left(strSentence, len(strSentence)-1) ...and that should take care of whether there is a """ or not at the beginning or end as well. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert Gracie Sent: Monday, September 06, 2004 2:52 PM To: Access Developers discussion and problem solving Subject: [AccessD] Remove Beginning & Ending Quotes of a string Example "This is a "Fine" Day we are having to day" I need to remove only the first and last quotes. This is a "Fine" Day we are having to day Robert Gracie www.servicexp.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Mon Sep 6 19:16:52 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Mon, 6 Sep 2004 18:16:52 -0600 Subject: [AccessD] Looping through TableDef.Fields Message-ID: <73950-2200492701652977@christopherhawkins.com> I've done this a thousand time. But right now, I'm full of codeine (broke a toe 30 minutes ago) and cannot think worth squat. Why will this code not work? THe error-causing line is indicated by a ---> [code] Public Sub GetTableInfo(sTableName As String) Dim db As DAO.Database Dim td As DAO.TableDef Dim sSQL As String Dim fld As DAO.Field On Error GoTo Err_GetTableInfo Set db = CurrentDb() Set td = CurrentDb.TableDefs(sTableName) --->For Each fld In td CurrentProject.Connection.Execute "INSERT INTO zTable (TableName, FieldName, Alias, SortOrder) VALUES ('" & sTableName & "', '" & fld.Name & "', '" & fld.Name & "', 0)" Next fld Exit_GetTableInfo: Exit Sub Err_GetTableInfo: MsgBox Err.Description Resume Exit_GetTableInfo End Sub [/code] The marked line causes an "Operation is not supported for this type of object" error. Why? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From jwcolby at colbyconsulting.com Mon Sep 6 20:28:13 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 06 Sep 2004 21:28:13 -0400 Subject: [AccessD] Looping through TableDef.Fields In-Reply-To: <73950-2200492701652977@christopherhawkins.com> Message-ID: <000001c49479$f15771d0$80b3fea9@ColbyM6805> For Each fld In td.Fields John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: Monday, September 06, 2004 8:17 PM To: accessd at databaseadvisors.com Subject: [AccessD] Looping through TableDef.Fields I've done this a thousand time. But right now, I'm full of codeine (broke a toe 30 minutes ago) and cannot think worth squat. Why will this code not work? THe error-causing line is indicated by a ---> [code] Public Sub GetTableInfo(sTableName As String) Dim db As DAO.Database Dim td As DAO.TableDef Dim sSQL As String Dim fld As DAO.Field On Error GoTo Err_GetTableInfo Set db = CurrentDb() Set td = CurrentDb.TableDefs(sTableName) --->For Each fld In td CurrentProject.Connection.Execute "INSERT INTO zTable (TableName, FieldName, Alias, SortOrder) VALUES ('" & sTableName & "', '" & fld.Name & "', '" & fld.Name & "', 0)" Next fld Exit_GetTableInfo: Exit Sub Err_GetTableInfo: MsgBox Err.Description Resume Exit_GetTableInfo End Sub [/code] The marked line causes an "Operation is not supported for this type of object" error. Why? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Paul at PStrauss.net Mon Sep 6 21:00:44 2004 From: Paul at PStrauss.net (Paul Strauss) Date: Mon, 06 Sep 2004 22:00:44 -0400 Subject: [AccessD] (no subject) In-Reply-To: <2025BB6F17FCB54791F23CD505583328041BA4@starfleet.unknown.l ocal> References: <2025BB6F17FCB54791F23CD505583328041BA4@starfleet.unknown.local> Message-ID: <6.1.2.0.2.20040906214116.021d7a30@mail.pstrauss.net> At 9/6/2004 12:30 AM, you wrote: >Darren, > >I wouldn't set it up like this. Try something like this: > > Dim dbs As dao.Database > Dim rstDataToAppend As dao.Recordset > Dim rstTableToAppendTo As dao.Recordset > Dim strSQLDataForAppend As String > > strSQLDataForAppend = "SELECT .....Whatever...." > > > Set dbs = CurrentDB() > Set rstDataToAppend = dbs.OpenRecordset(strSQLDataForAppend, >dbOpenDynaset) > Set rstTableToAppendTo = dbs.OpenRecordset("tblYourTableToAppendTo", >dbOpenDynaset) > ...snip... Any time you can do table manipulations with SQL, rather that DAO, you should choose SQL. DAO is much slower than doing it with SQL. Sure, there are times when only DAO will do, so I am not saying never, but I would always strive to use SQL. If the task at hand is to eat a handful of M&M's, there are two ways to do it 1) one-by-one and 2) shove them all in your mouth and chew. Access can chew up the mouthful and swallow it much faster than it can eat them one at a time. That's just the way it has been built and optimized. >A good idea is to also check whether the recordset has any data before >hand, otheriwse this will throw up an error. >...snip... I agree it a good idea. I've never seemed to need to append from one table to another using a Select inside the Insert, so I am not sure what would happen if the Select didn't return any rows. If it returns a trappable error, then I'd just attempt the Insert and handle this case in the error handler. That would be the fastest way to do it. If a trappable error isn't returned, then opening a recordset with "Select Count(*) ..." and checking that at least one row is returned before doing the Insert would still be faster than doing it the DAO way in a loop. It may also be the case that nothing harmful happens (it is a null operation) and so you don't have to worry. But since you want to do it, and I don't, I'll let you figure out as a "homework" assignment what happens :). Unless I were sure that I always had something to append, I'd lose a good bit a sleep wondering if this would cause my program to blow up. Since I need my sleep, I'd test it. Regards, Paul Strauss ---------- From d.dick at uws.edu.au Mon Sep 6 21:16:16 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 7 Sep 2004 12:16:16 +1000 Subject: [AccessD] (no subject) In-Reply-To: <6.1.2.0.2.20040906214116.021d7a30@mail.pstrauss.net> Message-ID: <000901c49480$a810e220$4a619a89@DDICK> Thanks Paul I really appreciate the advice Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Strauss Sent: Tuesday, 7 September 2004 12:01 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] (no subject) At 9/6/2004 12:30 AM, you wrote: >Darren, > >I wouldn't set it up like this. Try something like this: > > Dim dbs As dao.Database > Dim rstDataToAppend As dao.Recordset > Dim rstTableToAppendTo As dao.Recordset > Dim strSQLDataForAppend As String > > strSQLDataForAppend = "SELECT .....Whatever...." > > > Set dbs = CurrentDB() > Set rstDataToAppend = dbs.OpenRecordset(strSQLDataForAppend, >dbOpenDynaset) > Set rstTableToAppendTo = >dbs.OpenRecordset("tblYourTableToAppendTo", >dbOpenDynaset) > ...snip... Any time you can do table manipulations with SQL, rather that DAO, you should choose SQL. DAO is much slower than doing it with SQL. Sure, there are times when only DAO will do, so I am not saying never, but I would always strive to use SQL. If the task at hand is to eat a handful of M&M's, there are two ways to do it 1) one-by-one and 2) shove them all in your mouth and chew. Access can chew up the mouthful and swallow it much faster than it can eat them one at a time. That's just the way it has been built and optimized. >A good idea is to also check whether the recordset has any data before >hand, otheriwse this will throw up an error. ...snip... I agree it a good idea. I've never seemed to need to append from one table to another using a Select inside the Insert, so I am not sure what would happen if the Select didn't return any rows. If it returns a trappable error, then I'd just attempt the Insert and handle this case in the error handler. That would be the fastest way to do it. If a trappable error isn't returned, then opening a recordset with "Select Count(*) ..." and checking that at least one row is returned before doing the Insert would still be faster than doing it the DAO way in a loop. It may also be the case that nothing harmful happens (it is a null operation) and so you don't have to worry. But since you want to do it, and I don't, I'll let you figure out as a "homework" assignment what happens :). Unless I were sure that I always had something to append, I'd lose a good bit a sleep wondering if this would cause my program to blow up. Since I need my sleep, I'd test it. Regards, Paul Strauss ---------- -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Mon Sep 6 22:07:37 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Mon, 6 Sep 2004 23:07:37 -0400 Subject: [AccessD] Keyboard Shortcut for comments In-Reply-To: <013101c493d2$33406550$6601a8c0@HAL9002> Message-ID: <003201c49487$d4a81ea0$0200a8c0@COA3> But you can customize this, and create a keydb shortcut for it. While in "customize" mode for toolbars, make it show Image and Text, or Text Only, then edit the text, and put an ampersand in front of the character you want to be the accelerator key. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, September 06, 2004 1:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Keyboard Shortcut for comments Rats. Another cluttery toolbar. Rocky ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Sunday, September 05, 2004 6:23 PM Subject: Re: [AccessD] Keyboard Shortcut for comments > On 5 Sep 2004 at 9:28, Rocky Smolin - Beach Access S wrote: > > > Dear List: > > > > On the edit toolbar there are icons for commenting and uncommenting blocks of code. Is there a keyboard shortcut for these? > > > > No. > > You can check by going into the Cutomize dialog for toolbars, > selecting options and then selecting "Show shortcut keys in screen > tips". > > Then hoivering over any shortcut item will show the shortcut key if it > exists (there are none shown for comment/uncomment) > > > -- > Stuart > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Sep 7 00:31:09 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Sep 2004 00:31:09 -0500 Subject: [AccessD] Can you Raid Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB33B@main2.marlow.com> Yes, but Read 0 (mirror) needs a Server OS (not sure if XP can do it, but Win2k Pro cannot create a mirror, only Win2k Server). Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Saturday, September 04, 2004 12:17 PM To: AccessD; Tech - Database Advisors Inc. Subject: [AccessD] Can you Raid Does anyone know if you can use Windows built-in raid capability to set up a raid 1 (mirror) then break the raid and move the mirror to another identical machine as the boot drive? I have a pair of MSI k8n Neo motherboards that I purchased. I have a pair of 80 gb samsung drives in one machine that I have just finished setting up. I need to create an image of that setup and move that image to the other machine. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Tue Sep 7 01:26:09 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 7 Sep 2004 16:26:09 +1000 Subject: [AccessD] A2K: Another Recordset Syntax Q Message-ID: <001701c494a3$90d0f550$4a619a89@DDICK> Hello all Another recordset syntax question One day I'll get it < sigh > The code below does what it is supposed to do except move to the next site name in the recordset WHAT I WANT... I expect the Message box to spit up SiteName1 then I expect another message box: SiteName 2 then another Until all the SiteNames in the Recordset are iterated and displayed in sequential message boxes Problem is I get 5 message boxes (There's 5 site sin the recordset) but always the 1st Sitename never site 2 or 3 or 4 or 5 Something backwards in the syntax or not properly placed is suppose Need help - Any takers? Many thanks in advance Darren For x = 1 To rs.RecordCount With rs .MoveLast MsgBox !SiteName .MoveNext End With Next Have a great day Darren From stuart at lexacorp.com.pg Tue Sep 7 01:39:16 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 07 Sep 2004 16:39:16 +1000 Subject: [AccessD] A2K: Another Recordset Syntax Q In-Reply-To: <001701c494a3$90d0f550$4a619a89@DDICK> Message-ID: <413DE434.21516.104CA311@lexacorp.com.pg> On 7 Sep 2004 at 16:26, Darren DICK wrote: > For x = 1 To rs.RecordCount > With rs > .MoveLast > MsgBox !SiteName > .MoveNext > End With > Next > You keep moving to the last record before you display the Sitename Try rs.Movefirst While not rs.eof Msgbox rs!Sitename rs.Movenext Wend -- Stuart From andy at minstersystems.co.uk Tue Sep 7 01:46:15 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 7 Sep 2004 07:46:15 +0100 Subject: [AccessD] A2K: Another Recordset Syntax Q In-Reply-To: <001701c494a3$90d0f550$4a619a89@DDICK> Message-ID: <000601c494a6$5f5ae190$b274d0d5@minster33c3r25> Hi Darren The .MoveLast is the problem. It takes you to the last record. After that there is no Next to move to. To go through all records this is better. Set rst=..... Do While Not rst.EOF la de da rst.MoveNext Loop When you open a recordset the record pointer is placed on the first record so you don't need a MoveFirst. Another thing. A recordset's .RecordCount is only available after going to the end of the recordset (ie after a .MoveLast), so you can't do your For cos .Recordcount would be 0 if you just opened the recordset. And finally .MoveLast crashes if there are 0 records in the recordset, so if you did want a recordcount you'd have to do something like this: Set rst=... If not rst.eof rst.MoveLast msgbox rst.recordcount rst.MoveFirst Do While Not rst.EOF la de da rst.MoveNext Loop End If Have fun. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK > Sent: 07 September 2004 07:26 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] A2K: Another Recordset Syntax Q > > > Hello all > Another recordset syntax question > One day I'll get it < sigh > > > The code below does what it is supposed to do except move to > the next site name in the recordset WHAT I WANT... I expect > the Message box to spit up SiteName1 then I expect another message > box: SiteName 2 then another > Until all the SiteNames in the Recordset are iterated and > displayed in sequential message boxes > > Problem is I get 5 message boxes (There's 5 site sin the > recordset) but always the 1st Sitename > never site 2 or 3 or 4 or 5 > > Something backwards in the syntax or not properly placed is suppose > > Need help - Any takers? > > Many thanks in advance > > Darren > > For x = 1 To rs.RecordCount > With rs > .MoveLast > MsgBox !SiteName > .MoveNext > End With > Next > > Have a great day > > Darren > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From d.dick at uws.edu.au Tue Sep 7 02:02:22 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 7 Sep 2004 17:02:22 +1000 Subject: [AccessD] A2K: Another Recordset Syntax Q In-Reply-To: <000601c494a6$5f5ae190$b274d0d5@minster33c3r25> Message-ID: <000101c494a8$9f92ef80$4a619a89@DDICK> Andy you da man!!!!!!!!!!!! Outstanding Just what I needed I've put it in the dB already and it works beautifully Many many thanks SYWYE Have a fantastic day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Tuesday, 7 September 2004 4:46 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K: Another Recordset Syntax Q Hi Darren The .MoveLast is the problem. It takes you to the last record. After that there is no Next to move to. To go through all records this is better. Set rst=..... Do While Not rst.EOF la de da rst.MoveNext Loop When you open a recordset the record pointer is placed on the first record so you don't need a MoveFirst. Another thing. A recordset's .RecordCount is only available after going to the end of the recordset (ie after a .MoveLast), so you can't do your For cos .Recordcount would be 0 if you just opened the recordset. And finally .MoveLast crashes if there are 0 records in the recordset, so if you did want a recordcount you'd have to do something like this: Set rst=... If not rst.eof rst.MoveLast msgbox rst.recordcount rst.MoveFirst Do While Not rst.EOF la de da rst.MoveNext Loop End If Have fun. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK > Sent: 07 September 2004 07:26 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] A2K: Another Recordset Syntax Q > > > Hello all > Another recordset syntax question > One day I'll get it < sigh > > > The code below does what it is supposed to do except move to > the next site name in the recordset WHAT I WANT... I expect > the Message box to spit up SiteName1 then I expect another message > box: SiteName 2 then another > Until all the SiteNames in the Recordset are iterated and > displayed in sequential message boxes > > Problem is I get 5 message boxes (There's 5 site sin the > recordset) but always the 1st Sitename > never site 2 or 3 or 4 or 5 > > Something backwards in the syntax or not properly placed is suppose > > Need help - Any takers? > > Many thanks in advance > > Darren > > For x = 1 To rs.RecordCount > With rs > .MoveLast > MsgBox !SiteName > .MoveNext > End With > Next > > Have a great day > > Darren > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Tue Sep 7 02:07:55 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 7 Sep 2004 17:07:55 +1000 Subject: [AccessD] A2K: Another Recordset Syntax Q In-Reply-To: <413DE434.21516.104CA311@lexacorp.com.pg> Message-ID: <000201c494a9$65fdc410$4a619a89@DDICK> Thanks Stuart A mad pom with a similar answer (and an English accent) also told me the same thing :-)) Many thanks to you both Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, 7 September 2004 4:39 PM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] A2K: Another Recordset Syntax Q On 7 Sep 2004 at 16:26, Darren DICK wrote: > For x = 1 To rs.RecordCount > With rs > .MoveLast > MsgBox !SiteName > .MoveNext > End With > Next > You keep moving to the last record before you display the Sitename Try rs.Movefirst While not rs.eof Msgbox rs!Sitename rs.Movenext Wend -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From subs1847 at solution-providers.ie Tue Sep 7 04:08:37 2004 From: subs1847 at solution-providers.ie (Mark L. Breen) Date: Tue, 7 Sep 2004 10:08:37 +0100 Subject: [AccessD] Gmail Invite (D) References: Message-ID: <003901c494ba$474923a0$de1118ac@D8TZHN0J> Hello Francisco, I have to ask, what is gmail? Sorry if this is obvious Mark ----- Original Message ----- From: "Francisco Tapia" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 31, 2004 4:44 PM Subject: [AccessD] Gmail Invite (D) > Ok, here it is again, a Gmail Invite > > Reply off list w/ a funny joke, the Invite goes to the first response. > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Tue Sep 7 04:36:59 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 07 Sep 2004 19:36:59 +1000 Subject: [AccessD] Gmail Invite (D) In-Reply-To: <003901c494ba$474923a0$de1118ac@D8TZHN0J> Message-ID: <413E0DDB.26661.10EF57B7@lexacorp.com.pg> On 7 Sep 2004 at 10:08, Mark L. Breen wrote: > Hello Francisco, > > I have to ask, what is gmail? Sorry if this is obvious > See https://gmail.google.com/?dest=http%3A%2F%2Fgmail.google.com%2Fgmail Then read http://gmail-is-too-creepy.com/ -- Stuart From gustav at cactus.dk Tue Sep 7 05:04:35 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 7 Sep 2004 12:04:35 +0200 Subject: [AccessD] Looping through TableDef.Fields In-Reply-To: <73950-2200492701652977@christopherhawkins.com> References: <73950-2200492701652977@christopherhawkins.com> Message-ID: <10611317864.20040907120435@cactus.dk> Hi Christopher Also: Set td = db.TableDefs(sTableName) and don't forget to Set your objects to Nothing when leaving. /gustav > I've done this a thousand time. But right now, I'm full of codeine > (broke a toe 30 minutes ago) and cannot think worth squat. > Why will this code not work? THe error-causing line is indicated by a --->> > [code] > Public Sub GetTableInfo(sTableName As String) > Dim db As DAO.Database > Dim td As DAO.TableDef > Dim sSQL As String > Dim fld As DAO.Field > On Error GoTo Err_GetTableInfo > Set db = CurrentDb() > Set td = CurrentDb.TableDefs(sTableName) > --->For Each fld In td > CurrentProject.Connection.Execute "INSERT INTO zTable > (TableName, FieldName, Alias, SortOrder) VALUES ('" & sTableName & > "', '" & fld.Name & "', '" & fld.Name & "', 0)" > Next fld > Exit_GetTableInfo: > Exit Sub > Err_GetTableInfo: > MsgBox Err.Description > Resume Exit_GetTableInfo > End Sub > [/code] From cyx5 at cdc.gov Tue Sep 7 06:27:03 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Tue, 7 Sep 2004 07:27:03 -0400 Subject: [AccessD] VB Menus - Creating Function for Actions? Message-ID: Thanks; it looks like case logic will do the trick. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, September 03, 2004 4:00 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] VB Menus - Creating Function for Actions? Hello Karen, I've only done this once with custom menus, but I did use an argument in the Function. For example, OnAction is =StatusChange("Green") There are three items on the menu, Red, Yellow, and Green. They each call the same Function, but the action is dictated by the argument. In the Function, set up a Select Case scenario, and you've gone from three functions to one. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Friday, September 03, 2004 2:16 PM To: accessd at databaseadvisors.com Subject: [AccessD] VB Menus - Creating Function for Actions? I am coding my custom menus for many forms. From what I have read, it seems that in order to process an .OnAction, one needs to create a function that can be reference inside of, for instance: .Caption = "Tracking Sheet - Approval Applications" .OnAction = "fnOpenTrackingSystemCL" Do I really need to create functions to execute something as simple as: DoCmd.OpenForm "frmTrackingSystemCL", acNormal DoCmd.Maximize (which is in the function fnOpenTrackingSystemCL) Show below is my code for the menu item; there are a few modules associated with this code to make it work, but this is the bulk of it: Sub CreateNewMenuB() Dim strMenuNameB As String Dim cmdNewMenuB As CommandBar Dim cctlFormMenuB As CommandBarControl Dim cctlExitMenuB As CommandBarControl strMenuNameB = "ClosedProjectsMenu" 'If strMenuName exists then deleted it. Commandbars have unique names. 'See global section for fIsCreated If fIsCreated(strMenuNameB) Then Application.CommandBars(strMenuNameB).Delete End If 'Create a new Commandbar as MenuType Set cmdNewMenuB = Application.CommandBars.Add(strMenuNameB, msoBarTop, True, False) With cmdNewMenuB 'Set commandbar protection to no protection so users can change it .Protection = msoBarNoProtection 'Show new menu .Visible = True End With 'Creating Form menu Set cctlFormMenuB = cmdNewMenuB.Controls.Add(msoControlPopup) cctlFormMenuB.Caption = "&File" 'Creating Exit menu under File Set cctlExitMenuB = cctlFormMenuB.Controls.Add(msoControlButton) With cctlExitMenuB .Caption = "R&eturn" .OnAction = "fnQuitApp" .Caption = "Tracking Sheet - Approval Applications" .OnAction = "fnOpenTrackingSystemCL" End With End Sub Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Tue Sep 7 07:44:11 2004 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 7 Sep 2004 08:44:11 -0400 Subject: [AccessD] Keyboard Shortcut for comments In-Reply-To: <013101c493d2$33406550$6601a8c0@HAL9002> References: <413C48AA.6044.A0516E7@lexacorp.com.pg> <013101c493d2$33406550$6601a8c0@HAL9002> Message-ID: On Sun, 5 Sep 2004 22:27:28 -0700, Rocky Smolin - Beach Access Software wrote: > Rats. Another cluttery toolbar. Not necessarily. I copied them from the edit tool bar to the menu bar. Now they sit beside the Help menu item, and are always available. -- 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 fhtapia at gmail.com Tue Sep 7 08:02:01 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 7 Sep 2004 06:02:01 -0700 Subject: [AccessD] Gmail Invite (D) In-Reply-To: <413E0DDB.26661.10EF57B7@lexacorp.com.pg> References: <003901c494ba$474923a0$de1118ac@D8TZHN0J> <413E0DDB.26661.10EF57B7@lexacorp.com.pg> Message-ID: Thanks, Gmail takes a new approach to email. Not only do you get 1gb of storage, but you get much more, organization is easier and following threads in any mailing list is a breeze! I really do dig it, so much that I've moved many of my current mailing subscriptions to it. On Tue, 07 Sep 2004 19:36:59 +1000, Stuart McLachlan wrote: > On 7 Sep 2004 at 10:08, Mark L. Breen wrote: > > > Hello Francisco, > > > > I have to ask, what is gmail? Sorry if this is obvious > > > > See > https://gmail.google.com/?dest=http%3A%2F%2Fgmail.google.com%2Fgmail > > Then read > > http://gmail-is-too-creepy.com/ > > -- > Stuart > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From Mark.Mitsules at ngc.com Tue Sep 7 08:03:09 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Tue, 7 Sep 2004 09:03:09 -0400 Subject: [AccessD] Access & AutoCAD Message-ID: Sorry for the late replies...4-day weekend;) As an engineering department, we utilize a plethora of CAD/modeling packages, but the driving force behind using AutoCAD in this instance is that the facilities management department uses AutoCAD and they have graciously bestowed upon me a full-scale floor plan. Currently, the information which I am trying to consolidate, which includes a physical representation of the floor plan, resides in several Excel spreadsheets. Several copies of the worksheets are necessary to cover all the information for office equipment and personnel. Many of these "overlays" include the personnel name data. Each time a minor change occurs in the department, several of these "overlays" must be changed. You can see how my innate sense of normalization was offended at this process;) So, what I proposed was a single normalized database that would store all of the data for personnel and equipment. The AutoCAD drawing could then be updated dynamically as needed...such as when personnel move and we need to update the "You are here" maps that show the cubicle locations for everyone. A secondary reason for using in-house readily available software, is that, when complete, this combined Access/AutoCAD application will be submitted as an "Opportunity For Improvement" to hopefully be utilized throughout the enterprise. Mark -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Saturday, September 04, 2004 12:59 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access & AutoCAD Hi Mark: Sorry I am late to this conversation but is not AutoCAD comprised of a group of exposed objects (dlls and ActiveX components) and AutoLISP, a VBA type language. You of course have to be on a station where AutoCAD is installed as well as Access. One friend works in a government mapping office that uses ArcInfo but has a number of translators and automated translation processes, one script used translates AutoCAD DWG files into ArcInfo files and back...all using various built in objects and their properties. I know they have the capabilities to automate the extraction by levels, object types etc.. I imagine anything else would be possible. I think there is a few downloads and samples from some of the companies that work extensively with various government agencies like: http://www.esri.com/. I might be able to get some help but would have to know a specific requirement. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 02, 2004 12:51 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access & AutoCAD Both. First project is our departmental floor plan which will include ALL of the attributes for personnel and equipment. Later projects will build BOM drawings in AutoCAD dynamically. Concurrently with those, I would like to develop an automation process which monitors a network folder, and when a new drawing is placed there, automatically extract certain drawing attributes, log them into a database, and create a .dwf format version for intranet publication. Mark -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Thursday, September 02, 2004 1:30 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access & AutoCAD Mark, Are you trying to use automation between the two or are you trying to use access as a database for Autocad Attributes? John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 02, 2004 12:04 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access & AutoCAD ...so I'm guessing I'm the only one in this unique position:((( Mark -----Original Message----- From: Mitsules, Mark Sent: Wednesday, September 01, 2004 5:42 PM To: [AccessD] Subject: [AccessD] Access & AutoCAD Has anyone tackled this combination? There is ONE example in the AutoCAD samples folder. There is ONE book that I found regarding database connectivity (circa 1999). ...and a DISTINCT lack of web-based material as far as I can tell:( I would be most appreciative for pointers towards any of the following: recent books (AutoCAD 2002 or later), web-based tutorials, web-based examples, personal examples, cave paintings...anything. Thanks in advance for any/all information. Mark Conversely, I am willing to pay $40 to anyone willing to take the AutoCAD help files and develop a booklet within the next 2 weeks, including a table of contents, that will allow me to chronologically work my way through a project. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kost36 at otenet.gr Tue Sep 7 08:24:52 2004 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Tue, 7 Sep 2004 16:24:52 +0300 Subject: [AccessD] Protecting a subform with password References: Message-ID: <000801c494de$0ff1c550$0100a8c0@KOST36> Hi group, thank's all for your response to my question I tried the follown (which seems to work) and was wondering if it could be possible and how to hide the line "Level0Pass = "123"" making it unreadable e.g. instead of 123 to appear *** thank you kostas Private Sub Command0_Click() Dim Green As Boolean, Level0Pass As String, stDocName As String, stLinkCriteria As String Level0Pass = "123" Green = False If Pass = Level0Pass Then Green = True End If If Green Then stDocName = "MT_entoli" stLinkCriteria = "[AM]=" & [Forms]![MT_basic_char]![AM] DoCmd.OpenForm stDocName, , , stLinkCriteria DoCmd.Close acForm, "P_Form" Else DoCmd.Close End If End Sub From Jdemarco at hudsonhealthplan.org Tue Sep 7 08:41:21 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Tue, 7 Sep 2004 09:41:21 -0400 Subject: [AccessD] Protecting a subform with password Message-ID: <08F823FD83787D4BA0B99CA580AD3C74089B4C@TTNEXCHCL2.hshhp.com> I don't think you can hide it in a code module but you do have ways to obscure it. If a user gets into this code they can bypass the security anyway so encrypting or hiding the value in a module will only provide very limited trouble to someone who wants to get in. 1. Put the value in a table and name the table and field something completely unrelated to security (i.e Table Name: tblCleanup, FieldName: Status). Then use a recordset to grab the check value. 2. Rename the variables to something harmless and break the variable up into pieces using concatenation to put it back together: 3. If Pass is a control on your form rename that to something harmless as well so as not to provide clues to its function. Here is your code rewritten with this technique applied. Of course you'll use dummy variable names that hide what you're doing better than these examples. Dim sStart as String dim Green as Boolean Dim sMid as String Dim stDocName as String Dim sEnd as String dim stLinkCriteria as String Dim sPutItTogether as String sStart = "1" Green = False sMid = "2" 'add a comment or two here to separate the two values (mid and end) sEnd = "3" sPutItTogether = sStart & sMid & sEnd If Status = sPutItTogether Then Green = True End If If Green Then stDocName = "MT_entoli" stLinkCriteria = "[AM]=" & [Forms]![MT_basic_char]![AM] DoCmd.OpenForm stDocName, , , stLinkCriteria DoCmd.Close acForm, "P_Form" Else DoCmd.Close End If HTH, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kostas Konstantinidis Sent: Tuesday, September 07, 2004 9:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Protecting a subform with password Hi group, thank's all for your response to my question I tried the follown (which seems to work) and was wondering if it could be possible and how to hide the line "Level0Pass = "123"" making it unreadable e.g. instead of 123 to appear *** thank you kostas Private Sub Command0_Click() Dim Green As Boolean, Level0Pass As String, stDocName As String, stLinkCriteria As String Level0Pass = "123" Green = False If Pass = Level0Pass Then Green = True End If If Green Then stDocName = "MT_entoli" stLinkCriteria = "[AM]=" & [Forms]![MT_basic_char]![AM] DoCmd.OpenForm stDocName, , , stLinkCriteria DoCmd.Close acForm, "P_Form" Else DoCmd.Close End If End Sub -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From DWUTKA at marlow.com Tue Sep 7 09:11:37 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Sep 2004 09:11:37 -0500 Subject: [AccessD] A2K ideas on Order Entry Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB342@main2.marlow.com> The beauty of unbound forms, with custom classes handling your processes, is the ability to create your own events. I have built several projects where the forms display data based upon Global Class Objects, which interact through events. For example, I have an Inventory object, that has an 'inventory changed' event. Whenever something happens to the inventory (which is done through this class), it raises that event, and all open forms that have are using this class receive that event, and thus update themselves with the new information. Yes, it takes a little longer to set something like that up, but it is extraordinarily handy as you build more complex and 'smarter' applications. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco Tapia Sent: Saturday, September 04, 2004 1:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] A2K ideas on Order Entry Brainstorming here: I have a parent form which houses important order entry information such as Billto/Shipto, PO#, SO#, and Notes... along with that I have a listbox (but have been working on a readonly subform datasheet view). Users currently go into a popup window box to add new lineitems to this order. However... I'd like to control where the popup box hovers over... meaning allowing for the subform to be viewable while the popup form is on the screen. This allows ME to refresh the subform to display the newly entered items. now currently while in the popup mode, I've made it so that as soon as one line entry is complete, the form display clears out to allow another entry, and thus all the data entry guy has to do is key in the new qty etc. for his order. but once he is done, I use a keypreview to capture the ESC key to allow them to get out. I thought about what if they could just hit ENTER and when the QTY field is null it should kick him out, but I get a bizzar error on the .OnExit event of the Qty Field. thus I can't exit the form while it's processing or something like that.... any ideas?.. (yeah I realize that its' 12:00am PST but that's when the mind is wandering :D) thanks, -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Tue Sep 7 09:37:47 2004 From: artful at rogers.com (Arthur Fuller) Date: Tue, 7 Sep 2004 10:37:47 -0400 Subject: [AccessD] Syntax question about control references In-Reply-To: <413DE434.21516.104CA311@lexacorp.com.pg> Message-ID: <012901c494e8$3ea6aa50$6501a8c0@rock> My form has controls whose names derive from the EoM() of a given date. That is, the end of a month. The control's name will be something such as "12/31/2004", etc. I need to set the focus to the column corresponding to today's date. For the date on which I am writing this message, the correct column is named "9/30/2004". I can derive this like so: ? eom(date) 9/30/2004 The EoM() function (which I wrote) returns a date. I need to take this value and turn it into a reference to a column, such that I can write: Me.columnName.SetFocus I haven't quite got it yet. Any suggestions? TIA, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 07, 2004 2:39 AM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] A2K: Another Recordset Syntax Q On 7 Sep 2004 at 16:26, Darren DICK wrote: > For x = 1 To rs.RecordCount > With rs > .MoveLast > MsgBox !SiteName > .MoveNext > End With > Next > You keep moving to the last record before you display the Sitename Try rs.Movefirst While not rs.eof Msgbox rs!Sitename rs.Movenext Wend -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Tue Sep 7 09:51:30 2004 From: artful at rogers.com (Arthur Fuller) Date: Tue, 7 Sep 2004 10:51:30 -0400 Subject: [AccessD] Re: Syntax question about control references Message-ID: <012a01c494ea$292698f0$6501a8c0@rock> I loaded the object browser and looked at what Access thinks of as the control names. Here I find that the controls are named like this: Ctl9_30_2004 So all it takes is one line to set the focus to said control: Me.Ctl9_30_2004.SetFocus However, this is still not quite the perfect solution that I'm looking for. The form in question is a datasheet with one frozen column, so the titles of the rows are visible at all times. The line above places the focus exactly where I want it, but the unfrozen part of the form scrolls only far enough to make said column visible. What I really want is either of these two options: A) make the first of the scrollable columns BoY(date), i.e. 1/1/2004; or B) make the first of the scrollable columns EoM(date), i.e. 9/30/2004. In either case, I could construct the name by executing the EoM() and/or BoY() functions, then substitute "_" for "/", then stringify that. But will that work? I would need to plug the result into the statement, like so: Me..SetFocus And that only gets me halfway to my goal, which is to scroll the columns to that particular column. Suggestions greatly appreciated! A. From michael.mattys at adelphia.net Tue Sep 7 09:58:36 2004 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue, 7 Sep 2004 10:58:36 -0400 Subject: [AccessD] Syntax question about control references References: <012901c494e8$3ea6aa50$6501a8c0@rock> Message-ID: <008501c494eb$27dc4930$6401a8c0@default> ----- Original Message ----- From: "Arthur Fuller" > My form has controls whose names derive from the EoM() of a given date. > That is, the end of a month. The control's name will be something such > as "12/31/2004", etc. I need to set the focus to the column > corresponding to today's date. For the date on which I am writing this > message, the correct column is named "9/30/2004". ... > The EoM() function (which I wrote) returns a date. I need to take this > value and turn it into a reference to a column, such that I can write: > > Me.columnName.SetFocus Arthur, It looks like you mean to say that you have a subform set to "continuous forms." If that's the case, you'd say Me.SubformName.Form.Controls("EOMDate").SetFocus ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From gustav at cactus.dk Tue Sep 7 10:07:50 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 7 Sep 2004 17:07:50 +0200 Subject: [AccessD] Re: Syntax question about control references In-Reply-To: <012a01c494ea$292698f0$6501a8c0@rock> References: <012a01c494ea$292698f0$6501a8c0@rock> Message-ID: <429512877.20040907170750@cactus.dk> Hi Arthur Don't know about the scrolling, but the focus could be set like this: Me("Ctl" & Format(EoM(), "m\_d\_yyyy")).SetFocus /gustav > I loaded the object browser and looked at what Access thinks of as the > control names. Here I find that the controls are named like this: > Ctl9_30_2004 > So all it takes is one line to set the focus to said control: > Me.Ctl9_30_2004.SetFocus > However, this is still not quite the perfect solution that I'm looking > for. The form in question is a datasheet with one frozen column, so the > titles of the rows are visible at all times. The line above places the > focus exactly where I want it, but the unfrozen part of the form scrolls > only far enough to make said column visible. What I really want is > either of these two options: > A) make the first of the scrollable columns BoY(date), i.e. 1/1/2004; or > B) make the first of the scrollable columns EoM(date), i.e. 9/30/2004. > In either case, I could construct the name by executing the EoM() and/or > BoY() functions, then substitute "_" for "/", then stringify that. But > will that work? I would need to plug the result into the statement, like > so: > Me..SetFocus > And that only gets me halfway to my goal, which is to scroll the columns > to that particular column. > Suggestions greatly appreciated! > A. From CMackin at Quiznos.com Tue Sep 7 10:17:14 2004 From: CMackin at Quiznos.com (Mackin, Christopher) Date: Tue, 7 Sep 2004 09:17:14 -0600 Subject: [AccessD] Syntax question about control references Message-ID: strCtlName = CStr(eom(date)) Me(strCtlName).SetFocus Should work. -Chris Mackin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Tuesday, September 07, 2004 8:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Syntax question about control references My form has controls whose names derive from the EoM() of a given date. That is, the end of a month. The control's name will be something such as "12/31/2004", etc. I need to set the focus to the column corresponding to today's date. For the date on which I am writing this message, the correct column is named "9/30/2004". I can derive this like so: ? eom(date) 9/30/2004 The EoM() function (which I wrote) returns a date. I need to take this value and turn it into a reference to a column, such that I can write: Me.columnName.SetFocus I haven't quite got it yet. Any suggestions? TIA, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 07, 2004 2:39 AM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] A2K: Another Recordset Syntax Q On 7 Sep 2004 at 16:26, Darren DICK wrote: > For x = 1 To rs.RecordCount > With rs > .MoveLast > MsgBox !SiteName > .MoveNext > End With > Next > You keep moving to the last record before you display the Sitename Try rs.Movefirst While not rs.eof Msgbox rs!Sitename rs.Movenext Wend -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Sep 7 10:18:04 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 07 Sep 2004 11:18:04 -0400 Subject: [AccessD] A2K ideas on Order Entry In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8031BB342@main2.marlow.com> Message-ID: <000601c494ed$e3cd9e80$80b3fea9@ColbyM6805> Drew, I most appreciate your observations re classes and events, but it is unhelpful to cast them in the light of unbound forms. Any class can generate a custom event (even a form's class), they can do so without forms even being involved, and they can do so to manage a bound form as easily as an unbound form. But yes, your observations re transmitting messages to other classes (and forms) is right on target. Way cool. I use a set of classes to handle logging process messages to disk. Have you ever looked at SQL Server's log, or windows startup log? Very handy to troubleshoot what's going on when something fails. I have a set of classes that listens for an event (on a message channel in my case). If they receive that message (sink an event and the message is for it), the class logs the message content into a disk file. I use exactly the same process to log process status to tables when my program needs to monitor process status. A set of classes monitors a message channel (sinks an event for a message class instance) and if the message is for that class, writes the message content to a table. Using "loggers" in this fashion allows my programs to log processes without each piece having to know how to log to a disk file or log to a table. It simply calls a message class instance method and passes a to:, subject:, and message: and the logger handles the rest. I can have multiple logger instances, one each process that needs logging, each instance knows it's disk file name or table name and logs to the right place. In fact I also use the message class for inter-form and inter-process communications inside an application. Once you have a message class built, it is trivial to pass messages to any other class (only classes can sink events). My framework automatically starts one general purpose message class so that is a known entity sure to exist. Any process can send a message on that message instance. If a process needs it's own message channel for some reason, it can ask the framework to open another instance (stored in a collection by message channel name) and pass back a pointer to that channel instance. Now any set of classes involved in that process go get a pointer to that message channel instance and use that as a private message channel. Custom events allow processes to be "black box", do their thing, and broadcast an event when some thing happens. That is extremely useful in interface design since it isolates classes. The matching part (or parts) don't have to be running to test, different parts can sink the events in different situations etc. This stuff is way cool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, September 07, 2004 10:12 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K ideas on Order Entry The beauty of unbound forms, with custom classes handling your processes, is the ability to create your own events. I have built several projects where the forms display data based upon Global Class Objects, which interact through events. For example, I have an Inventory object, that has an 'inventory changed' event. Whenever something happens to the inventory (which is done through this class), it raises that event, and all open forms that have are using this class receive that event, and thus update themselves with the new information. Yes, it takes a little longer to set something like that up, but it is extraordinarily handy as you build more complex and 'smarter' applications. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco Tapia Sent: Saturday, September 04, 2004 1:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] A2K ideas on Order Entry Brainstorming here: I have a parent form which houses important order entry information such as Billto/Shipto, PO#, SO#, and Notes... along with that I have a listbox (but have been working on a readonly subform datasheet view). Users currently go into a popup window box to add new lineitems to this order. However... I'd like to control where the popup box hovers over... meaning allowing for the subform to be viewable while the popup form is on the screen. This allows ME to refresh the subform to display the newly entered items. now currently while in the popup mode, I've made it so that as soon as one line entry is complete, the form display clears out to allow another entry, and thus all the data entry guy has to do is key in the new qty etc. for his order. but once he is done, I use a keypreview to capture the ESC key to allow them to get out. I thought about what if they could just hit ENTER and when the QTY field is null it should kick him out, but I get a bizzar error on the .OnExit event of the Qty Field. thus I can't exit the form while it's processing or something like that.... any ideas?.. (yeah I realize that its' 12:00am PST but that's when the mind is wandering :D) thanks, -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Tue Sep 7 10:27:37 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Tue, 7 Sep 2004 11:27:37 -0400 Subject: [AccessD] Logon/Password Same as Network Message-ID: I know how to grab the logon from the network; is there a way to make the password to be the same as the password housed on the network so that the user will have the same logon/password? Thanks! Karen Nicholson National Laboratory Xerox Global Services From Lambert.Heenan at AIG.com Tue Sep 7 11:02:54 2004 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 7 Sep 2004 12:02:54 -0400 Subject: [AccessD] Logon/Password Same as Network Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F02D088D1@xlivmbx21.aig.com> What's "the password"? Do you mean the logging password used for Access Security? Why would you want to make this the same as the users LAN login password? To do so would require your to keep the two synchronized and that would be a pain. Or do you in fact want to use the "Windows NT Challenge" process to validate an already logged in user? All I can say is that Authentication is kinda complex, but take a look here for an example.... http://vbnet.mvps.org/index.html?code/network/acceptsecuritycontext.htm Just be sure not to store those passwords anywhere or you will open up a security hole big enough to drive an 18-wheeler through. Lambert > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen > Sent: Tuesday, September 07, 2004 11:28 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Logon/Password Same as Network > > I know how to grab the logon from the network; is there a way to make > the password to be the same as the password housed on the network so > that the user will have the same logon/password? Thanks! > > Karen Nicholson > National Laboratory > Xerox Global Services > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Sep 7 11:32:20 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Sep 2004 11:32:20 -0500 Subject: [AccessD] A2K ideas on Order Entry Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB344@main2.marlow.com> I was referring to unbound forms because in the business logic structures I have built, the business logic is built into stand along classes. These classes can then be used by any form. So the classes let the forms interact. Yes, you can put events into bound forms, but you don't have the same 'interaction' then. For instance, in Francisco's original message, he could get around his particular issue by creating an event for his main form, which he can sink into his popup form, so when he triggers that event, the popup form receives it, and acts appropriately. In my case, I built the entire structure that way, so one interaction is seen by all that need it. Here's an example. I built in Inventory Class. This class can be used to add inventory items, create inventory transactions, modify inventory items, etc. etc. Anything and everything to do with the inventory system required by the business logic. So now I build a few forms. One to add/modify inventory items (not actual transactions, but item definitions), on for inventory transactions. Now I also have a Site class (where inventory goes/comes from, during transactions). Same principle, it handles all of the interactions with Sites. The inventory transaction form uses both the Inventory class and the Site class. There is also a Site Add/Edit form. All three forms work independantly, however, due to the events within the classes, when something is done that 'could' affect another class, then events are raised, and any open form that uses that class is notified. I know this could still be done strictly with bound forms, but I think the unbound approach is cleaner. In the example above, I would need to reference two forms, to capture any/all changes to the inventory (and if I'm making a third form, I would have to go back and modify the first two forms to handle the third), where as the central class method handles it all by itself. No going back to modify other forms, new forms can be built whenever needed, and all of the existing forms need not be aware of them, since they all work off of the same Inventory object. Okay, nuff said, cause we don't need another bound/unbound discussion. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 10:18 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K ideas on Order Entry Drew, I most appreciate your observations re classes and events, but it is unhelpful to cast them in the light of unbound forms. Any class can generate a custom event (even a form's class), they can do so without forms even being involved, and they can do so to manage a bound form as easily as an unbound form. But yes, your observations re transmitting messages to other classes (and forms) is right on target. Way cool. I use a set of classes to handle logging process messages to disk. Have you ever looked at SQL Server's log, or windows startup log? Very handy to troubleshoot what's going on when something fails. I have a set of classes that listens for an event (on a message channel in my case). If they receive that message (sink an event and the message is for it), the class logs the message content into a disk file. I use exactly the same process to log process status to tables when my program needs to monitor process status. A set of classes monitors a message channel (sinks an event for a message class instance) and if the message is for that class, writes the message content to a table. Using "loggers" in this fashion allows my programs to log processes without each piece having to know how to log to a disk file or log to a table. It simply calls a message class instance method and passes a to:, subject:, and message: and the logger handles the rest. I can have multiple logger instances, one each process that needs logging, each instance knows it's disk file name or table name and logs to the right place. In fact I also use the message class for inter-form and inter-process communications inside an application. Once you have a message class built, it is trivial to pass messages to any other class (only classes can sink events). My framework automatically starts one general purpose message class so that is a known entity sure to exist. Any process can send a message on that message instance. If a process needs it's own message channel for some reason, it can ask the framework to open another instance (stored in a collection by message channel name) and pass back a pointer to that channel instance. Now any set of classes involved in that process go get a pointer to that message channel instance and use that as a private message channel. Custom events allow processes to be "black box", do their thing, and broadcast an event when some thing happens. That is extremely useful in interface design since it isolates classes. The matching part (or parts) don't have to be running to test, different parts can sink the events in different situations etc. This stuff is way cool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, September 07, 2004 10:12 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K ideas on Order Entry The beauty of unbound forms, with custom classes handling your processes, is the ability to create your own events. I have built several projects where the forms display data based upon Global Class Objects, which interact through events. For example, I have an Inventory object, that has an 'inventory changed' event. Whenever something happens to the inventory (which is done through this class), it raises that event, and all open forms that have are using this class receive that event, and thus update themselves with the new information. Yes, it takes a little longer to set something like that up, but it is extraordinarily handy as you build more complex and 'smarter' applications. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco Tapia Sent: Saturday, September 04, 2004 1:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] A2K ideas on Order Entry Brainstorming here: I have a parent form which houses important order entry information such as Billto/Shipto, PO#, SO#, and Notes... along with that I have a listbox (but have been working on a readonly subform datasheet view). Users currently go into a popup window box to add new lineitems to this order. However... I'd like to control where the popup box hovers over... meaning allowing for the subform to be viewable while the popup form is on the screen. This allows ME to refresh the subform to display the newly entered items. now currently while in the popup mode, I've made it so that as soon as one line entry is complete, the form display clears out to allow another entry, and thus all the data entry guy has to do is key in the new qty etc. for his order. but once he is done, I use a keypreview to capture the ESC key to allow them to get out. I thought about what if they could just hit ENTER and when the QTY field is null it should kick him out, but I get a bizzar error on the .OnExit event of the Qty Field. thus I can't exit the form while it's processing or something like that.... any ideas?.. (yeah I realize that its' 12:00am PST but that's when the mind is wandering :D) thanks, -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ 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 Sep 7 12:38:58 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 7 Sep 2004 18:38:58 +0100 Subject: [AccessD] Broadcast A Message In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8031BB344@main2.marlow.com> Message-ID: <000001c49501$8e6e8490$b274d0d5@minster33c3r25> Hi folks Anyone got any info/code to broadcast a message to selected machines/users. We've an NT4 server and a Novell server so could use either technology. -- Andy Lacey http://www.minstersystems.co.uk From jwcolby at colbyconsulting.com Tue Sep 7 12:58:27 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 07 Sep 2004 13:58:27 -0400 Subject: [AccessD] A2K ideas on Order Entry In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8031BB344@main2.marlow.com> Message-ID: <000701c49504$4817e5b0$80b3fea9@ColbyM6805> Drew, I understand what you are saying but there is no reason a bound form cannot use (reference) those same business classes. That's all I'm saying. It has absolutely nothing to do with bound / unbound. I (mostly) use bound forms. But I routinely reference business classes from those forms. The form's class references the class Withevents and can now sink events from that class if it needs to. If a new form needs to receive messages from that class then it simply gets a pointer to that class instance. By dimming the class global in a module (and initializing it there) ANY form (or any class, since a form is just a class after all) can grab a pointer to the class and sink any events broadcast by that class. You didn't say whether these unbound forms are getting a pointer to an instance of a single (global) class or dimming an instance of the class in each form. Either way, a bound form can do exactly the same things. If a business class instance is created for each form then a message channel such as I described previously allows intercommunication. The business class instance sends a message on the (global) message channel. If a global business class instance is used by all forms, then each form grabs a pointer to the global class instance directly and calls methods of the class to inform the class (other users of the class) that it has manipulated data, and sinks it's events to determine that other forms have manipulated data. Either way, bound or unbound doesn't matter. I agree, this is not about bound vs unbound, but rather whether the same concepts can be applied or used and they most certainly can. I simply don't want our members saying "oh, I'm using bound so I can't use that idea". Of course they can, I do every day. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, September 07, 2004 12:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K ideas on Order Entry I was referring to unbound forms because in the business logic structures I have built, the business logic is built into stand along classes. These classes can then be used by any form. So the classes let the forms interact. Yes, you can put events into bound forms, but you don't have the same 'interaction' then. For instance, in Francisco's original message, he could get around his particular issue by creating an event for his main form, which he can sink into his popup form, so when he triggers that event, the popup form receives it, and acts appropriately. In my case, I built the entire structure that way, so one interaction is seen by all that need it. Here's an example. I built in Inventory Class. This class can be used to add inventory items, create inventory transactions, modify inventory items, etc. etc. Anything and everything to do with the inventory system required by the business logic. So now I build a few forms. One to add/modify inventory items (not actual transactions, but item definitions), on for inventory transactions. Now I also have a Site class (where inventory goes/comes from, during transactions). Same principle, it handles all of the interactions with Sites. The inventory transaction form uses both the Inventory class and the Site class. There is also a Site Add/Edit form. All three forms work independantly, however, due to the events within the classes, when something is done that 'could' affect another class, then events are raised, and any open form that uses that class is notified. I know this could still be done strictly with bound forms, but I think the unbound approach is cleaner. In the example above, I would need to reference two forms, to capture any/all changes to the inventory (and if I'm making a third form, I would have to go back and modify the first two forms to handle the third), where as the central class method handles it all by itself. No going back to modify other forms, new forms can be built whenever needed, and all of the existing forms need not be aware of them, since they all work off of the same Inventory object. Okay, nuff said, cause we don't need another bound/unbound discussion. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 10:18 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K ideas on Order Entry Drew, I most appreciate your observations re classes and events, but it is unhelpful to cast them in the light of unbound forms. Any class can generate a custom event (even a form's class), they can do so without forms even being involved, and they can do so to manage a bound form as easily as an unbound form. But yes, your observations re transmitting messages to other classes (and forms) is right on target. Way cool. I use a set of classes to handle logging process messages to disk. Have you ever looked at SQL Server's log, or windows startup log? Very handy to troubleshoot what's going on when something fails. I have a set of classes that listens for an event (on a message channel in my case). If they receive that message (sink an event and the message is for it), the class logs the message content into a disk file. I use exactly the same process to log process status to tables when my program needs to monitor process status. A set of classes monitors a message channel (sinks an event for a message class instance) and if the message is for that class, writes the message content to a table. Using "loggers" in this fashion allows my programs to log processes without each piece having to know how to log to a disk file or log to a table. It simply calls a message class instance method and passes a to:, subject:, and message: and the logger handles the rest. I can have multiple logger instances, one each process that needs logging, each instance knows it's disk file name or table name and logs to the right place. In fact I also use the message class for inter-form and inter-process communications inside an application. Once you have a message class built, it is trivial to pass messages to any other class (only classes can sink events). My framework automatically starts one general purpose message class so that is a known entity sure to exist. Any process can send a message on that message instance. If a process needs it's own message channel for some reason, it can ask the framework to open another instance (stored in a collection by message channel name) and pass back a pointer to that channel instance. Now any set of classes involved in that process go get a pointer to that message channel instance and use that as a private message channel. Custom events allow processes to be "black box", do their thing, and broadcast an event when some thing happens. That is extremely useful in interface design since it isolates classes. The matching part (or parts) don't have to be running to test, different parts can sink the events in different situations etc. This stuff is way cool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, September 07, 2004 10:12 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K ideas on Order Entry The beauty of unbound forms, with custom classes handling your processes, is the ability to create your own events. I have built several projects where the forms display data based upon Global Class Objects, which interact through events. For example, I have an Inventory object, that has an 'inventory changed' event. Whenever something happens to the inventory (which is done through this class), it raises that event, and all open forms that have are using this class receive that event, and thus update themselves with the new information. Yes, it takes a little longer to set something like that up, but it is extraordinarily handy as you build more complex and 'smarter' applications. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco Tapia Sent: Saturday, September 04, 2004 1:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] A2K ideas on Order Entry Brainstorming here: I have a parent form which houses important order entry information such as Billto/Shipto, PO#, SO#, and Notes... along with that I have a listbox (but have been working on a readonly subform datasheet view). Users currently go into a popup window box to add new lineitems to this order. However... I'd like to control where the popup box hovers over... meaning allowing for the subform to be viewable while the popup form is on the screen. This allows ME to refresh the subform to display the newly entered items. now currently while in the popup mode, I've made it so that as soon as one line entry is complete, the form display clears out to allow another entry, and thus all the data entry guy has to do is key in the new qty etc. for his order. but once he is done, I use a keypreview to capture the ESC key to allow them to get out. I thought about what if they could just hit ENTER and when the QTY field is null it should kick him out, but I get a bizzar error on the .OnExit event of the Qty Field. thus I can't exit the form while it's processing or something like that.... any ideas?.. (yeah I realize that its' 12:00am PST but that's when the mind is wandering :D) thanks, -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Tue Sep 7 12:54:02 2004 From: JRojas at tnco-inc.com (Joe Rojas) Date: Tue, 7 Sep 2004 13:54:02 -0400 Subject: [AccessD] A2K ideas on Order Entry Message-ID: <0CC84C9461AE6445AD5A602001C41C4B059E7C@mercury.tnco-inc.com> Wow, this stuff sounds pretty cool. I know that both you and John have talked about classes before but do either of you have example databases that demonstrate this kind of functionality? Thanks, JR -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Tuesday, September 07, 2004 12:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K ideas on Order Entry I was referring to unbound forms because in the business logic structures I have built, the business logic is built into stand along classes. These classes can then be used by any form. So the classes let the forms interact. Yes, you can put events into bound forms, but you don't have the same 'interaction' then. For instance, in Francisco's original message, he could get around his particular issue by creating an event for his main form, which he can sink into his popup form, so when he triggers that event, the popup form receives it, and acts appropriately. In my case, I built the entire structure that way, so one interaction is seen by all that need it. Here's an example. I built in Inventory Class. This class can be used to add inventory items, create inventory transactions, modify inventory items, etc. etc. Anything and everything to do with the inventory system required by the business logic. So now I build a few forms. One to add/modify inventory items (not actual transactions, but item definitions), on for inventory transactions. Now I also have a Site class (where inventory goes/comes from, during transactions). Same principle, it handles all of the interactions with Sites. The inventory transaction form uses both the Inventory class and the Site class. There is also a Site Add/Edit form. All three forms work independantly, however, due to the events within the classes, when something is done that 'could' affect another class, then events are raised, and any open form that uses that class is notified. I know this could still be done strictly with bound forms, but I think the unbound approach is cleaner. In the example above, I would need to reference two forms, to capture any/all changes to the inventory (and if I'm making a third form, I would have to go back and modify the first two forms to handle the third), where as the central class method handles it all by itself. No going back to modify other forms, new forms can be built whenever needed, and all of the existing forms need not be aware of them, since they all work off of the same Inventory object. Okay, nuff said, cause we don't need another bound/unbound discussion. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 10:18 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K ideas on Order Entry Drew, I most appreciate your observations re classes and events, but it is unhelpful to cast them in the light of unbound forms. Any class can generate a custom event (even a form's class), they can do so without forms even being involved, and they can do so to manage a bound form as easily as an unbound form. But yes, your observations re transmitting messages to other classes (and forms) is right on target. Way cool. I use a set of classes to handle logging process messages to disk. Have you ever looked at SQL Server's log, or windows startup log? Very handy to troubleshoot what's going on when something fails. I have a set of classes that listens for an event (on a message channel in my case). If they receive that message (sink an event and the message is for it), the class logs the message content into a disk file. I use exactly the same process to log process status to tables when my program needs to monitor process status. A set of classes monitors a message channel (sinks an event for a message class instance) and if the message is for that class, writes the message content to a table. Using "loggers" in this fashion allows my programs to log processes without each piece having to know how to log to a disk file or log to a table. It simply calls a message class instance method and passes a to:, subject:, and message: and the logger handles the rest. I can have multiple logger instances, one each process that needs logging, each instance knows it's disk file name or table name and logs to the right place. In fact I also use the message class for inter-form and inter-process communications inside an application. Once you have a message class built, it is trivial to pass messages to any other class (only classes can sink events). My framework automatically starts one general purpose message class so that is a known entity sure to exist. Any process can send a message on that message instance. If a process needs it's own message channel for some reason, it can ask the framework to open another instance (stored in a collection by message channel name) and pass back a pointer to that channel instance. Now any set of classes involved in that process go get a pointer to that message channel instance and use that as a private message channel. Custom events allow processes to be "black box", do their thing, and broadcast an event when some thing happens. That is extremely useful in interface design since it isolates classes. The matching part (or parts) don't have to be running to test, different parts can sink the events in different situations etc. This stuff is way cool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, September 07, 2004 10:12 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K ideas on Order Entry The beauty of unbound forms, with custom classes handling your processes, is the ability to create your own events. I have built several projects where the forms display data based upon Global Class Objects, which interact through events. For example, I have an Inventory object, that has an 'inventory changed' event. Whenever something happens to the inventory (which is done through this class), it raises that event, and all open forms that have are using this class receive that event, and thus update themselves with the new information. Yes, it takes a little longer to set something like that up, but it is extraordinarily handy as you build more complex and 'smarter' applications. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco Tapia Sent: Saturday, September 04, 2004 1:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] A2K ideas on Order Entry Brainstorming here: I have a parent form which houses important order entry information such as Billto/Shipto, PO#, SO#, and Notes... along with that I have a listbox (but have been working on a readonly subform datasheet view). Users currently go into a popup window box to add new lineitems to this order. However... I'd like to control where the popup box hovers over... meaning allowing for the subform to be viewable while the popup form is on the screen. This allows ME to refresh the subform to display the newly entered items. now currently while in the popup mode, I've made it so that as soon as one line entry is complete, the form display clears out to allow another entry, and thus all the data entry guy has to do is key in the new qty etc. for his order. but once he is done, I use a keypreview to capture the ESC key to allow them to get out. I thought about what if they could just hit ENTER and when the QTY field is null it should kick him out, but I get a bizzar error on the .OnExit event of the Qty Field. thus I can't exit the form while it's processing or something like that.... any ideas?.. (yeah I realize that its' 12:00am PST but that's when the mind is wandering :D) thanks, -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From jwcolby at colbyconsulting.com Tue Sep 7 13:22:20 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 07 Sep 2004 14:22:20 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8031BB344@main2.marlow.com> Message-ID: <000801c49507$a0be1ce0$80b3fea9@ColbyM6805> I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com From BBarabash at TappeConstruction.com Tue Sep 7 13:38:55 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue, 7 Sep 2004 13:38:55 -0500 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: <100F91B31300334B89EC531C9DCB086506592A@tccexch01.tappeconstruction.net> Um, bless you... So, what did it include? I'm hearing mixed reports on its content. Any VS.NET stuff? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 1:22 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] AHOO!!! Got my action pack I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From accessd at shaw.ca Tue Sep 7 12:46:01 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 07 Sep 2004 10:46:01 -0700 Subject: [AccessD] Protecting a subform with password In-Reply-To: <000801c494de$0ff1c550$0100a8c0@KOST36> Message-ID: Hi Kostas: It is not possible to hide the line of code in an uncompiled DB, (MDB). You can compile the DB is compiled into a MDE file and therefore blocking viewing access to all the source. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kostas Konstantinidis Sent: Tuesday, September 07, 2004 6:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Protecting a subform with password Hi group, thank's all for your response to my question I tried the follown (which seems to work) and was wondering if it could be possible and how to hide the line "Level0Pass = "123"" making it unreadable e.g. instead of 123 to appear *** thank you kostas Private Sub Command0_Click() Dim Green As Boolean, Level0Pass As String, stDocName As String, stLinkCriteria As String Level0Pass = "123" Green = False If Pass = Level0Pass Then Green = True End If If Green Then stDocName = "MT_entoli" stLinkCriteria = "[AM]=" & [Forms]![MT_basic_char]![AM] DoCmd.OpenForm stDocName, , , stLinkCriteria DoCmd.Close acForm, "P_Form" Else DoCmd.Close End If End Sub -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Tue Sep 7 13:47:35 2004 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 7 Sep 2004 11:47:35 -0700 (PDT) Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <000801c49507$a0be1ce0$80b3fea9@ColbyM6805> Message-ID: <20040907184735.64356.qmail@web20423.mail.yahoo.com> What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! From fhtapia at gmail.com Tue Sep 7 14:05:53 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 7 Sep 2004 12:05:53 -0700 Subject: [AccessD] A2K ideas on Order Entry In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8031BB344@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF8031BB344@main2.marlow.com> Message-ID: ** didn't realize what I started... but here goes... Yes my "ade" is an unbound application it's the FE for a Sql Server Database. And While listboxes get bound, many other items are populated via ado recordsets to unbound controls. It has been the best approach because it is an ADP. I was really trying to think of a cleaner approach to this screen w/ Order Entry... where The form has critical information for the parties at hand, and then the lineitems are listed below, but if the popup form is open, and the user hits enter while in the qty box and exits it, I'd like to make it so that the popup box closes automatically if there is NO data in that field. I tried a simple docmd.close in the textbox's OnExit event but keep comming up w/ an error... and if this was also considered a messy approach, perhaps streamlining it? On Tue, 7 Sep 2004 11:32:20 -0500, dwutka at marlow.com wrote: > I was referring to unbound forms because in the business logic structures I > have built, the business logic is built into stand along classes. These > classes can then be used by any form. So the classes let the forms > interact. Yes, you can put events into bound forms, but you don't have the > same 'interaction' then. > > For instance, in Francisco's original message, he could get around his > particular issue by creating an event for his main form, which he can sink > into his popup form, so when he triggers that event, the popup form receives > it, and acts appropriately. > > In my case, I built the entire structure that way, so one interaction is > seen by all that need it. > > Here's an example. I built in Inventory Class. This class can be used to > add inventory items, create inventory transactions, modify inventory items, > etc. etc. Anything and everything to do with the inventory system required > by the business logic. So now I build a few forms. One to add/modify > inventory items (not actual transactions, but item definitions), on for > inventory transactions. Now I also have a Site class (where inventory > goes/comes from, during transactions). Same principle, it handles all of > the interactions with Sites. The inventory transaction form uses both the > Inventory class and the Site class. There is also a Site Add/Edit form. > All three forms work independantly, however, due to the events within the > classes, when something is done that 'could' affect another class, then > events are raised, and any open form that uses that class is notified. > > I know this could still be done strictly with bound forms, but I think the > unbound approach is cleaner. In the example above, I would need to > reference two forms, to capture any/all changes to the inventory (and if I'm > making a third form, I would have to go back and modify the first two forms > to handle the third), where as the central class method handles it all by > itself. No going back to modify other forms, new forms can be built > whenever needed, and all of the existing forms need not be aware of them, > since they all work off of the same Inventory object. > > Okay, nuff said, cause we don't need another bound/unbound discussion. > > Drew > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby > Sent: Tuesday, September 07, 2004 10:18 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] A2K ideas on Order Entry > > Drew, > > I most appreciate your observations re classes and events, but it is > unhelpful to cast them in the light of unbound forms. Any class can > generate a custom event (even a form's class), they can do so without forms > even being involved, and they can do so to manage a bound form as easily as > an unbound form. > > But yes, your observations re transmitting messages to other classes (and > forms) is right on target. Way cool. > > I use a set of classes to handle logging process messages to disk. Have you > ever looked at SQL Server's log, or windows startup log? Very handy to > troubleshoot what's going on when something fails. I have a set of classes > that listens for an event (on a message channel in my case). If they > receive that message (sink an event and the message is for it), the class > logs the message content into a disk file. > > I use exactly the same process to log process status to tables when my > program needs to monitor process status. A set of classes monitors a > message channel (sinks an event for a message class instance) and if the > message is for that class, writes the message content to a table. > > Using "loggers" in this fashion allows my programs to log processes without > each piece having to know how to log to a disk file or log to a table. It > simply calls a message class instance method and passes a to:, subject:, and > message: and the logger handles the rest. I can have multiple logger > instances, one each process that needs logging, each instance knows it's > disk file name or table name and logs to the right place. > > In fact I also use the message class for inter-form and inter-process > communications inside an application. Once you have a message class built, > it is trivial to pass messages to any other class (only classes can sink > events). My framework automatically starts one general purpose message > class so that is a known entity sure to exist. Any process can send a > message on that message instance. If a process needs it's own message > channel for some reason, it can ask the framework to open another instance > (stored in a collection by message channel name) and pass back a pointer to > that channel instance. Now any set of classes involved in that process go > get a pointer to that message channel instance and use that as a private > message channel. > > Custom events allow processes to be "black box", do their thing, and > broadcast an event when some thing happens. That is extremely useful in > interface design since it isolates classes. The matching part (or parts) > don't have to be running to test, different parts can sink the events in > different situations etc. > > This stuff is way cool. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com > Sent: Tuesday, September 07, 2004 10:12 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] A2K ideas on Order Entry > > The beauty of unbound forms, with custom classes handling your processes, is > the ability to create your own events. I have built several projects where > the forms display data based upon Global Class Objects, which interact > through events. For example, I have an Inventory object, that has an > 'inventory changed' event. Whenever something happens to the inventory > (which is done through this class), it raises that event, and all open forms > that have are using this class receive that event, and thus update > themselves with the new information. > > Yes, it takes a little longer to set something like that up, but it is > extraordinarily handy as you build more complex and 'smarter' applications. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco Tapia > Sent: Saturday, September 04, 2004 1:53 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] A2K ideas on Order Entry > > Brainstorming here: > > I have a parent form which houses important order entry information such as > Billto/Shipto, PO#, SO#, and Notes... along with that I have a listbox (but > have been working on a readonly subform datasheet view). > > Users currently go into a popup window box to add new lineitems to this > order. However... I'd like to control where the popup box hovers over... > meaning allowing for the subform to be viewable while the popup form is on > the screen. This allows ME to refresh the subform to display the newly > entered items. > > now currently while in the popup mode, I've made it so that as soon as one > line entry is complete, the form display clears out to allow another entry, > and thus all the data entry guy has to do is key in the new qty etc. for his > order. but once he is done, I use a keypreview to capture the ESC key to > allow them to get out. I thought about what if they could just hit ENTER > and when the QTY field is null it should kick him out, but I get a bizzar > error on the .OnExit event of the Qty Field. thus I can't exit the form > while it's processing or something like that.... > > any ideas?.. (yeah I realize that its' 12:00am PST but that's when the mind > is wandering :D) > > thanks, > -- -Francisco From DWUTKA at marlow.com Tue Sep 7 14:04:13 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Sep 2004 14:04:13 -0500 Subject: [AccessD] A2K ideas on Order Entry Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB349@main2.marlow.com> Oh, good point. I've only had one cup of coffee this morning, so I'm a little out of it still! Yes, you could use a bound form, and still trigger from a global class. It is still a little more 'backwords' work though, because then the form has to capture what is done on it, and send it to the global class, versus letting the global class do all of the work, and send it out as an event. Just two different approaches. Ironically, the initial concept of the Inventory system I spoke of was going to be VB 6.0, until the very last minute, when the contractor I work for decided he wanted to be able to make changes of his own, so he insisted on Access 2000. Ugh. Would have prefered VB 6.0, so instead, he got a VERY heavily coded Access 2000 app. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 12:58 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K ideas on Order Entry Drew, I understand what you are saying but there is no reason a bound form cannot use (reference) those same business classes. That's all I'm saying. It has absolutely nothing to do with bound / unbound. I (mostly) use bound forms. But I routinely reference business classes from those forms. The form's class references the class Withevents and can now sink events from that class if it needs to. If a new form needs to receive messages from that class then it simply gets a pointer to that class instance. By dimming the class global in a module (and initializing it there) ANY form (or any class, since a form is just a class after all) can grab a pointer to the class and sink any events broadcast by that class. You didn't say whether these unbound forms are getting a pointer to an instance of a single (global) class or dimming an instance of the class in each form. Either way, a bound form can do exactly the same things. If a business class instance is created for each form then a message channel such as I described previously allows intercommunication. The business class instance sends a message on the (global) message channel. If a global business class instance is used by all forms, then each form grabs a pointer to the global class instance directly and calls methods of the class to inform the class (other users of the class) that it has manipulated data, and sinks it's events to determine that other forms have manipulated data. Either way, bound or unbound doesn't matter. I agree, this is not about bound vs unbound, but rather whether the same concepts can be applied or used and they most certainly can. I simply don't want our members saying "oh, I'm using bound so I can't use that idea". Of course they can, I do every day. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, September 07, 2004 12:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K ideas on Order Entry I was referring to unbound forms because in the business logic structures I have built, the business logic is built into stand along classes. These classes can then be used by any form. So the classes let the forms interact. Yes, you can put events into bound forms, but you don't have the same 'interaction' then. For instance, in Francisco's original message, he could get around his particular issue by creating an event for his main form, which he can sink into his popup form, so when he triggers that event, the popup form receives it, and acts appropriately. In my case, I built the entire structure that way, so one interaction is seen by all that need it. Here's an example. I built in Inventory Class. This class can be used to add inventory items, create inventory transactions, modify inventory items, etc. etc. Anything and everything to do with the inventory system required by the business logic. So now I build a few forms. One to add/modify inventory items (not actual transactions, but item definitions), on for inventory transactions. Now I also have a Site class (where inventory goes/comes from, during transactions). Same principle, it handles all of the interactions with Sites. The inventory transaction form uses both the Inventory class and the Site class. There is also a Site Add/Edit form. All three forms work independantly, however, due to the events within the classes, when something is done that 'could' affect another class, then events are raised, and any open form that uses that class is notified. I know this could still be done strictly with bound forms, but I think the unbound approach is cleaner. In the example above, I would need to reference two forms, to capture any/all changes to the inventory (and if I'm making a third form, I would have to go back and modify the first two forms to handle the third), where as the central class method handles it all by itself. No going back to modify other forms, new forms can be built whenever needed, and all of the existing forms need not be aware of them, since they all work off of the same Inventory object. Okay, nuff said, cause we don't need another bound/unbound discussion. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 10:18 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K ideas on Order Entry Drew, I most appreciate your observations re classes and events, but it is unhelpful to cast them in the light of unbound forms. Any class can generate a custom event (even a form's class), they can do so without forms even being involved, and they can do so to manage a bound form as easily as an unbound form. But yes, your observations re transmitting messages to other classes (and forms) is right on target. Way cool. I use a set of classes to handle logging process messages to disk. Have you ever looked at SQL Server's log, or windows startup log? Very handy to troubleshoot what's going on when something fails. I have a set of classes that listens for an event (on a message channel in my case). If they receive that message (sink an event and the message is for it), the class logs the message content into a disk file. I use exactly the same process to log process status to tables when my program needs to monitor process status. A set of classes monitors a message channel (sinks an event for a message class instance) and if the message is for that class, writes the message content to a table. Using "loggers" in this fashion allows my programs to log processes without each piece having to know how to log to a disk file or log to a table. It simply calls a message class instance method and passes a to:, subject:, and message: and the logger handles the rest. I can have multiple logger instances, one each process that needs logging, each instance knows it's disk file name or table name and logs to the right place. In fact I also use the message class for inter-form and inter-process communications inside an application. Once you have a message class built, it is trivial to pass messages to any other class (only classes can sink events). My framework automatically starts one general purpose message class so that is a known entity sure to exist. Any process can send a message on that message instance. If a process needs it's own message channel for some reason, it can ask the framework to open another instance (stored in a collection by message channel name) and pass back a pointer to that channel instance. Now any set of classes involved in that process go get a pointer to that message channel instance and use that as a private message channel. Custom events allow processes to be "black box", do their thing, and broadcast an event when some thing happens. That is extremely useful in interface design since it isolates classes. The matching part (or parts) don't have to be running to test, different parts can sink the events in different situations etc. This stuff is way cool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, September 07, 2004 10:12 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K ideas on Order Entry The beauty of unbound forms, with custom classes handling your processes, is the ability to create your own events. I have built several projects where the forms display data based upon Global Class Objects, which interact through events. For example, I have an Inventory object, that has an 'inventory changed' event. Whenever something happens to the inventory (which is done through this class), it raises that event, and all open forms that have are using this class receive that event, and thus update themselves with the new information. Yes, it takes a little longer to set something like that up, but it is extraordinarily handy as you build more complex and 'smarter' applications. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco Tapia Sent: Saturday, September 04, 2004 1:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] A2K ideas on Order Entry Brainstorming here: I have a parent form which houses important order entry information such as Billto/Shipto, PO#, SO#, and Notes... along with that I have a listbox (but have been working on a readonly subform datasheet view). Users currently go into a popup window box to add new lineitems to this order. However... I'd like to control where the popup box hovers over... meaning allowing for the subform to be viewable while the popup form is on the screen. This allows ME to refresh the subform to display the newly entered items. now currently while in the popup mode, I've made it so that as soon as one line entry is complete, the form display clears out to allow another entry, and thus all the data entry guy has to do is key in the new qty etc. for his order. but once he is done, I use a keypreview to capture the ESC key to allow them to get out. I thought about what if they could just hit ENTER and when the QTY field is null it should kick him out, but I get a bizzar error on the .OnExit event of the Qty Field. thus I can't exit the form while it's processing or something like that.... any ideas?.. (yeah I realize that its' 12:00am PST but that's when the mind is wandering :D) thanks, -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sep 7 14:14:01 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 07 Sep 2004 15:14:01 -0400 Subject: [AccessD] A2K ideas on Order Entry In-Reply-To: <0CC84C9461AE6445AD5A602001C41C4B059E7C@mercury.tnco-inc.com> Message-ID: <000a01c4950e$d8a52980$80b3fea9@ColbyM6805> Joe, I have a demo on my site that demonstrates the message channel I referred to earlier. I use that class in production software. A message channel adds a layer of indirection but is essentially the same concept. 1) The message class is instantiated globally and a function created that can return a reference to the class. If you need several different channels for some reason, the next step is a class that has a collection to hold instances of the message class and functions to create new message class instances, store them in the collection, then return pointers to the message class instances. 2) Either way, a USER of the message class gets a pointer to a specific message class instance. The variable that holds the class instance is dimmed WithEvents. Once the USER of the message class has the pointer to the instance, it can call methods of the message class passing: From: To: Subject: Message: Looks like an email doesn't it? Think of it as sending an email to another process. So EVERY USER, and by USER I mean classes that need to communicate, gets a pointer to a message class instance, dimmed Withevents. The class creates an event sink that SINKS the event messages. Think of that as the message class inbox. Whenever ANY USER sends a message on the message "channel" every USER gets the message in it's inbox (the event sink). Now any user can call a method of the message class sending a message. Pass the From, To, Subject and Message. ALL other USERS get the message. The key here is flexibility. The user can see if it is TO that user, and do nothing with the message if it isn't, or process the message if it is. OR... The message receiver can look at just the subject and decide whether to process or ignore the message. Etc. To sum it up, ALL USERS get a pointer to a global instance of a message class. Each user sets up an event sink, the inbox. Any user can transmit a message by calling a method of the message class. ALL users get the message. The individual users decide how to filter the messages, whether by "who it's from", "Who it's to", "Subject" etc. Any or all of the USERS can process a message, or NONE of them can. Just depends on the situation and the programmer's needs. This concept and this demo neatly shows how withevents work and how powerful they can be. I use message channels often in my software. I already mentioned my disk and table loggers. I have also used them for forms such as a calendar that is loaded and stays open. The calendar form receives messages "To" it. The way I use it is that the message in this case is a pointer to a control to return the calendar value to. YES, THIS IS IMPORTANT... The message class can pass strings, but it can also pass pointers to objects!!!!! VERY COOL. So the calendar form unhides itself, grabs the pointer to the control passed in, stores it temporarily in a control variable, takes user input, and places the value back in the control that that it was told to modify, sets the pointer to the control to nothing, then hides itself again. Classes raising events is so powerful that once you understand how it works you will forever change the way you design programs. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Tuesday, September 07, 2004 1:54 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K ideas on Order Entry Wow, this stuff sounds pretty cool. I know that both you and John have talked about classes before but do either of you have example databases that demonstrate this kind of functionality? Thanks, JR -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Tuesday, September 07, 2004 12:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K ideas on Order Entry I was referring to unbound forms because in the business logic structures I have built, the business logic is built into stand along classes. These classes can then be used by any form. So the classes let the forms interact. Yes, you can put events into bound forms, but you don't have the same 'interaction' then. For instance, in Francisco's original message, he could get around his particular issue by creating an event for his main form, which he can sink into his popup form, so when he triggers that event, the popup form receives it, and acts appropriately. In my case, I built the entire structure that way, so one interaction is seen by all that need it. Here's an example. I built in Inventory Class. This class can be used to add inventory items, create inventory transactions, modify inventory items, etc. etc. Anything and everything to do with the inventory system required by the business logic. So now I build a few forms. One to add/modify inventory items (not actual transactions, but item definitions), on for inventory transactions. Now I also have a Site class (where inventory goes/comes from, during transactions). Same principle, it handles all of the interactions with Sites. The inventory transaction form uses both the Inventory class and the Site class. There is also a Site Add/Edit form. All three forms work independantly, however, due to the events within the classes, when something is done that 'could' affect another class, then events are raised, and any open form that uses that class is notified. I know this could still be done strictly with bound forms, but I think the unbound approach is cleaner. In the example above, I would need to reference two forms, to capture any/all changes to the inventory (and if I'm making a third form, I would have to go back and modify the first two forms to handle the third), where as the central class method handles it all by itself. No going back to modify other forms, new forms can be built whenever needed, and all of the existing forms need not be aware of them, since they all work off of the same Inventory object. Okay, nuff said, cause we don't need another bound/unbound discussion. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 10:18 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K ideas on Order Entry Drew, I most appreciate your observations re classes and events, but it is unhelpful to cast them in the light of unbound forms. Any class can generate a custom event (even a form's class), they can do so without forms even being involved, and they can do so to manage a bound form as easily as an unbound form. But yes, your observations re transmitting messages to other classes (and forms) is right on target. Way cool. I use a set of classes to handle logging process messages to disk. Have you ever looked at SQL Server's log, or windows startup log? Very handy to troubleshoot what's going on when something fails. I have a set of classes that listens for an event (on a message channel in my case). If they receive that message (sink an event and the message is for it), the class logs the message content into a disk file. I use exactly the same process to log process status to tables when my program needs to monitor process status. A set of classes monitors a message channel (sinks an event for a message class instance) and if the message is for that class, writes the message content to a table. Using "loggers" in this fashion allows my programs to log processes without each piece having to know how to log to a disk file or log to a table. It simply calls a message class instance method and passes a to:, subject:, and message: and the logger handles the rest. I can have multiple logger instances, one each process that needs logging, each instance knows it's disk file name or table name and logs to the right place. In fact I also use the message class for inter-form and inter-process communications inside an application. Once you have a message class built, it is trivial to pass messages to any other class (only classes can sink events). My framework automatically starts one general purpose message class so that is a known entity sure to exist. Any process can send a message on that message instance. If a process needs it's own message channel for some reason, it can ask the framework to open another instance (stored in a collection by message channel name) and pass back a pointer to that channel instance. Now any set of classes involved in that process go get a pointer to that message channel instance and use that as a private message channel. Custom events allow processes to be "black box", do their thing, and broadcast an event when some thing happens. That is extremely useful in interface design since it isolates classes. The matching part (or parts) don't have to be running to test, different parts can sink the events in different situations etc. This stuff is way cool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, September 07, 2004 10:12 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K ideas on Order Entry The beauty of unbound forms, with custom classes handling your processes, is the ability to create your own events. I have built several projects where the forms display data based upon Global Class Objects, which interact through events. For example, I have an Inventory object, that has an 'inventory changed' event. Whenever something happens to the inventory (which is done through this class), it raises that event, and all open forms that have are using this class receive that event, and thus update themselves with the new information. Yes, it takes a little longer to set something like that up, but it is extraordinarily handy as you build more complex and 'smarter' applications. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco Tapia Sent: Saturday, September 04, 2004 1:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] A2K ideas on Order Entry Brainstorming here: I have a parent form which houses important order entry information such as Billto/Shipto, PO#, SO#, and Notes... along with that I have a listbox (but have been working on a readonly subform datasheet view). Users currently go into a popup window box to add new lineitems to this order. However... I'd like to control where the popup box hovers over... meaning allowing for the subform to be viewable while the popup form is on the screen. This allows ME to refresh the subform to display the newly entered items. now currently while in the popup mode, I've made it so that as soon as one line entry is complete, the form display clears out to allow another entry, and thus all the data entry guy has to do is key in the new qty etc. for his order. but once he is done, I use a keypreview to capture the ESC key to allow them to get out. I thought about what if they could just hit ENTER and when the QTY field is null it should kick him out, but I get a bizzar error on the .OnExit event of the Qty Field. thus I can't exit the form while it's processing or something like that.... any ideas?.. (yeah I realize that its' 12:00am PST but that's when the mind is wandering :D) thanks, -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Sep 7 14:24:54 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 07 Sep 2004 15:24:54 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <100F91B31300334B89EC531C9DCB086506592A@tccexch01.tappeconstruction.net> Message-ID: <000b01c49510$5be116f0$80b3fea9@ColbyM6805> I'll send a message tonight with the disk names. Basically 2003 stuff mostly. LOTS of various servers. NO enterprise versions. 8-( There are about 20-30 disks plus what look like training CDs. I haven't loaded any of it yet since I have to do work and this is (for now) play. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Tuesday, September 07, 2004 2:39 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack Um, bless you... So, what did it include? I'm hearing mixed reports on its content. Any VS.NET stuff? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 1:22 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] AHOO!!! Got my action pack I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Tue Sep 7 15:29:37 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 7 Sep 2004 13:29:37 -0700 Subject: [AccessD] Prompt after Form loads In-Reply-To: References: <8444881516.20040901205336@cactus.dk> <1896904147.20040902103514@cactus.dk> Message-ID: This solution of adding the function as the data source for the record worked as I had wanted. Thanks for following up w/ me on this. I had some code running off a timer on other forms that I've been able to convert because of this solution thanks :D On Sat, 4 Sep 2004 09:08:30 -0700, Francisco Tapia wrote: > I will try this solution later... thanks :D > > > On Thu, 2 Sep 2004 10:35:14 +0200, Gustav Brock wrote: > > Hi Francisco > > > > > I tried the counter solution, and it fires before the form is "visible" > > > > You are right, missed that, but here is how to do this without the > > Timer: > > > > First, create this function in the subform: > > > > Private Function ShowAtOpen() > > > > Static booOpened As Boolean > > > > If booOpened = False Then > > ' Replace with your code. > > MsgBox "Load?", vbQuestion, "Francisco" > > ' Run only once. > > booOpened = True > > End If > > > > End Function > > > > Now, create a textbox in the subform, make it not Visible, and bind it > > like this: > > > > =ShowAtOpen() > > > > This will pop the code when the form and the sub have been rendered > > including controls bound to the recordsource of the form. The only > > limitation I can see is, that other controls bound to an expression > > (=something()) may have their values retrieved after the firing of > > ShowAtOpen. > > > > /gustav > > > > > > > On Wed, 1 Sep 2004 20:53:36 +0200, Gustav Brock wrote: > > >> Hi Francisco > > >> > > >> > Agreed, I use them as a very last solution. They do CAUSE flickers, > > >> > and they interrupt other process as well. Such as adverse behavoirs > > >> > when using a combo bx and you find that your dropdown doesn't stay > > >> > dropped, because the timer continues to fire off in the background :D > > >> > > >> Except in this case ... did you try the counter solution? > > >> Works excellent here. > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > -Francisco > -- -Francisco From DWUTKA at marlow.com Tue Sep 7 12:03:08 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Sep 2004 12:03:08 -0500 Subject: [AccessD] Logon/Password Same as Network Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB346@main2.marlow.com> Just an FYI, I've seen this code before, and it's not quite perfect. There are false negatives. For example, my current password on our network shows as being 'false' or invalid. My co-worker's shows true (so the code does work.). The reason it fails, is because I use an Ascii character out of the normal typable range in my password. That fails on a lot of things that use API calls to authenticate. (Remote Administrator, by Famatech won't let me 'login' from a remote terminal, if I try to use my normal domain account....) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, Lambert Sent: Tuesday, September 07, 2004 11:03 AM To: 'Access Developers discussion and problem solving'; 'Nicholson, Karen' Subject: RE: [AccessD] Logon/Password Same as Network What's "the password"? Do you mean the logging password used for Access Security? Why would you want to make this the same as the users LAN login password? To do so would require your to keep the two synchronized and that would be a pain. Or do you in fact want to use the "Windows NT Challenge" process to validate an already logged in user? All I can say is that Authentication is kinda complex, but take a look here for an example.... http://vbnet.mvps.org/index.html?code/network/acceptsecuritycontext.htm Just be sure not to store those passwords anywhere or you will open up a security hole big enough to drive an 18-wheeler through. Lambert > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen > Sent: Tuesday, September 07, 2004 11:28 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Logon/Password Same as Network > > I know how to grab the logon from the network; is there a way to make > the password to be the same as the password housed on the network so > that the user will have the same logon/password? Thanks! > > Karen Nicholson > National Laboratory > Xerox Global Services > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Oleg_123 at xuppa.com Tue Sep 7 18:22:25 2004 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Tue, 7 Sep 2004 19:22:25 -0400 (EDT) Subject: [AccessD] Import columns In-Reply-To: <5211622762.20040905132250@cactus.dk> References: <16154.216.223.34.13.1094341710.squirrel@heck.xuppa.com> <5211622762.20040905132250@cactus.dk> Message-ID: <3098.24.187.37.126.1094599345.squirrel@heck.xuppa.com> Hi Gustav I envy you :)) Unfortanetely, i had used my old code (which is 5 times longer) one caz I also have to import to front clumns as well > Hi Oleg > > Assuming that your 12 fields are juxtaposed, why not just loop through > the records and the fields: > > Public Function AppendRecords() > > ' First field of source table to pick data. > Const clngRst1Offset As Long = 4 ' Adjust! > ' First field of target table to insert data. > Const clngRst2Offset As Long = 1 ' Adjust! > ' Max count of fields to use in target table. > Const clngRst2Max As Long = 12 > > Dim cnn As ADODB.Connection > Dim rst1 As ADODB.Recordset > Dim rst2 As ADODB.Recordset > Dim strSQL1 As String > Dim strSQL2 As String > Dim lngField1 As Long > Dim lngField2 As Long > Dim lngField As Long > > Set cnn = CurrentProject.Connection > Set rst1 = New ADODB.Recordset > Set rst2 = New ADODB.Recordset > > strSQL1 = "Select * From Hrsqd" > strSQL2 = "Select Top 1 * From Hrsqd_Full" > > rst1.Open strSQL1, cnn, adOpenKeyset, adLockOptimistic, > adCmdTableDirect rst2.Open strSQL2, cnn, adOpenKeyset, > adLockOptimistic, adCmdTableDirect > > ' Number of fields to pick from source table. > lngField1 = rst1.Fields.Count - clngRst1Offset > ' First field in target table to insert data. > lngField2 = clngRst2Offset + clngRst2Max - lngField1 > > Do While Not rst1.EOF > rst2.AddNew > For lngField = 0 To lngField1 - 1 > rst2.Fields(lngField2 + lngField).Value = _ > rst1.Fields(clngRst1Offset + lngField).Value > Next > rst2.Update > rst1.MoveNext > Loop > > rst2.Close > rst1.Close > > Set rst2 = Nothing > Set rst1 = Nothing > Set cnn = Nothing > > End Function > > /gustav > > >> Hey Group, happy holidays fro those of u in US. I am supposed to count >> the number of columns and based on the result import the data into a >> table with month names. The last column always contains December >> Am I on the right track ? >> This is what I've done so far --- > >> Private Sub Command1_Click() >> Dim cnn As ADODB.Connection >> Dim rst1 As New ADODB.Recordset >> Dim SQL1 As String, SQL2 As String >> Dim a As Integer 'number of columns >> Dim b As Integer >> Dim Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec > >> Set cnn = CurrentProject.Connection > >> SQL1 = "Select * From Hrsqd" >> rst1.Open SQL1, cnn, adOpenKeyset, adLockOptimistic, adCmdTableDirect > >> a = rst1.Fields.Count 'number of fields >> b = a - 2 ' number of month fields > > > >> If b = 6 Then 'Jul - Dec >> Do Until rst1.EOF >> Jul = rst1.Fields(3) >> Aug = rst1.Fields(4) >> Sep = rst1.Fields(5) >> Oct = rst1.Fields(6) >> Nov = rst1.Fields(7) >> Dec = rst1.Fields(8) >> Loop >> End If > >> If b = 5 Then 'Aug - Dec >> Do Until rst1.EOF >> Aug = rst1.Fields(3) >> Sep = rst1.Fields(4) >> Oct = rst1.Fields(5) >> Nov = rst1.Fields(6) >> Dec = rst1.Fields(7) >> Loop >> End If > >> If b = 4 Then 'Sep - Dec >> Do Until rst1.EOF >> Sep = rst1.Fields(3) >> Oct = rst1.Fields(4) >> Nov = rst1.Fields(5) >> Dec = rst1.Fields(6) >> Loop >> End If > >> rst1.Close > >> SQL2 = "INSERT Into HRSQD_Full (Jan, Feb, Mar, Apr, May, Jun, Jul, >> Aug, Sep, Oct, Nov, Dec) Values (" & Jan & "," & Feb & "," & Mar & "," >> & Apr & "," & May & "," & Jun & "," & Jul & "," & Aug & "," & Sep & >> "," & Oct & "," & Nov & "," & Dec & ")" > >> MsgBox a > >> End Sub > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Make Money and Find Love at Finally.com http://www.finally.com/?link=webmail From Oleg_123 at xuppa.com Tue Sep 7 18:35:38 2004 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Tue, 7 Sep 2004 19:35:38 -0400 (EDT) Subject: [AccessD] transferring text file In-Reply-To: References: <003901c494ba$474923a0$de1118ac@D8TZHN0J> <413E0DDB.26661.10EF57B7@lexacorp.com.pg> Message-ID: <3357.24.187.37.126.1094600138.squirrel@heck.xuppa.com> Hello Group, I need either transfer txt file to a table either everything(first 2 columns in a text format) or if possible to to transfer first 2 columns in a text format, skip columns 3-8, and then column 9 and everything else. (There is no fixed number of fields(columns) in the text file it varies from 9 to 20) I tried with a macro (but i can't do specifications since i dom't know how columns there'll be) but it for some reason wants to transfer first second column as number (when its clearly text) thus loosing a lot of data. I got this so far, not sure what's next --- Private Sub Command4_Click() On Error Resume Next Dim fs As New Scripting.FileSystemObject Dim ts As Scripting.TextStream Dim gOut As Outlook.Application Dim mOut As Outlook.MailItem Dim strLine As String Dim aRecord If fs.FileExists("C:\Hrsqd.txt") Then MsgBox "Exists" Set ts = fs.OpenTextFile("C:\Hrsqd.txt", ForReading) Do Until ts.AtEndOfStream strLine = ts.ReadLine aRecord = Split(strLine, ",") Loop Else MsgBox "Doesn't Exist" End If End Sub ----------------------------------------- Make Money and Find Love at Finally.com http://www.finally.com/?link=webmail From donald.a.Mcgillivray at mail.sprint.com Tue Sep 7 19:36:46 2004 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Tue, 7 Sep 2004 19:36:46 -0500 Subject: [AccessD] Synchronizing Subform to Main form based on a date Message-ID: <988E2AC88CCB54459286C4077DB662F50129DBA5@PDAWB03C.ad.sprint.com> I'm pulling my hair out on this one. I have a simple main form with two unbound combos, one for a location and the other for a date. The RowSource for the location combo is a table that contains a record for each location - pulling the PK in column 1 and Name in column 2 from that table. Column 1 is bound and its width set to 0 so that only the name displays. The RowSource for the date combo is a summary query pulling from a transaction table with column 1 equal to Int(MyDateFromTrxTable) and column 2 equal to Format(MyDateFromTrxTable,"mm/dd/yyyy"). The query is grouped on column 1 so that only one row for each date appears. Column 1 is bound and width set to 0 so that only the formatted dates appear. I'm having trouble getting a simple subform ([Location], Int([Date]), [ItemDetail]) to synchronize with the main form. Using the location and date values, the only way I've been able to get it to work is to expose the first column of the date combo by setting its width to something other than zero. Of course, I don't want the date serial number to be displayed on the form - just the formatted date. Note that I have restricted both the bound column of the combo and the corresponding value in the subform to just the integer portion of the date. Thus, I don't think this is a matter of trying to match a "date-only" value against a "date-with-time" value. I work with subforms like this all the time, though I don't think I've ever attempted to use a date value as part of the link. Is there some esoteric quality of date values that I need to know about here? Anybody have a clue about why this won't work as advertised? Thanks! Don McGillivray From artful at rogers.com Tue Sep 7 20:40:05 2004 From: artful at rogers.com (Arthur Fuller) Date: Tue, 7 Sep 2004 21:40:05 -0400 Subject: [AccessD] Syntax question about control references In-Reply-To: Message-ID: <01c401c49544$c4441f10$6501a8c0@rock> Works like a charm, Chris! Thanks. Now I just have the remaining and strictly cosmetic problem, but the interface screams out for it, and if I could deliver it I know the users would have spiritual orgasms. The way is datasheet form is currently laid out, the column corresponding to today is positioned at the extreme right of the visible part of the form. Column 1 of the form is invisible. Column 2 is frozen. I would LOVE to somehow scroll the columns so that the column selected using your code is the first visible scrollable column. Is horizontal scrolling somehow programmable? Thanks again. Two clean lines of yours plus a Dim of mine and it's smooth as glass. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mackin, Christopher Sent: Tuesday, September 07, 2004 11:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Syntax question about control references strCtlName = CStr(eom(date)) Me(strCtlName).SetFocus Should work. -Chris Mackin From jwcolby at colbyconsulting.com Tue Sep 7 23:01:46 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 08 Sep 2004 00:01:46 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <20040907184735.64356.qmail@web20423.mail.yahoo.com> Message-ID: <000e01c49558$93bb8fe0$80b3fea9@ColbyM6805> The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/actionpack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com From bchacc at san.rr.com Wed Sep 8 00:06:35 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 7 Sep 2004 22:06:35 -0700 Subject: [AccessD] AHOO!!! Got my action pack References: <000e01c49558$93bb8fe0$80b3fea9@ColbyM6805> Message-ID: <057e01c49561$9d9328d0$6601a8c0@HAL9002> John: Thanks for the rundown. I've being trying to decide between that and the partner program. This one looks god. Except what's that about a one-year license. Does your copy of Office 2003 crap out after one year? Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, September 07, 2004 9:01 PM Subject: RE: [AccessD] AHOO!!! Got my action pack > The action pack is a deal MS offers developers or companies that develop for > or sell MS stuff. For $300-400 they give you a ton of the latest software > and 10 licenses for all of it. You are allowed to use it in house, but not > sell it or install it on any client machines. It includes: > > Office Professional 2003 > Office Publisher 2003 > Office Frontpage 2003 > Office Visio Professional 2003 > Office Project Professional 2003 > Business contact Manager for Outlook 2003 > Office OneNote 2003 > MapPoint 2004 Standard Edition > Windows XP Professional > Virtual PC 2004 > Office Infopath 2003 > Business Solutions CRM Professional > Windows Server 2003 Standard Edition > Windows Server 2003 Web Edition > Exchange Server 2003 Enterprise Edition > Office Project Server 2003 > Office Sharepoint Server 2003 > Office Live Communications Server 2003 > SQL Server 2000 Standard Edition (damn!) > SQL Server 2000 Service Pack 3a > SQL Server Reporting Services > Mobile Information Server 2002 > Swindows Sharepoint Services Standard 2003 > Windows Small Business Server 2003 Premium Edition > > What is all this stuff you may ask. No idea. > > The package appears to also come with some kind of training CD for each ofr > these things. No books, must all be on CD. A neat little (BIG) organizer > size canvas folder to hold the disks. Nothing to hold the training > materials (C'mon MS, another folder to hold that and the sleeves hole > punched would have made it so much more professional). > > http://members.microsoft.com/partner/salesmarketing/partnermarket/actionpack > /actionpackus.aspx > > Watch for wrap. > > I had been looking at this package for awhile in order to bring my office > into the modern age (as defined by MS). > > So there you have it. A lot of stuff for a medium price (one year license > though!). But it gives you 10 licenses. I can put XP on all my desktops, > Server 2003 on both my new "server" machines, look at and possibly use > Office 2003 on my machines etc. I have a home office with 2 "server class" > machines and 2 desktop machines, plus one modern laptop and an old POS > laptop that I am currently re-installing Win2K Pro on. Being able to get a > consistent platform on everything might be nice. > > I had hoped to see 64bit OS and SQL Server included - they apparently do > exists, but not in here. 8-( > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson > Sent: Tuesday, September 07, 2004 2:48 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AHOO!!! Got my action pack > > > What's the main advantage to having the Action pack? > > "John W. Colby" wrote: > I just got my MS Action pack, very nice. So much to know, so little time. > > John W. Colby > www.ColbyConsulting.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From d.dick at uws.edu.au Wed Sep 8 00:57:21 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 8 Sep 2004 15:57:21 +1000 Subject: [AccessD] A2K: Used to work - now it errors Message-ID: <001a01c49568$b4b20700$4a619a89@DDICK> Hello all This used to work now I get Run Time Error 13 - Type Mismatch Then the debugger yellows out the "Set rst" line Any suggestions Dao 3.6 is referenced Dim dbs As Database rst As Recordset iBookingID As Integer Set dbs = CurrentDb iBookingID = [Forms]![frmBookings].[BookingID] ===> this line fails Set rst = dbs.OpenRecordset("SELECT [People].[PersonID] FROM People INNER JOIN BookingPeople ON BookingPeople.PersonID = People.PersonID WHERE not isnull([EmailAddress]) and BookingID = " & iBookingID & ";", dbOpenDynaset) Many thanks in advance Have a great day Darren From d.dick at uws.edu.au Wed Sep 8 01:29:35 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 8 Sep 2004 16:29:35 +1000 Subject: [AccessD] A2K: Used to work - now it errors SOLVED In-Reply-To: <001a01c49568$b4b20700$4a619a89@DDICK> Message-ID: <001b01c4956d$35c28190$4a619a89@DDICK> Moved DAO above ADO in the ref list now it works Now time to go and see what ADO stuff fails :-(( Thanks y'all DD -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Wednesday, 8 September 2004 3:57 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K: Used to work - now it errors Hello all This used to work now I get Run Time Error 13 - Type Mismatch Then the debugger yellows out the "Set rst" line Any suggestions Dao 3.6 is referenced Dim dbs As Database rst As Recordset iBookingID As Integer Set dbs = CurrentDb iBookingID = [Forms]![frmBookings].[BookingID] ===> this line fails Set rst = dbs.OpenRecordset("SELECT [People].[PersonID] FROM People INNER JOIN BookingPeople ON BookingPeople.PersonID = People.PersonID WHERE not isnull([EmailAddress]) and BookingID = " & iBookingID & ";", dbOpenDynaset) Many thanks in advance Have a great day Darren -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Sep 8 01:57:26 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 8 Sep 2004 08:57:26 +0200 Subject: [AccessD] A2K: Used to work - now it errors In-Reply-To: <001a01c49568$b4b20700$4a619a89@DDICK> References: <001a01c49568$b4b20700$4a619a89@DDICK> Message-ID: <48569739.20040908085726@cactus.dk> Hi Darren Specify what your intent is: Dim dbs As DAO.Database Dim rst As DAO.Recordset Then the order of references doesn't matter. /gustav > This used to work now I get Run Time Error 13 - Type Mismatch > Then the debugger yellows out the "Set rst" line > Any suggestions > Dao 3.6 is referenced > Dim dbs As Database > rst As Recordset From andy at minstersystems.co.uk Wed Sep 8 02:15:04 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 8 Sep 2004 08:15:04 +0100 Subject: [AccessD] Synchronizing Subform to Main form based on a date In-Reply-To: <988E2AC88CCB54459286C4077DB662F50129DBA5@PDAWB03C.ad.sprint.com> Message-ID: <000401c49573$909ef250$b274d0d5@minster33c3r25> Just a thought Donald but if you placed a hidden calc'd control on the main form with =YourDateCombo.Column(0) and put in that in your linking fields would that help? -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Mcgillivray, Donald [ITS] > Sent: 08 September 2004 01:37 > To: AccessD > Subject: [AccessD] Synchronizing Subform to Main form based on a date > > > I'm pulling my hair out on this one. > > I have a simple main form with two unbound combos, one for a > location and the other for a date. The RowSource for the > location combo is a table that contains a record for each > location - pulling the PK in column 1 and Name in column 2 > from that table. Column 1 is bound and its width set to 0 so > that only the name displays. The RowSource for the date > combo is a summary query pulling from a transaction table > with column 1 equal to Int(MyDateFromTrxTable) and column 2 > equal to Format(MyDateFromTrxTable,"mm/dd/yyyy"). The query > is grouped on column 1 so that only one row for each date > appears. Column 1 is bound and width set to 0 so that only > the formatted dates appear. > > I'm having trouble getting a simple subform ([Location], Int([Date]), > [ItemDetail]) to synchronize with the main form. Using the > location and date values, the only way I've been able to get > it to work is to expose the first column of the date combo by > setting its width to something other than zero. Of course, I > don't want the date serial number to be displayed on the form > - just the formatted date. > > Note that I have restricted both the bound column of the > combo and the corresponding value in the subform to just the > integer portion of the date. Thus, I don't think this is a > matter of trying to match a "date-only" value against a > "date-with-time" value. > > I work with subforms like this all the time, though I don't > think I've ever attempted to use a date value as part of the > link. Is there some esoteric quality of date values that I > need to know about here? Anybody have a clue about why this > won't work as advertised? > > Thanks! > > Don McGillivray > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From jwcolby at colbyconsulting.com Wed Sep 8 02:45:33 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 08 Sep 2004 03:45:33 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <057e01c49561$9d9328d0$6601a8c0@HAL9002> Message-ID: <001b01c49577$d3bcd030$80b3fea9@ColbyM6805> I don't know. I know that the license "expires" after 1 year, but it appears that these are just real copies of these various things. I doubt they quit working. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, September 08, 2004 1:07 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack John: Thanks for the rundown. I've being trying to decide between that and the partner program. This one looks god. Except what's that about a one-year license. Does your copy of Office 2003 crap out after one year? Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, September 07, 2004 9:01 PM Subject: RE: [AccessD] AHOO!!! Got my action pack > The action pack is a deal MS offers developers or companies that > develop for > or sell MS stuff. For $300-400 they give you a ton of the latest > software and 10 licenses for all of it. You are allowed to use it in > house, but not > sell it or install it on any client machines. It includes: > > Office Professional 2003 > Office Publisher 2003 > Office Frontpage 2003 > Office Visio Professional 2003 > Office Project Professional 2003 > Business contact Manager for Outlook 2003 > Office OneNote 2003 > MapPoint 2004 Standard Edition > Windows XP Professional > Virtual PC 2004 > Office Infopath 2003 > Business Solutions CRM Professional > Windows Server 2003 Standard Edition > Windows Server 2003 Web Edition > Exchange Server 2003 Enterprise Edition > Office Project Server 2003 > Office Sharepoint Server 2003 > Office Live Communications Server 2003 > SQL Server 2000 Standard Edition (damn!) > SQL Server 2000 Service Pack 3a > SQL Server Reporting Services > Mobile Information Server 2002 > Swindows Sharepoint Services Standard 2003 > Windows Small Business Server 2003 Premium Edition > > What is all this stuff you may ask. No idea. > > The package appears to also come with some kind of training CD for > each ofr > these things. No books, must all be on CD. A neat little (BIG) > organizer size canvas folder to hold the disks. Nothing to hold the > training materials (C'mon MS, another folder to hold that and the > sleeves hole punched would have made it so much more professional). > > http://members.microsoft.com/partner/salesmarketing/partnermarket/actionpack > /actionpackus.aspx > > Watch for wrap. > > I had been looking at this package for awhile in order to bring my > office into the modern age (as defined by MS). > > So there you have it. A lot of stuff for a medium price (one year > license though!). But it gives you 10 licenses. I can put XP on all > my desktops, Server 2003 on both my new "server" machines, look at and > possibly use Office 2003 on my machines etc. I have a home office > with 2 "server class" > machines and 2 desktop machines, plus one modern laptop and an old POS > laptop that I am currently re-installing Win2K Pro on. Being able to > get a > consistent platform on everything might be nice. > > I had hoped to see 64bit OS and SQL Server included - they apparently > do exists, but not in here. 8-( > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie > Johnson > Sent: Tuesday, September 07, 2004 2:48 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AHOO!!! Got my action pack > > > What's the main advantage to having the Action pack? > > "John W. Colby" wrote: > I just got my MS Action pack, very nice. So much to know, so little > time. > > John W. Colby > www.ColbyConsulting.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Sep 8 03:11:52 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 8 Sep 2004 10:11:52 +0200 Subject: [AccessD] Broadcast A Message In-Reply-To: <000001c49501$8e6e8490$b274d0d5@minster33c3r25> References: <000001c49501$8e6e8490$b274d0d5@minster33c3r25> Message-ID: <235035100.20040908101152@cactus.dk> Hi Andy > Anyone got any info/code to broadcast a message to selected machines/users. > We've an NT4 server and a Novell server so could use either technology. Here are two links for Novell: http://developer.novell.com/support/sample/tids/vbxdssnd/vbxdssnd.htm http://www.clippings.vivitec.com.au/pp_article_id_8.html /gustav From gustav at cactus.dk Wed Sep 8 02:33:13 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 8 Sep 2004 09:33:13 +0200 Subject: [AccessD] Syntax question about control references In-Reply-To: <01c401c49544$c4441f10$6501a8c0@rock> References: <01c401c49544$c4441f10$6501a8c0@rock> Message-ID: <662716005.20040908093313@cactus.dk> Hi Arthur You could try playing with the GoToPage method: Forms("frmYourForm").GoToPage 1, x, 0 where x = ([count of columns to move] + Offset) * [Width of column in twips] If you succeed somehow please let us know. /gustav > The way is datasheet form is currently laid out, the column > corresponding to today is positioned at the extreme right of the visible > part of the form. Column 1 of the form is invisible. Column 2 is frozen. > I would LOVE to somehow scroll the columns so that the column selected > using your code is the first visible scrollable column. Is horizontal > scrolling somehow programmable? From Paul.Rogers at SummitMedia.co.uk Wed Sep 8 04:02:44 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Wed, 8 Sep 2004 10:02:44 +0100 Subject: [AccessD] Cheering up CheckBoxes Message-ID: Can a Check Box be brightened up, made bigger, be given a background colour, any colour, something to make it stand out on the form, please, Experts? Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/2004 From gustav at cactus.dk Wed Sep 8 04:17:39 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 8 Sep 2004 11:17:39 +0200 Subject: [AccessD] Cheering up CheckBoxes In-Reply-To: References: Message-ID: <128982095.20040908111739@cactus.dk> Hi Paul Not the checkbox itself but you could put it in front of a slightly larger quadrate filled with a colour which you turn visible or not. /gustav > Can a Check Box be brightened up, made bigger, be given a background colour, > any colour, something to make it stand out on the form, please, Experts? > Cheers paul From Paul.Rogers at SummitMedia.co.uk Wed Sep 8 04:30:15 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Wed, 8 Sep 2004 10:30:15 +0100 Subject: [AccessD] Cheering up CheckBoxes Message-ID: Excellent, Gustav.Thanks, that's a great idea. Many thanks. Cheers paul -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: 08 September 2004 10:18 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Cheering up CheckBoxes Hi Paul Not the checkbox itself but you could put it in front of a slightly larger quadrate filled with a colour which you turn visible or not. /gustav > Can a Check Box be brightened up, made bigger, be given a background colour, > any colour, something to make it stand out on the form, please, Experts? > Cheers paul -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/2004 From gustav at cactus.dk Wed Sep 8 04:56:48 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 8 Sep 2004 11:56:48 +0200 Subject: [AccessD] Synchronizing Subform to Main form based on a date In-Reply-To: <988E2AC88CCB54459286C4077DB662F50129DBA5@PDAWB03C.ad.sprint.com> References: <988E2AC88CCB54459286C4077DB662F50129DBA5@PDAWB03C.ad.sprint.com> Message-ID: <15311331213.20040908115648@cactus.dk> Hi Donald Perhaps you need to convert the value from the combobox (which is a string) to a long as the value for the master field. [Location], Int([cboCombo2]), ... /gustav > I'm pulling my hair out on this one. > I have a simple main form with two unbound combos, one for a location > and the other for a date. The RowSource for the location combo is a > table that contains a record for each location - pulling the PK in > column 1 and Name in column 2 from that table. Column 1 is bound and > its width set to 0 so that only the name displays. The RowSource for > the date combo is a summary query pulling from a transaction table with > column 1 equal to Int(MyDateFromTrxTable) and column 2 equal to > Format(MyDateFromTrxTable,"mm/dd/yyyy"). The query is grouped on column > 1 so that only one row for each date appears. Column 1 is bound and > width set to 0 so that only the formatted dates appear. > I'm having trouble getting a simple subform ([Location], Int([Date]), > [ItemDetail]) to synchronize with the main form. Using the location and > date values, the only way I've been able to get it to work is to expose > the first column of the date combo by setting its width to something > other than zero. Of course, I don't want the date serial number to be > displayed on the form - just the formatted date. > Note that I have restricted both the bound column of the combo and the > corresponding value in the subform to just the integer portion of the > date. Thus, I don't think this is a matter of trying to match a > "date-only" value against a "date-with-time" value. > I work with subforms like this all the time, though I don't think I've > ever attempted to use a date value as part of the link. Is there some > esoteric quality of date values that I need to know about here? Anybody > have a clue about why this won't work as advertised? > Thanks! > Don McGillivray From ebarro at afsweb.com Wed Sep 8 08:21:00 2004 From: ebarro at afsweb.com (Eric Barro) Date: Wed, 8 Sep 2004 06:21:00 -0700 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <001b01c49577$d3bcd030$80b3fea9@ColbyM6805> Message-ID: What it probably means it that you're going to stop getting update CDs from M$ for any of the products you have licenses for so if they come out with Office 2004 or SQL server 2005 you will have to purchase a separate license if you wanted to use it. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, September 08, 2004 12:46 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack I don't know. I know that the license "expires" after 1 year, but it appears that these are just real copies of these various things. I doubt they quit working. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, September 08, 2004 1:07 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack John: Thanks for the rundown. I've being trying to decide between that and the partner program. This one looks god. Except what's that about a one-year license. Does your copy of Office 2003 crap out after one year? Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, September 07, 2004 9:01 PM Subject: RE: [AccessD] AHOO!!! Got my action pack > The action pack is a deal MS offers developers or companies that > develop for > or sell MS stuff. For $300-400 they give you a ton of the latest > software and 10 licenses for all of it. You are allowed to use it in > house, but not > sell it or install it on any client machines. It includes: > > Office Professional 2003 > Office Publisher 2003 > Office Frontpage 2003 > Office Visio Professional 2003 > Office Project Professional 2003 > Business contact Manager for Outlook 2003 > Office OneNote 2003 > MapPoint 2004 Standard Edition > Windows XP Professional > Virtual PC 2004 > Office Infopath 2003 > Business Solutions CRM Professional > Windows Server 2003 Standard Edition > Windows Server 2003 Web Edition > Exchange Server 2003 Enterprise Edition > Office Project Server 2003 > Office Sharepoint Server 2003 > Office Live Communications Server 2003 > SQL Server 2000 Standard Edition (damn!) > SQL Server 2000 Service Pack 3a > SQL Server Reporting Services > Mobile Information Server 2002 > Swindows Sharepoint Services Standard 2003 > Windows Small Business Server 2003 Premium Edition > > What is all this stuff you may ask. No idea. > > The package appears to also come with some kind of training CD for > each ofr > these things. No books, must all be on CD. A neat little (BIG) > organizer size canvas folder to hold the disks. Nothing to hold the > training materials (C'mon MS, another folder to hold that and the > sleeves hole punched would have made it so much more professional). > > http://members.microsoft.com/partner/salesmarketing/partnermarket/actionpack > /actionpackus.aspx > > Watch for wrap. > > I had been looking at this package for awhile in order to bring my > office into the modern age (as defined by MS). > > So there you have it. A lot of stuff for a medium price (one year > license though!). But it gives you 10 licenses. I can put XP on all > my desktops, Server 2003 on both my new "server" machines, look at and > possibly use Office 2003 on my machines etc. I have a home office > with 2 "server class" > machines and 2 desktop machines, plus one modern laptop and an old POS > laptop that I am currently re-installing Win2K Pro on. Being able to > get a > consistent platform on everything might be nice. > > I had hoped to see 64bit OS and SQL Server included - they apparently > do exists, but not in here. 8-( > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie > Johnson > Sent: Tuesday, September 07, 2004 2:48 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AHOO!!! Got my action pack > > > What's the main advantage to having the Action pack? > > "John W. Colby" wrote: > I just got my MS Action pack, very nice. So much to know, so little > time. > > John W. Colby > www.ColbyConsulting.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kost36 at otenet.gr Wed Sep 8 08:33:03 2004 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Wed, 8 Sep 2004 16:33:03 +0300 Subject: [AccessD] Protecting a subform with password References: Message-ID: <005601c495a8$6a74f270$0100a8c0@KOST36> Jim DeMarco and Jim Lawrence, thank's for your help Be well kostas ----- Original Message ----- From: "Jim Lawrence (AccessD)" To: "Access Developers discussion and problem solving" Sent: Tuesday, September 07, 2004 8:46 PM Subject: RE: [AccessD] Protecting a subform with password > Hi Kostas: > > It is not possible to hide the line of code in an uncompiled DB, (MDB). > You > can compile the DB is compiled into a MDE file and therefore blocking > viewing access to all the source. > > HTH > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kostas > Konstantinidis > Sent: Tuesday, September 07, 2004 6:25 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Protecting a subform with password > > > Hi group, > thank's all for your response to my question > I tried the follown (which seems to work) and was wondering if it could be > possible and how to hide the line "Level0Pass = "123"" > making it unreadable e.g. instead of 123 to appear *** > thank you > kostas > > Private Sub Command0_Click() > Dim Green As Boolean, Level0Pass As String, stDocName As String, > stLinkCriteria As String > Level0Pass = "123" > Green = False > If Pass = Level0Pass Then > Green = True > End If > If Green Then > stDocName = "MT_entoli" > stLinkCriteria = "[AM]=" & [Forms]![MT_basic_char]![AM] > DoCmd.OpenForm stDocName, , , stLinkCriteria > DoCmd.Close acForm, "P_Form" > Else > DoCmd.Close > 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 Jeff at OUTBAKTech.com Wed Sep 8 09:49:56 2004 From: Jeff at OUTBAKTech.com (Jeff Barrows) Date: Wed, 8 Sep 2004 09:49:56 -0500 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: <8DA8776D2F418E46A2A464AC6CE630500326B2@outbaksrv1.outbaktech.com> Technically, it means is that if you decide NOT to renew your Action Pack Subscription, you agree to remove all of the Action Pack software from any / all of your machines after one year. But for $199 a year (after the first year), it only makes sense to renew it. -----Original Message----- From: Eric Barro [mailto:ebarro at afsweb.com] Sent: Wed 9/8/2004 8:21 AM To: Access Developers discussion and problem solving Cc: Subject: RE: [AccessD] AHOO!!! Got my action pack What it probably means it that you're going to stop getting update CDs from M$ for any of the products you have licenses for so if they come out with Office 2004 or SQL server 2005 you will have to purchase a separate license if you wanted to use it. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, September 08, 2004 12:46 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack I don't know. I know that the license "expires" after 1 year, but it appears that these are just real copies of these various things. I doubt they quit working. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, September 08, 2004 1:07 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack John: Thanks for the rundown. I've being trying to decide between that and the partner program. This one looks god. Except what's that about a one-year license. Does your copy of Office 2003 crap out after one year? Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, September 07, 2004 9:01 PM Subject: RE: [AccessD] AHOO!!! Got my action pack > The action pack is a deal MS offers developers or companies that > develop for > or sell MS stuff. For $300-400 they give you a ton of the latest > software and 10 licenses for all of it. You are allowed to use it in > house, but not > sell it or install it on any client machines. It includes: > > Office Professional 2003 > Office Publisher 2003 > Office Frontpage 2003 > Office Visio Professional 2003 > Office Project Professional 2003 > Business contact Manager for Outlook 2003 > Office OneNote 2003 > MapPoint 2004 Standard Edition > Windows XP Professional > Virtual PC 2004 > Office Infopath 2003 > Business Solutions CRM Professional > Windows Server 2003 Standard Edition > Windows Server 2003 Web Edition > Exchange Server 2003 Enterprise Edition > Office Project Server 2003 > Office Sharepoint Server 2003 > Office Live Communications Server 2003 > SQL Server 2000 Standard Edition (damn!) > SQL Server 2000 Service Pack 3a > SQL Server Reporting Services > Mobile Information Server 2002 > Swindows Sharepoint Services Standard 2003 > Windows Small Business Server 2003 Premium Edition > > What is all this stuff you may ask. No idea. > > The package appears to also come with some kind of training CD for > each ofr > these things. No books, must all be on CD. A neat little (BIG) > organizer size canvas folder to hold the disks. Nothing to hold the > training materials (C'mon MS, another folder to hold that and the > sleeves hole punched would have made it so much more professional). > > http://members.microsoft.com/partner/salesmarketing/partnermarket/actionpack > /actionpackus.aspx > > Watch for wrap. > > I had been looking at this package for awhile in order to bring my > office into the modern age (as defined by MS). > > So there you have it. A lot of stuff for a medium price (one year > license though!). But it gives you 10 licenses. I can put XP on all > my desktops, Server 2003 on both my new "server" machines, look at and > possibly use Office 2003 on my machines etc. I have a home office > with 2 "server class" > machines and 2 desktop machines, plus one modern laptop and an old POS > laptop that I am currently re-installing Win2K Pro on. Being able to > get a > consistent platform on everything might be nice. > > I had hoped to see 64bit OS and SQL Server included - they apparently > do exists, but not in here. 8-( > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie > Johnson > Sent: Tuesday, September 07, 2004 2:48 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AHOO!!! Got my action pack > > > What's the main advantage to having the Action pack? > > "John W. Colby" wrote: > I just got my MS Action pack, very nice. So much to know, so little > time. > > John W. Colby > www.ColbyConsulting.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Wed Sep 8 10:01:28 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 8 Sep 2004 11:01:28 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <000801c49507$a0be1ce0$80b3fea9@ColbyM6805> Message-ID: John, I've had an action pack subscription for 4 years now and although it has a lot of nice stuff, I find it hard to really put any of it to use. Most of it is simply overkill for the type of clients I have. It really is geared more towards larger Microsoft Partners that would have one or more full time salesmen pushing products. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 2:22 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] AHOO!!! Got my action pack I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Wed Sep 8 10:22:14 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 8 Sep 2004 08:22:14 -0700 Subject: Fw: [AccessD] Parts and assemblies design Message-ID: <013701c495b7$9f0bc900$6601a8c0@HAL9002> List: Sorry for the post. It should be off-line but got bounced. Philippe: I responded to your message but the address it was sent to when I hit reply: Philippe.Pons19_nospam at wanadoo.fr> had permanent fatal errors. Below is my reply to you. Regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Philippe Pons" Sent: Wednesday, September 08, 2004 8:01 AM Subject: Re: [AccessD] Parts and assemblies design > Philippe: > > In the old DOS days I had a French version. And a Dutch version as well, > both through a distributor in Holland. Right now the only foreign language > system is available in is Chinese which we should be releasing next month. > But I am working on Spanish. > > I have set the system up to make it easy to add languages. There are tables > which hold all of the control captions and messages so that adding a column > for an additional language is no problem. I just need to get someone to > fill in the blanks. > > Interested? :) > > Regards, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > ----- Original Message ----- > From: "Philippe Pons" > To: > Sent: Wednesday, September 08, 2004 6:23 AM > Subject: Re: [AccessD] Parts and assemblies design > > > > > > Hi, > > > > Has it benn translated into French? > > Do you sell it in France? > > > > Philippe > > > > Should you send an answer, please remove _nospam from my @email > > > > ----- Original Message ----- > > From: "Rocky Smolin - Beach Access Software" > > To: "Access Developers discussion and problem solving" > > > > Cc: "Tom Hintz" > > Sent: Sunday, September 05, 2004 9:17 PM > > Subject: Re: [AccessD] Parts and assemblies design > > > > > > > Eric: > > > > > > Shameless plug for my manufacturing system. You can check it out at > > > www.ezmrp.com > > > > > > It will do the structured bills of material that they need. > > > > > > I just added a Capacity Requirements Planning module to the system which > > > does not yet show on the web site however. In the CRP module you define > > > work centers and then add routings for each assembly - queue time, set > up > > > time and unit run time for each operation. Although it's not part of > > their > > > immediate requirement, as a bonus, the CRP Calculate program will > > calculate > > > how much of each work center's capacity is being used every day. > > > > > > Once they have that database built, since EZMRP is written in Access, > and > > > since the back end is wide open, you could easily write a report in > their > > > custom format, although E-Z-MRP does have a traveler report which shows > > the > > > start date for each operation based on a specific work order, that work > > > order's due date, and the assembly's lead time and, actually, the report > > you > > > model there looks mostly like an indented bill of materials, which, of > > > course, E-Z-MRP does. > > > > > > Starting with E-Z-MRP's framework might save you a LOT of development > > time. > > > (BTW, the audit trail that it produces on each inventory transaction, to > > > which you can attach a serial or lot number, also goes along way towards > > > satisfying FDA requirements.) > > > > > > If you're interested after checking the web site, please contact me > > off-line > > > at bchacc at san.rr.com and I'll give you a system to evaluate. Or call if > > you > > > want to talk about it - 858-259-4334. > > > > > > HTH > > > > > > Rocky Smolin > > > Beach Access Software > > > http://www.e-z-mrp.com > > > > > > > > > > > > > > > ----- Original Message ----- > > > From: "Eric Goetz" > > > To: > > > Sent: Sunday, September 05, 2004 11:32 AM > > > Subject: [AccessD] Parts and assemblies design > > > > > > > > > Hi, > > > > > > > > > > > > I am working on a database to replace some paper forms. I get the > > > feeling I'm starting more "from scratch" than I need to. So I thought > > > I'd ask if anyone knows of any examples of solutions for the following > > > problem. > > > > > > > > > > > > A medical device manufacturer needs to track all the actions performed > > > on each device as it moves through manufacturing to meet FDA > > > requirements. The forms are called "travelers." The first traveler gets > > > created when the device is built. A new traveler gets created every time > > > the device returns from the field (for upgrade or repair.) > > > > > > > > > > > > The forms show each part with its revision, part number, lot number, or > > > other attribute. There are different attributes for different types of > > > parts. Such as, software has a checksum, and a revision number while a > > > relay has does not. Instead, a relay has a lot number. > > > > > > > > > > > > Here are a couple of my challenges: > > > > > > > > > > > > I am modeling parts and assemblies, where an assembly is also a part. As > > > the devices come back from the field, they may get upgraded with > > > different parts and assemblies so the hierarchy is flexible. There seems > > > to be a many to many relationship between parts and assemblies. So, I > > > made a basic parts table: > > > > > > > > > > > > Part { ID, PartNumber, Name } where ID is the primary key > > > > > > Sample data: > > > > > > { 1, 26.026, Enclosure } > > > > > > { 57, 26.002, PCA } > > > > > > { 113, 26.100, ECA } > > > > > > { 114, 26.098, Xfrm } > > > > > > { 115, 26.022, Xfrm } > > > > > > { 116, 26.021, Xfrm } > > > > > > > > > > > > And I made another table to hold the many to many assignments between > > > parts and assemblies. > > > > > > AssyPartAssignment { ID, AssyID, PartID, Name } where ID is the primary > > > key and AssyID and PartID are foreign keys for the ID in the Part table. > > > > > > Sample data: > > > > > > { 1, 113, 57, Controller PCA } > > > > > > { 2, 113, 1, ECA Enclosure } > > > > > > { 3, 57, 114, Xfrm T1 } > > > > > > { 4, 57, 115, Xfrm T2 } > > > > > > { 5, 57, 116, Xfrm T3 } > > > > > > { 6, 57, 115, Xfrm T4 } > > > > > > > > > > > > The report needs to show this hierarchy. > > > > > > 26.100 - ECA > > > > > > 26.026 - ECA Enclosure > > > > > > 26.002 - Controller PCA > > > > > > 26.098 - Xfrm T1 > > > > > > 26.022 - Xfrm T2 > > > > > > 26.021 - Xfrm T3 > > > > > > 26.022 - Xfrm T4 > > > > > > > > > > > > The same transformer, 26.022 shows up twice in the PCA assembly. > > > > > > > > > > > > I'll build more tables for the different attributes of parts, such as, > > > software with its checksum, and parts that have only lots, and parts > > > that have revisions and lots. I'll use the ID key from the Part table as > > > the primary key for the subtype tables based on the entity relationship > > > chapter from the CJDate book. > > > > > > > > > > > > I need to make the forms to enter these variable hierarchies. > > > > > > > > > > > > Got any suggestions that might put a little more holiday in my Labor > > > Day? > > > > > > > > > > > > Thanks, > > > > > > > > > > > > Eric > > > > > > > > > > > > > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From DWUTKA at marlow.com Wed Sep 8 10:24:58 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 8 Sep 2004 10:24:58 -0500 Subject: [AccessD] Broadcast A Message Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB34F@main2.marlow.com> What are the clients running? Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, September 07, 2004 12:39 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Broadcast A Message Hi folks Anyone got any info/code to broadcast a message to selected machines/users. We've an NT4 server and a Novell server so could use either technology. -- 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 cfoust at infostatsystems.com Wed Sep 8 10:37:15 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Sep 2004 08:37:15 -0700 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: They don't quit working but you no longer have a license for them. So if you have to reactivate a product .... :-{ Charlotte -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, September 08, 2004 12:46 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack I don't know. I know that the license "expires" after 1 year, but it appears that these are just real copies of these various things. I doubt they quit working. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, September 08, 2004 1:07 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack John: Thanks for the rundown. I've being trying to decide between that and the partner program. This one looks god. Except what's that about a one-year license. Does your copy of Office 2003 crap out after one year? Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, September 07, 2004 9:01 PM Subject: RE: [AccessD] AHOO!!! Got my action pack > The action pack is a deal MS offers developers or companies that > develop for > or sell MS stuff. For $300-400 they give you a ton of the latest > software and 10 licenses for all of it. You are allowed to use it in > house, but not > sell it or install it on any client machines. It includes: > > Office Professional 2003 > Office Publisher 2003 > Office Frontpage 2003 > Office Visio Professional 2003 > Office Project Professional 2003 > Business contact Manager for Outlook 2003 > Office OneNote 2003 > MapPoint 2004 Standard Edition > Windows XP Professional > Virtual PC 2004 > Office Infopath 2003 > Business Solutions CRM Professional > Windows Server 2003 Standard Edition > Windows Server 2003 Web Edition > Exchange Server 2003 Enterprise Edition > Office Project Server 2003 > Office Sharepoint Server 2003 > Office Live Communications Server 2003 > SQL Server 2000 Standard Edition (damn!) > SQL Server 2000 Service Pack 3a > SQL Server Reporting Services > Mobile Information Server 2002 > Swindows Sharepoint Services Standard 2003 > Windows Small Business Server 2003 Premium Edition > > What is all this stuff you may ask. No idea. > > The package appears to also come with some kind of training CD for > each ofr > these things. No books, must all be on CD. A neat little (BIG) > organizer size canvas folder to hold the disks. Nothing to hold the > training materials (C'mon MS, another folder to hold that and the > sleeves hole punched would have made it so much more professional). > > http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack > /actionpackus.aspx > > Watch for wrap. > > I had been looking at this package for awhile in order to bring my > office into the modern age (as defined by MS). > > So there you have it. A lot of stuff for a medium price (one year > license though!). But it gives you 10 licenses. I can put XP on all > my desktops, Server 2003 on both my new "server" machines, look at and > possibly use Office 2003 on my machines etc. I have a home office > with 2 "server class" > machines and 2 desktop machines, plus one modern laptop and an old POS > laptop that I am currently re-installing Win2K Pro on. Being able to > get a > consistent platform on everything might be nice. > > I had hoped to see 64bit OS and SQL Server included - they apparently > do exists, but not in here. 8-( > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie > Johnson > Sent: Tuesday, September 07, 2004 2:48 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AHOO!!! Got my action pack > > > What's the main advantage to having the Action pack? > > "John W. Colby" wrote: > I just got my MS Action pack, very nice. So much to know, so little > time. > > John W. Colby > www.ColbyConsulting.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Wed Sep 8 10:23:56 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 8 Sep 2004 08:23:56 -0700 Subject: Fw: [AccessD] Parts and assemblies design Message-ID: <014301c495b7$dbbd8140$6601a8c0@HAL9002> Oops. Just saw the nospam thing. How does that work? (and does it work well?) Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Philippe Pons" Sent: Wednesday, September 08, 2004 8:01 AM Subject: Re: [AccessD] Parts and assemblies design > Philippe: > > In the old DOS days I had a French version. And a Dutch version as well, > both through a distributor in Holland. Right now the only foreign language > system is available in is Chinese which we should be releasing next month. > But I am working on Spanish. > > I have set the system up to make it easy to add languages. There are tables > which hold all of the control captions and messages so that adding a column > for an additional language is no problem. I just need to get someone to > fill in the blanks. > > Interested? :) > > Regards, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > ----- Original Message ----- > From: "Philippe Pons" > To: > Sent: Wednesday, September 08, 2004 6:23 AM > Subject: Re: [AccessD] Parts and assemblies design > > > > > > Hi, > > > > Has it benn translated into French? > > Do you sell it in France? > > > > Philippe > > > > Should you send an answer, please remove _nospam from my @email > > > > ----- Original Message ----- > > From: "Rocky Smolin - Beach Access Software" > > To: "Access Developers discussion and problem solving" > > > > Cc: "Tom Hintz" > > Sent: Sunday, September 05, 2004 9:17 PM > > Subject: Re: [AccessD] Parts and assemblies design > > > > > > > Eric: > > > > > > Shameless plug for my manufacturing system. You can check it out at > > > www.ezmrp.com > > > > > > It will do the structured bills of material that they need. > > > > > > I just added a Capacity Requirements Planning module to the system which > > > does not yet show on the web site however. In the CRP module you define > > > work centers and then add routings for each assembly - queue time, set > up > > > time and unit run time for each operation. Although it's not part of > > their > > > immediate requirement, as a bonus, the CRP Calculate program will > > calculate > > > how much of each work center's capacity is being used every day. > > > > > > Once they have that database built, since EZMRP is written in Access, > and > > > since the back end is wide open, you could easily write a report in > their > > > custom format, although E-Z-MRP does have a traveler report which shows > > the > > > start date for each operation based on a specific work order, that work > > > order's due date, and the assembly's lead time and, actually, the report > > you > > > model there looks mostly like an indented bill of materials, which, of > > > course, E-Z-MRP does. > > > > > > Starting with E-Z-MRP's framework might save you a LOT of development > > time. > > > (BTW, the audit trail that it produces on each inventory transaction, to > > > which you can attach a serial or lot number, also goes along way towards > > > satisfying FDA requirements.) > > > > > > If you're interested after checking the web site, please contact me > > off-line > > > at bchacc at san.rr.com and I'll give you a system to evaluate. Or call if > > you > > > want to talk about it - 858-259-4334. > > > > > > HTH > > > > > > Rocky Smolin > > > Beach Access Software > > > http://www.e-z-mrp.com > > > > > > > > > > > > > > > ----- Original Message ----- > > > From: "Eric Goetz" > > > To: > > > Sent: Sunday, September 05, 2004 11:32 AM > > > Subject: [AccessD] Parts and assemblies design > > > > > > > > > Hi, > > > > > > > > > > > > I am working on a database to replace some paper forms. I get the > > > feeling I'm starting more "from scratch" than I need to. So I thought > > > I'd ask if anyone knows of any examples of solutions for the following > > > problem. > > > > > > > > > > > > A medical device manufacturer needs to track all the actions performed > > > on each device as it moves through manufacturing to meet FDA > > > requirements. The forms are called "travelers." The first traveler gets > > > created when the device is built. A new traveler gets created every time > > > the device returns from the field (for upgrade or repair.) > > > > > > > > > > > > The forms show each part with its revision, part number, lot number, or > > > other attribute. There are different attributes for different types of > > > parts. Such as, software has a checksum, and a revision number while a > > > relay has does not. Instead, a relay has a lot number. > > > > > > > > > > > > Here are a couple of my challenges: > > > > > > > > > > > > I am modeling parts and assemblies, where an assembly is also a part. As > > > the devices come back from the field, they may get upgraded with > > > different parts and assemblies so the hierarchy is flexible. There seems > > > to be a many to many relationship between parts and assemblies. So, I > > > made a basic parts table: > > > > > > > > > > > > Part { ID, PartNumber, Name } where ID is the primary key > > > > > > Sample data: > > > > > > { 1, 26.026, Enclosure } > > > > > > { 57, 26.002, PCA } > > > > > > { 113, 26.100, ECA } > > > > > > { 114, 26.098, Xfrm } > > > > > > { 115, 26.022, Xfrm } > > > > > > { 116, 26.021, Xfrm } > > > > > > > > > > > > And I made another table to hold the many to many assignments between > > > parts and assemblies. > > > > > > AssyPartAssignment { ID, AssyID, PartID, Name } where ID is the primary > > > key and AssyID and PartID are foreign keys for the ID in the Part table. > > > > > > Sample data: > > > > > > { 1, 113, 57, Controller PCA } > > > > > > { 2, 113, 1, ECA Enclosure } > > > > > > { 3, 57, 114, Xfrm T1 } > > > > > > { 4, 57, 115, Xfrm T2 } > > > > > > { 5, 57, 116, Xfrm T3 } > > > > > > { 6, 57, 115, Xfrm T4 } > > > > > > > > > > > > The report needs to show this hierarchy. > > > > > > 26.100 - ECA > > > > > > 26.026 - ECA Enclosure > > > > > > 26.002 - Controller PCA > > > > > > 26.098 - Xfrm T1 > > > > > > 26.022 - Xfrm T2 > > > > > > 26.021 - Xfrm T3 > > > > > > 26.022 - Xfrm T4 > > > > > > > > > > > > The same transformer, 26.022 shows up twice in the PCA assembly. > > > > > > > > > > > > I'll build more tables for the different attributes of parts, such as, > > > software with its checksum, and parts that have only lots, and parts > > > that have revisions and lots. I'll use the ID key from the Part table as > > > the primary key for the subtype tables based on the entity relationship > > > chapter from the CJDate book. > > > > > > > > > > > > I need to make the forms to enter these variable hierarchies. > > > > > > > > > > > > Got any suggestions that might put a little more holiday in my Labor > > > Day? > > > > > > > > > > > > Thanks, > > > > > > > > > > > > Eric > > > > > > > > > > > > > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From artful at rogers.com Wed Sep 8 11:31:55 2004 From: artful at rogers.com (Arthur Fuller) Date: Wed, 8 Sep 2004 12:31:55 -0400 Subject: [AccessD] Syntax question about control references In-Reply-To: <008501c494eb$27dc4930$6401a8c0@default> Message-ID: <009801c495c1$5ac58f60$6501a8c0@rock> Hi. No it is not set to continuous forms. (Frankly, except for very limited situations, I HATE continuous forms, but that's another story.) It's set for datasheet view. It's easy enough to set the focus to the desired control, but that's only half what I need. I need to scroll the form such that the control with focus is in the first unfrozen position. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Tuesday, September 07, 2004 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Syntax question about control references ----- Original Message ----- From: "Arthur Fuller" > My form has controls whose names derive from the EoM() of a given > date. That is, the end of a month. The control's name will be > something such as "12/31/2004", etc. I need to set the focus to the > column corresponding to today's date. For the date on which I am > writing this message, the correct column is named "9/30/2004". ... > The EoM() function (which I wrote) returns a date. I need to take this > value and turn it into a reference to a column, such that I can write: > > Me.columnName.SetFocus Arthur, It looks like you mean to say that you have a subform set to "continuous forms." If that's the case, you'd say Me.SubformName.Form.Controls("EOMDate").SetFocus ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Wed Sep 8 13:06:48 2004 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Wed, 8 Sep 2004 14:06:48 -0400 Subject: [AccessD] Syntax question about control references References: <009801c495c1$5ac58f60$6501a8c0@rock> Message-ID: <00d801c495ce$a0209cf0$6401a8c0@default> Arthur, You can actually move the column to the left by using DoCmd.RunCommand acCmdFreezeColumn. If you have other columns that you'd like to the left of the column with the correct date, you'll have to create an array of controls in which you'd SetFocus DoCmd.RunCommand acCmdFreezeColumn til they were in the order that you want. (Otherwise, there are Scroll APIs that you can get from one of Stephen Lebans creations www.lebans.com) ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Arthur Fuller" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, September 08, 2004 12:31 PM Subject: RE: [AccessD] Syntax question about control references > Hi. No it is not set to continuous forms. (Frankly, except for very > limited situations, I HATE continuous forms, but that's another story.) > It's set for datasheet view. It's easy enough to set the focus to the > desired control, but that's only half what I need. I need to scroll the > form such that the control with focus is in the first unfrozen position. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: Tuesday, September 07, 2004 10:59 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Syntax question about control references > > > > ----- Original Message ----- > From: "Arthur Fuller" > > > > My form has controls whose names derive from the EoM() of a given > > date. That is, the end of a month. The control's name will be > > something such as "12/31/2004", etc. I need to set the focus to the > > column corresponding to today's date. For the date on which I am > > writing this message, the correct column is named "9/30/2004". > ... > > The EoM() function (which I wrote) returns a date. I need to take this > > > value and turn it into a reference to a column, such that I can write: > > > > Me.columnName.SetFocus > > Arthur, > > It looks like you mean to say that you have > a subform set to "continuous forms." If that's > the case, you'd say > > Me.SubformName.Form.Controls("EOMDate").SetFocus > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From awithing at twcny.rr.com Wed Sep 8 13:10:44 2004 From: awithing at twcny.rr.com (augusta) Date: Wed, 8 Sep 2004 14:10:44 -0400 Subject: [AccessD] Shrinking fields in a report In-Reply-To: <009801c495c1$5ac58f60$6501a8c0@rock> Message-ID: <200409081810.i88IAlv3020534@ms-smtp-03.nyroc.rr.com> I have a report that contains basic info - Memname, business name, friends name, address, and total sum contributed. In the report I have on the left hand side name, business, friends name. The middle (ideally on the same line) address, and then alittle over (once again on the same line) is the Total Sum. I have set all the fields to shrink, but when there is only a business and friend name to the record, it does not shrink all the way. But when there is a Memname and friend name, it does. This is a mystery. Any clues? IS there a limit to the number of fields that can shrink? Thanks Augusta From gustav at cactus.dk Wed Sep 8 13:48:19 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 8 Sep 2004 20:48:19 +0200 Subject: [AccessD] Determine current page number of report in preview In-Reply-To: <002301c49418$f3b248d0$d01865cb@winxp> References: <225449706.20040902101059@cactus.dk> <002301c49418$f3b248d0$d01865cb@winxp> Message-ID: <8143222470.20040908204819@cactus.dk> Hi A.D. (warning: long post) Thanks for the hints and the demo. It is certainly possible to pick the page number by SendKeys and paste it into something else like a textbox. However, the link to Stephen Lebans' site contained the gold nuggets to achieve this via some API calls. It seems to work even when the report is minimized (and when in design view it doesn't fail). At the end, find the code for a complete module including the function SetCurrentReportPage() which will both set and get the page number of the current page when a report is displayed in preview. Also, two demo functions are included. /gustav > Gustav, > It is observed that events generated by a report opened in > preview mode, get exhausted in the first forward pass through its > pages. > As a result, in case of any subsequent navigation through the > pages already covered, there is no more firing of any event at all. > Values pertaining to Page and CurrentRecord properties of the report > remain stuck at the highest value touched (even if the page now > being viewed is a lower one in the sequence). > In view of the above, any attempt to obtain the current page > number (in subsequent passes) from code within the report's module, > gets vitiated on account of non-availability of any event that could > activate such code. > If your situation permits use of code attached to a form, a > solution could be worked out, adopting either of the following > approaches - > (a) Combination of SendKeys method along with API calls. It is > based upon the feature that pressing F5 key in the report preview > window selects the contents of page counter window at bottom left. > (b) Avoiding use of SendKeys by using additional API calls. > (In case of (a), the code involved is relatively simple, while > (b) might need very bulky & tedious code) > I can send you a sample db demonstrating a solution of type (a) > above. Your eMail address to be used for this purpose, may please be > advised. > If you are keen to evolve a solution of type (b) above, you > could get some working ideas from the function fTurnPage() at > Stephan Leban's site. > Regards, > A.D.Tejpal > -------------- > ----- Original Message ----- > How do you catch the current page in preview? > Access caches pages while you are browsing forward. > Fine, but if the user moves (browses) backwards, the Page property stays on the highest number even though the preview displays the correct lower page number. > I guess the only chance would be to catch the current page number from the status line of the preview window but I don't know if that is possible. This is the complete module for Access 97. Should work for Access 2000+ as well but is not tested. Option Compare Database Option Explicit ' Original code by Stephen Lebans: http://www.lebans.com ' Visit: http://www.lebans.com/Report.htm ' ' 2004-09-08: ' Modified by Gustav Brock, Cactus Data ApS, CPH. ' Added functionality for retrieving the current page number. ' Added simple demo. ' IMPORTANT: Call ResetReportHandles when opening the report! ' Copy this line and paste it into Report_Open: ' ' Call ResetReportHandles ' ' --- Private Type RECTL Left As Long Top As Long Right As Long Bottom As Long End Type Private Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" ( _ ByVal hWnd1 As Long, _ ByVal hWnd2 As Long, _ ByVal lpsz1 As String, _ ByVal lpsz2 As String) _ As Long Private Declare Function SetActiveWindow Lib "user32" ( _ ByVal hWnd As Long) _ As Long Private Declare Function GetWindow Lib "user32" ( _ ByVal hWnd As Long, _ ByVal wCmd As Long) _ As Long Private Declare Function GetWindowRect Lib "user32" ( _ ByVal hWnd As Long, _ ByRef lpRect As RECTL) _ As Long Private Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" ( _ ByVal hWnd As Long, _ ByVal lpString As String, _ ByVal cch As Long) _ As Long Private Declare Function GetWindowTextLength Lib "user32" Alias "GetWindowTextLengthA" ( _ ByVal hWnd As Long) _ As Long Private Declare Function SetWindowText Lib "user32" Alias "SetWindowTextA" ( _ ByVal hWnd As Long, _ ByVal lpString As String) _ As Long Private Declare Function PostMessage Lib "user32" Alias "PostMessageA" ( _ ByVal hWnd As Long, _ ByVal wMsg As Long, _ ByVal wParam As Long, _ ByVal lParam As Long) _ As Long Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" ( _ ByVal hWnd As Long, _ ByVal wMsg As Long, _ ByVal wParam As Long, _ ByRef lParam As Any) _ As Long Private Declare Function MapVirtualKey Lib "user32" Alias "MapVirtualKeyA" ( _ ByVal wCode As Long, _ ByVal wMapType As Long) _ As Long ' Window messages. Private Const WM_ACTIVATE = &H6 Private Const WM_SETFOCUS = &H7 Private Const WM_KILLFOCUS = &H8 Private Const WM_ENABLE = &HA Private Const WM_SETREDRAW = &HB Private Const WM_SETTEXT = &HC Private Const WM_GETTEXT = &HD Private Const WM_GETTEXTLENGTH = &HE Private Const WM_PAINT = &HF Private Const WM_CLOSE = &H10 Private Const WM_QUERYENDSESSION = &H11 Private Const WM_QUIT = &H12 Private Const WM_QUERYOPEN = &H13 Private Const WM_ERASEBKGND = &H14 Private Const WM_SYSCOLORCHANGE = &H15 Private Const WM_ENDSESSION = &H16 Private Const WM_SHOWWINDOW = &H18 Private Const WM_WININICHANGE = &H1A Private Const WM_DEVMODECHANGE = &H1B Private Const WM_ACTIVATEAPP = &H1C Private Const WM_FONTCHANGE = &H1D Private Const WM_TIMECHANGE = &H1E Private Const WM_CANCELMODE = &H1F Private Const WM_SETCURSOR = &H20 Private Const WM_MOUSEACTIVATE = &H21 Private Const WM_CHILDACTIVATE = &H22 Private Const WM_QUEUESYNC = &H23 Private Const WM_KEYFIRST = &H100 Private Const WM_KEYDOWN = &H100 Private Const WM_KEYUP = &H101 Private Const WM_CHAR = &H102 Private Const WM_DEADCHAR = &H103 Private Const WM_SYSKEYDOWN = &H104 Private Const WM_SYSKEYUP = &H105 Private Const WM_SYSCHAR = &H106 Private Const WM_SYSDEADCHAR = &H107 Private Const WM_KEYLAST = &H108 Private Const WM_INITDIALOG = &H110 Private Const WM_COMMAND = &H111 Private Const WM_SYSCOMMAND = &H112 Private Const WM_TIMER = &H113 Private Const WM_HSCROLL = &H114 Private Const WM_VSCROLL = &H115 Private Const WM_INITMENU = &H116 Private Const WM_INITMENUPOPUP = &H117 Private Const WM_MENUSELECT = &H11F Private Const WM_MENUCHAR = &H120 Private Const WM_ENTERIDLE = &H121 Private Const WM_MOUSEFIRST = &H200 Private Const WM_MOUSEMOVE = &H200 Private Const WM_LBUTTONDOWN = &H201 Private Const WM_LBUTTONUP = &H202 Private Const WM_LBUTTONDBLCLK = &H203 Private Const WM_RBUTTONDOWN = &H204 Private Const WM_RBUTTONUP = &H205 Private Const WM_RBUTTONDBLCLK = &H206 Private Const WM_MBUTTONDOWN = &H207 Private Const WM_MBUTTONUP = &H208 Private Const WM_MBUTTONDBLCLK = &H209 Private Const WM_MOUSELAST = &H209 ' GetWindow() constants. Private Const GW_HWNDFIRST = 0 Private Const GW_HWNDLAST = 1 Private Const GW_HWNDNEXT = 2 Private Const GW_HWNDPREV = 3 Private Const GW_OWNER = 4 Private Const GW_CHILD = 5 Private Const GW_MAX = 5 ' Other constants. Private Const HTCLIENT = 1 ' Private variables. ' Can (and must) be reset externally by calling sub ' ResetReportHandles Private hWndChild As Long Private hWndOSUI As Long Private Function MakeDWord( _ ByVal loword As Integer, _ ByVal hiword As Integer) _ As Long MakeDWord = (hiword * &H10000) Or (loword And &HFFFF&) End Function Public Sub ResetReportHandles() ' Reset Window handles. ' NB: Call this sub when opening the report! hWndOSUI = 0 hWndChild = 0 End Sub Public Function GetTextFromWindow( _ ByVal hWnd As Long) _ As String ' Retrieve text from a window identified by its handle. Dim strWindow As String Dim lngReturn As Long ' Create a buffer. strWindow = String(GetWindowTextLength(hWnd) + 1, vbNullChar) ' Get the window's text. lngReturn = GetWindowText(hWnd, strWindow, Len(strWindow)) strWindow = Left(strWindow, Len(strWindow) - 1) GetTextFromWindow = strWindow End Function Public Function SetCurrentReportPage( _ ByVal strReport As String, _ ByRef intPageNumber As Integer) _ As Boolean ' This function sets or retrieves the current page number of ' the Report Print Preview window. ' ' If intPageNumber is > 0, the preview page is moved to this number ' or the last page of the report if this is smaller. ' In any case, the currently displayed page number is returned in ' intPageNumber. ' If success, the function returns True. ' **** APP NOTES by Stephen Lebans **** ' I did try the standard method to Find a Window by ' ClassName or Caption. ' Unfortunately the TextBox "OKttbx" that displays ' the Current Report Page number is part of ' a lightweight Control. It is drawn as required and ' appears as required and dissappears when it is not required. ' The only reliable method was this hack. It works by ' simulating a physical clicking in the Page number Window. On Error GoTo Err_SetCurrentReportPage Static lngWindowLocation As Long ' Hold our OSUI Window dimensions. Dim RC As RECTL Dim intPosx As Integer Dim lngTemp1 As Long Dim lngTemp2 As Long Dim lngReturn As Long Dim lnghWnd As Long Dim strPageNumber As String Dim booSuccess As Boolean lnghWnd = Access.Reports.Item(strReport).hWnd ' Ensure this window is the Active Window. ' Make sure the report is the currently selected object. lngReturn = SetActiveWindow(lnghWnd) ' If we have already determined the location of ' the Page Number Window then skip our probe. ' Else find the Page Navigation Window located at ' the bottom of the Report Print Preview window. If hWndChild = 0 Then hWndOSUI = FindWindowEx(lnghWnd, 0&, "OSUI", vbNullString) ' Get Window extents. lngReturn = GetWindowRect(hWndOSUI, RC) ' We need to go hunting for the Page Number Window. ' We know it is at the bottom of this Window. ' Let's check from Left to Right and along the ' middle of the height of the Window. ' Simulate Mouse Click with the Left button to activate the window. ' Stephen tried to do this the proper way but it was not reliable. ' This hack seems to work. ' Start 20 pixels in. intPosx = 20 Do While intPosx < RC.Right lngTemp1 = MakeDWord(intPosx, (RC.Bottom - RC.Top) / 2) lngReturn = PostMessage(hWndOSUI, WM_LBUTTONDOWN, 1&, lngTemp1) lngReturn = PostMessage(hWndOSUI, WM_LBUTTONUP, 1&, lngTemp1) lngReturn = PostMessage(hWndOSUI, WM_LBUTTONDOWN, 1&, lngTemp1) lngReturn = PostMessage(hWndOSUI, WM_LBUTTONUP, 1&, lngTemp1) DoEvents hWndChild = GetWindow(hWndOSUI, GW_CHILD) If hWndChild <> 0 Then ' Store location for a next run of the function. lngWindowLocation = lngTemp1 Exit Do End If ' Let's keep moving 4 more pixels to the right. intPosx = intPosx + 4 DoEvents Loop End If If hWndChild = 0 Or lngWindowLocation = 0 Then ' Somehow we failed. ' Return undefined page number. intPageNumber = 0 Else ' Create the lParam. lngTemp1 = MakeDWord(HTCLIENT, WM_LBUTTONDOWN) ' Send the Mouse Activate message. lngReturn = SendMessage(hWndOSUI, WM_MOUSEACTIVATE, Application.hWndAccessApp, ByVal lngTemp1) ' Send the Left Mouse Button Down message. lngReturn = PostMessage(hWndOSUI, WM_LBUTTONDOWN, 1&, lngWindowLocation) lngReturn = PostMessage(hWndOSUI, WM_LBUTTONUP, 1&, lngWindowLocation) ' Ensure messages are processed. DoEvents ' If intPageNumber is zero or negative we only wish to retrieve the current page number. If intPageNumber > 0 Then ' Copy our desired page number into the Page Number TextBox. strPageNumber = intPageNumber lngReturn = SetWindowText(hWndChild, strPageNumber) ' Allow Windows to catch up. DoEvents ' Generate Enter key press to force Access to update display. lngTemp1 = MapVirtualKey(vbKeyReturn, 0&) lngTemp2 = MakeDWord(1, CInt(lngTemp1)) lngReturn = PostMessage(hWndChild, WM_KEYDOWN, 13, lngTemp2) lngReturn = PostMessage(hWndChild, WM_CHAR, 13, lngTemp2) ' Ensure messages are processed. DoEvents ' Create a new mouse click to read the displayed page number. ' Otherwise we will only retrieve the Enter key press. ' Create the lParam. lngTemp1 = MakeDWord(HTCLIENT, WM_LBUTTONDOWN) ' Send the Mouse Activate message. lngReturn = SendMessage(hWndOSUI, WM_MOUSEACTIVATE, Application.hWndAccessApp, ByVal lngTemp1) ' Send the Left Mouse Button Down message. lngReturn = PostMessage(hWndOSUI, WM_LBUTTONDOWN, 1&, lngWindowLocation) lngReturn = PostMessage(hWndOSUI, WM_LBUTTONUP, 1&, lngWindowLocation) ' Ensure messages are processed. DoEvents End If ' Retrieve and return current page number. strPageNumber = GetTextFromWindow(hWndChild) intPageNumber = CInt(strPageNumber) ' Signal success. booSuccess = True End If SetCurrentReportPage = booSuccess Exit_SetCurrentReportPage: Exit Function Err_SetCurrentReportPage: MsgBox "Error: " & Err.Number & "." & vbCrLf & Err.Description, vbCritical + vbOKOnly, Err.Source Resume Exit_SetCurrentReportPage End Function Public Function DemoGetReportPage() _ As Integer Dim rpt As Access.Report Dim strReport As String Dim booSuccess As Boolean Dim intReportPage As Integer If Access.Reports.Count > 0 Then Set rpt = Access.Reports(0) strReport = rpt.Name booSuccess = SetCurrentReportPage(strReport, intReportPage) Set rpt = Nothing End If DemoGetReportPage = intReportPage End Function Public Function DemoSetReportPage( _ ByVal intReportPage As Integer) _ As Integer Dim rpt As Access.Report Dim strReport As String Dim booSuccess As Boolean If Access.Reports.Count = 0 Then intReportPage = 0 Else Set rpt = Access.Reports(0) strReport = rpt.Name booSuccess = SetCurrentReportPage(strReport, intReportPage) Set rpt = Nothing End If DemoSetReportPage = intReportPage End Function Have fun! /gustav From andy at minstersystems.co.uk Wed Sep 8 12:14:49 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 8 Sep 2004 18:14:49 +0100 Subject: [AccessD] Broadcast A Message In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8031BB34F@main2.marlow.com> Message-ID: <001001c495c7$58eb4260$b274d0d5@minster33c3r25> Netware client. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > DWUTKA at marlow.com > Sent: 08 September 2004 16:25 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Broadcast A Message > > > What are the clients running? > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Andy Lacey > Sent: Tuesday, September 07, 2004 12:39 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Broadcast A Message > > > Hi folks > > Anyone got any info/code to broadcast a message to selected > machines/users. We've an NT4 server and a Novell server so > could use either technology. > > -- Andy Lacey > http://www.minstersystems.co.uk > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > -- > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From adtp at touchtelindia.net Wed Sep 8 14:27:36 2004 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Thu, 9 Sep 2004 00:57:36 +0530 Subject: [AccessD] Syntax question about control references References: <009801c495c1$5ac58f60$6501a8c0@rock> Message-ID: <019f01c495da$0e8fc9d0$8d1865cb@winxp> Arthur, The following example might give you some working ideas. Let the datasheet form have 13 columns named F0 to F12. The code given below will ensure that F5 is the column that gets focus and is the first unfrozen one. It is observed that use of freeze feature interferes with the tab index property of various controls and normalization is not readily achieved by resetting the tab index. Hence the need for two stage loop (first loop normalizes the tab order of various columns). A.D.Tejpal -------------- ================================= Dim Cnt As Integer ' Normalize all columns DoCmd.RunCommand acCmdUnfreezeAllColumns For Cnt = 0 To 12 Me("F" & Cnt).SetFocus DoCmd.RunCommand acCmdFreezeColumn Next DoCmd.RunCommand acCmdUnfreezeAllColumns ' Freeze Columns F0 to F4 and set focus on F5 For Cnt = 0 To 4 Me("F" & Cnt).SetFocus DoCmd.RunCommand acCmdFreezeColumn Next Me("F5").SetFocus ================================= ----- Original Message ----- From: Arthur Fuller To: 'Access Developers discussion and problem solving' Sent: Wednesday, September 08, 2004 22:01 Subject: RE: [AccessD] Syntax question about control references Hi. No it is not set to continuous forms. (Frankly, except for very limited situations, I HATE continuous forms, but that's another story.) It's set for datasheet view. It's easy enough to set the focus to the desired control, but that's only half what I need. I need to scroll the form such that the control with focus is in the first unfrozen position. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Tuesday, September 07, 2004 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Syntax question about control references ----- Original Message ----- From: "Arthur Fuller" > My form has controls whose names derive from the EoM() of a given > date. That is, the end of a month. The control's name will be > something such as "12/31/2004", etc. I need to set the focus to the > column corresponding to today's date. For the date on which I am > writing this message, the correct column is named "9/30/2004". ... > The EoM() function (which I wrote) returns a date. I need to take this > value and turn it into a reference to a column, such that I can write: > > Me.columnName.SetFocus Arthur, It looks like you mean to say that you have a subform set to "continuous forms." If that's the case, you'd say Me.SubformName.Form.Controls("EOMDate").SetFocus ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From DWUTKA at marlow.com Wed Sep 8 15:04:50 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 8 Sep 2004 15:04:50 -0500 Subject: [AccessD] Broadcast A Message Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB354@main2.marlow.com> If you were running TCP/IP, you can use UDP broadcasts to have a 'receiver' pick up the messages. If they were NT based clients, you could use the windows messaging service. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Wednesday, September 08, 2004 12:15 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Broadcast A Message Netware client. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > DWUTKA at marlow.com > Sent: 08 September 2004 16:25 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Broadcast A Message > > > What are the clients running? > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Andy Lacey > Sent: Tuesday, September 07, 2004 12:39 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Broadcast A Message > > > Hi folks > > Anyone got any info/code to broadcast a message to selected > machines/users. We've an NT4 server and a Novell server so > could use either technology. > > -- Andy Lacey > http://www.minstersystems.co.uk > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > -- > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at aig.com Tue Sep 7 14:09:26 2004 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Tue, 7 Sep 2004 15:09:26 -0400 Subject: [AccessD] Logon/Password Same as Network Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F02D088D3@xlivmbx21.aig.com> "Instead of having to remember two different passwords..." This is just what I thought you might be trying to do, and that's just what the NY Challenge is supposed to be doing. There is nowhere for the OS to look up the password to validate it. Rather the NT Login process takes the password from the user and passes it through a one-way hash function. The output of the hash function is then checked in a database to see if there is a match for it The point being that the password *never* gets stored anywhere or transmitted over the network. The hash function is one-way in that you cannot convert the hash value back to the password. That's the theory. Unfortunately the practice is a touch harder. First the code I pointed you to is VB specific. It would need to be altered to make it compile under VBA. To get it to compile with VBA all the code above "Private Sub Form_Load()" needs to be moved into a standard module. All the "Private Declare ..." lines need to be changed to "Public Declare ..." All the "Private Type .." lines need to be changed to "Public Type ..." All references to the three textbox's ".Text." and ".Value" properties should be changed to simple references to the textbox controls' names. Having done all that you will be able to compile the code, but then you'll find that all the example code is in any case Windows 2000 or later specific. The core part of the code (the function AuthenticateUser) first tests the OS version (the function call IsWinNT2000Plus), and it it's not 20000 or greater nothing is done to authenticate at all. ;-( So even though it's called the NT authentication, this code only works on W2K and higher. I've yet to find a working version of this authentication code for NT4 but it must be out there somewhere. Lambert > -----Original Message----- > From: Nicholson, Karen [SMTP:cyx5 at cdc.gov] > Sent: Tuesday, September 07, 2004 1:40 PM > To: Heenan, Lambert > Subject: RE: [AccessD] Logon/Password Same as Network > > I don't think the Windows NT Challenge is what I am looking for, seems > to apply to asp, internet etc. What I want to do is this: user logins > in the morning on their server. I can capture the user name that was > used to logon and display on the form, for instance I am cyx5. Now, > when the user opens up my Access application, I want a form that > displays the cyx5 in one text box (done) and another text box that is > blank for them to enter in their password. Instead of having to > remember two different passwords, I would like the password that is > entered on my Access form to lookup their network password to do a > match. If it does not match, throw them out. If it does, open up my > switchboard menu. > > -----Original Message----- > From: Heenan, Lambert [mailto:Lambert.Heenan at AIG.com] > Sent: Tuesday, September 07, 2004 12:03 PM > To: 'Access Developers discussion and problem solving'; Nicholson, Karen > Subject: RE: [AccessD] Logon/Password Same as Network > > > What's "the password"? Do you mean the logging password used for Access > Security? Why would you want to make this the same as the users LAN > login > password? To do so would require your to keep the two synchronized and > that > would be a pain. Or do you in fact want to use the "Windows NT > Challenge" > process to validate an already logged in user? > > All I can say is that Authentication is kinda complex, but take a look > here > for an example.... > > http://vbnet.mvps.org/index.html?code/network/acceptsecuritycontext.htm > > Just be sure not to store those passwords anywhere or you will open up a > security hole big enough to drive an 18-wheeler through. > > Lambert > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, > Karen > > Sent: Tuesday, September 07, 2004 11:28 AM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Logon/Password Same as Network > > > > I know how to grab the logon from the network; is there a way to make > > the password to be the same as the password housed on the network so > > that the user will have the same logon/password? Thanks! > > > > Karen Nicholson > > National Laboratory > > Xerox Global Services > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com From fhtapia at gmail.com Wed Sep 8 10:31:23 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 8 Sep 2004 08:31:23 -0700 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <8DA8776D2F418E46A2A464AC6CE630500326B2@outbaksrv1.outbaktech.com> References: <8DA8776D2F418E46A2A464AC6CE630500326B2@outbaksrv1.outbaktech.com> Message-ID: Acctually that DOES sound very rightous... if or when I ever go back to doing consulting work I may just have to remember to do this... they you a ton of software for the price... On Wed, 8 Sep 2004 09:49:56 -0500, Jeff Barrows wrote: > Technically, it means is that if you decide NOT to renew your Action Pack Subscription, you agree to remove all of the Action Pack software from any / all of your machines after one year. But for $199 a year (after the first year), it only makes sense to renew it. > > > > > -----Original Message----- > From: Eric Barro [mailto:ebarro at afsweb.com] > Sent: Wed 9/8/2004 8:21 AM > To: Access Developers discussion and problem solving > Cc: > Subject: RE: [AccessD] AHOO!!! Got my action pack > > What it probably means it that you're going to stop getting update CDs from M$ for any of the products you have licenses for so if they come out with Office 2004 or SQL server 2005 you will have to purchase a separate license if you wanted to use it. > > --- > Eric Barro > Senior Systems Analyst > Advanced Field Services > (208) 772-7060 > http://www.afsweb.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby > Sent: Wednesday, September 08, 2004 12:46 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] AHOO!!! Got my action pack > > I don't know. I know that the license "expires" after 1 year, but it > appears that these are just real copies of these various things. I doubt > they quit working. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Wednesday, September 08, 2004 1:07 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AHOO!!! Got my action pack > > John: > > Thanks for the rundown. I've being trying to decide between that and the > partner program. This one looks god. Except what's that about a one-year > license. Does your copy of Office 2003 crap out after one year? > > Rocky > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Tuesday, September 07, 2004 9:01 PM > Subject: RE: [AccessD] AHOO!!! Got my action pack > > > The action pack is a deal MS offers developers or companies that > > develop > for > > or sell MS stuff. For $300-400 they give you a ton of the latest > > software and 10 licenses for all of it. You are allowed to use it in > > house, but > not > > sell it or install it on any client machines. It includes: > > > > Office Professional 2003 > > Office Publisher 2003 > > Office Frontpage 2003 > > Office Visio Professional 2003 > > Office Project Professional 2003 > > Business contact Manager for Outlook 2003 > > Office OneNote 2003 > > MapPoint 2004 Standard Edition > > Windows XP Professional > > Virtual PC 2004 > > Office Infopath 2003 > > Business Solutions CRM Professional > > Windows Server 2003 Standard Edition > > Windows Server 2003 Web Edition > > Exchange Server 2003 Enterprise Edition > > Office Project Server 2003 > > Office Sharepoint Server 2003 > > Office Live Communications Server 2003 > > SQL Server 2000 Standard Edition (damn!) > > SQL Server 2000 Service Pack 3a > > SQL Server Reporting Services > > Mobile Information Server 2002 > > Swindows Sharepoint Services Standard 2003 > > Windows Small Business Server 2003 Premium Edition > > > > What is all this stuff you may ask. No idea. > > > > The package appears to also come with some kind of training CD for > > each > ofr > > these things. No books, must all be on CD. A neat little (BIG) > > organizer size canvas folder to hold the disks. Nothing to hold the > > training materials (C'mon MS, another folder to hold that and the > > sleeves hole punched would have made it so much more professional). > > > > > http://members.microsoft.com/partner/salesmarketing/partnermarket/actionpack > > /actionpackus.aspx > > > > Watch for wrap. > > > > I had been looking at this package for awhile in order to bring my > > office into the modern age (as defined by MS). > > > > So there you have it. A lot of stuff for a medium price (one year > > license though!). But it gives you 10 licenses. I can put XP on all > > my desktops, Server 2003 on both my new "server" machines, look at and > > possibly use Office 2003 on my machines etc. I have a home office > > with 2 "server > class" > > machines and 2 desktop machines, plus one modern laptop and an old POS > > laptop that I am currently re-installing Win2K Pro on. Being able to > > get > a > > consistent platform on everything might be nice. > > > > I had hoped to see 64bit OS and SQL Server included - they apparently > > do exists, but not in here. 8-( > > > > John W. Colby > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie > > Johnson > > Sent: Tuesday, September 07, 2004 2:48 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] AHOO!!! Got my action pack > > > > > > What's the main advantage to having the Action pack? > > > > "John W. Colby" wrote: > > I just got my MS Action pack, very nice. So much to know, so little > > time. > > > > John W. Colby > > www.ColbyConsulting.com > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- -Francisco From cfoust at infostatsystems.com Wed Sep 8 16:04:26 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Sep 2004 14:04:26 -0700 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: Except you don't get the developer versions. Charlotte -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Wednesday, September 08, 2004 8:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack Acctually that DOES sound very rightous... if or when I ever go back to doing consulting work I may just have to remember to do this... they you a ton of software for the price... On Wed, 8 Sep 2004 09:49:56 -0500, Jeff Barrows wrote: > Technically, it means is that if you decide NOT to renew your Action > Pack Subscription, you agree to remove all of the Action Pack software > from any / all of your machines after one year. But for $199 a year > (after the first year), it only makes sense to renew it. > > > > > -----Original Message----- > From: Eric Barro [mailto:ebarro at afsweb.com] > Sent: Wed 9/8/2004 8:21 AM > To: Access Developers discussion and problem solving > Cc: > Subject: RE: [AccessD] AHOO!!! Got my action pack > > What it probably means it that you're going to stop getting > update CDs from M$ for any of the products you have licenses for so if > they come out with Office 2004 or SQL server 2005 you will have to > purchase a separate license if you wanted to use it. > > --- > Eric Barro > Senior Systems Analyst > Advanced Field Services > (208) 772-7060 > http://www.afsweb.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby > Sent: Wednesday, September 08, 2004 12:46 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] AHOO!!! Got my action pack > > I don't know. I know that the license "expires" after 1 year, but it > appears that these are just real copies of these various things. I doubt > they quit working. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Wednesday, September 08, 2004 1:07 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AHOO!!! Got my action pack > > John: > > Thanks for the rundown. I've being trying to decide between that and the > partner program. This one looks god. Except what's that about a one-year > license. Does your copy of Office 2003 crap out after one > year? > > Rocky > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Tuesday, September 07, 2004 9:01 PM > Subject: RE: [AccessD] AHOO!!! Got my action pack > > > The action pack is a deal MS offers developers or companies that > > develop > for > > or sell MS stuff. For $300-400 they give you a ton of the latest > > software and 10 licenses for all of it. You are allowed to use it in > > house, but > not > > sell it or install it on any client machines. It includes: > > > > Office Professional 2003 > > Office Publisher 2003 > > Office Frontpage 2003 > > Office Visio Professional 2003 > > Office Project Professional 2003 > > Business contact Manager for Outlook 2003 > > Office OneNote 2003 > > MapPoint 2004 Standard Edition > > Windows XP Professional > > Virtual PC 2004 > > Office Infopath 2003 > > Business Solutions CRM Professional > > Windows Server 2003 Standard Edition > > Windows Server 2003 Web Edition > > Exchange Server 2003 Enterprise Edition > > Office Project Server 2003 > > Office Sharepoint Server 2003 > > Office Live Communications Server 2003 > > SQL Server 2000 Standard Edition (damn!) > > SQL Server 2000 Service Pack 3a > > SQL Server Reporting Services > > Mobile Information Server 2002 > > Swindows Sharepoint Services Standard 2003 > > Windows Small Business Server 2003 Premium Edition > > > > What is all this stuff you may ask. No idea. > > > > The package appears to also come with some kind of training CD for > > each > ofr > > these things. No books, must all be on CD. A neat little (BIG) > > organizer size canvas folder to hold the disks. Nothing to hold the > > training materials (C'mon MS, another folder to hold that and the > > sleeves hole punched would have made it so much more professional). > > > > > http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack > > /actionpackus.aspx > > > > Watch for wrap. > > > > I had been looking at this package for awhile in order to bring my > > office into the modern age (as defined by MS). > > > > So there you have it. A lot of stuff for a medium price (one year > > license though!). But it gives you 10 licenses. I can put XP on all > > my desktops, Server 2003 on both my new "server" machines, look at and > > possibly use Office 2003 on my machines etc. I have a home office > > with 2 "server > class" > > machines and 2 desktop machines, plus one modern laptop and an old POS > > laptop that I am currently re-installing Win2K Pro on. Being able to > > get > a > > consistent platform on everything might be nice. > > > > I had hoped to see 64bit OS and SQL Server included - they apparently > > do exists, but not in here. 8-( > > > > John W. Colby > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie > > Johnson > > Sent: Tuesday, September 07, 2004 2:48 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] AHOO!!! Got my action pack > > > > > > What's the main advantage to having the Action pack? > > > > "John W. Colby" wrote: > > I just got my MS Action pack, very nice. So much to know, so little > > time. > > > > John W. Colby > > www.ColbyConsulting.com > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikkel.enevoldsen at mail.tele.dk Wed Sep 8 16:31:47 2004 From: mikkel.enevoldsen at mail.tele.dk (Mikkel Enevoldsen) Date: Wed, 8 Sep 2004 23:31:47 +0200 Subject: [AccessD] Columnhidden in datasheet subforms Message-ID: Dear All, Is it possible to change "columnhidden"-property (programaticly), in order to hide certain columns in a datasheet view of a subform? Each time a record is selected on the mainform, the subform datasheetcolumns has to change accordingly. Best regards Mikkel Enevoldsen From donald.a.Mcgillivray at mail.sprint.com Wed Sep 8 10:25:08 2004 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Wed, 8 Sep 2004 10:25:08 -0500 Subject: [AccessD] Synchronizing Subform to Main form based on a date Message-ID: <988E2AC88CCB54459286C4077DB662F50129DE53@PDAWB03C.ad.sprint.com> Thanks for the suggestion, Andy, but no success. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, September 08, 2004 12:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Synchronizing Subform to Main form based on a date Just a thought Donald but if you placed a hidden calc'd control on the main form with =YourDateCombo.Column(0) and put in that in your linking fields would that help? -- Andy Lacey http://www.minstersystems.co.uk From dwaters at usinternet.com Wed Sep 8 10:30:08 2004 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 8 Sep 2004 10:30:08 -0500 Subject: FW: [AccessD] AHOO!!! Got my action pack Message-ID: <002101c495b8$b9a3fe30$de1811d8@danwaters> John, I didn't see Visual Studio for Applications on your list. This would allow setting up an installation package for Access Runtime. I would have guessed that this would have been included in a package for developers. Is it really missing? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 11:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/actionpack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Sep 8 07:37:01 2004 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 8 Sep 2004 07:37:01 -0500 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <19753348.1094617599409.JavaMail.root@sniper12.usinternet.com> Message-ID: <000b01c495a0$8a7d9b10$de1811d8@danwaters> John, I didn't see Visual Studio for Applications on your list. This would allow setting up an installation package for Access Runtime. I would have guessed that this would have been included in a package for developers. Is it really missing? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 11:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/actionpack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Sep 8 17:31:48 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 09 Sep 2004 08:31:48 +1000 Subject: [AccessD] Syntax question about control references In-Reply-To: <009801c495c1$5ac58f60$6501a8c0@rock> References: <008501c494eb$27dc4930$6401a8c0@default> Message-ID: <414014F4.31973.18DB07E9@lexacorp.com.pg> On 8 Sep 2004 at 12:31, Arthur Fuller wrote: > Hi. No it is not set to continuous forms. (Frankly, except for very > limited situations, I HATE continuous forms, but that's another story.) Do tell us that story :-) (I use a lot of continuous forms) -- Stuart From cfoust at infostatsystems.com Wed Sep 8 17:37:02 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Sep 2004 15:37:02 -0700 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: The action pack isn't really for developers in that sense. It's for partners so that the entire office can work with the same versions of the MS applications. The developers tools are in the MSDN Universal subscription. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, September 08, 2004 5:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack John, I didn't see Visual Studio for Applications on your list. This would allow setting up an installation package for Access Runtime. I would have guessed that this would have been included in a package for developers. Is it really missing? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 11:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From donald.a.Mcgillivray at mail.sprint.com Wed Sep 8 18:12:58 2004 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Wed, 8 Sep 2004 18:12:58 -0500 Subject: [AccessD] Synchronizing Subform to Main form based on a date - Resolved Message-ID: <988E2AC88CCB54459286C4077DB662F50129E3C1@PDAWB03C.ad.sprint.com> I ought to know better when Access starts misbehaving like this. I imported my objects to a new empty db, and the thing started behaving normally (or at least as I expected it to.) Problem solved . . . From d.dick at uws.edu.au Wed Sep 8 18:54:45 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Thu, 9 Sep 2004 09:54:45 +1000 Subject: [AccessD] A2K: Used to work - now it errors In-Reply-To: <48569739.20040908085726@cactus.dk> Message-ID: <001201c495ff$37924b30$4a619a89@DDICK> Excellent Thanks Gustav Lazy typing me thinks Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, 8 September 2004 4:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K: Used to work - now it errors Hi Darren Specify what your intent is: Dim dbs As DAO.Database Dim rst As DAO.Recordset Then the order of references doesn't matter. /gustav > This used to work now I get Run Time Error 13 - Type Mismatch Then the > debugger yellows out the "Set rst" line > Any suggestions > Dao 3.6 is referenced > Dim dbs As Database > rst As Recordset -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Sep 8 19:17:01 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 08 Sep 2004 20:17:01 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <000b01c495a0$8a7d9b10$de1811d8@danwaters> Message-ID: <003501c49602$5832c600$80b3fea9@ColbyM6805> Yep, it is really missing. I think this is geared at resellers of MS product more than developers although they clearly state in the action pack page that developers qualify. There is NOTHING development oriented in there. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, September 08, 2004 8:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack John, I didn't see Visual Studio for Applications on your list. This would allow setting up an installation package for Access Runtime. I would have guessed that this would have been included in a package for developers. Is it really missing? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 11:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/actionpack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Sep 8 19:20:12 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 08 Sep 2004 20:20:12 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: Message-ID: <003601c49602$c8de9d70$80b3fea9@ColbyM6805> And the cost of that is MUCH more. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 08, 2004 6:37 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack isn't really for developers in that sense. It's for partners so that the entire office can work with the same versions of the MS applications. The developers tools are in the MSDN Universal subscription. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, September 08, 2004 5:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack John, I didn't see Visual Studio for Applications on your list. This would allow setting up an installation package for Access Runtime. I would have guessed that this would have been included in a package for developers. Is it really missing? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 11:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Wed Sep 8 20:25:43 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Thu, 9 Sep 2004 11:25:43 +1000 Subject: [AccessD] A2K: Same Name Validation Message-ID: <001f01c4960b$ed329ba0$4a619a89@DDICK> Hello all How do you guys handle data entry users entering someone into a dB with the same first and last name - quite legitimately E.G. John SMITH How do you test for other existences of John SMITH in the db and what 'alerting' do you guys use? Many thanks in advance Have a great day Darren From fhtapia at gmail.com Wed Sep 8 21:42:26 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 8 Sep 2004 19:42:26 -0700 Subject: [AccessD] A2K: Same Name Validation In-Reply-To: <001f01c4960b$ed329ba0$4a619a89@DDICK> References: <001f01c4960b$ed329ba0$4a619a89@DDICK> Message-ID: As with many things, It depends on the structure of your db my db houses this: Company Address ContactAddress Contact A company can have many addresses. A user may be an employee or associated to many Companies, I associated the contact to the company via the address so I would know what location he is associated through. :D On Thu, 9 Sep 2004 11:25:43 +1000, Darren DICK wrote: > Hello all > How do you guys handle data entry users entering someone into a dB > with the same first and last name - quite legitimately E.G. John SMITH > > How do you test for other existences of John SMITH in the db and what > 'alerting' do you > guys use? > > Many thanks in advance > > Have a great day > > Darren > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From d.dick at uws.edu.au Thu Sep 9 00:14:25 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Thu, 9 Sep 2004 15:14:25 +1000 Subject: [AccessD] A2K: Same Name Validation In-Reply-To: Message-ID: <000001c4962b$e062fbc0$4a619a89@DDICK> Hi Francisco Pretty Basic tblStudents LastName (TEXT) FirstName (TEXT) That's all I want to test. Just if there is one John SMITH and a data entry person is entering a second one, I wanna alert them. I was thinking of a combined dlookup with First and Last name and if the count was greater than zero, alert the user Many thanks Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Thursday, 9 September 2004 12:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K: Same Name Validation As with many things, It depends on the structure of your db my db houses this: Company Address ContactAddress Contact A company can have many addresses. A user may be an employee or associated to many Companies, I associated the contact to the company via the address so I would know what location he is associated through. :D On Thu, 9 Sep 2004 11:25:43 +1000, Darren DICK wrote: > Hello all > How do you guys handle data entry users entering someone into a dB > with the same first and last name - quite legitimately E.G. John SMITH > > How do you test for other existences of John SMITH in the db and what > 'alerting' do you guys use? > > Many thanks in advance > > Have a great day > > Darren > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stephen at bondsoftware.co.nz Thu Sep 9 03:39:24 2004 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Thu, 09 Sep 2004 20:39:24 +1200 Subject: [AccessD] A2K: Same Name Validation Message-ID: <70F3D727890C784291D8433E9C418F298FC5@server.bondsoftware.co.nz> Darren, I do this in one of my apps: Function DuplicateCount(fnIn, snIn) As Long Dim k As Variant, criteria as String criteria = "FirstName = '" & fnIn & "' AND LastName = '" & snIn & "'" k = Nz(DCount("*", "tblWhatever", criteria)) DuplicateCount = k End Function I cop the overhead of another index on the table. It's a multi-field index, it contains the FN field and the LN field, call it CombinedName, duplicates allowed. I think this is supposed to make it faster. If it doesn't it makes me feel better anyway Stephen Bond Otatara, New Zealand > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Thursday, 9 September 2004 5:14 p.m. > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] A2K: Same Name Validation > > > Hi Francisco > Pretty Basic > tblStudents > LastName (TEXT) > FirstName (TEXT) > > That's all I want to test. Just if there is one John SMITH and > a data entry person is entering a second one, I wanna alert them. > > I was thinking of a combined dlookup with First and Last name and if > the count was greater than zero, alert the user > > Many thanks > > Have a great day > > Darren > > > > > From gustav at cactus.dk Thu Sep 9 03:39:34 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 9 Sep 2004 10:39:34 +0200 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <003501c49602$5832c600$80b3fea9@ColbyM6805> References: <003501c49602$5832c600$80b3fea9@ColbyM6805> Message-ID: <76429585.20040909103934@cactus.dk> Hi John > .. There is NOTHING development oriented in there. Not even Access ... /gustav From Paul.Rogers at SummitMedia.co.uk Thu Sep 9 03:52:23 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Thu, 9 Sep 2004 09:52:23 +0100 Subject: [AccessD] Changing the windows' tongue Message-ID: The price was right, but the language isn't. Is there a way to change the language to English in windows 2k, perhaps with an upgrade, please, Experts? Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.754 / Virus Database: 504 - Release Date: 06/09/2004 From mikedorism at adelphia.net Thu Sep 9 06:27:28 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Thu, 9 Sep 2004 07:27:28 -0400 Subject: [AccessD] Columnhidden in datasheet subforms In-Reply-To: Message-ID: <000601c4965f$fd9c1260$7109a845@hargrove.internal> Yes, you can do that. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mikkel Enevoldsen Sent: Wednesday, September 08, 2004 5:32 PM To: accessd at databaseadvisors.com Subject: [AccessD] Columnhidden in datasheet subforms Dear All, Is it possible to change "columnhidden"-property (programaticly), in order to hide certain columns in a datasheet view of a subform? Each time a record is selected on the mainform, the subform datasheetcolumns has to change accordingly. Best regards Mikkel Enevoldsen -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at adelphia.net Thu Sep 9 06:29:58 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Thu, 9 Sep 2004 07:29:58 -0400 Subject: [AccessD] Shrinking fields in a report In-Reply-To: <200409081810.i88IAlv3020534@ms-smtp-03.nyroc.rr.com> Message-ID: <000701c49660$57083900$7109a845@hargrove.internal> If you have fields on the same line, then the line won't be able to shrink unless all the fields can shrink. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Wednesday, September 08, 2004 2:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Shrinking fields in a report I have a report that contains basic info - Memname, business name, friends name, address, and total sum contributed. In the report I have on the left hand side name, business, friends name. The middle (ideally on the same line) address, and then alittle over (once again on the same line) is the Total Sum. I have set all the fields to shrink, but when there is only a business and friend name to the record, it does not shrink all the way. But when there is a Memname and friend name, it does. This is a mystery. Any clues? IS there a limit to the number of fields that can shrink? Thanks Augusta -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Sep 9 06:54:48 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 09 Sep 2004 07:54:48 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <76429585.20040909103934@cactus.dk> Message-ID: <004501c49663$d2046a90$80b3fea9@ColbyM6805> I don't know. It has Office, with Access I believe. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, September 09, 2004 4:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack Hi John > .. There is NOTHING development oriented in there. Not even Access ... /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Thu Sep 9 08:03:53 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 9 Sep 2004 09:03:53 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <003601c49602$c8de9d70$80b3fea9@ColbyM6805> Message-ID: John (and all) Not that much more. A full Action Pack subscription is $399. I found a MSDN Universal subscription for $875 last year. Your talking a difference of only $400 bucks. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, September 08, 2004 8:20 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack And the cost of that is MUCH more. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 08, 2004 6:37 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack isn't really for developers in that sense. It's for partners so that the entire office can work with the same versions of the MS applications. The developers tools are in the MSDN Universal subscription. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, September 08, 2004 5:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack John, I didn't see Visual Studio for Applications on your list. This would allow setting up an installation package for Access Runtime. I would have guessed that this would have been included in a package for developers. Is it really missing? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 11:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Thu Sep 9 08:06:58 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 9 Sep 2004 09:06:58 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: Message-ID: Charlotte, Actually it's geared for salesmen to sell and demo Microsoft products. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Wednesday, September 08, 2004 6:37 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack isn't really for developers in that sense. It's for partners so that the entire office can work with the same versions of the MS applications. The developers tools are in the MSDN Universal subscription. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, September 08, 2004 5:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack John, I didn't see Visual Studio for Applications on your list. This would allow setting up an installation package for Access Runtime. I would have guessed that this would have been included in a package for developers. Is it really missing? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 11:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Thu Sep 9 09:07:40 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 9 Sep 2004 10:07:40 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <916187228923D311A6FE00A0CC3FAA30986FF1@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB7F2@ADGSERVER> That sounds like the price for the academic version of MSDN Universal. Provantage has the Universal version (non academic) for $2426.49 http://tinyurl.com/6wj8j http://www.provantage.com/buy-7MCSN005-microsoft-developer-network-msdn-univ ersal-v7-0-subscription-534-02125-shopping.htm Enterprise edition (non academic) $1913.79 http://tinyurl.com/5uuro http://www.provantage.com/buy-7MCSN008-microsoft-developer-network-msdn-ente rprise-v7-0-subscription-shopping.htm Enterprise edition (academic) $574.79 http://tinyurl.com/5qcct http://www.provantage.com/buy-22062410-microsoft-developer-network-msdn-acad emic-editions-enterprise-v7-0-subscription-ae-shopping.htm They do not (that I can see) have the Universal academic version. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, September 09, 2004 9:04 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack John (and all) Not that much more. A full Action Pack subscription is $399. I found a MSDN Universal subscription for $875 last year. Your talking a difference of only $400 bucks. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, September 08, 2004 8:20 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack And the cost of that is MUCH more. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 08, 2004 6:37 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack isn't really for developers in that sense. It's for partners so that the entire office can work with the same versions of the MS applications. The developers tools are in the MSDN Universal subscription. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, September 08, 2004 5:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack John, I didn't see Visual Studio for Applications on your list. This would allow setting up an installation package for Access Runtime. I would have guessed that this would have been included in a package for developers. Is it really missing? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 11:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From GregSmith at starband.net Wed Sep 8 09:42:15 2004 From: GregSmith at starband.net (Greg Smith) Date: Wed, 8 Sep 2004 09:42:15 -0500 (CDT) Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <001b01c49577$d3bcd030$80b3fea9@ColbyM6805> References: <057e01c49561$9d9328d0$6601a8c0@HAL9002> <001b01c49577$d3bcd030$80b3fea9@ColbyM6805> Message-ID: <1496.216.43.21.234.1094654535.squirrel@cetus.email.starband.net> Hi everyone. I have had the MS Action Pack now for two years and I really like it. I had to 'join' the Partners section this last spring in order to renew my action pack for the next year, but that was at no additional cost to me. The licensing is this: You initially purchase the Action Pack for $xxx.xx (I've heard different amounts, so whatever the price is) for the first year. You now have a one-year MS License for all of the products in the Pack. You can install, register, etc. Just not sell. At the end of the licensing year (for you), you may renew your subscription for $199 for another year's subscription or not. If you renew, your Action Packs (quarterly) continue. If you do not renew, then, the caveat begins. You must remove all of the Action Pack software from your computers, and, believe it or not, you DID agree to this when you signed up (somewhere in the King James version of the licensing agreement...:P....). Well, I'm continuing with the renewal because of the access to premium MS software with valid licensing and a resonable price. Where else could you get 10 or more licenses of MS Office 2003 and Windows XP? Legal copies, no less either! That in and of itself has paid for the Action Pack for me. Even if I DO have to renew each year. Just my thoughts. Greg Smith > I don't know. I know that the license "expires" after 1 year, but it > appears that these are just real copies of these various things. I > doubt they quit working. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Wednesday, September 08, 2004 1:07 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AHOO!!! Got my action pack > > > John: > > Thanks for the rundown. I've being trying to decide between that and > the partner program. This one looks god. Except what's that about a > one-year license. Does your copy of Office 2003 crap out after one > year? > > Rocky > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Tuesday, September 07, 2004 9:01 PM > Subject: RE: [AccessD] AHOO!!! Got my action pack > > >> The action pack is a deal MS offers developers or companies that >> develop > for >> or sell MS stuff. For $300-400 they give you a ton of the latest >> software and 10 licenses for all of it. You are allowed to use it in >> house, but > not >> sell it or install it on any client machines. It includes: >> >> Office Professional 2003 >> Office Publisher 2003 >> Office Frontpage 2003 >> Office Visio Professional 2003 >> Office Project Professional 2003 >> Business contact Manager for Outlook 2003 >> Office OneNote 2003 >> MapPoint 2004 Standard Edition >> Windows XP Professional >> Virtual PC 2004 >> Office Infopath 2003 >> Business Solutions CRM Professional >> Windows Server 2003 Standard Edition >> Windows Server 2003 Web Edition >> Exchange Server 2003 Enterprise Edition >> Office Project Server 2003 >> Office Sharepoint Server 2003 >> Office Live Communications Server 2003 >> SQL Server 2000 Standard Edition (damn!) >> SQL Server 2000 Service Pack 3a >> SQL Server Reporting Services >> Mobile Information Server 2002 >> Swindows Sharepoint Services Standard 2003 >> Windows Small Business Server 2003 Premium Edition >> >> What is all this stuff you may ask. No idea. >> >> The package appears to also come with some kind of training CD for >> each > ofr >> these things. No books, must all be on CD. A neat little (BIG) >> organizer size canvas folder to hold the disks. Nothing to hold the >> training materials (C'mon MS, another folder to hold that and the >> sleeves hole punched would have made it so much more professional). >> >> > http://members.microsoft.com/partner/salesmarketing/partnermarket/actionpack >> /actionpackus.aspx >> >> Watch for wrap. >> >> I had been looking at this package for awhile in order to bring my >> office into the modern age (as defined by MS). >> >> So there you have it. A lot of stuff for a medium price (one year >> license though!). But it gives you 10 licenses. I can put XP on all >> my desktops, Server 2003 on both my new "server" machines, look at and >> possibly use Office 2003 on my machines etc. I have a home office >> with 2 "server > class" >> machines and 2 desktop machines, plus one modern laptop and an old POS >> laptop that I am currently re-installing Win2K Pro on. Being able to >> get > a >> consistent platform on everything might be nice. >> >> I had hoped to see 64bit OS and SQL Server included - they apparently >> do exists, but not in here. 8-( >> >> John W. Colby >> www.ColbyConsulting.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie >> Johnson >> Sent: Tuesday, September 07, 2004 2:48 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] AHOO!!! Got my action pack >> >> >> What's the main advantage to having the Action pack? >> >> "John W. Colby" wrote: >> I just got my MS Action pack, very nice. So much to know, so little >> time. >> >> John W. Colby >> www.ColbyConsulting.com >> >> >> -- >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From awithing at twcny.rr.com Thu Sep 9 09:24:07 2004 From: awithing at twcny.rr.com (augusta) Date: Thu, 9 Sep 2004 10:24:07 -0400 Subject: [AccessD] Shrinking fields in a report In-Reply-To: <000701c49660$57083900$7109a845@hargrove.internal> Message-ID: <200409091424.i89EOAZx021968@ms-smtp-01.nyroc.rr.com> Yes I do have fields on the same line and they are all set to CanShrink. There are no labels. . . Still does not shrink. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Thursday, September 09, 2004 7:30 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report If you have fields on the same line, then the line won't be able to shrink unless all the fields can shrink. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Wednesday, September 08, 2004 2:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Shrinking fields in a report I have a report that contains basic info - Memname, business name, friends name, address, and total sum contributed. In the report I have on the left hand side name, business, friends name. The middle (ideally on the same line) address, and then alittle over (once again on the same line) is the Total Sum. I have set all the fields to shrink, but when there is only a business and friend name to the record, it does not shrink all the way. But when there is a Memname and friend name, it does. This is a mystery. Any clues? IS there a limit to the number of fields that can shrink? Thanks Augusta -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Sep 9 09:28:36 2004 From: john at winhaven.net (John Bartow) Date: Thu, 9 Sep 2004 09:28:36 -0500 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <916187228923D311A6FE00A0CC3FAA305BB7F2@ADGSERVER> Message-ID: No, full version! Jim steered me to buying MSDN Universal from a eBay site rather than direct from MS. Saved big time. In fact because of the savings I make because of this one piece of advice (that I got on this list) I now consistently donate $120 a year ($10 per month) to AccessD to help keep it going. I urge you all to do the same! You get everything with MSDN Universal, including development. For the cost of this you come out way ahead of just purchasing Office developer. You get all the Windows OSs, You get SQL Server, SBS, VS.Net, yada, yada, yada. In fact, before I got it all on DVD instead of CD it was almost too much! While the action pack sounds nice, for developer (IMO) MSDN Universal 'tis the way to go! John B. PS: thanks again Jim and AccessD! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bobby Heid Sent: Thursday, September 09, 2004 9:08 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack That sounds like the price for the academic version of MSDN Universal. Provantage has the Universal version (non academic) for $2426.49 http://tinyurl.com/6wj8j http://www.provantage.com/buy-7MCSN005-microsoft-developer-network-msdn-univ ersal-v7-0-subscription-534-02125-shopping.htm Enterprise edition (non academic) $1913.79 http://tinyurl.com/5uuro http://www.provantage.com/buy-7MCSN008-microsoft-developer-network-msdn-ente rprise-v7-0-subscription-shopping.htm Enterprise edition (academic) $574.79 http://tinyurl.com/5qcct http://www.provantage.com/buy-22062410-microsoft-developer-network-msdn-acad emic-editions-enterprise-v7-0-subscription-ae-shopping.htm They do not (that I can see) have the Universal academic version. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, September 09, 2004 9:04 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack John (and all) Not that much more. A full Action Pack subscription is $399. I found a MSDN Universal subscription for $875 last year. Your talking a difference of only $400 bucks. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, September 08, 2004 8:20 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack And the cost of that is MUCH more. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 08, 2004 6:37 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack isn't really for developers in that sense. It's for partners so that the entire office can work with the same versions of the MS applications. The developers tools are in the MSDN Universal subscription. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, September 08, 2004 5:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack John, I didn't see Visual Studio for Applications on your list. This would allow setting up an installation package for Access Runtime. I would have guessed that this would have been included in a package for developers. Is it really missing? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 11:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From R.Griffiths at bury.gov.uk Thu Sep 9 09:29:31 2004 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Thu, 9 Sep 2004 15:29:31 +0100 Subject: [AccessD] A2K of AXP Message-ID: Hi I have been a very happy developer using A97, I am now about to user AXP as a backend. I have now to decide which format of BE to user A2000 of A2002. Can anyone please advise. BTW the FE will be VB.net (if this makes a difference) TIA Richard From jimdettman at earthlink.net Thu Sep 9 09:31:11 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 9 Sep 2004 10:31:11 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <916187228923D311A6FE00A0CC3FAA305BB7F2@ADGSERVER> Message-ID: Bobby, <> No, it's the price for the full version. The prices published by Microsoft are suggested list prices. Microsoft Partners however can sell them for whatever they like. I too was skeptical at first, but I've purchased three years running through this reseller and have not had a single problem. First time around I even called Microsoft to confirm that I had a valid subscription. BTW, I just double checked and the price has gone up. $875 was the first year, $1055 second, and $1175 this past year. So there is a bigger difference then $400. I think though that I got the $300 off rebate all 3 years for ordering on DVD. I'd have to go back and check on that. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bobby Heid Sent: Thursday, September 09, 2004 10:08 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack That sounds like the price for the academic version of MSDN Universal. Provantage has the Universal version (non academic) for $2426.49 http://tinyurl.com/6wj8j http://www.provantage.com/buy-7MCSN005-microsoft-developer-network-msdn-univ ersal-v7-0-subscription-534-02125-shopping.htm Enterprise edition (non academic) $1913.79 http://tinyurl.com/5uuro http://www.provantage.com/buy-7MCSN008-microsoft-developer-network-msdn-ente rprise-v7-0-subscription-shopping.htm Enterprise edition (academic) $574.79 http://tinyurl.com/5qcct http://www.provantage.com/buy-22062410-microsoft-developer-network-msdn-acad emic-editions-enterprise-v7-0-subscription-ae-shopping.htm They do not (that I can see) have the Universal academic version. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, September 09, 2004 9:04 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack John (and all) Not that much more. A full Action Pack subscription is $399. I found a MSDN Universal subscription for $875 last year. Your talking a difference of only $400 bucks. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, September 08, 2004 8:20 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack And the cost of that is MUCH more. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 08, 2004 6:37 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack isn't really for developers in that sense. It's for partners so that the entire office can work with the same versions of the MS applications. The developers tools are in the MSDN Universal subscription. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, September 08, 2004 5:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack John, I didn't see Visual Studio for Applications on your list. This would allow setting up an installation package for Access Runtime. I would have guessed that this would have been included in a package for developers. Is it really missing? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 11:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Sep 9 09:53:48 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 09 Sep 2004 10:53:48 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <1496.216.43.21.234.1094654535.squirrel@cetus.email.starband.net> Message-ID: <004701c4967c$d38730a0$80b3fea9@ColbyM6805> >Where else could you get 10 or more licenses of MS Office 2003 and Windows XP? Legal copies, no less either! And that was my thought exactly. Not to mention legal seats for SQL Server, various server editions etc. I have 5 computers running a mishmash of software. With the action pack I will get my two new machines running Windows Server 2000. SQL Server on one, IIS server on the other. XP Pro on my workstations. Office 2003 on all the workstations. I've always wanted to learn more about things like exchange server so I can set it up as well. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Wednesday, September 08, 2004 10:42 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AHOO!!! Got my action pack Hi everyone. I have had the MS Action Pack now for two years and I really like it. I had to 'join' the Partners section this last spring in order to renew my action pack for the next year, but that was at no additional cost to me. The licensing is this: You initially purchase the Action Pack for $xxx.xx (I've heard different amounts, so whatever the price is) for the first year. You now have a one-year MS License for all of the products in the Pack. You can install, register, etc. Just not sell. At the end of the licensing year (for you), you may renew your subscription for $199 for another year's subscription or not. If you renew, your Action Packs (quarterly) continue. If you do not renew, then, the caveat begins. You must remove all of the Action Pack software from your computers, and, believe it or not, you DID agree to this when you signed up (somewhere in the King James version of the licensing agreement...:P....). Well, I'm continuing with the renewal because of the access to premium MS software with valid licensing and a resonable price. Where else could you get 10 or more licenses of MS Office 2003 and Windows XP? Legal copies, no less either! That in and of itself has paid for the Action Pack for me. Even if I DO have to renew each year. Just my thoughts. Greg Smith > I don't know. I know that the license "expires" after 1 year, but it > appears that these are just real copies of these various things. I > doubt they quit working. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > - Beach Access Software > Sent: Wednesday, September 08, 2004 1:07 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AHOO!!! Got my action pack > > > John: > > Thanks for the rundown. I've being trying to decide between that and > the partner program. This one looks god. Except what's that about a > one-year license. Does your copy of Office 2003 crap out after one > year? > > Rocky > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Tuesday, September 07, 2004 9:01 PM > Subject: RE: [AccessD] AHOO!!! Got my action pack > > >> The action pack is a deal MS offers developers or companies that >> develop > for >> or sell MS stuff. For $300-400 they give you a ton of the latest >> software and 10 licenses for all of it. You are allowed to use it in >> house, but > not >> sell it or install it on any client machines. It includes: >> >> Office Professional 2003 >> Office Publisher 2003 >> Office Frontpage 2003 >> Office Visio Professional 2003 >> Office Project Professional 2003 >> Business contact Manager for Outlook 2003 >> Office OneNote 2003 >> MapPoint 2004 Standard Edition >> Windows XP Professional >> Virtual PC 2004 >> Office Infopath 2003 >> Business Solutions CRM Professional >> Windows Server 2003 Standard Edition >> Windows Server 2003 Web Edition >> Exchange Server 2003 Enterprise Edition >> Office Project Server 2003 >> Office Sharepoint Server 2003 >> Office Live Communications Server 2003 >> SQL Server 2000 Standard Edition (damn!) >> SQL Server 2000 Service Pack 3a >> SQL Server Reporting Services >> Mobile Information Server 2002 >> Swindows Sharepoint Services Standard 2003 >> Windows Small Business Server 2003 Premium Edition >> >> What is all this stuff you may ask. No idea. >> >> The package appears to also come with some kind of training CD for >> each > ofr >> these things. No books, must all be on CD. A neat little (BIG) >> organizer size canvas folder to hold the disks. Nothing to hold the >> training materials (C'mon MS, another folder to hold that and the >> sleeves hole punched would have made it so much more professional). >> >> > http://members.microsoft.com/partner/salesmarketing/partnermarket/acti > onpack >> /actionpackus.aspx >> >> Watch for wrap. >> >> I had been looking at this package for awhile in order to bring my >> office into the modern age (as defined by MS). >> >> So there you have it. A lot of stuff for a medium price (one year >> license though!). But it gives you 10 licenses. I can put XP on all >> my desktops, Server 2003 on both my new "server" machines, look at >> and possibly use Office 2003 on my machines etc. I have a home >> office with 2 "server > class" >> machines and 2 desktop machines, plus one modern laptop and an old >> POS laptop that I am currently re-installing Win2K Pro on. Being >> able to get > a >> consistent platform on everything might be nice. >> >> I had hoped to see 64bit OS and SQL Server included - they apparently >> do exists, but not in here. 8-( >> >> John W. Colby >> www.ColbyConsulting.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie >> Johnson >> Sent: Tuesday, September 07, 2004 2:48 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] AHOO!!! Got my action pack >> >> >> What's the main advantage to having the Action pack? >> >> "John W. Colby" wrote: >> I just got my MS Action pack, very nice. So much to know, so little >> time. >> >> John W. Colby >> www.ColbyConsulting.com >> >> >> -- >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Thu Sep 9 09:57:36 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 9 Sep 2004 10:57:36 -0400 Subject: [AccessD] Shrinking fields in a report In-Reply-To: <916187228923D311A6FE00A0CC3FAA3098701E@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB7F5@ADGSERVER> All of the fields have to be empty for them all to shrink. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Thursday, September 09, 2004 10:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report Yes I do have fields on the same line and they are all set to CanShrink. There are no labels. . . Still does not shrink. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Thursday, September 09, 2004 7:30 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report If you have fields on the same line, then the line won't be able to shrink unless all the fields can shrink. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Wednesday, September 08, 2004 2:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Shrinking fields in a report I have a report that contains basic info - Memname, business name, friends name, address, and total sum contributed. In the report I have on the left hand side name, business, friends name. The middle (ideally on the same line) address, and then alittle over (once again on the same line) is the Total Sum. I have set all the fields to shrink, but when there is only a business and friend name to the record, it does not shrink all the way. But when there is a Memname and friend name, it does. This is a mystery. Any clues? IS there a limit to the number of fields that can shrink? Thanks Augusta -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Thu Sep 9 10:03:29 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 9 Sep 2004 10:03:29 -0500 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: <100F91B31300334B89EC531C9DCB0865065937@tccexch01.tappeconstruction.net> Jim, I talked to your contact in April before purchasing our subscriptions, and was quoted a price of $1675 each. He pointed out the Microsoft has changed their distribution strategy and thus has gained more control over prices being charged by independent vendors :-( I shopped around and ended up purchasing from these guys: http://www.softwaremore-usa.com/msun70.html FULL MSDN Universal 7.0 subscription for $1050.00. Not an academic edition, and the disks shipped immediately from MS headquarters. I would highly recommend this vendor. (Back when I purchased mine, MS also had a $300.00 rebate for purchasing this software on DVD. Unfortunately it is no more...) Bobby, Don't waste your time on an Academic subscription. The licensing agreements normally prohibit using it to develop software for clients. All, Even though the MSDN subscription (and updates) lasts for only a year, the software has a perpetual license: http://msdn.microsoft.com/subscriptions/faq/default.aspx#licensing However, there are certain limitations to the use of the software (e.g. you can use SQL Server for development, but you can't run your company's DB server with it!) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Thursday, September 09, 2004 9:08 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack That sounds like the price for the academic version of MSDN Universal. Provantage has the Universal version (non academic) for $2426.49 http://tinyurl.com/6wj8j http://www.provantage.com/buy-7MCSN005-microsoft-developer-network-msdn- univ ersal-v7-0-subscription-534-02125-shopping.htm Enterprise edition (non academic) $1913.79 http://tinyurl.com/5uuro http://www.provantage.com/buy-7MCSN008-microsoft-developer-network-msdn- ente rprise-v7-0-subscription-shopping.htm Enterprise edition (academic) $574.79 http://tinyurl.com/5qcct http://www.provantage.com/buy-22062410-microsoft-developer-network-msdn- acad emic-editions-enterprise-v7-0-subscription-ae-shopping.htm They do not (that I can see) have the Universal academic version. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, September 09, 2004 9:04 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack John (and all) Not that much more. A full Action Pack subscription is $399. I found a MSDN Universal subscription for $875 last year. Your talking a difference of only $400 bucks. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, September 08, 2004 8:20 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack And the cost of that is MUCH more. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 08, 2004 6:37 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack isn't really for developers in that sense. It's for partners so that the entire office can work with the same versions of the MS applications. The developers tools are in the MSDN Universal subscription. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, September 08, 2004 5:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack John, I didn't see Visual Studio for Applications on your list. This would allow setting up an installation package for Access Runtime. I would have guessed that this would have been included in a package for developers. Is it really missing? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 11:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From jimdettman at earthlink.net Thu Sep 9 10:37:11 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 9 Sep 2004 11:37:11 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <100F91B31300334B89EC531C9DCB0865065937@tccexch01.tappeconstruction.net> Message-ID: Brett, <> Bummer. Thanks for passing that link along though! My subscription is going to be up soon. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Thursday, September 09, 2004 11:03 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack Jim, I talked to your contact in April before purchasing our subscriptions, and was quoted a price of $1675 each. He pointed out the Microsoft has changed their distribution strategy and thus has gained more control over prices being charged by independent vendors :-( I shopped around and ended up purchasing from these guys: http://www.softwaremore-usa.com/msun70.html FULL MSDN Universal 7.0 subscription for $1050.00. Not an academic edition, and the disks shipped immediately from MS headquarters. I would highly recommend this vendor. (Back when I purchased mine, MS also had a $300.00 rebate for purchasing this software on DVD. Unfortunately it is no more...) Bobby, Don't waste your time on an Academic subscription. The licensing agreements normally prohibit using it to develop software for clients. All, Even though the MSDN subscription (and updates) lasts for only a year, the software has a perpetual license: http://msdn.microsoft.com/subscriptions/faq/default.aspx#licensing However, there are certain limitations to the use of the software (e.g. you can use SQL Server for development, but you can't run your company's DB server with it!) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Thursday, September 09, 2004 9:08 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack That sounds like the price for the academic version of MSDN Universal. Provantage has the Universal version (non academic) for $2426.49 http://tinyurl.com/6wj8j http://www.provantage.com/buy-7MCSN005-microsoft-developer-network-msdn- univ ersal-v7-0-subscription-534-02125-shopping.htm Enterprise edition (non academic) $1913.79 http://tinyurl.com/5uuro http://www.provantage.com/buy-7MCSN008-microsoft-developer-network-msdn- ente rprise-v7-0-subscription-shopping.htm Enterprise edition (academic) $574.79 http://tinyurl.com/5qcct http://www.provantage.com/buy-22062410-microsoft-developer-network-msdn- acad emic-editions-enterprise-v7-0-subscription-ae-shopping.htm They do not (that I can see) have the Universal academic version. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, September 09, 2004 9:04 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack John (and all) Not that much more. A full Action Pack subscription is $399. I found a MSDN Universal subscription for $875 last year. Your talking a difference of only $400 bucks. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, September 08, 2004 8:20 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack And the cost of that is MUCH more. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 08, 2004 6:37 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack isn't really for developers in that sense. It's for partners so that the entire office can work with the same versions of the MS applications. The developers tools are in the MSDN Universal subscription. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, September 08, 2004 5:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack John, I didn't see Visual Studio for Applications on your list. This would allow setting up an installation package for Access Runtime. I would have guessed that this would have been included in a package for developers. Is it really missing? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 11:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at adelphia.net Thu Sep 9 10:52:55 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Thu, 9 Sep 2004 11:52:55 -0400 Subject: [AccessD] Shrinking fields in a report In-Reply-To: <200409091424.i89EOAZx021968@ms-smtp-01.nyroc.rr.com> Message-ID: <000001c49685$128e50f0$7109a845@hargrove.internal> Is the section CanShrink property set to Yes? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Thursday, September 09, 2004 10:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report Yes I do have fields on the same line and they are all set to CanShrink. There are no labels. . . Still does not shrink. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Thursday, September 09, 2004 7:30 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report If you have fields on the same line, then the line won't be able to shrink unless all the fields can shrink. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Wednesday, September 08, 2004 2:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Shrinking fields in a report I have a report that contains basic info - Memname, business name, friends name, address, and total sum contributed. In the report I have on the left hand side name, business, friends name. The middle (ideally on the same line) address, and then alittle over (once again on the same line) is the Total Sum. I have set all the fields to shrink, but when there is only a business and friend name to the record, it does not shrink all the way. But when there is a Memname and friend name, it does. This is a mystery. Any clues? IS there a limit to the number of fields that can shrink? Thanks Augusta -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Sep 9 11:09:40 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 9 Sep 2004 17:09:40 +0100 Subject: [AccessD] DLL question (was Broadcast a message) Message-ID: <20040909160937.04CF725F1FD@smtp.nildram.co.uk> Am trying to use Novell messaging for broadcasting messages, and have code (thanks for pointer Gustav) to use API calls in NWNETAPI.DLL. But whenever I run the code I get a "Path not found: NWNETAPI.DLL" error. Even if I put the specific location of the DLL I still get it. Does this mean it uses other DLL's, and if so how do I find out what else I need? Or what else could it be? -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 From cfoust at infostatsystems.com Thu Sep 9 11:19:52 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Sep 2004 09:19:52 -0700 Subject: [AccessD] A2K of AXP Message-ID: Use the 2000 format to avoid the bloat caused by the pesky extra system table in 2002 format. The only reason to use 2002 is so you can create an mde, which has to be in the format of the version that creates it. Charlotte Foust -----Original Message----- From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] Sent: Thursday, September 09, 2004 7:30 AM To: AccessD at databaseadvisors.com Subject: [AccessD] A2K of AXP Hi I have been a very happy developer using A97, I am now about to user AXP as a backend. I have now to decide which format of BE to user A2000 of A2002. Can anyone please advise. BTW the FE will be VB.net (if this makes a difference) TIA Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Sep 9 11:22:35 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Sep 2004 09:22:35 -0700 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: Ah, but the developer tools aren't in Access, they're part of VSTO. MS seems to be pushing ever harder to make Access an end-user tool. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Thursday, September 09, 2004 4:55 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack I don't know. It has Office, with Access I believe. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, September 09, 2004 4:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack Hi John > .. There is NOTHING development oriented in there. Not even Access ... /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Sep 9 11:24:59 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Sep 2004 09:24:59 -0700 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: That's a stand alone developer product. It is NOT part of the action pack but it is in MSDN Universal. Of course, you can also buy it off the shelp. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, September 08, 2004 8:30 AM To: Database Advisors Subject: FW: [AccessD] AHOO!!! Got my action pack John, I didn't see Visual Studio for Applications on your list. This would allow setting up an installation package for Access Runtime. I would have guessed that this would have been included in a package for developers. Is it really missing? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 11:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DElam at jenkens.com Thu Sep 9 11:24:38 2004 From: DElam at jenkens.com (Elam, Debbie) Date: Thu, 9 Sep 2004 11:24:38 -0500 Subject: [AccessD] Shrinking fields in a report Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C02485418@natexch.jenkens.com> I have seen strange shrink behavior when fields are touching other fields, or even overlap the same (imaginary) parallel line. Make sure the fields are even across the top, or outside the space of fields with data. Then make sure a field with data is not touching it anywhere. I had one rather crowded report where this was a culprit. The edges were supposed to just barely touch, but they actually overlapped slightly. Debbie -----Original Message----- From: augusta [mailto:awithing at twcny.rr.com] Sent: Wednesday, September 08, 2004 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Shrinking fields in a report I have a report that contains basic info - Memname, business name, friends name, address, and total sum contributed. In the report I have on the left hand side name, business, friends name. The middle (ideally on the same line) address, and then alittle over (once again on the same line) is the Total Sum. I have set all the fields to shrink, but when there is only a business and friend name to the record, it does not shrink all the way. But when there is a Memname and friend name, it does. This is a mystery. Any clues? IS there a limit to the number of fields that can shrink? Thanks Augusta -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From gustav at cactus.dk Thu Sep 9 11:26:35 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 9 Sep 2004 18:26:35 +0200 Subject: [AccessD] DLL question (was Broadcast a message) In-Reply-To: <20040909160937.04CF725F1FD@smtp.nildram.co.uk> References: <20040909160937.04CF725F1FD@smtp.nildram.co.uk> Message-ID: <18334451098.20040909182635@cactus.dk> Hi Andy What does your complete code look like? /gustav > Am trying to use Novell messaging for broadcasting messages, and have code > (thanks for pointer Gustav) to use API calls in NWNETAPI.DLL. But whenever I > run the code I get a "Path not found: NWNETAPI.DLL" error. Even if I put the > specific location of the DLL I still get it. Does this mean it uses other > DLL's, and if so how do I find out what else I need? Or what else could it > be? From awithing at twcny.rr.com Thu Sep 9 12:23:40 2004 From: awithing at twcny.rr.com (augusta) Date: Thu, 9 Sep 2004 13:23:40 -0400 Subject: [AccessD] Shrinking fields in a report In-Reply-To: <7B1961ED924D1A459E378C9B1BB22B4C02485418@natexch.jenkens.com> Message-ID: <200409091723.i89HNht3012887@ms-smtp-04.nyroc.rr.com> Thanks for your reply But none of the fields are touching each other This is how it is set up: IDNo Name WAddress TotAmount FriendsName Business Thats it! And nothing touches, all are set to CanShrink! FriendsName and Business do not shrink up. But, where there is no FriendsName or Business, the white space goes away. I'm stumped. Am I asking it to do something it can't do? Thanks Augusta -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Thursday, September 09, 2004 12:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report I have seen strange shrink behavior when fields are touching other fields, or even overlap the same (imaginary) parallel line. Make sure the fields are even across the top, or outside the space of fields with data. Then make sure a field with data is not touching it anywhere. I had one rather crowded report where this was a culprit. The edges were supposed to just barely touch, but they actually overlapped slightly. Debbie -----Original Message----- From: augusta [mailto:awithing at twcny.rr.com] Sent: Wednesday, September 08, 2004 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Shrinking fields in a report I have a report that contains basic info - Memname, business name, friends name, address, and total sum contributed. In the report I have on the left hand side name, business, friends name. The middle (ideally on the same line) address, and then alittle over (once again on the same line) is the Total Sum. I have set all the fields to shrink, but when there is only a business and friend name to the record, it does not shrink all the way. But when there is a Memname and friend name, it does. This is a mystery. Any clues? IS there a limit to the number of fields that can shrink? Thanks Augusta From JHewson at karta.com Thu Sep 9 12:35:06 2004 From: JHewson at karta.com (Jim Hewson) Date: Thu, 9 Sep 2004 12:35:06 -0500 Subject: [AccessD] Shrinking fields in a report Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0103E2EE@karta-exc-int.Karta.com> Is the WAddress and TotAmount enlarged to cover the entire space? I have sized two fields like FriendsName and Business to .0007 height and placed them close together with the CanGrow set to true. In this case, when there is a Business without a FriendsName, business would appear to be directly under Name. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of augusta Sent: Thursday, September 09, 2004 12:24 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report Thanks for your reply But none of the fields are touching each other This is how it is set up: IDNo Name WAddress TotAmount FriendsName Business Thats it! And nothing touches, all are set to CanShrink! FriendsName and Business do not shrink up. But, where there is no FriendsName or Business, the white space goes away. I'm stumped. Am I asking it to do something it can't do? Thanks Augusta -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Thursday, September 09, 2004 12:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report I have seen strange shrink behavior when fields are touching other fields, or even overlap the same (imaginary) parallel line. Make sure the fields are even across the top, or outside the space of fields with data. Then make sure a field with data is not touching it anywhere. I had one rather crowded report where this was a culprit. The edges were supposed to just barely touch, but they actually overlapped slightly. Debbie -----Original Message----- From: augusta [mailto:awithing at twcny.rr.com] Sent: Wednesday, September 08, 2004 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Shrinking fields in a report I have a report that contains basic info - Memname, business name, friends name, address, and total sum contributed. In the report I have on the left hand side name, business, friends name. The middle (ideally on the same line) address, and then alittle over (once again on the same line) is the Total Sum. I have set all the fields to shrink, but when there is only a business and friend name to the record, it does not shrink all the way. But when there is a Memname and friend name, it does. This is a mystery. Any clues? IS there a limit to the number of fields that can shrink? Thanks Augusta -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From awithing at twcny.rr.com Thu Sep 9 13:11:48 2004 From: awithing at twcny.rr.com (augusta) Date: Thu, 9 Sep 2004 14:11:48 -0400 Subject: [AccessD] Shrinking fields in a report In-Reply-To: <9C382E065F54AE48BC3AA7925DCBB01C0103E2EE@karta-exc-int.Karta.com> Message-ID: <200409091811.i89IBpt3026439@ms-smtp-04.nyroc.rr.com> >Is the WAddress and TotAmount enlarged to cover the entire space? No,I am confused. What entire space? >I have sized two fields like FriendsName and Business to .0007 height and placed them close together with the CanGrow set to true. In this case, when there is a Business without a FriendsName, business would appear to be directly under Name. All of the fields are the same height. Friends Name and Business is the same length as Name augusta -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of augusta Sent: Thursday, September 09, 2004 12:24 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report Thanks for your reply But none of the fields are touching each other This is how it is set up: IDNo Name WAddress TotAmount FriendsName Business Thats it! And nothing touches, all are set to CanShrink! FriendsName and Business do not shrink up. But, where there is no FriendsName or Business, the white space goes away. I'm stumped. Am I asking it to do something it can't do? Thanks Augusta -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Thursday, September 09, 2004 12:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report I have seen strange shrink behavior when fields are touching other fields, or even overlap the same (imaginary) parallel line. Make sure the fields are even across the top, or outside the space of fields with data. Then make sure a field with data is not touching it anywhere. I had one rather crowded report where this was a culprit. The edges were supposed to just barely touch, but they actually overlapped slightly. Debbie -----Original Message----- From: augusta [mailto:awithing at twcny.rr.com] Sent: Wednesday, September 08, 2004 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Shrinking fields in a report I have a report that contains basic info - Memname, business name, friends name, address, and total sum contributed. In the report I have on the left hand side name, business, friends name. The middle (ideally on the same line) address, and then alittle over (once again on the same line) is the Total Sum. I have set all the fields to shrink, but when there is only a business and friend name to the record, it does not shrink all the way. But when there is a Memname and friend name, it does. This is a mystery. Any clues? IS there a limit to the number of fields that can shrink? Thanks Augusta -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From awithing at twcny.rr.com Thu Sep 9 13:12:49 2004 From: awithing at twcny.rr.com (augusta) Date: Thu, 9 Sep 2004 14:12:49 -0400 Subject: [AccessD] Shrinking fields in a report In-Reply-To: <000001c49685$128e50f0$7109a845@hargrove.internal> Message-ID: <200409091812.i89ICpZx009580@ms-smtp-01.nyroc.rr.com> >Is the section CanShrink property set to Yes? Yes, all fields in the whole section and the section itself are set to shrink. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Thursday, September 09, 2004 10:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report Yes I do have fields on the same line and they are all set to CanShrink. There are no labels. . . Still does not shrink. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Thursday, September 09, 2004 7:30 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report If you have fields on the same line, then the line won't be able to shrink unless all the fields can shrink. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Wednesday, September 08, 2004 2:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Shrinking fields in a report I have a report that contains basic info - Memname, business name, friends name, address, and total sum contributed. In the report I have on the left hand side name, business, friends name. The middle (ideally on the same line) address, and then alittle over (once again on the same line) is the Total Sum. I have set all the fields to shrink, but when there is only a business and friend name to the record, it does not shrink all the way. But when there is a Memname and friend name, it does. This is a mystery. Any clues? IS there a limit to the number of fields that can shrink? Thanks Augusta____________ From bheid at appdevgrp.com Thu Sep 9 13:41:24 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 9 Sep 2004 14:41:24 -0400 Subject: [AccessD] Shrinking fields in a report In-Reply-To: <916187228923D311A6FE00A0CC3FAA309870CD@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB7FC@ADGSERVER> Could it be that an empty string is being passed in one or more of the fields in instead of a null? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Wednesday, September 08, 2004 2:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Shrinking fields in a report I have a report that contains basic info - Memname, business name, friends name, address, and total sum contributed. In the report I have on the left hand side name, business, friends name. The middle (ideally on the same line) address, and then alittle over (once again on the same line) is the Total Sum. I have set all the fields to shrink, but when there is only a business and friend name to the record, it does not shrink all the way. But when there is a Memname and friend name, it does. This is a mystery. Any clues? IS there a limit to the number of fields that can shrink? Thanks Augusta____________ From JHewson at karta.com Thu Sep 9 13:41:19 2004 From: JHewson at karta.com (Jim Hewson) Date: Thu, 9 Sep 2004 13:41:19 -0500 Subject: [AccessD] Shrinking fields in a report Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0103E2F1@karta-exc-int.Karta.com> What I meant was: are these two field's height equal to the height of the three fields combined? For example, if Name, FriendsName and Business each have a height of .17, does WAddress and/or TotAmount's height equal .51 (.17 * 3)? If it does and WAddress or TotAmount has anything in them, neither FriendsName or Business will shrink, even if Waddress has only one line in it. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of augusta Sent: Thursday, September 09, 2004 1:12 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report >Is the WAddress and TotAmount enlarged to cover the entire space? No,I am confused. What entire space? >I have sized two fields like FriendsName and Business to .0007 height and placed them close together with the CanGrow set to true. In this case, when there is a Business without a FriendsName, business would appear to be directly under Name. All of the fields are the same height. Friends Name and Business is the same length as Name augusta -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of augusta Sent: Thursday, September 09, 2004 12:24 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report Thanks for your reply But none of the fields are touching each other This is how it is set up: IDNo Name WAddress TotAmount FriendsName Business Thats it! And nothing touches, all are set to CanShrink! FriendsName and Business do not shrink up. But, where there is no FriendsName or Business, the white space goes away. I'm stumped. Am I asking it to do something it can't do? Thanks Augusta -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Thursday, September 09, 2004 12:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report I have seen strange shrink behavior when fields are touching other fields, or even overlap the same (imaginary) parallel line. Make sure the fields are even across the top, or outside the space of fields with data. Then make sure a field with data is not touching it anywhere. I had one rather crowded report where this was a culprit. The edges were supposed to just barely touch, but they actually overlapped slightly. Debbie -----Original Message----- From: augusta [mailto:awithing at twcny.rr.com] Sent: Wednesday, September 08, 2004 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Shrinking fields in a report I have a report that contains basic info - Memname, business name, friends name, address, and total sum contributed. In the report I have on the left hand side name, business, friends name. The middle (ideally on the same line) address, and then alittle over (once again on the same line) is the Total Sum. I have set all the fields to shrink, but when there is only a business and friend name to the record, it does not shrink all the way. But when there is a Memname and friend name, it does. This is a mystery. Any clues? IS there a limit to the number of fields that can shrink? Thanks Augusta -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at touchtelindia.net Thu Sep 9 13:39:30 2004 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Fri, 10 Sep 2004 00:09:30 +0530 Subject: [AccessD] Shrinking fields in a report References: <200409091811.i89IBpt3026439@ms-smtp-04.nyroc.rr.com> Message-ID: <00f301c4969c$72174a10$b71865cb@winxp> Augusta, If your problem persists despite trying out afresh on a brand new report, you can send a zipped extract of your db containing the said report as well as the source tables & queries. The number of records may please be pruned down so as to demonstrate the problem while keeping down the size. A.D.Tejpal ( adtp at touchtelindia.net ) ----- Original Message ----- From: augusta To: 'Access Developers discussion and problem solving' Sent: Thursday, September 09, 2004 23:41 Subject: RE: [AccessD] Shrinking fields in a report >Is the WAddress and TotAmount enlarged to cover the entire space? No,I am confused. What entire space? >I have sized two fields like FriendsName and Business to .0007 height and placed them close together with the CanGrow set to true. In this case, when there is a Business without a FriendsName, business would appear to be directly under Name. All of the fields are the same height. Friends Name and Business is the same length as Name augusta -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of augusta Sent: Thursday, September 09, 2004 12:24 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report Thanks for your reply But none of the fields are touching each other This is how it is set up: IDNo Name WAddress TotAmount FriendsName Business Thats it! And nothing touches, all are set to CanShrink! FriendsName and Business do not shrink up. But, where there is no FriendsName or Business, the white space goes away. I'm stumped. Am I asking it to do something it can't do? Thanks Augusta -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Thursday, September 09, 2004 12:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report I have seen strange shrink behavior when fields are touching other fields, or even overlap the same (imaginary) parallel line. Make sure the fields are even across the top, or outside the space of fields with data. Then make sure a field with data is not touching it anywhere. I had one rather crowded report where this was a culprit. The edges were supposed to just barely touch, but they actually overlapped slightly. Debbie -----Original Message----- From: augusta [mailto:awithing at twcny.rr.com] Sent: Wednesday, September 08, 2004 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Shrinking fields in a report I have a report that contains basic info - Memname, business name, friends name, address, and total sum contributed. In the report I have on the left hand side name, business, friends name. The middle (ideally on the same line) address, and then alittle over (once again on the same line) is the Total Sum. I have set all the fields to shrink, but when there is only a business and friend name to the record, it does not shrink all the way. But when there is a Memname and friend name, it does. This is a mystery. Any clues? IS there a limit to the number of fields that can shrink? Thanks Augusta From serbach at new.rr.com Thu Sep 9 14:19:47 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 9 Sep 2004 14:19:47 -0500 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <004701c4967c$d38730a0$80b3fea9@ColbyM6805> References: <1496.216.43.21.234.1094654535.squirrel@cetus.email.starband.net> <004701c4967c$d38730a0$80b3fea9@ColbyM6805> Message-ID: <20040909141947.1901151160.serbach@new.rr.com> John, I'd considered buying the Action Pack, but Hindman turned me on to this: http://members.microsoft.com/partner/competency/isvcomp/empower/default.aspx It's a full Universal subscription for $375 a year for a maximum of two years. The biggest gotcha is that you must promise to develop a product for commercial distribution within 18 - 24 months. There's no renewal at the discounted price after the two years. I went with it because the Universal subscription, of course, includes all the .NET stuff. There's also a goodly amount of beta stuff (VS 2005 Beta, .NET 2.0 Beta, FP 9.0 Beta) for what it's worth. The Enterprise editions are the norm in the Universal subscription. 5 licenses, though, not 10. But 14 DVDs crammed with stuff! Holy smokes! Regards, Steve Erbach Scientific Marketing Neenah, WI 920-969-0504 "If you can't say anything nice, run for President." - Argus Hamilton From cfoust at infostatsystems.com Thu Sep 9 14:44:30 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Sep 2004 12:44:30 -0700 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: Yes, empower is what we have in our office. Charlotte Foust -----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: Thursday, September 09, 2004 12:20 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack John, I'd considered buying the Action Pack, but Hindman turned me on to this: http://members.microsoft.com/partner/competency/isvcomp/empower/default. aspx It's a full Universal subscription for $375 a year for a maximum of two years. The biggest gotcha is that you must promise to develop a product for commercial distribution within 18 - 24 months. There's no renewal at the discounted price after the two years. I went with it because the Universal subscription, of course, includes all the .NET stuff. There's also a goodly amount of beta stuff (VS 2005 Beta, .NET 2.0 Beta, FP 9.0 Beta) for what it's worth. The Enterprise editions are the norm in the Universal subscription. 5 licenses, though, not 10. But 14 DVDs crammed with stuff! Holy smokes! Regards, Steve Erbach Scientific Marketing Neenah, WI 920-969-0504 "If you can't say anything nice, run for President." - Argus Hamilton -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Sep 9 13:47:32 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 09 Sep 2004 11:47:32 -0700 Subject: [AccessD] Changing the windows' tongue References: Message-ID: <4140A544.1000802@shaw.ca> I think you are SOL But this is the way I think it works. The Windows MultiLanguage Pack or it's new incarnation MUI Multilingual User Interface is only available to OEM and enterprise licenses. maybe it is in the Action Packs? It also has to be installed over the US version initially. I guess this is to ease hotfixes. http://support.microsoft.com/?kbid=323282 http://www.microsoft.com/globaldev/DrIntl/faqs/MUIFaq.mspx#MUIques6 The Windows 2000 MultiLanguage Version builds on top of this support by adding the capability of switching the User Interface (menus, dialogs and help files) from one language to another. This feature helps make administration and support of multilingual computing environments much easier by: * allowing workstations to be shared by users who speak different languages * facilitating the roll-out of one system company-wide, with the addition of User Interface languages as they become available. This allows the one same service pack to update all machines. The Windows 2000 MultiLanguage Version allows each user of a workstation to select one of the installed User Interface languages. This selection is then stored in their user profile. When a user logs on, the appearance of the system and the help files associated with the system components changes to the selected language. (Note that this is not quite the same as running a localized version of Windows 2000. The Windows 2000 MultiLanguage Version is based on the international English version of Windows 2000. Accordingly, some parts of the system -- most noticeably the registry -- remain in English.) Paul Rodgers wrote: >The price was right, but the language isn't. Is there a way to change the >language to English in windows 2k, perhaps with an upgrade, please, Experts? >Cheers paul > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.754 / Virus Database: 504 - Release Date: 06/09/2004 > > > > -- Marty Connelly Victoria, B.C. Canada From andy at minstersystems.co.uk Thu Sep 9 15:19:10 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 9 Sep 2004 21:19:10 +0100 Subject: [AccessD] DLL question (was Broadcast a message) In-Reply-To: <18334451098.20040909182635@cactus.dk> Message-ID: <002b01c496aa$442f3e10$b274d0d5@minster33c3r25> It's exactly the code from the link you kindly gave me: http://www.clippings.vivitec.com.au/pp_article_id_8.html -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Gustav Brock > Sent: 09 September 2004 17:27 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] DLL question (was Broadcast a message) > > > Hi Andy > > What does your complete code look like? > > /gustav > > > > Am trying to use Novell messaging for broadcasting > messages, and have > > code (thanks for pointer Gustav) to use API calls in > NWNETAPI.DLL. But > > whenever I run the code I get a "Path not found: > NWNETAPI.DLL" error. > > Even if I put the specific location of the DLL I still get it. Does > > this mean it uses other DLL's, and if so how do I find out > what else I > > need? Or what else could it be? > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From bchacc at san.rr.com Thu Sep 9 15:34:28 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 9 Sep 2004 13:34:28 -0700 Subject: [AccessD] AHOO!!! Got my action pack References: Message-ID: <01f201c496ac$675d5e10$6601a8c0@HAL9002> Steve: What happens after two years? Can you install on another machine? Are your unused licenses still good? Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, September 09, 2004 12:44 PM Subject: RE: [AccessD] AHOO!!! Got my action pack > Yes, empower is what we have in our office. > > Charlotte Foust > > > -----Original Message----- > From: Steven W. Erbach [mailto:serbach at new.rr.com] > Sent: Thursday, September 09, 2004 12:20 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] AHOO!!! Got my action pack > > > John, > > I'd considered buying the Action Pack, but Hindman turned me on to this: > > http://members.microsoft.com/partner/competency/isvcomp/empower/default. > aspx > > It's a full Universal subscription for $375 a year for a maximum of two > years. The biggest gotcha is that you must promise to develop a product > for commercial distribution within 18 - 24 months. There's no renewal at > the discounted price after the two years. > > I went with it because the Universal subscription, of course, includes > all the .NET stuff. There's also a goodly amount of beta stuff (VS 2005 > Beta, .NET 2.0 Beta, FP 9.0 Beta) for what it's worth. The Enterprise > editions are the norm in the Universal subscription. 5 licenses, though, > not 10. > > But 14 DVDs crammed with stuff! Holy smokes! > > Regards, > > Steve Erbach > Scientific Marketing > Neenah, WI > 920-969-0504 > > "If you can't say anything nice, run for President." - Argus Hamilton > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From serbach at new.rr.com Thu Sep 9 16:41:48 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 9 Sep 2004 16:41:48 -0500 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: References: Message-ID: <20040909164148.1949171552.serbach@new.rr.com> Charlotte, >> Yes, empower is what we have in our office. << So, what's the product or range of products you're developing? Steve Erbach http://www.swerbach.com From cfoust at infostatsystems.com Thu Sep 9 16:54:39 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Sep 2004 14:54:39 -0700 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: Right now, we're working with Office XP Developer and SQL 2000 under our original licenses, but we're also working with VisualStudio.Net, WindowsServer2003, IIS, Visio, ASP.Net, etc. We saved a bunch of money on the Visual Studio and Visio Enterprise licenses alone. Our existing products are in A97 and AXP and SQL 2000 but we're working on .Net versions and web-based versions for future release. Charlotte Foust -----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: Thursday, September 09, 2004 2:42 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack Charlotte, >> Yes, empower is what we have in our office. << So, what's the product or range of products you're developing? Steve Erbach http://www.swerbach.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Thu Sep 9 18:47:30 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Fri, 10 Sep 2004 09:47:30 +1000 Subject: [AccessD] A2K: Same Name Validation In-Reply-To: <70F3D727890C784291D8433E9C418F298FC5@server.bondsoftware.co.nz> Message-ID: <000a01c496c7$5ec3b900$4a619a89@DDICK> Excellent I didn't think at all of combining the fields at table level The 'overhead' should be minimal Many thanks Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stephen Bond Sent: Thursday, 9 September 2004 6:39 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Same Name Validation Darren, I do this in one of my apps: Function DuplicateCount(fnIn, snIn) As Long Dim k As Variant, criteria as String criteria = "FirstName = '" & fnIn & "' AND LastName = '" & snIn & "'" k = Nz(DCount("*", "tblWhatever", criteria)) DuplicateCount = k End Function I cop the overhead of another index on the table. It's a multi-field index, it contains the FN field and the LN field, call it CombinedName, duplicates allowed. I think this is supposed to make it faster. If it doesn't it makes me feel better anyway Stephen Bond Otatara, New Zealand > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Thursday, 9 September 2004 5:14 p.m. > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] A2K: Same Name Validation > > > Hi Francisco > Pretty Basic > tblStudents > LastName (TEXT) > FirstName (TEXT) > > That's all I want to test. Just if there is one John SMITH and > a data entry person is entering a second one, I wanna alert them. > > I was thinking of a combined dlookup with First and Last name and if > the count was greater than zero, alert the user > > Many thanks > > Have a great day > > Darren > > > > > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Thu Sep 9 19:55:35 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Thu, 9 Sep 2004 20:55:35 -0400 Subject: [AccessD] A2K: Same Name Validation In-Reply-To: <000a01c496c7$5ec3b900$4a619a89@DDICK> Message-ID: <001801c496d0$e1db8300$0200a8c0@COA3> What I have done here is, after an add new, in the lost focus of the second text box (some apps are first then last, others last then first) is to do a similar search for lastname=txbLastname AND firstname like left(firstname,1) & "*" ... If I get any records, I pop a modal form with a list box of all the matches ... User can click Cancel to continue the Add New or double-click the listbox item to go to a prior entry. This doesn't prevent duplicate Richard/Dick or Anthony/Tony, but will catch all the Steve/Steven/Stephen and James/Jim prior entries. Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Thursday, September 09, 2004 7:48 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K: Same Name Validation Excellent I didn't think at all of combining the fields at table level The 'overhead' should be minimal Many thanks Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stephen Bond Sent: Thursday, 9 September 2004 6:39 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Same Name Validation Darren, I do this in one of my apps: Function DuplicateCount(fnIn, snIn) As Long Dim k As Variant, criteria as String criteria = "FirstName = '" & fnIn & "' AND LastName = '" & snIn & "'" k = Nz(DCount("*", "tblWhatever", criteria)) DuplicateCount = k End Function I cop the overhead of another index on the table. It's a multi-field index, it contains the FN field and the LN field, call it CombinedName, duplicates allowed. I think this is supposed to make it faster. If it doesn't it makes me feel better anyway Stephen Bond Otatara, New Zealand > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Thursday, 9 September 2004 5:14 p.m. > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] A2K: Same Name Validation > > > Hi Francisco > Pretty Basic > tblStudents > LastName (TEXT) > FirstName (TEXT) > > That's all I want to test. Just if there is one John SMITH and a data > entry person is entering a second one, I wanna alert them. > > I was thinking of a combined dlookup with First and Last name and if > the count was greater than zero, alert the user > > Many thanks > > Have a great day > > Darren > > > > > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chris.Foote at uk.thalesgroup.com Wed Sep 8 05:24:18 2004 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Wed, 8 Sep 2004 11:24:18 +0100 Subject: [AccessD] Broadcast A Message Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C305@ntscxch1.int.rdel.co.uk> Hi Andy! Below is a code snippet that I use to use the NT4 NetSend function to send a variable message (strNSMess) to a specific user (crfoote). I'm sure you can tweak it to suit! Oh. atCNames(1) & atCNames(0) are other functions that I use to retrieve the User Name and Machine Name that the app is running on. Best regards! Chris Foote ---------(Code start)----------- '------------------------------------------------------------ ' Function NetSend ' Uses NT4 NetSend to send a message to ' crfoote showning current user name and machine ' Created by Chris Foote from scratch (with ' just a little help from "Help"!) '------------------------------------------------------------ Public Sub fncNetSend() On Error GoTo fncNetSend_Err Dim strNSMess As String Dim strNSCommand As String strNSMess = "Message sent from " strNSCommand = "net send crfoote " & "" & strNSMess & " " & atCNames(1) & " at " & atCNames(0) Call Shell(strNSCommand, 0) fncNetSend_Exit: Exit Sub fncNetSend_Err: MsgBox Error$ Resume fncNetSend_Exit End Sub -----------(Code end)------------- > -----Original Message----- > From: Andy Lacey [mailto:andy at minstersystems.co.uk] > Sent: Tuesday, September 07, 2004 6:39 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Broadcast A Message > > > Hi folks > > Anyone got any info/code to broadcast a message to selected > machines/users. > We've an NT4 server and a Novell server so could use either > technology. > > -- Andy Lacey > http://www.minstersystems.co.uk From Chris.Foote at uk.thalesgroup.com Thu Sep 9 02:09:55 2004 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Thu, 9 Sep 2004 08:09:55 +0100 Subject: FW: [AccessD] Broadcast A Message Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C30D@ntscxch1.int.rdel.co.uk> > -----Original Message----- > From: Foote, Chris > Sent: Wednesday, September 08, 2004 11:24 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Broadcast A Message > > > Hi Andy! > > Below is a code snippet that I use to use the NT4 NetSend > function to send a variable message (strNSMess) to a specific > user (crfoote). > > I'm sure you can tweak it to suit! > > Oh. atCNames(1) & atCNames(0) are other functions that I use > to retrieve the User Name and Machine Name that the app is running on. > > Best regards! > Chris Foote > > ---------(Code start)----------- > '------------------------------------------------------------ > ' Function NetSend > ' Uses NT4 NetSend to send a message to > ' crfoote showning current user name and machine > ' Created by Chris Foote from scratch (with > ' just a little help from "Help"!) > '------------------------------------------------------------ > Public Sub fncNetSend() > On Error GoTo fncNetSend_Err > > Dim strNSMess As String > Dim strNSCommand As String > > strNSMess = "Message sent from " > > strNSCommand = "net send crfoote " & "" & strNSMess & " " > & atCNames(1) & " at " & atCNames(0) > > Call Shell(strNSCommand, 0) > > > fncNetSend_Exit: > Exit Sub > > fncNetSend_Err: > MsgBox Error$ > Resume fncNetSend_Exit > > End Sub > > -----------(Code end)------------- > > -----Original Message----- > > From: Andy Lacey [mailto:andy at minstersystems.co.uk] > > Sent: Tuesday, September 07, 2004 6:39 PM > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] Broadcast A Message > > > > > > Hi folks > > > > Anyone got any info/code to broadcast a message to selected > > machines/users. > > We've an NT4 server and a Novell server so could use either > > technology. > > > > -- Andy Lacey > > http://www.minstersystems.co.uk > From Chris.Foote at uk.thalesgroup.com Thu Sep 9 11:43:31 2004 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Thu, 9 Sep 2004 17:43:31 +0100 Subject: [AccessD] DLL question (was Broadcast a message) Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C31C@ntscxch1.int.rdel.co.uk> Andy! Have you tried the Novell command "send"? Chris F > -----Original Message----- > From: Andy Lacey [mailto:andy at minstersystems.co.uk] > Sent: Thursday, September 09, 2004 5:10 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] DLL question (was Broadcast a message) > > > Am trying to use Novell messaging for broadcasting messages, > and have code > (thanks for pointer Gustav) to use API calls in NWNETAPI.DLL. > But whenever I > run the code I get a "Path not found: NWNETAPI.DLL" error. > Even if I put the > specific location of the DLL I still get it. Does this mean > it uses other > DLL's, and if so how do I find out what else I need? Or what > else could it > be? > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > ________________________________________________ > Message sent using UebiMiau 2.7.2 > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From GregSmith at starband.net Thu Sep 9 08:27:40 2004 From: GregSmith at starband.net (Greg Smith) Date: Thu, 9 Sep 2004 08:27:40 -0500 (CDT) Subject: [AccessD] Test - Not getting posted - OT In-Reply-To: References: <000801c49507$a0be1ce0$80b3fea9@ColbyM6805> Message-ID: <1311.216.43.21.235.1094736460.squirrel@cetus.email.starband.net> Test...OT... Greg From Paul at PStrauss.net Thu Sep 9 20:21:24 2004 From: Paul at PStrauss.net (Paul Strauss) Date: Thu, 09 Sep 2004 21:21:24 -0400 Subject: [AccessD] A2K: Same Name Validation In-Reply-To: <70F3D727890C784291D8433E9C418F298FC5@server.bondsoftware.c o.nz> References: <70F3D727890C784291D8433E9C418F298FC5@server.bondsoftware.co.nz> Message-ID: <6.1.2.0.2.20040909205913.02196588@mail.pstrauss.net> At 9/9/2004 04:39 AM, you wrote: >Darren, > >I do this in one of my apps: > >Function DuplicateCount(fnIn, snIn) As Long >Dim k As Variant, criteria as String > criteria = "FirstName = '" & fnIn & "' AND LastName = '" & snIn & "'" > k = Nz(DCount("*", "tblWhatever", criteria)) > DuplicateCount = k >End Function Try this (air code): Function DuplicateCount (strFirstName as string , strLastName as string) as Long Dim strSQL as String Dim rs as DAO.Recordset strSQL ="Select FirstName From Names_tbl Where FirstName = ' " strFirstName & "' And LastName = '" strLastName & "'" set rs = CurrentDB.OpenRecordset(strSQL) rs.MoveLast ' force RecordCount to reflect actual number of rows DuplicateCount = rs.RecordCount ' clean up after yourself rs.Close set rs = nothing strSQL = vbNullString End Function The Domain Aggregate functions are very slow; Select is much faster. Some comments: "k" should not be a variant unless you really need it to be. It is a slow datatype. Long would be much preferred. Besides, you don't need "k" at all. You can assign an expression to the function name: DuplicateCount = Nz(DCount("*", "tblWhatever", criteria)) would work just fine. If you are worried about Nz returning a zero if the DCount returns null, then just do: DuplicateCount = Nz(DCount("*", "tblWhatever", criteria), 0) ^ which forces a zero to be returned if you pass it a null no matter what the datatype the DCount returns. I never depend on defaults (too many details to remember) and so I always pass the 0 myself. It might also be a little faster if a null is passed in because the function knows is doesn't have to figure out what to pass back if you are explicit about it. (I used to be a real-time programmer, and I can't break the habit of counting the milliseconds. And nowadays, since memory is so plentiful, I will usually burn memory if it makes my code faster.) Still, none of this addresses the problem of what to do if you do find duplicates. I think you have to show the user the current row, or rows, and somehow let them decide to enter another row with the same first and last name or select one of the existing ones for display or edit. Regards, Paul Strauss ---------- ? Web Site Design, Graphics, and Hosting (www.RationalHosting.net) ? MS Access Database Custom Applications ? Technical Support and Consulting 718-253-5535 / 917-975-1729 Paul at PStrauss.net From GregSmith at starband.net Wed Sep 8 20:11:01 2004 From: GregSmith at starband.net (Greg Smith) Date: Wed, 8 Sep 2004 20:11:01 -0500 Subject: [AccessD] Test send. Ignore In-Reply-To: <003601c49602$c8de9d70$80b3fea9@ColbyM6805> Message-ID: <200409090104.i8914Uob028773@cassiopeia.email.starband.net> Test send Greg From d.dick at uws.edu.au Thu Sep 9 20:40:15 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Fri, 10 Sep 2004 11:40:15 +1000 Subject: [AccessD] A2K: Same Name Validation In-Reply-To: <6.1.2.0.2.20040909205913.02196588@mail.pstrauss.net> Message-ID: <001a01c496d7$20f68b60$4a619a89@DDICK> Paul Outstanding !! Many many thanks Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Strauss Sent: Friday, 10 September 2004 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Same Name Validation At 9/9/2004 04:39 AM, you wrote: >Darren, > >I do this in one of my apps: > >Function DuplicateCount(fnIn, snIn) As Long >Dim k As Variant, criteria as String > criteria = "FirstName = '" & fnIn & "' AND LastName = '" & snIn & "'" > k = Nz(DCount("*", "tblWhatever", criteria)) > DuplicateCount = k >End Function Try this (air code): Function DuplicateCount (strFirstName as string , strLastName as string) as Long Dim strSQL as String Dim rs as DAO.Recordset strSQL ="Select FirstName From Names_tbl Where FirstName = ' " strFirstName & "' And LastName = '" strLastName & "'" set rs = CurrentDB.OpenRecordset(strSQL) rs.MoveLast ' force RecordCount to reflect actual number of rows DuplicateCount = rs.RecordCount ' clean up after yourself rs.Close set rs = nothing strSQL = vbNullString End Function The Domain Aggregate functions are very slow; Select is much faster. Some comments: "k" should not be a variant unless you really need it to be. It is a slow datatype. Long would be much preferred. Besides, you don't need "k" at all. You can assign an expression to the function name: DuplicateCount = Nz(DCount("*", "tblWhatever", criteria)) would work just fine. If you are worried about Nz returning a zero if the DCount returns null, then just do: DuplicateCount = Nz(DCount("*", "tblWhatever", criteria), 0) ^ which forces a zero to be returned if you pass it a null no matter what the datatype the DCount returns. I never depend on defaults (too many details to remember) and so I always pass the 0 myself. It might also be a little faster if a null is passed in because the function knows is doesn't have to figure out what to pass back if you are explicit about it. (I used to be a real-time programmer, and I can't break the habit of counting the milliseconds. And nowadays, since memory is so plentiful, I will usually burn memory if it makes my code faster.) Still, none of this addresses the problem of what to do if you do find duplicates. I think you have to show the user the current row, or rows, and somehow let them decide to enter another row with the same first and last name or select one of the existing ones for display or edit. Regards, Paul Strauss ---------- . Web Site Design, Graphics, and Hosting (www.RationalHosting.net) . MS Access Database Custom Applications . Technical Support and Consulting 718-253-5535 / 917-975-1729 Paul at PStrauss.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From GregSmith at starband.net Wed Sep 8 15:14:35 2004 From: GregSmith at starband.net (Greg Smith) Date: Wed, 8 Sep 2004 15:14:35 -0500 (CDT) Subject: [AccessD] Mail not delivered...??? In-Reply-To: <000e01c49558$93bb8fe0$80b3fea9@ColbyM6805> References: <20040907184735.64356.qmail@web20423.mail.yahoo.com> <000e01c49558$93bb8fe0$80b3fea9@ColbyM6805> Message-ID: <1951.216.43.21.235.1094674475.squirrel@cetus.email.starband.net> Hi everyone. Apparently others are NOT having the same problem as I am with the email to databaseadvisors. I sent a reply this morning (about 0800 CDT)and now received the following message (between the dash lines): -------------------------------------------------- ********************************************** ** THIS IS A WARNING MESSAGE ONLY ** ** YOU DO NOT NEED TO RESEND YOUR MESSAGE ** ********************************************** The original message was received at Wed, 8 Sep 2004 10:42:22 -0400 from cetus.email.starband.net [148.78.247.27] (may be forged) ----- Transcript of session follows ----- 221 2.0.0 databaseadvisors.com closing connection ... Deferred Warning: message still undelivered after 4 hours Will keep trying until message is 2 days old -------------------------------------------------- Anyone else having this 'issue'? Of course, I'm sending this to the same address where the 'issue' arises so this may NEVER go through...but what the heck...only inconveniencing a few lowly electrons. Greg Smith From d.dick at uws.edu.au Thu Sep 9 22:16:18 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Fri, 10 Sep 2004 13:16:18 +1000 Subject: [AccessD] Mail not delivered...??? In-Reply-To: <1951.216.43.21.235.1094674475.squirrel@cetus.email.starband.net> Message-ID: <001d01c496e4$89e7db80$4a619a89@DDICK> Hi Greg I see it on the list Have only had those sorts of errors (though not the same as yours) if put the AccessD address in the BCC field Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Thursday, 9 September 2004 6:15 AM To: accessd at databaseadvisors.com Subject: [AccessD] Mail not delivered...??? Hi everyone. Apparently others are NOT having the same problem as I am with the email to databaseadvisors. I sent a reply this morning (about 0800 CDT)and now received the following message (between the dash lines): -------------------------------------------------- ********************************************** ** THIS IS A WARNING MESSAGE ONLY ** ** YOU DO NOT NEED TO RESEND YOUR MESSAGE ** ********************************************** The original message was received at Wed, 8 Sep 2004 10:42:22 -0400 from cetus.email.starband.net [148.78.247.27] (may be forged) ----- Transcript of session follows ----- 221 2.0.0 databaseadvisors.com closing connection ... Deferred Warning: message still undelivered after 4 hours Will keep trying until message is 2 days old -------------------------------------------------- Anyone else having this 'issue'? Of course, I'm sending this to the same address where the 'issue' arises so this may NEVER go through...but what the heck...only inconveniencing a few lowly electrons. Greg Smith -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kwilliam at ashlandnet.com Thu Sep 9 09:19:22 2004 From: kwilliam at ashlandnet.com (Keith Williamson) Date: Thu, 9 Sep 2004 10:19:22 -0400 Subject: [AccessD] Synchronizing Subform to Main form based on a date In-Reply-To: <988E2AC88CCB54459286C4077DB662F50129DE53@PDAWB03C.ad.sprint.com> Message-ID: <000401c49678$01f6f420$64aba8c0@ashlandnet.com> Test Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mcgillivray, Donald [ITS] Sent: Wednesday, September 08, 2004 11:25 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Synchronizing Subform to Main form based on a date Thanks for the suggestion, Andy, but no success. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, September 08, 2004 12:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Synchronizing Subform to Main form based on a date Just a thought Donald but if you placed a hidden calc'd control on the main form with =YourDateCombo.Column(0) and put in that in your linking fields would that help? -- 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 john at winhaven.net Thu Sep 9 22:38:20 2004 From: john at winhaven.net (John Bartow) Date: Thu, 9 Sep 2004 22:38:20 -0500 Subject: [AccessD] Mail not delivered...??? In-Reply-To: <001d01c496e4$89e7db80$4a619a89@DDICK> Message-ID: 'tis true, should not put AccessD in BCC or CC fields. I've made the CC mistake a couple of times. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Darren DICK Sent: Thursday, September 09, 2004 10:16 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Mail not delivered...??? Hi Greg I see it on the list Have only had those sorts of errors (though not the same as yours) if put the AccessD address in the BCC field Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Thursday, 9 September 2004 6:15 AM To: accessd at databaseadvisors.com Subject: [AccessD] Mail not delivered...??? Hi everyone. Apparently others are NOT having the same problem as I am with the email to databaseadvisors. I sent a reply this morning (about 0800 CDT)and now received the following message (between the dash lines): -------------------------------------------------- ********************************************** ** THIS IS A WARNING MESSAGE ONLY ** ** YOU DO NOT NEED TO RESEND YOUR MESSAGE ** ********************************************** The original message was received at Wed, 8 Sep 2004 10:42:22 -0400 from cetus.email.starband.net [148.78.247.27] (may be forged) ----- Transcript of session follows ----- 221 2.0.0 databaseadvisors.com closing connection ... Deferred Warning: message still undelivered after 4 hours Will keep trying until message is 2 days old -------------------------------------------------- Anyone else having this 'issue'? Of course, I'm sending this to the same address where the 'issue' arises so this may NEVER go through...but what the heck...only inconveniencing a few lowly electrons. Greg Smith -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Sep 9 23:46:11 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 9 Sep 2004 21:46:11 -0700 Subject: [AccessD] AHOO!!! Got my action pack References: <1496.216.43.21.234.1094654535.squirrel@cetus.email.starband.net> <004701c4967c$d38730a0$80b3fea9@ColbyM6805> <20040909141947.1901151160.serbach@new.rr.com> Message-ID: <061001c496f1$18bcd610$6601a8c0@HAL9002> DVDs? How do you install if your machine has no DVD? Rocky ----- Original Message ----- From: "Steven W. Erbach" To: "Access Developers discussion and problem solving" Sent: Thursday, September 09, 2004 12:19 PM Subject: RE: [AccessD] AHOO!!! Got my action pack > John, > > I'd considered buying the Action Pack, but Hindman turned me on to this: > > http://members.microsoft.com/partner/competency/isvcomp/empower/default.aspx > > It's a full Universal subscription for $375 a year for a maximum of two years. The biggest gotcha is that you must promise to develop a product for commercial distribution within 18 - 24 months. There's no renewal at the discounted price after the two years. > > I went with it because the Universal subscription, of course, includes all the .NET stuff. There's also a goodly amount of beta stuff (VS 2005 Beta, .NET 2.0 Beta, FP 9.0 Beta) for what it's worth. The Enterprise editions are the norm in the Universal subscription. 5 licenses, though, not 10. > > But 14 DVDs crammed with stuff! Holy smokes! > > Regards, > > Steve Erbach > Scientific Marketing > Neenah, WI > 920-969-0504 > > "If you can't say anything nice, run for President." - Argus Hamilton > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Fri Sep 10 00:31:12 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 10 Sep 2004 01:31:12 -0400 Subject: [AccessD] Synchronizing Subform to Main form based on a date In-Reply-To: <988E2AC88CCB54459286C4077DB662F50129DBA5@PDAWB03C.ad.sprint.com> Message-ID: <004e01c496f7$637cd370$80b3fea9@ColbyM6805> Set up a text box and make it pull the value from that column of the combo. Then use the text box as the parent link property. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mcgillivray, Donald [ITS] Sent: Tuesday, September 07, 2004 8:37 PM To: AccessD Subject: [AccessD] Synchronizing Subform to Main form based on a date I'm pulling my hair out on this one. I have a simple main form with two unbound combos, one for a location and the other for a date. The RowSource for the location combo is a table that contains a record for each location - pulling the PK in column 1 and Name in column 2 from that table. Column 1 is bound and its width set to 0 so that only the name displays. The RowSource for the date combo is a summary query pulling from a transaction table with column 1 equal to Int(MyDateFromTrxTable) and column 2 equal to Format(MyDateFromTrxTable,"mm/dd/yyyy"). The query is grouped on column 1 so that only one row for each date appears. Column 1 is bound and width set to 0 so that only the formatted dates appear. I'm having trouble getting a simple subform ([Location], Int([Date]), [ItemDetail]) to synchronize with the main form. Using the location and date values, the only way I've been able to get it to work is to expose the first column of the date combo by setting its width to something other than zero. Of course, I don't want the date serial number to be displayed on the form - just the formatted date. Note that I have restricted both the bound column of the combo and the corresponding value in the subform to just the integer portion of the date. Thus, I don't think this is a matter of trying to match a "date-only" value against a "date-with-time" value. I work with subforms like this all the time, though I don't think I've ever attempted to use a date value as part of the link. Is there some esoteric quality of date values that I need to know about here? Anybody have a clue about why this won't work as advertised? Thanks! Don McGillivray -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Fri Sep 10 01:11:03 2004 From: artful at rogers.com (Arthur Fuller) Date: Fri, 10 Sep 2004 02:11:03 -0400 Subject: [AccessD] Syntax question about control references In-Reply-To: <662716005.20040908093313@cactus.dk> Message-ID: <001001c496fc$f392b6a0$6501a8c0@rock> Interesting. Gonna try this right now. Gonna have some interesting calculations to do. Question, though. Given that the focus has been placed in any given column, how can I determine which column the focus is in? I don't want to do it by name, I want to do it by number. I.e. the current date is 9/10/2004, which places me in column 9/30/2004, which happens to be column 12 of the scrollable columns. So I can derive which column to go into, I'm already there, but how do I determine which column number it is? Is there a way to determine which column number I'm in? A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 08, 2004 3:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Syntax question about control references Hi Arthur You could try playing with the GoToPage method: Forms("frmYourForm").GoToPage 1, x, 0 where x = ([count of columns to move] + Offset) * [Width of column in twips] If you succeed somehow please let us know. /gustav From Chris.Foote at uk.thalesgroup.com Fri Sep 10 01:25:03 2004 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Fri, 10 Sep 2004 07:25:03 +0100 Subject: [AccessD] Mail not delivered...??? Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C31D@ntscxch1.int.rdel.co.uk> Yup! Several posts of mine have failed to make it and couple have been delayed by up to 18-hours. Have got similar warning messages as below ---------------------------------------------------- Your message has been delayed and is still awaiting delivery to the following recipient(s): accessd at databaseadvisors.com Message delayed Your message is delayed Message for domain databaseadvisors.com delayed at mail.uk.thalesgroup.com. Unable to deliver to domain for 20 hours. Will continue trying for 76 hours. No action is required on your part. Last attempt failed because: Did not receive SMTP greeting from host --------------------------------------------- Rgards! Chris F > -----Original Message----- > From: Greg Smith [mailto:GregSmith at starband.net] > Sent: Wednesday, September 08, 2004 9:15 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Mail not delivered...??? > > > Hi everyone. > > Apparently others are NOT having the same problem as I am > with the email > to databaseadvisors. I sent a reply this morning (about 0800 > CDT)and now > received the following message (between the dash lines): -----------(Snipped)---------- From Chris.Foote at uk.thalesgroup.com Fri Sep 10 01:30:37 2004 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Fri, 10 Sep 2004 07:30:37 +0100 Subject: [AccessD] Mail not delivered...??? Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C31E@ntscxch1.int.rdel.co.uk> Good gracious! This one got there and back in under four mins! Looks like the problem's gone then Chris F > -----Original Message----- > From: Foote, Chris [mailto:Chris.Foote at uk.thalesgroup.com] > Sent: Friday, September 10, 2004 7:25 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Mail not delivered...??? > > > Yup! > > Several posts of mine have failed to make it and couple have > been delayed > by up to 18-hours. ----------(Snip)------ From gustav at cactus.dk Fri Sep 10 01:57:13 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Sep 2004 08:57:13 +0200 Subject: [AccessD] Syntax question about control references In-Reply-To: <001001c496fc$f392b6a0$6501a8c0@rock> References: <001001c496fc$f392b6a0$6501a8c0@rock> Message-ID: <1921993085.20040910085713@cactus.dk> Hi Arthur That would be ctl = Me.ActiveControl /gustav > Interesting. Gonna try this right now. Gonna have some interesting > calculations to do. Question, though. Given that the focus has been > placed in any given column, how can I determine which column the focus > is in? I don't want to do it by name, I want to do it by number. I.e. > the current date is 9/10/2004, which places me in column 9/30/2004, > which happens to be column 12 of the scrollable columns. So I can derive > which column to go into, I'm already there, but how do I determine which > column number it is? Is there a way to determine which column number I'm > in? > A. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Wednesday, September 08, 2004 3:33 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Syntax question about control references > Hi Arthur > You could try playing with the GoToPage method: > Forms("frmYourForm").GoToPage 1, x, 0 > where x = ([count of columns to move] + Offset) * [Width of column in > twips] > If you succeed somehow please let us know. > /gustav From R.Griffiths at bury.gov.uk Fri Sep 10 02:56:59 2004 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Fri, 10 Sep 2004 08:56:59 +0100 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: Steve Hope you can assist. Is this offer open to non-US persons? You have to subscribe for 2 years (ie 2 * $375)? I assume after the 2 years you are still able to use all the software and what stops are the updates etc - can you confirm this? Many thanks Richard -----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: 09 September 2004 20:20 To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack John, I'd considered buying the Action Pack, but Hindman turned me on to this: http://members.microsoft.com/partner/competency/isvcomp/empower/default. aspx It's a full Universal subscription for $375 a year for a maximum of two years. The biggest gotcha is that you must promise to develop a product for commercial distribution within 18 - 24 months. There's no renewal at the discounted price after the two years. I went with it because the Universal subscription, of course, includes all the .NET stuff. There's also a goodly amount of beta stuff (VS 2005 Beta, .NET 2.0 Beta, FP 9.0 Beta) for what it's worth. The Enterprise editions are the norm in the Universal subscription. 5 licenses, though, not 10. But 14 DVDs crammed with stuff! Holy smokes! Regards, Steve Erbach Scientific Marketing Neenah, WI 920-969-0504 "If you can't say anything nice, run for President." - Argus Hamilton -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Sep 10 03:38:17 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Sep 2004 10:38:17 +0200 Subject: [AccessD] DLL question (was Broadcast a message) In-Reply-To: <002b01c496aa$442f3e10$b274d0d5@minster33c3r25> References: <002b01c496aa$442f3e10$b274d0d5@minster33c3r25> Message-ID: <728056775.20040910103817@cactus.dk> Hi Andy By second thought, this is code for the NetWare Bindery, not the NDS. Are you sure this is what you want? I looked for the dll on my machine and it is not present. If you can locate it, have you tried registering it using regsvr32.exe? /gustav > It's exactly the code from the link you kindly gave me: > http://www.clippings.vivitec.com.au/pp_article_id_8.html > -- Andy Lacey > http://www.minstersystems.co.uk >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> Gustav Brock >> Sent: 09 September 2004 17:27 >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] DLL question (was Broadcast a message) >> >> >> Hi Andy >> >> What does your complete code look like? >> >> /gustav >> >> >> > Am trying to use Novell messaging for broadcasting >> messages, and have >> > code (thanks for pointer Gustav) to use API calls in >> NWNETAPI.DLL. But >> > whenever I run the code I get a "Path not found: >> NWNETAPI.DLL" error. >> > Even if I put the specific location of the DLL I still get it. Does >> > this mean it uses other DLL's, and if so how do I find out >> what else I >> > need? Or what else could it be? >> >> -- >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/a> ccessd >> Website: >> http://www.databaseadvisors.com >> >> From carbonnb at sympatico.ca Fri Sep 10 04:32:18 2004 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 10 Sep 2004 05:32:18 -0400 Subject: [AccessD] Mail not delivered...??? In-Reply-To: <1951.216.43.21.235.1094674475.squirrel@cetus.email.starband.net> References: <000e01c49558$93bb8fe0$80b3fea9@ColbyM6805> Message-ID: <41413C62.25999.1C4D75@localhost> On 8 Sep 2004 at 15:14, Greg Smith wrote: > Apparently others are NOT having the same problem as I am with the > email to databaseadvisors. I sent a reply this morning (about 0800 > CDT)and now received the following message (between the dash lines): Here's what that means: (and I sent you a note offline too) Your mail server and databaseadvisors.com server are having problems talking to each other. It's just a part of life on the 'net unfortunately :( I'll look at the dba server and see if I can see anything there. In the future, this kind of stuff should really be brought to my attention off-line first. Please and thanks. -- Bryan Carbonnell - carbonnb at sympatico.ca If you can't be a good example, then you'll just have to be a horrible warning. From andy at minstersystems.co.uk Fri Sep 10 05:17:51 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 10 Sep 2004 11:17:51 +0100 Subject: [AccessD] DLL question (was Broadcast a message) Message-ID: <20040910101749.0A192250026@smtp.nildram.co.uk> To be honest Gustav I don't know if it's what I want or not. I just want to send a message across the network, which I thought would be trivial but is proving otherwise. I found the DLL on the network and copied it to the workstation, but it's not working, and attempts to register it fail too. I'm stumped by how difficult this is proving. -- 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] DLL question (was Broadcast a message) Date: 10/09/04 08:41 > > Hi Andy > > By second thought, this is code for the NetWare Bindery, not the NDS. > Are you sure this is what you want? > > I looked for the dll on my machine and it is not present. > If you can locate it, have you tried registering it using regsvr32.exe? > > /gustav > > > > It's exactly the code from the link you kindly gave me: > > > http://www.clippings.vivitec.com.au/pp_article_id_8.html > > > > -- Andy Lacey > > http://www.minstersystems.co.uk > > > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > >> Gustav Brock > >> Sent: 09 September 2004 17:27 > >> To: Access Developers discussion and problem solving > >> Subject: Re: [AccessD] DLL question (was Broadcast a message) > >> > >> > >> Hi Andy > >> > >> What does your complete code look like? > >> > >> /gustav > >> > >> > >> > Am trying to use Novell messaging for broadcasting > >> messages, and have > >> > code (thanks for pointer Gustav) to use API calls in > >> NWNETAPI.DLL. But > >> > whenever I run the code I get a "Path not found: > >> NWNETAPI.DLL" error. > >> > Even if I put the specific location of the DLL I still get it. Does > >> > this mean it uses other DLL's, and if so how do I find out > >> what else I > >> > need? Or what else could it be? > >> > >> -- > >> _______________________________________________ > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/a> ccessd > >> Website: > >> http://www.databaseadvisors.com > >> > >> > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > ________________________________________________ Message sent using UebiMiau 2.7.2 From gustav at cactus.dk Fri Sep 10 06:08:09 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Sep 2004 13:08:09 +0200 Subject: [AccessD] DLL question (was Broadcast a message) In-Reply-To: <20040910101749.0A192250026@smtp.nildram.co.uk> References: <20040910101749.0A192250026@smtp.nildram.co.uk> Message-ID: <6817048614.20040910130809@cactus.dk> Hi Andy > To be honest Gustav I don't know if it's what I want or not. I just want to > send a message across the network, which I thought would be trivial but is > proving otherwise. I found the DLL on the network and copied it to the > workstation, but it's not working, and attempts to register it fail too. I'm > stumped by how difficult this is proving. Don't be. You are working with a solution which reads the bindery which was left with NetWare 3.12 and replaced with NDS now eDirectoy. You can still maintain a bindery but most network admins don't. Here's another link (look for BrdCast and Broadcast): http://developer.novell.com/ndk/doc/samplecode/activex_ndap_sample/index.htm In any case you'll need two ocx'es, nwsrva.ocx and nwdir.ocx, which are free to download. /gustav >> By second thought, this is code for the NetWare Bindery, not the NDS. >> Are you sure this is what you want? >> >> I looked for the dll on my machine and it is not present. >> If you can locate it, have you tried registering it using regsvr32.exe? >> >> /gustav >> >> >> > It's exactly the code from the link you kindly gave me: >> >> > http://www.clippings.vivitec.com.au/pp_article_id_8.html >> >> >> > -- Andy Lacey >> > http://www.minstersystems.co.uk >> >> >> >> -----Original Message----- >> >> From: accessd-bounces at databaseadvisors.com >> >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> >> Gustav Brock >> >> Sent: 09 September 2004 17:27 >> >> To: Access Developers discussion and problem solving >> >> Subject: Re: [AccessD] DLL question (was Broadcast a message) >> >> >> >> >> >> Hi Andy >> >> >> >> What does your complete code look like? >> >> >> >> /gustav >> >> >> >> >> >> > Am trying to use Novell messaging for broadcasting >> >> messages, and have >> >> > code (thanks for pointer Gustav) to use API calls in >> >> NWNETAPI.DLL. But >> >> > whenever I run the code I get a "Path not found: >> >> NWNETAPI.DLL" error. >> >> > Even if I put the specific location of the DLL I still get > it. Does >> >> > this mean it uses other DLL's, and if so how do I find out >> >> what else I >> >> > need? Or what else could it be? From Mark.Mitsules at ngc.com Fri Sep 10 06:40:21 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Fri, 10 Sep 2004 07:40:21 -0400 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: I read this review for the MSDN Universal 7.0 Subscription on PriceGrabber.com. After reading the review, do any of you have any comments regarding the third option listed below. This seems to be the option that is offered at the site Brett suggested below. To reiterate just one of the concerns the reviewer mentioned..."Is there a downside..."? Mark ***************************************** Reviewed by: TallPaulInJax, from FL Date reviewed: 16-Apr-04 Summary: I drove down the rating so you would be more inclined to read this review because it contains very important info. I've been TAKEN for $2000 worth of Office software before and I don't want the same to happen to you. Caveat emptor (aka, beware the buyer): Ok, here is what I think is going on. There are different versions of this software out. (1) Part# 534-02125: this SHOULD BE (doesn't mean it is from some vendors) the retail version which is a 1 YEAR subscription in YOUR name registed by YOU with Microsoft including a 25 digit activation code (newer longer length code). Should be around $2,400. Why anyone would buy this license is beyond me. Keep reading. (2) Part# 534-02031: this is an Open License Program (OLP) version which is a 2 year subscription in YOUR name BUT... you have to qualify for open license, usually a 5 license purchase. The simplest way to do this is to buy 4 cheap OLP licenses (ie, four Encarta licenses at $25 apiece) and one $$$$ license (ie, one MSDN Universal OLP License). Perfectly legal and even recommended by Microsoft. Should be around $2800 to $2900. (3) There is an OEM version. Don't know the part# but I have seen Microsoft use the same part# for Retail and OEM. Unbelievable. I believe that's what most of these cheaper licenses are. The weird thing about some of these vendors is that the software will be activated/registered under THEIR name. Weirder yet, talking with Microsoft about this still has me baffled because Microsoft SAID (I don't believe them) they will activate this license. The only catch on OEM purchases is you have to buy a piece of hardware along with the software. The grey area? In past Microsoft OEM licensing that hardware can be as low priced as a $4 CD audio cable! Some vendors say they won't play this game with OEM licensing because Microsoft could come back and revoke your license unless you're hardware purchase is substantial. What is substantial? A complete PC? A hard drive? A room full of equipment? Is it worth the risk? Is there a problem having the software activated by the vendor as long as you get the media and updates? Is there a downside to buying this license if you buy "substantial" hardware? I don't know the answer to those questions. Perhaps someone could post a response to this message. (4) There are Academic licenses 1 Year licenses which retail around $979. That's all I know about them. (5) Last but not least (and probably not the last, just the last I know about) there are NFR's (Not For Resale) versions given by Microsoft and distributors to let resellers et cetera try out software but they AREN'T SUPPOSED TO RESELL IT. Hey, I hope this helps you figure things out. If it does, send a prayer my way... I could use it. But if it doesn't, join the rest of the club! I spent 3 hours with Microsoft's lead licensing guru one day two years ago and hung up 10X more confused than when I called... Paul ***************************************** -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Thursday, September 09, 2004 11:03 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack Jim, I talked to your contact in April before purchasing our subscriptions, and was quoted a price of $1675 each. He pointed out the Microsoft has changed their distribution strategy and thus has gained more control over prices being charged by independent vendors :-( I shopped around and ended up purchasing from these guys: http://www.softwaremore-usa.com/msun70.html FULL MSDN Universal 7.0 subscription for $1050.00. Not an academic edition, and the disks shipped immediately from MS headquarters. I would highly recommend this vendor. (Back when I purchased mine, MS also had a $300.00 rebate for purchasing this software on DVD. Unfortunately it is no more...) Bobby, Don't waste your time on an Academic subscription. The licensing agreements normally prohibit using it to develop software for clients. All, Even though the MSDN subscription (and updates) lasts for only a year, the software has a perpetual license: http://msdn.microsoft.com/subscriptions/faq/default.aspx#licensing However, there are certain limitations to the use of the software (e.g. you can use SQL Server for development, but you can't run your company's DB server with it!) From JRojas at tnco-inc.com Fri Sep 10 07:12:40 2004 From: JRojas at tnco-inc.com (Joe Rojas) Date: Fri, 10 Sep 2004 08:12:40 -0400 Subject: [AccessD] A2K: Used to work - now it errors SOLVED Message-ID: <0CC84C9461AE6445AD5A602001C41C4B059E90@mercury.tnco-inc.com> If you are referencing both DAO and ADO in the same database, couldn't you just add ADODB or DAO to your dimensions? Dim dbs as DAO.Database JR -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Wednesday, September 08, 2004 2:30 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K: Used to work - now it errors SOLVED Moved DAO above ADO in the ref list now it works Now time to go and see what ADO stuff fails :-(( Thanks y'all DD -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Wednesday, 8 September 2004 3:57 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K: Used to work - now it errors Hello all This used to work now I get Run Time Error 13 - Type Mismatch Then the debugger yellows out the "Set rst" line Any suggestions Dao 3.6 is referenced Dim dbs As Database rst As Recordset iBookingID As Integer Set dbs = CurrentDb iBookingID = [Forms]![frmBookings].[BookingID] ===> this line fails Set rst = dbs.OpenRecordset("SELECT [People].[PersonID] FROM People INNER JOIN BookingPeople ON BookingPeople.PersonID = People.PersonID WHERE not isnull([EmailAddress]) and BookingID = " & iBookingID & ";", dbOpenDynaset) Many thanks in advance Have a great day Darren -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From andy at minstersystems.co.uk Fri Sep 10 07:25:21 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 10 Sep 2004 13:25:21 +0100 Subject: [AccessD] DLL question (was Broadcast a message) Message-ID: <20040910122518.9AE20252466@smtp.nildram.co.uk> Thanks again Gustav. You're a star. I'll download this and give it a try when I have a moment to breath. -- 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] DLL question (was Broadcast a message) Date: 10/09/04 11:12 > > Hi Andy > > > To be honest Gustav I don't know if it's what I want or not. I just want to > > send a message across the network, which I thought would be trivial but is > > proving otherwise. I found the DLL on the network and copied it to the > > workstation, but it's not working, and attempts to register it fail too. I'm > > stumped by how difficult this is proving. > > Don't be. You are working with a solution which reads the bindery > which was left with NetWare 3.12 and replaced with NDS now eDirectoy. > You can still maintain a bindery but most network admins don't. > > Here's another link (look for BrdCast and Broadcast): > > http://developer.novell.com/ndk/doc/samplecode/activex_ndap_sample/index.htm > > In any case you'll need two ocx'es, nwsrva.ocx and nwdir.ocx, which > are free to download. > > /gustav > > > >> By second thought, this is code for the NetWare Bindery, not the NDS. > >> Are you sure this is what you want? > >> > >> I looked for the dll on my machine and it is not present. > >> If you can locate it, have you tried registering it using regsvr32.exe? > >> > >> /gustav > >> > >> > >> &gt; It's exactly the code from the link you kindly gave me: > >> > >> &gt; http://www.clippings.vivitec.com.au/pp_article_id_8.html > >> > >> > >> &gt; -- Andy Lacey > >> &gt; http://www.minstersystems.co.uk > >> > >> > >> &gt;&gt; -----Original Message----- > >> &gt;&gt; From: accessd-bounces at databaseadvisors.com > >> &gt;&gt; [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > >> &gt;&gt; Gustav Brock > >> &gt;&gt; Sent: 09 September 2004 17:27 > >> &gt;&gt; To: Access Developers discussion and problem solving > >> &gt;&gt; Subject: Re: [AccessD] DLL question (was Broadcast a message) > >> &gt;&gt; > >> &gt;&gt; > >> &gt;&gt; Hi Andy > >> &gt;&gt; > >> &gt;&gt; What does your complete code look like? > >> &gt;&gt; > >> &gt;&gt; /gustav > >> &gt;&gt; > >> &gt;&gt; > >> &gt;&gt; &gt; Am trying to use Novell messaging for broadcasting > >> &gt;&gt; messages, and have > >> &gt;&gt; &gt; code (thanks for pointer Gustav) to use API calls in > >> &gt;&gt; NWNETAPI.DLL. But > >> &gt;&gt; &gt; whenever I run the code I get a &quot;Path not found: > >> &gt;&gt; NWNETAPI.DLL&quot; error. > >> &gt;&gt; &gt; Even if I put the specific location of the DLL I still get > > it. Does > >> &gt;&gt; &gt; this mean it uses other DLL's, and if so how do I find out > >> &gt;&gt; what else I > >> &gt;&gt; &gt; need? Or what else could it be? > > -- > _______________________________________________ > 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 bheid at appdevgrp.com Fri Sep 10 07:42:56 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 10 Sep 2004 08:42:56 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <916187228923D311A6FE00A0CC3FAA3098720A@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB809@ADGSERVER> Ahhh, thanks Jim. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, September 09, 2004 10:31 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack Bobby, <> No, it's the price for the full version. The prices published by Microsoft are suggested list prices. Microsoft Partners however can sell them for whatever they like. I too was skeptical at first, but I've purchased three years running through this reseller and have not had a single problem. First time around I even called Microsoft to confirm that I had a valid subscription. BTW, I just double checked and the price has gone up. $875 was the first year, $1055 second, and $1175 this past year. So there is a bigger difference then $400. I think though that I got the $300 off rebate all 3 years for ordering on DVD. I'd have to go back and check on that. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net From bheid at appdevgrp.com Fri Sep 10 07:46:04 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 10 Sep 2004 08:46:04 -0400 Subject: [AccessD] Shrinking fields in a report In-Reply-To: <916187228923D311A6FE00A0CC3FAA309871FC@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB80A@ADGSERVER> Wow, this took over 12 hours to post! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Thursday, September 09, 2004 10:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report All of the fields have to be empty for them all to shrink. Bobby From ssharkins at bellsouth.net Fri Sep 10 07:57:15 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 10 Sep 2004 08:57:15 -0400 Subject: [AccessD] Fw: Tab limits for tab controls Message-ID: <004401c49735$b533aca0$9865fea9@BILLONE> Does anyone know the official limit for the number of tabs on a tab control? I can't get passed 877, which seems a strange number for that limit. I'm using 2003 -- what about earlier versions? I've checked Help, not finding anything on the tab limits, but still looking. Thanks! Susan H. From JHewson at karta.com Fri Sep 10 08:12:11 2004 From: JHewson at karta.com (Jim Hewson) Date: Fri, 10 Sep 2004 08:12:11 -0500 Subject: [AccessD] Fw: Tab limits for tab controls Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0103E2F7@karta-exc-int.Karta.com> Susan, I've got to ask. Why would you need that many? I've used six and thought that was way over the top for most users. Just curious. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Friday, September 10, 2004 7:57 AM To: accessd at databaseadvisors.com Subject: [AccessD] Fw: Tab limits for tab controls Does anyone know the official limit for the number of tabs on a tab control? I can't get passed 877, which seems a strange number for that limit. I'm using 2003 -- what about earlier versions? I've checked Help, not finding anything on the tab limits, but still looking. Thanks! Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Sep 10 08:14:44 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Sep 2004 15:14:44 +0200 Subject: [AccessD] Fw: Tab limits for tab controls In-Reply-To: <004401c49735$b533aca0$9865fea9@BILLONE> References: <004401c49735$b533aca0$9865fea9@BILLONE> Message-ID: <14524644046.20040910151444@cactus.dk> Hi Susan What is wrong with 877? In octal it is 1555 - also a neat number. But sure it's a problem. Phone is keeping ringing here with requests for 1000+ tabs controls! Should I move business to selling beer? /gustav > Does anyone know the official limit for the number of tabs on a tab control? I can't get passed 877, which seems a strange number for that limit. I'm using 2003 -- what about earlier versions? I've > checked Help, not finding anything on the tab limits, but still looking. From Lambert.Heenan at AIG.com Fri Sep 10 08:19:14 2004 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 10 Sep 2004 09:19:14 -0400 Subject: [AccessD] Fw: Tab limits for tab controls Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F02D088E8@xlivmbx21.aig.com> I don't have a clue, nor can my dim mind imagine why you would want suck a large number of tabs or how you would fit them on the screen! :-) Lambert > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Friday, September 10, 2004 8:57 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Fw: Tab limits for tab controls > > Does anyone know the official limit for the number of tabs on a tab > control? I can't get passed 877, which seems a strange number for that > limit. I'm using 2003 -- what about earlier versions? I've checked Help, > not finding anything on the tab limits, but still looking. > > Thanks! > > 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 Fri Sep 10 08:24:06 2004 From: john at winhaven.net (John Bartow) Date: Fri, 10 Sep 2004 08:24:06 -0500 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <061001c496f1$18bcd610$6601a8c0@HAL9002> Message-ID: Rocky, Have to have at least one DVD reader. They do include CD images so you can burn CDs from the DVDs but you would need one DVD reader and a CD writer. The cost of DVD readers is very low these days though. The management of hundreds of CDs versus dozens of DVDs is the catch. For a while, when I received MSDN on CDs I thought I'd have to hire a part time librarian to keep the MSDN CDs in order :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, September 09, 2004 11:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack DVDs? How do you install if your machine has no DVD? Rocky ----- Original Message ----- From: "Steven W. Erbach" To: "Access Developers discussion and problem solving" Sent: Thursday, September 09, 2004 12:19 PM Subject: RE: [AccessD] AHOO!!! Got my action pack > John, > > I'd considered buying the Action Pack, but Hindman turned me on to this: > > http://members.microsoft.com/partner/competency/isvcomp/empower/default.aspx > > It's a full Universal subscription for $375 a year for a maximum of two years. The biggest gotcha is that you must promise to develop a product for commercial distribution within 18 - 24 months. There's no renewal at the discounted price after the two years. > > I went with it because the Universal subscription, of course, includes all the .NET stuff. There's also a goodly amount of beta stuff (VS 2005 Beta, .NET 2.0 Beta, FP 9.0 Beta) for what it's worth. The Enterprise editions are the norm in the Universal subscription. 5 licenses, though, not 10. > > But 14 DVDs crammed with stuff! Holy smokes! > > Regards, > > Steve Erbach > Scientific Marketing > Neenah, WI > 920-969-0504 > > "If you can't say anything nice, run for President." - Argus Hamilton > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Fri Sep 10 08:27:48 2004 From: john at winhaven.net (John Bartow) Date: Fri, 10 Sep 2004 08:27:48 -0500 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: Message-ID: Mark, OEM is a somewhat gray area. I buy OEM products for use with customers where I upgrade machines. For instance if I upgrade a PC's RAM, CPU, etc, so that it can run XP I can also install OEM XP instead of the XP upgrade. Substantial reduction in price on XP. I haven't noticed this aspect of MSDN before. This does seem a bit odd and I'm not sure what to make of it. I have always been under the impression that MSDN products can only be installed on company equipment for testing, evaluation, development, etc. Basically to support my company's efforts in understanding, utilizing and troubleshooting MS products. Maybe I've read more into it than I should have? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Friday, September 10, 2004 6:40 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack I read this review for the MSDN Universal 7.0 Subscription on PriceGrabber.com. After reading the review, do any of you have any comments regarding the third option listed below. This seems to be the option that is offered at the site Brett suggested below. To reiterate just one of the concerns the reviewer mentioned..."Is there a downside..."? Mark ***************************************** Reviewed by: TallPaulInJax, from FL Date reviewed: 16-Apr-04 Summary: I drove down the rating so you would be more inclined to read this review because it contains very important info. I've been TAKEN for $2000 worth of Office software before and I don't want the same to happen to you. Caveat emptor (aka, beware the buyer): Ok, here is what I think is going on. There are different versions of this software out. (1) Part# 534-02125: this SHOULD BE (doesn't mean it is from some vendors) the retail version which is a 1 YEAR subscription in YOUR name registed by YOU with Microsoft including a 25 digit activation code (newer longer length code). Should be around $2,400. Why anyone would buy this license is beyond me. Keep reading. (2) Part# 534-02031: this is an Open License Program (OLP) version which is a 2 year subscription in YOUR name BUT... you have to qualify for open license, usually a 5 license purchase. The simplest way to do this is to buy 4 cheap OLP licenses (ie, four Encarta licenses at $25 apiece) and one $$$$ license (ie, one MSDN Universal OLP License). Perfectly legal and even recommended by Microsoft. Should be around $2800 to $2900. (3) There is an OEM version. Don't know the part# but I have seen Microsoft use the same part# for Retail and OEM. Unbelievable. I believe that's what most of these cheaper licenses are. The weird thing about some of these vendors is that the software will be activated/registered under THEIR name. Weirder yet, talking with Microsoft about this still has me baffled because Microsoft SAID (I don't believe them) they will activate this license. The only catch on OEM purchases is you have to buy a piece of hardware along with the software. The grey area? In past Microsoft OEM licensing that hardware can be as low priced as a $4 CD audio cable! Some vendors say they won't play this game with OEM licensing because Microsoft could come back and revoke your license unless you're hardware purchase is substantial. What is substantial? A complete PC? A hard drive? A room full of equipment? Is it worth the risk? Is there a problem having the software activated by the vendor as long as you get the media and updates? Is there a downside to buying this license if you buy "substantial" hardware? I don't know the answer to those questions. Perhaps someone could post a response to this message. (4) There are Academic licenses 1 Year licenses which retail around $979. That's all I know about them. (5) Last but not least (and probably not the last, just the last I know about) there are NFR's (Not For Resale) versions given by Microsoft and distributors to let resellers et cetera try out software but they AREN'T SUPPOSED TO RESELL IT. Hey, I hope this helps you figure things out. If it does, send a prayer my way... I could use it. But if it doesn't, join the rest of the club! I spent 3 hours with Microsoft's lead licensing guru one day two years ago and hung up 10X more confused than when I called... Paul ***************************************** -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Thursday, September 09, 2004 11:03 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack Jim, I talked to your contact in April before purchasing our subscriptions, and was quoted a price of $1675 each. He pointed out the Microsoft has changed their distribution strategy and thus has gained more control over prices being charged by independent vendors :-( I shopped around and ended up purchasing from these guys: http://www.softwaremore-usa.com/msun70.html FULL MSDN Universal 7.0 subscription for $1050.00. Not an academic edition, and the disks shipped immediately from MS headquarters. I would highly recommend this vendor. (Back when I purchased mine, MS also had a $300.00 rebate for purchasing this software on DVD. Unfortunately it is no more...) Bobby, Don't waste your time on an Academic subscription. The licensing agreements normally prohibit using it to develop software for clients. All, Even though the MSDN subscription (and updates) lasts for only a year, the software has a perpetual license: http://msdn.microsoft.com/subscriptions/faq/default.aspx#licensing However, there are certain limitations to the use of the software (e.g. you can use SQL Server for development, but you can't run your company's DB server with it!) -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Sep 10 08:34:40 2004 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 10 Sep 2004 08:34:40 -0500 Subject: [AccessD] Fw: Tab limits for tab controls In-Reply-To: <28627862.1094822553724.JavaMail.root@sniper2.usinternet.com> Message-ID: <001701c4973a$ed137830$de1811d8@danwaters> Jim, I often use several tabs (9 max so far). But to help users, the focus is set to the tab where the next activity needs to be done. Users like that. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Friday, September 10, 2004 8:12 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: Tab limits for tab controls Susan, I've got to ask. Why would you need that many? I've used six and thought that was way over the top for most users. Just curious. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Friday, September 10, 2004 7:57 AM To: accessd at databaseadvisors.com Subject: [AccessD] Fw: Tab limits for tab controls Does anyone know the official limit for the number of tabs on a tab control? I can't get passed 877, which seems a strange number for that limit. I'm using 2003 -- what about earlier versions? I've checked Help, not finding anything on the tab limits, but still looking. Thanks! Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Fri Sep 10 08:40:55 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Fri, 10 Sep 2004 08:40:55 -0500 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: <100F91B31300334B89EC531C9DCB0865065938@tccexch01.tappeconstruction.net> Not to dispute with a distinguished expert like "TallPaulInJax", but... As far as I can tell, there is no such thing as an OEM MSDN subscription (at least according to Microsoft's website): http://msdn.microsoft.com/subscriptions/licensing/default.aspx I am fairly certain that I purchased a legitimate single user MSDN Universal subscription. Microsoft, not the vendor, activated the software and shipped me the welcome kit from their fufillment center. Each month, my updates are shipped from MS as well. This is not an extra set of NFR disks that a vendor had on hand, since nothing was sent to me from Software More. They take the order, collect the cash, and then MS handles it from there. If there was anything fraudulent going on, Microsoft would have to be in on it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark S. (Newport News) Sent: Friday, September 10, 2004 6:40 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack I read this review for the MSDN Universal 7.0 Subscription on PriceGrabber.com. After reading the review, do any of you have any comments regarding the third option listed below. This seems to be the option that is offered at the site Brett suggested below. To reiterate just one of the concerns the reviewer mentioned..."Is there a downside..."? Mark ***************************************** Reviewed by: TallPaulInJax, from FL Date reviewed: 16-Apr-04 Summary: I drove down the rating so you would be more inclined to read this review because it contains very important info. I've been TAKEN for $2000 worth of Office software before and I don't want the same to happen to you. Caveat emptor (aka, beware the buyer): Ok, here is what I think is going on. There are different versions of this software out. (1) Part# 534-02125: this SHOULD BE (doesn't mean it is from some vendors) the retail version which is a 1 YEAR subscription in YOUR name registed by YOU with Microsoft including a 25 digit activation code (newer longer length code). Should be around $2,400. Why anyone would buy this license is beyond me. Keep reading. (2) Part# 534-02031: this is an Open License Program (OLP) version which is a 2 year subscription in YOUR name BUT... you have to qualify for open license, usually a 5 license purchase. The simplest way to do this is to buy 4 cheap OLP licenses (ie, four Encarta licenses at $25 apiece) and one $$$$ license (ie, one MSDN Universal OLP License). Perfectly legal and even recommended by Microsoft. Should be around $2800 to $2900. (3) There is an OEM version. Don't know the part# but I have seen Microsoft use the same part# for Retail and OEM. Unbelievable. I believe that's what most of these cheaper licenses are. The weird thing about some of these vendors is that the software will be activated/registered under THEIR name. Weirder yet, talking with Microsoft about this still has me baffled because Microsoft SAID (I don't believe them) they will activate this license. The only catch on OEM purchases is you have to buy a piece of hardware along with the software. The grey area? In past Microsoft OEM licensing that hardware can be as low priced as a $4 CD audio cable! Some vendors say they won't play this game with OEM licensing because Microsoft could come back and revoke your license unless you're hardware purchase is substantial. What is substantial? A complete PC? A hard drive? A room full of equipment? Is it worth the risk? Is there a problem having the software activated by the vendor as long as you get the media and updates? Is there a downside to buying this license if you buy "substantial" hardware? I don't know the answer to those questions. Perhaps someone could post a response to this message. (4) There are Academic licenses 1 Year licenses which retail around $979. That's all I know about them. (5) Last but not least (and probably not the last, just the last I know about) there are NFR's (Not For Resale) versions given by Microsoft and distributors to let resellers et cetera try out software but they AREN'T SUPPOSED TO RESELL IT. Hey, I hope this helps you figure things out. If it does, send a prayer my way... I could use it. But if it doesn't, join the rest of the club! I spent 3 hours with Microsoft's lead licensing guru one day two years ago and hung up 10X more confused than when I called... Paul ***************************************** -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From john at winhaven.net Fri Sep 10 08:51:55 2004 From: john at winhaven.net (John Bartow) Date: Fri, 10 Sep 2004 08:51:55 -0500 Subject: [AccessD] Bid announcement Message-ID: Here is a rather odd sounding bid request I received from the state this morning: Bid Title: Furnish E-Scrap removal, processing and disposal services I worked late the last couple of nights so I may be a bit confuso en la cabeza but does anyone know what this means? From serbach at new.rr.com Fri Sep 10 08:52:37 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Fri, 10 Sep 2004 08:52:37 -0500 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <01f201c496ac$675d5e10$6601a8c0@HAL9002> References: <01f201c496ac$675d5e10$6601a8c0@HAL9002> Message-ID: <20040910085237.629179895.serbach@new.rr.com> Rocky, >> What happens after two years? Can you install on another machine? Are your unused licenses still good? << I haven't read the ENTIRE EULA. I do know, however, that after two years I'll have to cough up the ready for a regularly priced MSDN Universal subscription. As far as licenses, each of the products that require those 25-digit serial numbers come with a generic number that you get once you subscribe (it's available on the MSDN web site for subscribers to the Empower program). I've installed Windows XP Pro on four machines out of the allowable five. Every product can be used on five workstations. For example, SQL Server can have up to five users. "Unused licenses?" Again, the serial number for each installation of, say, Microsoft Office is the same. I don't know what happens at the end of two years. I suspect it's more-or-less the honor system. When I signed up it seemed to me that the Empower people hadn't really gotten their act together yet. I actually received a letter saying that my subscription was ended just a week after it started. I also got a nice apology letter, but it showed me that they weren't geared up for it too well. Steve Erbach From ssharkins at bellsouth.net Fri Sep 10 08:43:51 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 10 Sep 2004 09:43:51 -0400 Subject: [AccessD] Fw: Tab limits for tab controls References: <004401c49735$b533aca0$9865fea9@BILLONE> <14524644046.20040910151444@cactus.dk> Message-ID: <003201c4973d$a96d5350$9865fea9@BILLONE> I just thought 877 an odd place to stop. :) But I don't know if that's really the limit or if there's some other problem. I've got a simple procedure that's adding pages for me -- it stops at 877. Susan H. > Hi Susan > > What is wrong with 877? In octal it is 1555 - also a neat number. > > But sure it's a problem. Phone is keeping ringing here with requests > for 1000+ tabs controls! Should I move business to selling beer? > > /gustav > > > > Does anyone know the official limit for the number of tabs on a tab control? I can't get passed 877, which seems a strange number for that limit. I'm using 2003 -- what about earlier versions? I've > > checked Help, not finding anything on the tab limits, but still looking. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Fri Sep 10 08:50:39 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 10 Sep 2004 09:50:39 -0400 Subject: [AccessD] Fw: Tab limits for tab controls References: <9C382E065F54AE48BC3AA7925DCBB01C0103E2F7@karta-exc-int.Karta.com> Message-ID: <003401c4973d$b96af410$9865fea9@BILLONE> I don't need that many -- but I'm writing about them and that's just part of the information -- I need to tell them how many tabs are allowed -- just part of a comprehensive look at the control. Don't worry, I'm also telling the gentle reader to NOT use them all. ;) Susan H. > Susan, > I've got to ask. > Why would you need that many? > I've used six and thought that was way over the top for most users. > Just curious. From serbach at new.rr.com Fri Sep 10 08:57:53 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Fri, 10 Sep 2004 08:57:53 -0500 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <061001c496f1$18bcd610$6601a8c0@HAL9002> References: <1496.216.43.21.234.1094654535.squirrel@cetus.email.starband.net> <004701c4967c$d38730a0$80b3fea9@ColbyM6805> <20040909141947.1901151160.serbach@new.rr.com> <061001c496f1$18bcd610$6601a8c0@HAL9002> Message-ID: <20040910085753.1330559726.serbach@new.rr.com> Rocky, >> DVDs? How do you install if your machine has no DVD? << That is a poser. It seems to me that MS distributes the Universal subscription on CDs, but it must amount to 6 dozen or so CDs. Yikes! I'll bet they charge a premium for that. There are one or two DVDs that contain ISO images so that you can burn installation CDs for things like Windows XP Professional. I did notice that when you want to install Visual Studio .NET 2003 that you have to puzzle out what to install and where to find it. The HTML file MS uses for its index on the DVD doesn't start any installation programs; it just opens My Computer with the contents of one of the folders on the DVD. It took me a while to figure out all the steps I had to perform to get VS.NET installed properly. And there's no free tech support with the Empower program, fwiw. Steve Erbach From JHewson at karta.com Fri Sep 10 09:05:01 2004 From: JHewson at karta.com (Jim Hewson) Date: Fri, 10 Sep 2004 09:05:01 -0500 Subject: [AccessD] Fw: Tab limits for tab controls Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0103E2F8@karta-exc-int.Karta.com> Thanks Dan, It still boggles my mind thinking about it. 877 tabs! I just can't imagine a database that could use that many tabs on a tab control. What would the form look like... what size of screen would need to be used? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Friday, September 10, 2004 8:35 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Fw: Tab limits for tab controls Jim, I often use several tabs (9 max so far). But to help users, the focus is set to the tab where the next activity needs to be done. Users like that. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Friday, September 10, 2004 8:12 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: Tab limits for tab controls Susan, I've got to ask. Why would you need that many? I've used six and thought that was way over the top for most users. Just curious. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Friday, September 10, 2004 7:57 AM To: accessd at databaseadvisors.com Subject: [AccessD] Fw: Tab limits for tab controls Does anyone know the official limit for the number of tabs on a tab control? I can't get passed 877, which seems a strange number for that limit. I'm using 2003 -- what about earlier versions? I've checked Help, not finding anything on the tab limits, but still looking. Thanks! Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Fri Sep 10 09:08:21 2004 From: JHewson at karta.com (Jim Hewson) Date: Fri, 10 Sep 2004 09:08:21 -0500 Subject: [AccessD] Fw: Tab limits for tab controls Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0103E2F9@karta-exc-int.Karta.com> Thanks Susan, It gave me a headache thinking about the concept! BTW - good job on the lead article of the October Issue of Inside Access. You and Drew did a great job. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Friday, September 10, 2004 8:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fw: Tab limits for tab controls I don't need that many -- but I'm writing about them and that's just part of the information -- I need to tell them how many tabs are allowed -- just part of a comprehensive look at the control. Don't worry, I'm also telling the gentle reader to NOT use them all. ;) Susan H. > Susan, > I've got to ask. > Why would you need that many? > I've used six and thought that was way over the top for most users. > Just curious. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From serbach at new.rr.com Fri Sep 10 09:10:10 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Fri, 10 Sep 2004 09:10:10 -0500 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: References: Message-ID: <20040910091010.2093959404.serbach@new.rr.com> Richard, >> Is this offer open to non-US persons? You have to subscribe for 2 years (ie 2 * $375)? I assume after the 2 years you are still able to use all the software and what stops are the updates etc - can you confirm this? << You mean I've gotta look it up in the EULA? Golly! Lets see: "Is this offer open to non-US persons?" Paragraph 23 of the agreement says that only one of these Empower enrollments can be made per company PER COUNTRY. It goes on to say, "For example, if Member has three subsidiaries located in three different countries, your company may be awarded up to four initiative memberships; one for your company and one for each subsidiary." "You have to subscribe for 2 years (ie 2 * $375)?" No, you may subscribe for UP TO two years; you don't need to continue beyond the first year. However the other requirements would still be in force, I believe; namely, that you have to develop and release a "new commercial software solution within 24 months from activation of your initial membership." "I assume after the 2 years you are still able to use all the software and what stops are the updates etc - can you confirm this?" The agreement says (paragraph 11b), "Upon expiration of your enrollment in this initiative, you must remove all copies of the software licensed under this agreement, unless valid licenses are acquired." I hope this answers your questions. Steve Erbach From john at winhaven.net Fri Sep 10 09:20:06 2004 From: john at winhaven.net (John Bartow) Date: Fri, 10 Sep 2004 09:20:06 -0500 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <20040910085237.629179895.serbach@new.rr.com> Message-ID: Steve, With the Universal MSDN you have the license for life not the subscription period. I wasn't going to re-subscribe last year due to the price but when Jim passed on the lower prices he had been getting I went ahead and re-subbed. I have no idea as to if this holds true for empower as I missed that great deal. John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. Erbach Sent: Friday, September 10, 2004 8:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack Rocky, >> What happens after two years? Can you install on another machine? Are your unused licenses still good? << I haven't read the ENTIRE EULA. I do know, however, that after two years I'll have to cough up the ready for a regularly priced MSDN Universal subscription. As far as licenses, each of the products that require those 25-digit serial numbers come with a generic number that you get once you subscribe (it's available on the MSDN web site for subscribers to the Empower program). I've installed Windows XP Pro on four machines out of the allowable five. Every product can be used on five workstations. For example, SQL Server can have up to five users. "Unused licenses?" Again, the serial number for each installation of, say, Microsoft Office is the same. I don't know what happens at the end of two years. I suspect it's more-or-less the honor system. When I signed up it seemed to me that the Empower people hadn't really gotten their act together yet. I actually received a letter saying that my subscription was ended just a week after it started. I also got a nice apology letter, but it showed me that they weren't geared up for it too well. Steve Erbach -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Fri Sep 10 09:31:23 2004 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Fri, 10 Sep 2004 10:31:23 -0400 Subject: [AccessD] Table description Message-ID: <008301c49742$d922f8c0$0a00a8c0@cx470148a> I am trying to find the description of a table (Access 97) using code. I tried the following (which doesn't work): For intI = 0 To db.TableDefs.Count - 1 Set MyDef = db.TableDefs(intI) Debug.Print MyDef.Properties("Description").Value Next intI Any ideas? Thanks, Barb Ryan From Mark.Mitsules at ngc.com Fri Sep 10 09:26:48 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Fri, 10 Sep 2004 10:26:48 -0400 Subject: [AccessD] Bid announcement Message-ID: Get rid of old office equipment...computers, monitors, printers, etc. Mark -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Friday, September 10, 2004 9:52 AM To: _DBA-Access Subject: [AccessD] Bid announcement Here is a rather odd sounding bid request I received from the state this morning: Bid Title: Furnish E-Scrap removal, processing and disposal services I worked late the last couple of nights so I may be a bit confuso en la cabeza but does anyone know what this means? -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Fri Sep 10 09:28:24 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Fri, 10 Sep 2004 10:28:24 -0400 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: Brett, I didn't mean to imply any wrongdoing. As for the "distinguished expert", the author's comments, he assures us, came after lengthy discussions with an M$ "licensing guru". By all accounts, (his, his account of M$'s response, and your experience,) there is nothing "wrong" with this approach. I understand your comment that M$, and not the vendor, is doing the actual activation. But, in the retail version you deal directly with M$, and it seems that in this option the vendor initiates the activation process on your behalf. My underlying question still remains...just as this author asked, "Is there a problem having the software activated by the vendor as long as you get the media and updates?" So far, by all accounts, it seems the answer is no... Mark -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Friday, September 10, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack Not to dispute with a distinguished expert like "TallPaulInJax", but... As far as I can tell, there is no such thing as an OEM MSDN subscription (at least according to Microsoft's website): http://msdn.microsoft.com/subscriptions/licensing/default.aspx I am fairly certain that I purchased a legitimate single user MSDN Universal subscription. Microsoft, not the vendor, activated the software and shipped me the welcome kit from their fufillment center. Each month, my updates are shipped from MS as well. This is not an extra set of NFR disks that a vendor had on hand, since nothing was sent to me from Software More. They take the order, collect the cash, and then MS handles it from there. If there was anything fraudulent going on, Microsoft would have to be in on it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark S. (Newport News) Sent: Friday, September 10, 2004 6:40 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack I read this review for the MSDN Universal 7.0 Subscription on PriceGrabber.com. After reading the review, do any of you have any comments regarding the third option listed below. This seems to be the option that is offered at the site Brett suggested below. To reiterate just one of the concerns the reviewer mentioned..."Is there a downside..."? Mark ***************************************** Reviewed by: TallPaulInJax, from FL Date reviewed: 16-Apr-04 Summary: I drove down the rating so you would be more inclined to read this review because it contains very important info. I've been TAKEN for $2000 worth of Office software before and I don't want the same to happen to you. Caveat emptor (aka, beware the buyer): Ok, here is what I think is going on. There are different versions of this software out. (1) Part# 534-02125: this SHOULD BE (doesn't mean it is from some vendors) the retail version which is a 1 YEAR subscription in YOUR name registed by YOU with Microsoft including a 25 digit activation code (newer longer length code). Should be around $2,400. Why anyone would buy this license is beyond me. Keep reading. (2) Part# 534-02031: this is an Open License Program (OLP) version which is a 2 year subscription in YOUR name BUT... you have to qualify for open license, usually a 5 license purchase. The simplest way to do this is to buy 4 cheap OLP licenses (ie, four Encarta licenses at $25 apiece) and one $$$$ license (ie, one MSDN Universal OLP License). Perfectly legal and even recommended by Microsoft. Should be around $2800 to $2900. (3) There is an OEM version. Don't know the part# but I have seen Microsoft use the same part# for Retail and OEM. Unbelievable. I believe that's what most of these cheaper licenses are. The weird thing about some of these vendors is that the software will be activated/registered under THEIR name. Weirder yet, talking with Microsoft about this still has me baffled because Microsoft SAID (I don't believe them) they will activate this license. The only catch on OEM purchases is you have to buy a piece of hardware along with the software. The grey area? In past Microsoft OEM licensing that hardware can be as low priced as a $4 CD audio cable! Some vendors say they won't play this game with OEM licensing because Microsoft could come back and revoke your license unless you're hardware purchase is substantial. What is substantial? A complete PC? A hard drive? A room full of equipment? Is it worth the risk? Is there a problem having the software activated by the vendor as long as you get the media and updates? Is there a downside to buying this license if you buy "substantial" hardware? I don't know the answer to those questions. Perhaps someone could post a response to this message. (4) There are Academic licenses 1 Year licenses which retail around $979. That's all I know about them. (5) Last but not least (and probably not the last, just the last I know about) there are NFR's (Not For Resale) versions given by Microsoft and distributors to let resellers et cetera try out software but they AREN'T SUPPOSED TO RESELL IT. Hey, I hope this helps you figure things out. If it does, send a prayer my way... I could use it. But if it doesn't, join the rest of the club! I spent 3 hours with Microsoft's lead licensing guru one day two years ago and hung up 10X more confused than when I called... Paul ***************************************** ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From awithing at twcny.rr.com Fri Sep 10 09:30:18 2004 From: awithing at twcny.rr.com (augusta) Date: Fri, 10 Sep 2004 10:30:18 -0400 Subject: [AccessD] emailing a newsletter In-Reply-To: <100F91B31300334B89EC531C9DCB0865065938@tccexch01.tappeconstruction.net> Message-ID: <200409101430.i8AEUIMw016991@ms-smtp-02.nyroc.rr.com> I have a client who has about 700 email addresses within an Access database to whom she would like to send a newsletter. Can anyone suggest a good way of going about this, other than query/copy/paste in to outlook? Also, for some reason when she does it this way, she can only use about 50 address. Thanks augusta From dwaters at usinternet.com Fri Sep 10 09:55:13 2004 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 10 Sep 2004 09:55:13 -0500 Subject: [AccessD] Bid announcement In-Reply-To: <19446489.1094824960729.JavaMail.root@sniper9.usinternet.com> Message-ID: <001801c49746$2d7e3fd0$de1811d8@danwaters> Maybe they want some code to help them sort the recyclables! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, September 10, 2004 8:52 AM To: _DBA-Access Subject: [AccessD] Bid announcement Here is a rather odd sounding bid request I received from the state this morning: Bid Title: Furnish E-Scrap removal, processing and disposal services I worked late the last couple of nights so I may be a bit confuso en la cabeza but does anyone know what this means? -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From R.Griffiths at bury.gov.uk Fri Sep 10 09:58:00 2004 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Fri, 10 Sep 2004 15:58:00 +0100 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: Yes, many thanks -----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: 10 September 2004 15:10 To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack Richard, >> Is this offer open to non-US persons? You have to subscribe for 2 years (ie 2 * $375)? I assume after the 2 years you are still able to use all the software and what stops are the updates etc - can you confirm this? << You mean I've gotta look it up in the EULA? Golly! Lets see: "Is this offer open to non-US persons?" Paragraph 23 of the agreement says that only one of these Empower enrollments can be made per company PER COUNTRY. It goes on to say, "For example, if Member has three subsidiaries located in three different countries, your company may be awarded up to four initiative memberships; one for your company and one for each subsidiary." "You have to subscribe for 2 years (ie 2 * $375)?" No, you may subscribe for UP TO two years; you don't need to continue beyond the first year. However the other requirements would still be in force, I believe; namely, that you have to develop and release a "new commercial software solution within 24 months from activation of your initial membership." "I assume after the 2 years you are still able to use all the software and what stops are the updates etc - can you confirm this?" The agreement says (paragraph 11b), "Upon expiration of your enrollment in this initiative, you must remove all copies of the software licensed under this agreement, unless valid licenses are acquired." I hope this answers your questions. Steve Erbach -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Sep 10 10:01:54 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Sep 2004 17:01:54 +0200 Subject: [AccessD] Fw: Tab limits for tab controls In-Reply-To: <003201c4973d$a96d5350$9865fea9@BILLONE> References: <004401c49735$b533aca0$9865fea9@BILLONE> <14524644046.20040910151444@cactus.dk> <003201c4973d$a96d5350$9865fea9@BILLONE> Message-ID: <15031074232.20040910170154@cactus.dk> Hi Susan > I just thought 877 an odd place to stop. :) But I don't know if that's > really the limit or if there's some other problem. I've got a simple > procedure that's adding pages for me -- it stops at 877. Well, it equals 512 plus 365. That equals a nice 16 * 32 matrix of tabs plus one tab for each day of the year (excluding leap years). Very useful. /gustav >> What is wrong with 877? In octal it is 1555 - also a neat number. >> >> But sure it's a problem. Phone is keeping ringing here with requests >> for 1000+ tabs controls! Should I move business to selling beer? >> >> /gustav >> >> >> > Does anyone know the official limit for the number of tabs on a tab >> > control? I can't get passed 877, which seems a strange number for that >> > limit. I'm using 2003 -- what about earlier versions? I've >> > checked Help, not finding anything on the tab limits, but still looking. From ssharkins at bellsouth.net Fri Sep 10 09:29:53 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 10 Sep 2004 10:29:53 -0400 Subject: [AccessD] Fw: Tab limits for tab controls References: <9C382E065F54AE48BC3AA7925DCBB01C0103E2F9@karta-exc-int.Karta.com> Message-ID: <007701c49743$cc2ada60$9865fea9@BILLONE> Drew's the technique artist -- I just write this stuff up. :) Re: The tabs -- a form with 877 tabs is a mess, and I've noticed that the form does NOT display them in order -- which is odd. I tried it with 255, which I originally assumed was the real limit (and may actually be), and it's the same mess and weird arrangement. I'm wondering if Access will let me add pages to the collection even though the control itself can't support them? Would it do that? Susan H. > Thanks Susan, > It gave me a headache thinking about the concept! > BTW - good job on the lead article of the October Issue of Inside Access. > You and Drew did a great job. > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Friday, September 10, 2004 8:51 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Fw: Tab limits for tab controls > > > I don't need that many -- but I'm writing about them and that's just part of > the information -- I need to tell them how many tabs are allowed -- just > part of a comprehensive look at the control. Don't worry, I'm also telling > the gentle reader to NOT use them all. ;) > > Susan H. > > > > Susan, > > I've got to ask. > > Why would you need that many? > > I've used six and thought that was way over the top for most users. > > Just curious. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Fri Sep 10 10:26:01 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 10 Sep 2004 08:26:01 -0700 Subject: [AccessD] Bid announcement References: <001801c49746$2d7e3fd0$de1811d8@danwaters> Message-ID: <018301c4974a$7ad21960$6601a8c0@HAL9002> It's probably recycling old computers, monitors and other electronics with toxics in them. Big deal now. Turns out old computers are loaded with bad stuff. Here about twice a year you can bring all your stuff to the stadium for recycling. I think HP sponsors it. I understand it's going over to China where they extract the gold and other stuff. Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Friday, September 10, 2004 7:55 AM Subject: RE: [AccessD] Bid announcement > Maybe they want some code to help them sort the recyclables! > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Friday, September 10, 2004 8:52 AM > To: _DBA-Access > Subject: [AccessD] Bid announcement > > Here is a rather odd sounding bid request I received from the state this > morning: > > Bid Title: Furnish E-Scrap removal, processing and disposal services > > > I worked late the last couple of nights so I may be a bit confuso en la > cabeza but does anyone know what this means? > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Fri Sep 10 10:31:13 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Sep 2004 08:31:13 -0700 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: Yes, our office got one of those letters and the apology as well. Charlotte Foust -----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: Friday, September 10, 2004 6:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack Rocky, >> What happens after two years? Can you install on another machine? >> Are your unused licenses still good? << I haven't read the ENTIRE EULA. I do know, however, that after two years I'll have to cough up the ready for a regularly priced MSDN Universal subscription. As far as licenses, each of the products that require those 25-digit serial numbers come with a generic number that you get once you subscribe (it's available on the MSDN web site for subscribers to the Empower program). I've installed Windows XP Pro on four machines out of the allowable five. Every product can be used on five workstations. For example, SQL Server can have up to five users. "Unused licenses?" Again, the serial number for each installation of, say, Microsoft Office is the same. I don't know what happens at the end of two years. I suspect it's more-or-less the honor system. When I signed up it seemed to me that the Empower people hadn't really gotten their act together yet. I actually received a letter saying that my subscription was ended just a week after it started. I also got a nice apology letter, but it showed me that they weren't geared up for it too well. Steve Erbach -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Sep 10 10:39:11 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Sep 2004 08:39:11 -0700 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: That makes no sense at all. MSDN Universal is subscription only and has nothing at all to do with a hardware purchase. I've never heard of an OEM version of MSDN, let alone MSDN Universal. Charlotte Foust -----Original Message----- From: Mitsules, Mark S. (Newport News) [mailto:Mark.Mitsules at ngc.com] Sent: Friday, September 10, 2004 4:40 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack I read this review for the MSDN Universal 7.0 Subscription on PriceGrabber.com. After reading the review, do any of you have any comments regarding the third option listed below. This seems to be the option that is offered at the site Brett suggested below. To reiterate just one of the concerns the reviewer mentioned..."Is there a downside..."? Mark ***************************************** Reviewed by: TallPaulInJax, from FL Date reviewed: 16-Apr-04 Summary: I drove down the rating so you would be more inclined to read this review because it contains very important info. I've been TAKEN for $2000 worth of Office software before and I don't want the same to happen to you. Caveat emptor (aka, beware the buyer): Ok, here is what I think is going on. There are different versions of this software out. (1) Part# 534-02125: this SHOULD BE (doesn't mean it is from some vendors) the retail version which is a 1 YEAR subscription in YOUR name registed by YOU with Microsoft including a 25 digit activation code (newer longer length code). Should be around $2,400. Why anyone would buy this license is beyond me. Keep reading. (2) Part# 534-02031: this is an Open License Program (OLP) version which is a 2 year subscription in YOUR name BUT... you have to qualify for open license, usually a 5 license purchase. The simplest way to do this is to buy 4 cheap OLP licenses (ie, four Encarta licenses at $25 apiece) and one $$$$ license (ie, one MSDN Universal OLP License). Perfectly legal and even recommended by Microsoft. Should be around $2800 to $2900. (3) There is an OEM version. Don't know the part# but I have seen Microsoft use the same part# for Retail and OEM. Unbelievable. I believe that's what most of these cheaper licenses are. The weird thing about some of these vendors is that the software will be activated/registered under THEIR name. Weirder yet, talking with Microsoft about this still has me baffled because Microsoft SAID (I don't believe them) they will activate this license. The only catch on OEM purchases is you have to buy a piece of hardware along with the software. The grey area? In past Microsoft OEM licensing that hardware can be as low priced as a $4 CD audio cable! Some vendors say they won't play this game with OEM licensing because Microsoft could come back and revoke your license unless you're hardware purchase is substantial. What is substantial? A complete PC? A hard drive? A room full of equipment? Is it worth the risk? Is there a problem having the software activated by the vendor as long as you get the media and updates? Is there a downside to buying this license if you buy "substantial" hardware? I don't know the answer to those questions. Perhaps someone could post a response to this message. (4) There are Academic licenses 1 Year licenses which retail around $979. That's all I know about them. (5) Last but not least (and probably not the last, just the last I know about) there are NFR's (Not For Resale) versions given by Microsoft and distributors to let resellers et cetera try out software but they AREN'T SUPPOSED TO RESELL IT. Hey, I hope this helps you figure things out. If it does, send a prayer my way... I could use it. But if it doesn't, join the rest of the club! I spent 3 hours with Microsoft's lead licensing guru one day two years ago and hung up 10X more confused than when I called... Paul ***************************************** -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Thursday, September 09, 2004 11:03 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack Jim, I talked to your contact in April before purchasing our subscriptions, and was quoted a price of $1675 each. He pointed out the Microsoft has changed their distribution strategy and thus has gained more control over prices being charged by independent vendors :-( I shopped around and ended up purchasing from these guys: http://www.softwaremore-usa.com/msun70.html FULL MSDN Universal 7.0 subscription for $1050.00. Not an academic edition, and the disks shipped immediately from MS headquarters. I would highly recommend this vendor. (Back when I purchased mine, MS also had a $300.00 rebate for purchasing this software on DVD. Unfortunately it is no more...) Bobby, Don't waste your time on an Academic subscription. The licensing agreements normally prohibit using it to develop software for clients. All, Even though the MSDN subscription (and updates) lasts for only a year, the software has a perpetual license: http://msdn.microsoft.com/subscriptions/faq/default.aspx#licensing However, there are certain limitations to the use of the software (e.g. you can use SQL Server for development, but you can't run your company's DB server with it!) -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Fri Sep 10 10:39:38 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 10 Sep 2004 11:39:38 -0400 Subject: [AccessD] Fw: Tab limits for tab controls References: <004401c49735$b533aca0$9865fea9@BILLONE><14524644046.20040910151444@cactus.dk><003201c4973d$a96d5350$9865fea9@BILLONE> <15031074232.20040910170154@cactus.dk> Message-ID: <006001c4974c$b155b7b0$9865fea9@BILLONE> > > That equals a nice 16 * 32 matrix of tabs plus one tab for each day of > the year (excluding leap years). Very useful. ===========OK, just on the outside chance that you're not pulling my leg, how would this be useful? ;) Susan H. From cfoust at infostatsystems.com Fri Sep 10 10:41:44 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Sep 2004 08:41:44 -0700 Subject: [AccessD] Fw: Tab limits for tab controls Message-ID: Are you setting the indexes of the tabs and not seeing them in that order? I think one of our forms with 12 tabs in two rows is a mess, but then I didn't create it. ;-} Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Friday, September 10, 2004 7:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fw: Tab limits for tab controls Drew's the technique artist -- I just write this stuff up. :) Re: The tabs -- a form with 877 tabs is a mess, and I've noticed that the form does NOT display them in order -- which is odd. I tried it with 255, which I originally assumed was the real limit (and may actually be), and it's the same mess and weird arrangement. I'm wondering if Access will let me add pages to the collection even though the control itself can't support them? Would it do that? Susan H. > Thanks Susan, > It gave me a headache thinking about the concept! > BTW - good job on the lead article of the October Issue of Inside > Access. You and Drew did a great job. Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Friday, September 10, 2004 8:51 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Fw: Tab limits for tab controls > > > I don't need that many -- but I'm writing about them and that's just > part of > the information -- I need to tell them how many tabs are allowed -- > just part of a comprehensive look at the control. Don't worry, I'm > also telling the gentle reader to NOT use them all. ;) > > Susan H. > > > > Susan, > > I've got to ask. > > Why would you need that many? > > I've used six and thought that was way over the top for most users. > > Just curious. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Sep 10 10:44:58 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Sep 2004 08:44:58 -0700 Subject: [AccessD] Fw: Tab limits for tab controls Message-ID: If you set the format to buttons, you could build an annual calendar. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Friday, September 10, 2004 8:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fw: Tab limits for tab controls > > That equals a nice 16 * 32 matrix of tabs plus one tab for each day of > the year (excluding leap years). Very useful. ===========OK, just on the outside chance that you're not pulling my leg, how would this be useful? ;) 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 Fri Sep 10 10:45:09 2004 From: john at winhaven.net (John Bartow) Date: Fri, 10 Sep 2004 10:45:09 -0500 Subject: [AccessD] Bid announcement In-Reply-To: <018301c4974a$7ad21960$6601a8c0@HAL9002> Message-ID: I recently read an old National Geographic (mid-1990s) article about Taiwan. It showed heaps of old computer parts with laborers digging through it and separating it by hand for processing. It stated it was mostly shipped in from the U.S. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, September 10, 2004 10:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bid announcement It's probably recycling old computers, monitors and other electronics with toxics in them. Big deal now. Turns out old computers are loaded with bad stuff. Here about twice a year you can bring all your stuff to the stadium for recycling. I think HP sponsors it. I understand it's going over to China where they extract the gold and other stuff. Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Friday, September 10, 2004 7:55 AM Subject: RE: [AccessD] Bid announcement > Maybe they want some code to help them sort the recyclables! > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Friday, September 10, 2004 8:52 AM > To: _DBA-Access > Subject: [AccessD] Bid announcement > > Here is a rather odd sounding bid request I received from the state this > morning: > > Bid Title: Furnish E-Scrap removal, processing and disposal services > > > I worked late the last couple of nights so I may be a bit confuso en la > cabeza but does anyone know what this means? > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reuben at gfconsultants.com Fri Sep 10 10:47:12 2004 From: reuben at gfconsultants.com (Reuben Cummings) Date: Fri, 10 Sep 2004 10:47:12 -0500 Subject: [AccessD] emailing a newsletter In-Reply-To: <200409101430.i8AEUIMw016991@ms-smtp-02.nyroc.rr.com> Message-ID: Augusta, I sent you a copy of a very small db that I have than can do what you are after. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of augusta > Sent: Friday, September 10, 2004 9:30 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] emailing a newsletter > > > I have a client who has about 700 email addresses within an > Access database > to whom she would like to send a newsletter. > > Can anyone suggest a good way of going about this, other than > query/copy/paste in to outlook? Also, for some reason when she > does it this > way, she can only use about 50 address. > > Thanks augusta > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pharold at proftesting.com Fri Sep 10 10:51:52 2004 From: pharold at proftesting.com (Perry Harold) Date: Fri, 10 Sep 2004 11:51:52 -0400 Subject: [AccessD] Bid announcement In-Reply-To: Message-ID: <000601c4974e$174026e0$082da8c0@D58BT131> Since most electronic appliances aren't supposed to go into the landfill, etc they may need someone to collect used monitor, system boxes, etc and dispose of them. It's seems to not be easy to find a place to dispose of such items unless you're in the top 10 to 15 major cities. Perry Harold -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, September 10, 2004 9:52 AM To: _DBA-Access Subject: [AccessD] Bid announcement Here is a rather odd sounding bid request I received from the state this morning: Bid Title: Furnish E-Scrap removal, processing and disposal services I worked late the last couple of nights so I may be a bit confuso en la cabeza but does anyone know what this means? -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Fri Sep 10 10:54:38 2004 From: john at winhaven.net (John Bartow) Date: Fri, 10 Sep 2004 10:54:38 -0500 Subject: [AccessD] Bid announcement In-Reply-To: Message-ID: Could be, every now and then I get some odd bid requests but this tops them all. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Friday, September 10, 2004 9:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bid announcement Get rid of old office equipment...computers, monitors, printers, etc. Mark -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Friday, September 10, 2004 9:52 AM To: _DBA-Access Subject: [AccessD] Bid announcement Here is a rather odd sounding bid request I received from the state this morning: Bid Title: Furnish E-Scrap removal, processing and disposal services I worked late the last couple of nights so I may be a bit confuso en la cabeza but does anyone know what this means? -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Sep 10 10:58:15 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Sep 2004 17:58:15 +0200 Subject: [AccessD] Fw: Tab limits for tab controls In-Reply-To: <006001c4974c$b155b7b0$9865fea9@BILLONE> References: <004401c49735$b533aca0$9865fea9@BILLONE><14524644046.20040910151444@cactus.dk><003201c4973d$a96d5350$9865fea9@BILLONE> <15031074232.20040910170154@cactus.dk> <006001c4974c$b155b7b0$9865fea9@BILLONE> Message-ID: <13634454643.20040910175815@cactus.dk> Hi Susan >> That equals a nice 16 * 32 matrix of tabs plus one tab for each day of >> the year (excluding leap years). Very useful. > ===========OK, just on the outside chance that you're not pulling my leg, > how would this be useful? ;) It's Friday Susan!! Are you settled after the move or are you sitting typing on top of some boxes still waiting to be unpacked (the boxes, not you)? /gustav From ssharkins at bellsouth.net Fri Sep 10 11:13:40 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 10 Sep 2004 12:13:40 -0400 Subject: [AccessD] OT: Express version numbers Message-ID: <009e01c49751$3ba01ab0$9865fea9@BILLONE> sp_dbcmptlevel [[@dbname=] 'database_name'] [,[@new_cmptlevel=] version] If you run this in SQL Server Express using an invalid version number, the error message lists the SQL Server version numbers. It does make sense, if I force it to. ;) I also considered that the error message might just be wrong. Does anyone know if this is supposed to use SQL Server version numbers instead of Express/MSDN version numbers? From Mark.Mitsules at ngc.com Fri Sep 10 11:22:30 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Fri, 10 Sep 2004 12:22:30 -0400 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: Charlotte, The name of the program per se (OEM) is not what is being questioned. What is being questioned is the program that allows you to get this subscription at a deeply discounted rate with the only apparent difference being who initiates the activation process. What you call this program is immaterial, it does exist as evidenced by the following link: http://www.softwaremore-usa.com/msun70.html. The question is: Is there a downside? More examples of this distribution/licensing/pricing program can be found by looking at the cheapest alternatives on PriceGrabber. Hopefully, that is the purpose of this list...to raise awareness to that which we were previously unaware. Mark -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday, September 10, 2004 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack That makes no sense at all. MSDN Universal is subscription only and has nothing at all to do with a hardware purchase. I've never heard of an OEM version of MSDN, let alone MSDN Universal. Charlotte Foust -----Original Message----- From: Mitsules, Mark S. (Newport News) [mailto:Mark.Mitsules at ngc.com] Sent: Friday, September 10, 2004 4:40 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack I read this review for the MSDN Universal 7.0 Subscription on PriceGrabber.com. After reading the review, do any of you have any comments regarding the third option listed below. This seems to be the option that is offered at the site Brett suggested below. To reiterate just one of the concerns the reviewer mentioned..."Is there a downside..."? Mark ***************************************** Reviewed by: TallPaulInJax, from FL Date reviewed: 16-Apr-04 Summary: I drove down the rating so you would be more inclined to read this review because it contains very important info. I've been TAKEN for $2000 worth of Office software before and I don't want the same to happen to you. Caveat emptor (aka, beware the buyer): Ok, here is what I think is going on. There are different versions of this software out. (1) Part# 534-02125: this SHOULD BE (doesn't mean it is from some vendors) the retail version which is a 1 YEAR subscription in YOUR name registed by YOU with Microsoft including a 25 digit activation code (newer longer length code). Should be around $2,400. Why anyone would buy this license is beyond me. Keep reading. (2) Part# 534-02031: this is an Open License Program (OLP) version which is a 2 year subscription in YOUR name BUT... you have to qualify for open license, usually a 5 license purchase. The simplest way to do this is to buy 4 cheap OLP licenses (ie, four Encarta licenses at $25 apiece) and one $$$$ license (ie, one MSDN Universal OLP License). Perfectly legal and even recommended by Microsoft. Should be around $2800 to $2900. (3) There is an OEM version. Don't know the part# but I have seen Microsoft use the same part# for Retail and OEM. Unbelievable. I believe that's what most of these cheaper licenses are. The weird thing about some of these vendors is that the software will be activated/registered under THEIR name. Weirder yet, talking with Microsoft about this still has me baffled because Microsoft SAID (I don't believe them) they will activate this license. The only catch on OEM purchases is you have to buy a piece of hardware along with the software. The grey area? In past Microsoft OEM licensing that hardware can be as low priced as a $4 CD audio cable! Some vendors say they won't play this game with OEM licensing because Microsoft could come back and revoke your license unless you're hardware purchase is substantial. What is substantial? A complete PC? A hard drive? A room full of equipment? Is it worth the risk? Is there a problem having the software activated by the vendor as long as you get the media and updates? Is there a downside to buying this license if you buy "substantial" hardware? I don't know the answer to those questions. Perhaps someone could post a response to this message. (4) There are Academic licenses 1 Year licenses which retail around $979. That's all I know about them. (5) Last but not least (and probably not the last, just the last I know about) there are NFR's (Not For Resale) versions given by Microsoft and distributors to let resellers et cetera try out software but they AREN'T SUPPOSED TO RESELL IT. Hey, I hope this helps you figure things out. If it does, send a prayer my way... I could use it. But if it doesn't, join the rest of the club! I spent 3 hours with Microsoft's lead licensing guru one day two years ago and hung up 10X more confused than when I called... Paul ***************************************** -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Thursday, September 09, 2004 11:03 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack Jim, I talked to your contact in April before purchasing our subscriptions, and was quoted a price of $1675 each. He pointed out the Microsoft has changed their distribution strategy and thus has gained more control over prices being charged by independent vendors :-( I shopped around and ended up purchasing from these guys: http://www.softwaremore-usa.com/msun70.html FULL MSDN Universal 7.0 subscription for $1050.00. Not an academic edition, and the disks shipped immediately from MS headquarters. I would highly recommend this vendor. (Back when I purchased mine, MS also had a $300.00 rebate for purchasing this software on DVD. Unfortunately it is no more...) Bobby, Don't waste your time on an Academic subscription. The licensing agreements normally prohibit using it to develop software for clients. All, Even though the MSDN subscription (and updates) lasts for only a year, the software has a perpetual license: http://msdn.microsoft.com/subscriptions/faq/default.aspx#licensing However, there are certain limitations to the use of the software (e.g. you can use SQL Server for development, but you can't run your company's DB server with it!) -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Sep 10 11:42:11 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 10 Sep 2004 11:42:11 -0500 Subject: [AccessD] Fw: Tab limits for tab controls Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB360@main2.marlow.com> Ack, I didn't get my copy yet! What was it, Shaped Forms? Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Friday, September 10, 2004 9:08 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: Tab limits for tab controls Thanks Susan, It gave me a headache thinking about the concept! BTW - good job on the lead article of the October Issue of Inside Access. You and Drew did a great job. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Friday, September 10, 2004 8:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fw: Tab limits for tab controls I don't need that many -- but I'm writing about them and that's just part of the information -- I need to tell them how many tabs are allowed -- just part of a comprehensive look at the control. Don't worry, I'm also telling the gentle reader to NOT use them all. ;) Susan H. > Susan, > I've got to ask. > Why would you need that many? > I've used six and thought that was way over the top for most users. > Just curious. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Sep 10 11:43:48 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 10 Sep 2004 11:43:48 -0500 Subject: [AccessD] Fw: Tab limits for tab controls Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB361@main2.marlow.com> Yep, you take my techno babble, and turn it into something people can actually understand. Oh the story's I could tell about our co-writing adventures! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Friday, September 10, 2004 9:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fw: Tab limits for tab controls Drew's the technique artist -- I just write this stuff up. :) Re: The tabs -- a form with 877 tabs is a mess, and I've noticed that the form does NOT display them in order -- which is odd. I tried it with 255, which I originally assumed was the real limit (and may actually be), and it's the same mess and weird arrangement. I'm wondering if Access will let me add pages to the collection even though the control itself can't support them? Would it do that? Susan H. > Thanks Susan, > It gave me a headache thinking about the concept! > BTW - good job on the lead article of the October Issue of Inside Access. > You and Drew did a great job. > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Friday, September 10, 2004 8:51 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Fw: Tab limits for tab controls > > > I don't need that many -- but I'm writing about them and that's just part of > the information -- I need to tell them how many tabs are allowed -- just > part of a comprehensive look at the control. Don't worry, I'm also telling > the gentle reader to NOT use them all. ;) > > Susan H. > > > > Susan, > > I've got to ask. > > Why would you need that many? > > I've used six and thought that was way over the top for most users. > > Just curious. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Fri Sep 10 11:00:39 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 10 Sep 2004 12:00:39 -0400 Subject: [AccessD] Fw: Tab limits for tab controls References: Message-ID: <008a01c4974f$fa482860$9865fea9@BILLONE> Charlotte, I'm only adding pages -- I'm not setting any properties. But, I assumed the tabs would be in order -- Page1, Page2, Page3, and while they mostly are -- I don't understand the resulting order. Page1, Page2, and so on, until about Page10 are at the top of the page -- after that I have 877, 876, 875, and so on... going backward. Susan H. > Are you setting the indexes of the tabs and not seeing them in that > order? I think one of our forms with 12 tabs in two rows is a mess, but > then I didn't create it. ;-} > > Charlotte Foust > > > -----Original Message----- > From: Susan Harkins [mailto:ssharkins at bellsouth.net] > Sent: Friday, September 10, 2004 7:30 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Fw: Tab limits for tab controls > > > Drew's the technique artist -- I just write this stuff up. :) > > Re: The tabs -- a form with 877 tabs is a mess, and I've noticed that > the form does NOT display them in order -- which is odd. I tried it with > 255, which I originally assumed was the real limit (and may actually > be), and it's the same mess and weird arrangement. > > I'm wondering if Access will let me add pages to the collection even > though the control itself can't support them? Would it do that? > > Susan H. > > > > Thanks Susan, > > It gave me a headache thinking about the concept! > > BTW - good job on the lead article of the October Issue of Inside > > Access. You and Drew did a great job. Jim > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > > Harkins > > Sent: Friday, September 10, 2004 8:51 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Fw: Tab limits for tab controls > > > > > > I don't need that many -- but I'm writing about them and that's just > > part > of > > the information -- I need to tell them how many tabs are allowed -- > > just part of a comprehensive look at the control. Don't worry, I'm > > also telling the gentle reader to NOT use them all. ;) > > > > Susan H. > > > > > > > Susan, > > > I've got to ask. > > > Why would you need that many? > > > I've used six and thought that was way over the top for most users. > > > Just curious. > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Fri Sep 10 12:06:10 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 10 Sep 2004 13:06:10 -0400 Subject: [AccessD] Fw: Tab limits for tab controls References: <2F8793082E00D4119A1700B0D0216BF8031BB361@main2.marlow.com> Message-ID: <00c801c49758$83cec960$9865fea9@BILLONE> Drew! You promised not to tell!!!!!!!!! ;) Susan H. > Yep, you take my techno babble, and turn it into something people can > actually understand. > > Oh the story's I could tell about our co-writing adventures! From DWUTKA at marlow.com Fri Sep 10 12:36:10 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 10 Sep 2004 12:36:10 -0500 Subject: [AccessD] Fw: Tab limits for tab controls Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB363@main2.marlow.com> I said the story's I COULD tell. Your secrets are safe with me.....for now.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Friday, September 10, 2004 12:06 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fw: Tab limits for tab controls Drew! You promised not to tell!!!!!!!!! ;) Susan H. > Yep, you take my techno babble, and turn it into something people can > actually understand. > > Oh the story's I could tell about our co-writing adventures! -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Fri Sep 10 13:38:49 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 10 Sep 2004 12:38:49 -0600 Subject: [AccessD] Syntax: Iterate through selected rows in a datasheet? Message-ID: <288450-22004951018384915@christopherhawkins.com> Given the following: 1) Parent form named frmMain. 2) frmMain has a Subform control named sFrm. 3) sFrm.SourceObject = frmSub 4) frmSub is a datasheet. 5) frmMain has a button cmdClickMe. Assume that frmSub presents 10 rows and the user has selected (highlighted) 5 of them. In the OnClick event of cmdClickMe, what would the syntax be to iterate through only the selected rows on frmSub? I've Googled, but nothing. Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From fhtapia at gmail.com Fri Sep 10 14:03:46 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Fri, 10 Sep 2004 12:03:46 -0700 Subject: [AccessD] open a form at cordinates x, y Message-ID: I'd like to be able to be sure that my forms are opening up within cordinates (x,y) off the top left side of the MDI window and hopefully the application itself is at cords(x,y), I remember seeing someone post code that would allow a recently opend window to be opened up at the specified locations... am I making sense? Thanks -- -Francisco From cyx5 at cdc.gov Fri Sep 10 14:18:49 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 10 Sep 2004 15:18:49 -0400 Subject: [AccessD] Section is a Reserved Word? How to refer to a Field of That Name Message-ID: This code works and compiles just fine: If ([Forms]![frmASRSSectInit].[RequestType] <> "site audit" _ And [Forms]![frmASRSSectInit].[Status] = "Open" _ And [Forms]![frmASRSSectInit].[ysnCBRNTest] = 0 _ And Not IsNull([Forms]![frmASRSSectInit].[ASSectCompletedDate])) _ And IsNull([Forms]![frmASRSSectInit].[CBRN_FinalTestReport]) _ Then [Forms]![frmASRSSectInit].[ysnCBRNTest] = -1 End If However, there is a numeric field in my table and on my form named: Section. It must be a reserved word, because when I change the code to specify that the section should equal 2, I get a compile error, argument not optional. Yikes! A Friday headache is upon me. What ever can I do to get around this? I can't change the field name as it is an SQL backend and the damn would break. If ([Forms]![frmASRSSectInit].[RequestType] <> "site audit" _ And [Forms]![frmASRSSectInit].[Status] = "Open" _ And [Forms]![frmASRSSectInit].[ysnCBRNTest] = 0 _ And [Forms]![frmASRSSectInit].[Section] = 1 _ And Not IsNull([Forms]![frmASRSSectInit].[ASSectCompletedDate])) _ And IsNull([Forms]![frmASRSSectInit].[CBRN_FinalTestReport]) _ Then [Forms]![frmASRSSectInit].[ysnCBRNTest] = -1 End If Karen Nicholson National Laboratory Xerox Global Services From cyx5 at cdc.gov Fri Sep 10 14:26:26 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 10 Sep 2004 15:26:26 -0400 Subject: [AccessD] Section is a Reserved Word? How to refer to a Field ofThat Name Message-ID: I got it; I changed the name of the text field on the form and it works now. Jeeze, I never thought of section being a reserved word. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Friday, September 10, 2004 3:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Section is a Reserved Word? How to refer to a Field ofThat Name This code works and compiles just fine: If ([Forms]![frmASRSSectInit].[RequestType] <> "site audit" _ And [Forms]![frmASRSSectInit].[Status] = "Open" _ And [Forms]![frmASRSSectInit].[ysnCBRNTest] = 0 _ And Not IsNull([Forms]![frmASRSSectInit].[ASSectCompletedDate])) _ And IsNull([Forms]![frmASRSSectInit].[CBRN_FinalTestReport]) _ Then [Forms]![frmASRSSectInit].[ysnCBRNTest] = -1 End If However, there is a numeric field in my table and on my form named: Section. It must be a reserved word, because when I change the code to specify that the section should equal 2, I get a compile error, argument not optional. Yikes! A Friday headache is upon me. What ever can I do to get around this? I can't change the field name as it is an SQL backend and the damn would break. If ([Forms]![frmASRSSectInit].[RequestType] <> "site audit" _ And [Forms]![frmASRSSectInit].[Status] = "Open" _ And [Forms]![frmASRSSectInit].[ysnCBRNTest] = 0 _ And [Forms]![frmASRSSectInit].[Section] = 1 _ And Not IsNull([Forms]![frmASRSSectInit].[ASSectCompletedDate])) _ And IsNull([Forms]![frmASRSSectInit].[CBRN_FinalTestReport]) _ Then [Forms]![frmASRSSectInit].[ysnCBRNTest] = -1 End If Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From serbach at new.rr.com Fri Sep 10 14:34:10 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Fri, 10 Sep 2004 14:34:10 -0500 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: References: Message-ID: <20040910143410.852702389.serbach@new.rr.com> Charlotte, >> Right now, we're working with Office XP Developer and SQL 2000 under our original licenses, but we're also working with VisualStudio.Net, WindowsServer2003, IIS, Visio, ASP.Net, etc. ?We saved a bunch of money on the Visual Studio and Visio Enterprise licenses alone. ?Our existing products are in A97 and AXP and SQL 2000 but we're working on .Net versions and web-based versions for future release. << I've never done anything with ASP, so I figured I'd just skip it and jump right to ASP.NET for the project I'm working on now. You're so right about the money saved on VS et al. Good luck with your projects. Steve From carbonnb at gmail.com Fri Sep 10 14:48:42 2004 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 10 Sep 2004 15:48:42 -0400 Subject: [AccessD] DLL question (was Broadcast a message) In-Reply-To: <20040910122518.9AE20252466@smtp.nildram.co.uk> References: <20040910122518.9AE20252466@smtp.nildram.co.uk> Message-ID: On Fri, 10 Sep 2004 13:25:21 +0100, Andy Lacey wrote: > Thanks again Gustav. You're a star. I'll download this and give it a try > when I have a moment to breath. OK, so I'm a bit late to this party, but if you want to figure out the APIs, you can download a sample VB app that shows how to send a message from http://developer.novell.com/support/sample/tids/vbbrdcst/vbbrdcst.htm You can also get the "full" API declarations from the VB samples page at http://developer.novell.com/support/sample/areas/vbs.htm It's in the "Brainshare '98 Nice T111 - Programming to the Client API with Visual Basic" download. -- 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 Drawbridge.Jack at ic.gc.ca Fri Sep 10 14:58:12 2004 From: Drawbridge.Jack at ic.gc.ca (Drawbridge.Jack at ic.gc.ca) Date: Fri, 10 Sep 2004 15:58:12 -0400 Subject: [AccessD] Table description Message-ID: <0F3AFAE449DD4A40BED8B6C4A97ABF5B15B348@MSG-MB3.icent.ic.gc.ca> Barbara, Here's some code that will assist, hopefully. I got some code from AccessD (Bill Mitchell) a few years ago. Just passing some back. Sub testDesc() Dim y As Long Dim db As Database Dim tdf As TableDef Set db = CurrentDb() For y = 0 To db.TableDefs.Count - 1 Set tdf = db.TableDefs(y) For z = 0 To tdf.Properties.Count - 1 If tdf.Properties(z).Name = "Description" Then Debug.Print tdf.Properties(z) Next z Next y End Sub jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Barbara Ryan Sent: Friday, September 10, 2004 10:31 AM To: Access List Subject: [AccessD] Table description I am trying to find the description of a table (Access 97) using code. I tried the following (which doesn't work): For intI = 0 To db.TableDefs.Count - 1 Set MyDef = db.TableDefs(intI) Debug.Print MyDef.Properties("Description").Value Next intI Any ideas? Thanks, Barb Ryan -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Fri Sep 10 15:53:04 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 10 Sep 2004 21:53:04 +0100 Subject: [AccessD] DLL question (was Broadcast a message) In-Reply-To: Message-ID: <006b01c49778$2b7ba650$b274d0d5@minster33c3r25> Thanks Bryan. All contributions gladly accepted. -- 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: 10 September 2004 20:49 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] DLL question (was Broadcast a message) > > > On Fri, 10 Sep 2004 13:25:21 +0100, Andy Lacey > wrote: > > Thanks again Gustav. You're a star. I'll download this and > give it a > > try when I have a moment to breath. > > OK, so I'm a bit late to this party, but if you want to > figure out the APIs, you can download a sample VB app that > shows how to send a message from > http://developer.novell.com/support/sample/tid> s/vbbrdcst/vbbrdcst.htm > > You can also get the "full" API declarations from the VB > samples page at > http://developer.novell.com/support/sample/are> as/vbs.htm > > > It's in the "Brainshare '98 Nice T111 - > Programming to the Client API with Visual Basic" download. > > -- > 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/a> ccessd > Website: > http://www.databaseadvisors.com > > From BarbaraRyan at cox.net Fri Sep 10 16:16:51 2004 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Fri, 10 Sep 2004 17:16:51 -0400 Subject: [AccessD] Table description References: <0F3AFAE449DD4A40BED8B6C4A97ABF5B15B348@MSG-MB3.icent.ic.gc.ca> Message-ID: <002c01c4977b$7e08e420$0a00a8c0@cx470148a> Thanks, Jack....that worked!.................Barb ----- Original Message ----- From: To: Sent: Friday, September 10, 2004 3:58 PM Subject: RE: [AccessD] Table description > Barbara, > > Here's some code that will assist, hopefully. > I got some code from AccessD (Bill Mitchell) a few years ago. > Just passing some back. > > Sub testDesc() > Dim y As Long > Dim db As Database > Dim tdf As TableDef > Set db = CurrentDb() > > For y = 0 To db.TableDefs.Count - 1 > Set tdf = db.TableDefs(y) > For z = 0 To tdf.Properties.Count - 1 > If tdf.Properties(z).Name = "Description" Then > Debug.Print tdf.Properties(z) > Next z > Next y > End Sub > > > jack > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Barbara Ryan > Sent: Friday, September 10, 2004 10:31 AM > To: Access List > Subject: [AccessD] Table description > > > I am trying to find the description of a table (Access 97) using code. I > tried the following (which doesn't work): > > For intI = 0 To db.TableDefs.Count - 1 > Set MyDef = db.TableDefs(intI) > Debug.Print MyDef.Properties("Description").Value > Next intI > > Any ideas? > > Thanks, > Barb Ryan > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Fri Sep 10 16:22:49 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 10 Sep 2004 17:22:49 -0400 Subject: [AccessD] Fw: Tab limits for tab controls References: <004401c49735$b533aca0$9865fea9@BILLONE><14524644046.20040910151444@cactus.dk><003201c4973d$a96d5350$9865fea9@BILLONE><15031074232.20040910170154@cactus.dk><006001c4974c$b155b7b0$9865fea9@BILLONE> <13634454643.20040910175815@cactus.dk> Message-ID: <015a01c4977e$70e90790$9865fea9@BILLONE> > > It's Friday Susan!! =======Well, that explains a lot. ;) > > Are you settled after the move or are you sitting typing on top of > some boxes still waiting to be unpacked (the boxes, not you)? =======Everything's in storage and we're staying with relatives. It will be a while before we're finally settled. It's a mess. Susan H. From ssharkins at bellsouth.net Fri Sep 10 16:42:55 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 10 Sep 2004 17:42:55 -0400 Subject: [AccessD] OT: Express version numbers References: <009e01c49751$3ba01ab0$9865fea9@BILLONE> Message-ID: <016801c4977f$24ea9290$9865fea9@BILLONE> FWIW, also ran SELECT @@version and got 9 -- so I guess it uses the same version numbers as SQL Server. I'm not sure whether I find that odd or not. If anyone knows any different, please let me know. I half expected to see 1.0, 2.0 for the MSDN versions and then something akin to 3.0 for Express. Thanks! Susan H. sp_dbcmptlevel [[@dbname=] 'database_name'] [,[@new_cmptlevel=] version] If you run this in SQL Server Express using an invalid version number, the error message lists the SQL Server version numbers. It does make sense, if I force it to. ;) I also considered that the error message might just be wrong. Does anyone know if this is supposed to use SQL Server version numbers instead of Express/MSDN version numbers? -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From deanellis at iprimus.com.au Fri Sep 10 17:30:22 2004 From: deanellis at iprimus.com.au (Dean Ellis) Date: Sat, 11 Sep 2004 08:00:22 +0930 Subject: [AccessD] open a form at cordinates x, y In-Reply-To: Message-ID: Try placing Docmd.Movesize into your forms on open property. This allows you to place the form x distance from the left, Y form the top as will as stipulating width and height. Cheers -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco Tapia Sent: Saturday, 11 September 2004 4:34 AM To: Access Developers discussion and problem solving Subject: [AccessD] open a form at cordinates x, y I'd like to be able to be sure that my forms are opening up within cordinates (x,y) off the top left side of the MDI window and hopefully the application itself is at cords(x,y), I remember seeing someone post code that would allow a recently opend window to be opened up at the specified locations... am I making sense? Thanks -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Fri Sep 10 17:37:26 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 11 Sep 2004 08:37:26 +1000 Subject: [AccessD] Bid announcement In-Reply-To: Message-ID: <4142B946.10501.81D1D55@lexacorp.com.pg> On 10 Sep 2004 at 8:51, John Bartow wrote: > Here is a rather odd sounding bid request I received from the state this > morning: > > Bid Title: Furnish E-Scrap removal, processing and disposal services > > > I worked late the last couple of nights so I may be a bit confuso en la > cabeza but does anyone know what this means? > > Disposal/recycling (so called eCycling) of unwanted electronic equipment (e-scrap) is a major growth industry worldwide. -- Stuart From stuart at lexacorp.com.pg Fri Sep 10 17:43:52 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 11 Sep 2004 08:43:52 +1000 Subject: [AccessD] emailing a newsletter In-Reply-To: <200409101430.i8AEUIMw016991@ms-smtp-02.nyroc.rr.com> References: <100F91B31300334B89EC531C9DCB0865065938@tccexch01.tappeconstruction.net> Message-ID: <4142BAC8.20539.8230386@lexacorp.com.pg> On 10 Sep 2004 at 10:30, augusta wrote: > I have a client who has about 700 email addresses within an Access database > to whom she would like to send a newsletter. > > Can anyone suggest a good way of going about this, other than > query/copy/paste in to outlook? I generally use Blat (either the exe or dll version) for this sort of thing. http://www.geocities.com/toby_korn/blat/ > Also, for some reason when she does it this > way, she can only use about 50 address. > Many ISPs set up there SMTP servers to only accept 50 or so to addresses in a single message as an anti-spam measure. Using Blat, you can easily send out one message to each address rather than bundling them so the limit doesn;t matter. -- Stuart From stuart at lexacorp.com.pg Fri Sep 10 17:53:17 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 11 Sep 2004 08:53:17 +1000 Subject: [AccessD] Fw: Tab limits for tab controls In-Reply-To: <003401c4973d$b96af410$9865fea9@BILLONE> Message-ID: <4142BCFD.25092.82BA2BD@lexacorp.com.pg> On 10 Sep 2004 at 9:50, Susan Harkins wrote: > I don't need that many -- but I'm writing about them and that's just part of > the information -- I need to tell them how many tabs are allowed -- just > part of a comprehensive look at the control. Don't worry, I'm also telling > the gentle reader to NOT use them all. ;) > I hope you are also covering the material in, or pointing the gentle reader to the Interface Hall of Shame section on tab controls: http://digilander.libero.it/chiediloapippo/Engineering/iarchitect/tabs.htm -- Stuart From ssharkins at bellsouth.net Fri Sep 10 18:42:35 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 10 Sep 2004 19:42:35 -0400 Subject: [AccessD] Fw: Tab limits for tab controls References: <4142BCFD.25092.82BA2BD@lexacorp.com.pg> Message-ID: <004001c4978f$dcdd88c0$9865fea9@BILLONE> Well, no... it's just an introductory look at the control itself -- the basics. :) I told them not to use too many tabs and to not stuff each page full, but other than that, it's all tutorial/technical stuff -- not best practices per se. And publishers generally don't like to direct their readers to the competition. :) But, it's a good piece, although I have to admit -- I never thought I had to click OK just because the Ok button was on the page. Susan H. > > I hope you are also covering the material in, or pointing the gentle reader > to the Interface Hall of Shame section on tab controls: > > http://digilander.libero.it/chiediloapippo/Engineering/iarchitect/tabs.htm From fhtapia at gmail.com Fri Sep 10 18:47:23 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Fri, 10 Sep 2004 16:47:23 -0700 Subject: [AccessD] open a form at cordinates x, y In-Reply-To: References: Message-ID: Thanks :D On Sat, 11 Sep 2004 08:00:22 +0930, Dean Ellis wrote: > Try placing Docmd.Movesize into your forms on open property. This allows you > to place the form x distance from the left, Y form the top as will as > stipulating width and height. > > Cheers > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco > Tapia > Sent: Saturday, 11 September 2004 4:34 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] open a form at cordinates x, y > > I'd like to be able to be sure that my forms are opening up within > cordinates (x,y) off the top left side of the MDI window and hopefully > the application itself is at cords(x,y), I remember seeing someone > post code that would allow a recently opend window to be opened up at > the specified locations... am I making sense? > > Thanks > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From martyconnelly at shaw.ca Fri Sep 10 18:49:18 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 10 Sep 2004 16:49:18 -0700 Subject: [AccessD] emailing a newsletter References: <100F91B31300334B89EC531C9DCB0865065938@tccexch01.tappeconstruction.net> <4142BAC8.20539.8230386@lexacorp.com.pg> Message-ID: <41423D7E.9080906@shaw.ca> Newer versions of McAfee squawk in protest if you send out more than 5 Emails in 5 seconds It is changeable under Advanced WormStopper selections. Stuart McLachlan wrote: >On 10 Sep 2004 at 10:30, augusta wrote: > > > >>I have a client who has about 700 email addresses within an Access database >>to whom she would like to send a newsletter. >> >>Can anyone suggest a good way of going about this, other than >>query/copy/paste in to outlook? >> >> > >I generally use Blat (either the exe or dll version) for this sort of >thing. http://www.geocities.com/toby_korn/blat/ > > > >>Also, for some reason when she does it this >>way, she can only use about 50 address. >> >> >> > >Many ISPs set up there SMTP servers to only accept 50 or so to addresses in >a single message as an anti-spam measure. > >Using Blat, you can easily send out one message to each address rather than >bundling them so the limit doesn;t matter. > > > > > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at colbyconsulting.com Fri Sep 10 19:36:25 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 10 Sep 2004 20:36:25 -0400 Subject: [AccessD] Bid announcement In-Reply-To: Message-ID: <000601c49797$6160db90$e8dafea9@ColbyM6805> Yea, I read a big article on how the (mainland) Chinese are importing these old computers for recycling, mostly the gold. They have few if any real pollution laws so they are creating huge toxic waste dumps when they dump the unrecycled materials. There are LOTS of very nasty stuff in a computer. The West is essentially using them as a legal dumping ground. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, September 10, 2004 11:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bid announcement I recently read an old National Geographic (mid-1990s) article about Taiwan. It showed heaps of old computer parts with laborers digging through it and separating it by hand for processing. It stated it was mostly shipped in from the U.S. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, September 10, 2004 10:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bid announcement It's probably recycling old computers, monitors and other electronics with toxics in them. Big deal now. Turns out old computers are loaded with bad stuff. Here about twice a year you can bring all your stuff to the stadium for recycling. I think HP sponsors it. I understand it's going over to China where they extract the gold and other stuff. Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Friday, September 10, 2004 7:55 AM Subject: RE: [AccessD] Bid announcement > Maybe they want some code to help them sort the recyclables! > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Friday, September 10, 2004 8:52 AM > To: _DBA-Access > Subject: [AccessD] Bid announcement > > Here is a rather odd sounding bid request I received from the state > this > morning: > > Bid Title: Furnish E-Scrap removal, processing and disposal services > > > I worked late the last couple of nights so I may be a bit confuso en > la cabeza but does anyone know what this means? > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Fri Sep 10 23:27:28 2004 From: john at winhaven.net (John Bartow) Date: Fri, 10 Sep 2004 23:27:28 -0500 Subject: [AccessD] Bid announcement In-Reply-To: <000601c49797$6160db90$e8dafea9@ColbyM6805> Message-ID: They dump cheap crap on us via WalMart and we return the favor, eh? :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Friday, September 10, 2004 7:36 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bid announcement Yea, I read a big article on how the (mainland) Chinese are importing these old computers for recycling, mostly the gold. They have few if any real pollution laws so they are creating huge toxic waste dumps when they dump the unrecycled materials. There are LOTS of very nasty stuff in a computer. The West is essentially using them as a legal dumping ground. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, September 10, 2004 11:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bid announcement I recently read an old National Geographic (mid-1990s) article about Taiwan. It showed heaps of old computer parts with laborers digging through it and separating it by hand for processing. It stated it was mostly shipped in from the U.S. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, September 10, 2004 10:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bid announcement It's probably recycling old computers, monitors and other electronics with toxics in them. Big deal now. Turns out old computers are loaded with bad stuff. Here about twice a year you can bring all your stuff to the stadium for recycling. I think HP sponsors it. I understand it's going over to China where they extract the gold and other stuff. Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Friday, September 10, 2004 7:55 AM Subject: RE: [AccessD] Bid announcement > Maybe they want some code to help them sort the recyclables! > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Friday, September 10, 2004 8:52 AM > To: _DBA-Access > Subject: [AccessD] Bid announcement > > Here is a rather odd sounding bid request I received from the state > this > morning: > > Bid Title: Furnish E-Scrap removal, processing and disposal services > > > I worked late the last couple of nights so I may be a bit confuso en > la cabeza but does anyone know what this means? > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Fri Sep 10 22:28:49 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 10 Sep 2004 20:28:49 -0700 Subject: [AccessD] Parts and assemblies design References: <000601c493a6$77855ee0$de1811d8@danwaters> Message-ID: <414270F1.9030906@shaw.ca> Yeah I kinda of figured that, it sounds like what happens with SOX compliance. But the NSA or one of it's alphabet cousins from its orange book certifies the certificate servers like RSA's probably at the B1 level, I know SQL Server 2000 was certified at the lower C2 level. There is a new certification system standard, used worldwide, called Common Criteria. EAL4 is one of the levels equivalent to C2. It is easier to do some of this encryption in .Net as the classes are exposed by the WSE extension, which is more for web services and Soap. These classes allow you to easily get at the 509 certificate stores. Here is another package that allows access to various encryption methods such as Windows Crypto API and X 509 for VB and VBA. One of the complications addressed can be handling integer calculation beyond 32 bits. Developer version is $159, not sure if that is Australian or US http://www.di-mgt.com.au/crypto.html#howto One of the problems they address is encryption of DBCS and Unicode for International character sets which Rocky might run into http://www.di-mgt.com.au/cryptoInternational.html If you want to see what Soap X 509 encryption for an xml message, it looks like this Most of which is boilerplate. 2003-02-11T01:34:01Z 2003-02-11T01:39:01Z YmlKVwXYD8vuGuYliuIYdEAQQPw= UJ64Addf3Fd59XsaQ=??& 4o1b4befwBJu6tzuaygfrAaX0UGtaYKcw2klIbuZPjLi...z8i2ypHN4+w== Dan Waters wrote: >Marty, > >I've talked with the FDA and it turns out that they themselves do not >certify anything related to electronic signatures or records. The FDA does >certify an individual company's usage of such software or hardware. > >This means that if a company like Alphatrust says that they have been >certified by the FDA, they really mean that they have a customer who has >been certified by the FDA. > >The FDA takes this position because what is good for one company may not be >good for another, and the FDA cannot apply a 'blanket' approval for any >particular mechanism. They also don't want to be in the position of >limiting progress in the development of such mechanisms by certifying >something, which then becomes the 'only way to go'. > >So - software developers like us need to work with our customer's Regulatory >Managers to find out what the company's requirements actually are. They >will get more difficult as the medical device becomes more complicated or >more important to saving lives or maintaining health. > >Dan Waters > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Sunday, September 05, 2004 5:46 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Parts and assemblies design > >This may give you an idea what is involved, It is essentially an >envelope around the document >with a seal that says it hasn't been modified after signing. > >If you are looking for signatures either digital or digitized (mouse or >stylus) that are FDA approved >try things like Pronto from Alphatrust >http://www.alphatrust.com/products/pronto/desktop.asp >Their other products require IE access to a certificate server at around >$250 a month. >Getting your own hardware certificate server certified by FDA may start >to cost you in $10,000 range. > > >Rocky Smolin - Beach Access Software wrote: > > > >>Dan: >> >>I have no shame. >> >>But I also have no electronic signature feature in the system. >> >>The system evolved when I first released it (1985) based on what the >>customers wanted. So I suppose the first customer who needs electronic >>signatures will get it. But I have no earthly idea how they work. Yet. >> >>Rocky >> >>----- Original Message ----- >>From: "Dan Waters" >>To: "'Access Developers discussion and problem solving'" >> >>Sent: Sunday, September 05, 2004 12:38 PM >>Subject: RE: [AccessD] Parts and assemblies design >> >> >> >> >> >> >>>Hi Rocky! >>> >>>Yes that was shameless. But good! >>> >>>I was wondering if you address electronic signatures, and if so, what's >>> >>> >>> >>> >>your >> >> >> >> >>>approach? >>> >>>Thanks, >>>Dan Waters >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - >>>Beach Access Software >>>Sent: Sunday, September 05, 2004 2:18 PM >>>To: Access Developers discussion and problem solving >>>Cc: Tom Hintz >>>Subject: Re: [AccessD] Parts and assemblies design >>> >>>Eric: >>> >>>Shameless plug for my manufacturing system. You can check it out at >>>www.ezmrp.com >>> >>>It will do the structured bills of material that they need. >>> >>>I just added a Capacity Requirements Planning module to the system which >>>does not yet show on the web site however. In the CRP module you define >>>work centers and then add routings for each assembly - queue time, set up >>>time and unit run time for each operation. Although it's not part of >>> >>> >>> >>> >>their >> >> >> >> >>>immediate requirement, as a bonus, the CRP Calculate program will >>> >>> >>> >>> >>calculate >> >> >> >> >>>how much of each work center's capacity is being used every day. >>> >>>Once they have that database built, since EZMRP is written in Access, and >>>since the back end is wide open, you could easily write a report in their >>>custom format, although E-Z-MRP does have a traveler report which shows >>> >>> >>> >>> >>the >> >> >> >> >>>start date for each operation based on a specific work order, that work >>>order's due date, and the assembly's lead time and, actually, the report >>> >>> >>> >>> >>you >> >> >> >> >>>model there looks mostly like an indented bill of materials, which, of >>>course, E-Z-MRP does. >>> >>>Starting with E-Z-MRP's framework might save you a LOT of development >>> >>> >>> >>> >>time. >> >> >> >> >>>(BTW, the audit trail that it produces on each inventory transaction, to >>>which you can attach a serial or lot number, also goes along way towards >>>satisfying FDA requirements.) >>> >>>If you're interested after checking the web site, please contact me >>> >>> >>> >>> >>off-line >> >> >> >> >>>at bchacc at san.rr.com and I'll give you a system to evaluate. Or call if >>> >>> >>> >>> >>you >> >> >> >> >>>want to talk about it - 858-259-4334. >>> >>>HTH >>> >>>Rocky Smolin >>>Beach Access Software >>>http://www.e-z-mrp.com >>> >>> >>> >>> >>>----- Original Message ----- >>>From: "Eric Goetz" >>>To: >>>Sent: Sunday, September 05, 2004 11:32 AM >>>Subject: [AccessD] Parts and assemblies design >>> >>> >>>Hi, >>> >>> >>> >>>I am working on a database to replace some paper forms. I get the >>>feeling I'm starting more "from scratch" than I need to. So I thought >>>I'd ask if anyone knows of any examples of solutions for the following >>>problem. >>> >>> >>> >>>A medical device manufacturer needs to track all the actions performed >>>on each device as it moves through manufacturing to meet FDA >>>requirements. The forms are called "travelers." The first traveler gets >>>created when the device is built. A new traveler gets created every time >>>the device returns from the field (for upgrade or repair.) >>> >>> >>> >>>The forms show each part with its revision, part number, lot number, or >>>other attribute. There are different attributes for different types of >>>parts. Such as, software has a checksum, and a revision number while a >>>relay has does not. Instead, a relay has a lot number. >>> >>> >>> >>>Here are a couple of my challenges: >>> >>> >>> >>>I am modeling parts and assemblies, where an assembly is also a part. As >>>the devices come back from the field, they may get upgraded with >>>different parts and assemblies so the hierarchy is flexible. There seems >>>to be a many to many relationship between parts and assemblies. So, I >>>made a basic parts table: >>> >>> >>> >>>Part { ID, PartNumber, Name } where ID is the primary key >>> >>>Sample data: >>> >>>{ 1, 26.026, Enclosure } >>> >>>{ 57, 26.002, PCA } >>> >>>{ 113, 26.100, ECA } >>> >>>{ 114, 26.098, Xfrm } >>> >>>{ 115, 26.022, Xfrm } >>> >>>{ 116, 26.021, Xfrm } >>> >>> >>> >>>And I made another table to hold the many to many assignments between >>>parts and assemblies. >>> >>>AssyPartAssignment { ID, AssyID, PartID, Name } where ID is the primary >>>key and AssyID and PartID are foreign keys for the ID in the Part table. >>> >>>Sample data: >>> >>>{ 1, 113, 57, Controller PCA } >>> >>>{ 2, 113, 1, ECA Enclosure } >>> >>>{ 3, 57, 114, Xfrm T1 } >>> >>>{ 4, 57, 115, Xfrm T2 } >>> >>>{ 5, 57, 116, Xfrm T3 } >>> >>>{ 6, 57, 115, Xfrm T4 } >>> >>> >>> >>>The report needs to show this hierarchy. >>> >>>26.100 - ECA >>> >>> 26.026 - ECA Enclosure >>> >>> 26.002 - Controller PCA >>> >>> 26.098 - Xfrm T1 >>> >>> 26.022 - Xfrm T2 >>> >>> 26.021 - Xfrm T3 >>> >>> 26.022 - Xfrm T4 >>> >>> >>> >>>The same transformer, 26.022 shows up twice in the PCA assembly. >>> >>> >>> >>>I'll build more tables for the different attributes of parts, such as, >>>software with its checksum, and parts that have only lots, and parts >>>that have revisions and lots. I'll use the ID key from the Part table as >>>the primary key for the subtype tables based on the entity relationship >>>chapter from the CJDate book. >>> >>> >>> >>>I need to make the forms to enter these variable hierarchies. >>> >>> >>> >>>Got any suggestions that might put a little more holiday in my Labor >>>Day? >>> >>> >>> >>>Thanks, >>> >>> >>> >>>Eric >>> >>> >>> >>> >>> >>>-- >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>>-- >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>>-- >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >>> >>> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From serbach at new.rr.com Sat Sep 11 07:47:55 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Sat, 11 Sep 2004 07:47:55 -0500 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: References: <20040910085237.629179895.serbach@new.rr.com> Message-ID: <20040911074755.447047747.serbach@new.rr.com> John, >> With the Universal MSDN you have the license for life not the subscription period. I wasn't going to re-subscribe last year due to the price but when Jim passed on the lower prices he had been getting I went ahead and re-subbed. I have no idea as to if this holds true for empower as I missed that great deal. << Isn't it true, though, that with the regular Univeral subscription that you're not on the hook for the extra requirements MS insists on? That is, announce and release a commercial product using MS technologies within two years of signing up; and acquiring one of the MS certifications? I've got a bunch of stuff already for the MCDBA, but where's the time coming from to get certified, eh? Steve From john at winhaven.net Sat Sep 11 09:34:20 2004 From: john at winhaven.net (John Bartow) Date: Sat, 11 Sep 2004 09:34:20 -0500 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <20040911074755.447047747.serbach@new.rr.com> Message-ID: Steve, No requirements at all (that I know). Yes, certification - let's invent some time to do that it, eh? Maybe we can just skip meals and sleep for a few months? John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. Erbach Sent: Saturday, September 11, 2004 7:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack John, >> With the Universal MSDN you have the license for life not the subscription period. I wasn't going to re-subscribe last year due to the price but when Jim passed on the lower prices he had been getting I went ahead and re-subbed. I have no idea as to if this holds true for empower as I missed that great deal. << Isn't it true, though, that with the regular Univeral subscription that you're not on the hook for the extra requirements MS insists on? That is, announce and release a commercial product using MS technologies within two years of signing up; and acquiring one of the MS certifications? I've got a bunch of stuff already for the MCDBA, but where's the time coming from to get certified, eh? Steve -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgoodhall at comcast.net Sat Sep 11 10:52:21 2004 From: sgoodhall at comcast.net (Steve Goodhall) Date: Sat, 11 Sep 2004 11:52:21 -0400 Subject: [AccessD] emailing a newsletter In-Reply-To: <4142BAC8.20539.8230386@lexacorp.com.pg> Message-ID: <200409111553.i8BFr8630653@databaseadvisors.com> Another option is to send from VBA using the Outlook object model. Depending on the version and how you approach it, you may run across a Microsoft security "feature" that prevents code from accessing the address book. The cure is Outlook Redemption (http://www.dimastr.com/redemption/). I might have some code lying around. If I find it, I will put it up on my website and send another message. Regards, Steve Goodhall www.goodhall.info/steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, September 10, 2004 6:44 PM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] emailing a newsletter On 10 Sep 2004 at 10:30, augusta wrote: > I have a client who has about 700 email addresses within an Access database > to whom she would like to send a newsletter. > > Can anyone suggest a good way of going about this, other than > query/copy/paste in to outlook? I generally use Blat (either the exe or dll version) for this sort of thing. http://www.geocities.com/toby_korn/blat/ > Also, for some reason when she does it this > way, she can only use about 50 address. > Many ISPs set up there SMTP servers to only accept 50 or so to addresses in a single message as an anti-spam measure. Using Blat, you can easily send out one message to each address rather than bundling them so the limit doesn;t matter. -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Joe_Hecht at earthlink.net Sat Sep 11 21:35:25 2004 From: Joe_Hecht at earthlink.net (Joe Hecht) Date: Sat, 11 Sep 2004 19:35:25 -0700 Subject: [AccessD] emailing a newsletter In-Reply-To: <200409101430.i8AEUIMw016991@ms-smtp-02.nyroc.rr.com> Message-ID: <001501c49871$28c768a0$6401a8c0@delllaptop> Check the archives for programs. The clients ISP may have a limit to fight spam. JOE HECHT LOS ANGELES CA jmhla at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Friday, September 10, 2004 7:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] emailing a newsletter I have a client who has about 700 email addresses within an Access database to whom she would like to send a newsletter. Can anyone suggest a good way of going about this, other than query/copy/paste in to outlook? Also, for some reason when she does it this way, she can only use about 50 address. Thanks augusta -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sun Sep 12 19:06:59 2004 From: artful at rogers.com (Arthur Fuller) Date: Sun, 12 Sep 2004 20:06:59 -0400 Subject: [AccessD] Fw: Tab limits for tab controls In-Reply-To: <003401c4973d$b96af410$9865fea9@BILLONE> Message-ID: <018501c49925$96c885a0$6501a8c0@rock> What's wrong with tab controls? I use them a LOT in my interfaces. Mind you, never 877 of them, but quite often say 10 tabs on 1 control, some of whose pages contain another tab containing several pages. I love this kind of interface. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 10, 2004 9:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fw: Tab limits for tab controls I don't need that many -- but I'm writing about them and that's just part of the information -- I need to tell them how many tabs are allowed -- just part of a comprehensive look at the control. Don't worry, I'm also telling the gentle reader to NOT use them all. ;) Susan H. From ssharkins at bellsouth.net Sun Sep 12 19:17:27 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 12 Sep 2004 20:17:27 -0400 Subject: [AccessD] Fw: Tab limits for tab controls References: <018501c49925$96c885a0$6501a8c0@rock> Message-ID: <002c01c49927$395da830$9865fea9@BILLONE> I said I told the reader not to use 877 tabs. I did NOT tell the reader not to use tab controls. Susan H. > What's wrong with tab controls? I use them a LOT in my interfaces. Mind > you, never 877 of them, but quite often say 10 tabs on 1 control, some > of whose pages contain another tab containing several pages. I love this > kind of interface. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Friday, September 10, 2004 9:51 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Fw: Tab limits for tab controls > > > I don't need that many -- but I'm writing about them and that's just > part of the information -- I need to tell them how many tabs are allowed > -- just part of a comprehensive look at the control. Don't worry, I'm > also telling the gentle reader to NOT use them all. ;) > > Susan H. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Sun Sep 12 22:55:54 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 13 Sep 2004 13:55:54 +1000 Subject: [AccessD] Fw: Tab limits for tab controls In-Reply-To: <018501c49925$96c885a0$6501a8c0@rock> References: <003401c4973d$b96af410$9865fea9@BILLONE> Message-ID: <4145A6EA.4105.138D6132@lexacorp.com.pg> On 12 Sep 2004 at 20:06, Arthur Fuller wrote: > What's wrong with tab controls? I use them a LOT in my interfaces. Mind > you, never 877 of them, but quite often say 10 tabs on 1 control, some > of whose pages contain another tab containing several pages. I love this > kind of interface. > Nothing wrong with them as long as they are not misused. See http://digilander.libero.it/chiediloapippo/Engineering/iarchitect/tabs.htm -- Stuart From R.Griffiths at bury.gov.uk Mon Sep 13 04:20:05 2004 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Mon, 13 Sep 2004 10:20:05 +0100 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard From viner at EUnet.yu Mon Sep 13 04:46:08 2004 From: viner at EUnet.yu (Ervin Brindza) Date: Mon, 13 Sep 2004 11:46:08 +0200 Subject: [AccessD] Re: emailing a newsletter References: Message-ID: <000201c4997c$c11cc8a0$0100a8c0@razvoj> Reuben, could you share it, please? Many TIA, Ervin ----- Original Message ----- From: "Reuben Cummings" To: "Access Developers discussion and problem solving" Sent: 10 September, 2004 5:47 PM Subject: RE: [AccessD] emailing a newsletter > Augusta, I sent you a copy of a very small db that I have than can do what > you are after. > > Reuben Cummings > GFC, LLC > phone: 812.523.1017 > email: reuben at gfconsultants.com > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of augusta > > Sent: Friday, September 10, 2004 9:30 AM > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] emailing a newsletter > > > > > > I have a client who has about 700 email addresses within an > > Access database > > to whom she would like to send a newsletter. > > > > Can anyone suggest a good way of going about this, other than > > query/copy/paste in to outlook? Also, for some reason when she > > does it this > > way, she can only use about 50 address. > > > > Thanks augusta > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Sep 13 06:46:50 2004 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 13 Sep 2004 06:46:50 -0500 Subject: [AccessD] MS Access to VB6 or VB.net In-Reply-To: <26592636.1095067601864.JavaMail.root@sniper6.usinternet.com> Message-ID: <000001c49987$5ba4d3e0$de1811d8@danwaters> Richard, I've recently seen that whenever I compress a database FE, the compressed size is 20% - 25% of its original size. This would make emailing a FE a bit easier. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 4:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Mon Sep 13 07:02:30 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Mon, 13 Sep 2004 08:02:30 -0400 Subject: [AccessD] MS Access to VB6 or VB.net References: <000001c49987$5ba4d3e0$de1811d8@danwaters> Message-ID: <007201c49989$8ff71340$9865fea9@BILLONE> I'm not a .NET expert by any means and don't plan on becoming one, but I would like to mention that the learning curve is pretty steep. Charlotte and a few others here are tackling it and I'm sure they can give you some excellent advice. Begs the question -- is rewriting or actually creating a new app the best way to learn a new technology? I know that I, personally, probably would not try it -- I don't think I could learn it and do a good job at the same time. But then, I don't "develop" in the same way you guys do - development is not my livlihood. On the other hand, I have the luxury of being able to write about what I learn, as I'm learning, so that takes the edge off of the whole experience for me. I know many of you can't stop working to learn -- you have to try to do both at the same time -- which is what I'm doing myself. Susan H. > What I can't gauge here is how significant these issues are (and any other > issues). So what I am hoping to get here is how you would approach this > conundrum - tried and tested VB6 or new VB.net? From michael at ddisolutions.com.au Mon Sep 13 07:38:12 2004 From: michael at ddisolutions.com.au (Michael Maddison) Date: Mon, 13 Sep 2004 22:38:12 +1000 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D01011B8C@ddi-01.DDI.local> Given your target market I'd probably stick with VB6. VB6 will be supported for many years to come yet! Port to VB, then in your spare time start rewriting in .net You will probably rewrite your 1st attempts a few times as you pick it up anyway so if you are confident in VB6 stick with that for your bread n butter. cheers Michael M Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Sep 13 07:44:35 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 13 Sep 2004 08:44:35 -0400 Subject: [AccessD] MS Access to VB6 or VB.net In-Reply-To: Message-ID: Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Mon Sep 13 07:58:25 2004 From: JHewson at karta.com (Jim Hewson) Date: Mon, 13 Sep 2004 07:58:25 -0500 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0103E2FE@karta-exc-int.Karta.com> I'm at #4. I don't have the time nor the inclination to learn it. Jim Hewson -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Mon Sep 13 08:12:34 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Mon, 13 Sep 2004 09:12:34 -0400 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: <08F823FD83787D4BA0B99CA580AD3C74089B8C@TTNEXCHCL2.hshhp.com> If you're an Access developer and plan on remaining one forever then maybe (and only maybe) you can choose to ignore the .NET platform. There's always talk of a .NET supported Access version so you may well need to look at it at some time. If you're interested in web development than it should not be ignored (and in fact should be considered) and although there are still security issues web services give us a chance to talk to disparate systems and ease creation of distributed applications. There are already hooks into Word and Excel so can Access be far behind? I doubt it (IMHO). Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Monday, September 13, 2004 8:58 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net I'm at #4. I don't have the time nor the inclination to learn it. Jim Hewson -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Jeff at OUTBAKTech.com Mon Sep 13 08:29:26 2004 From: Jeff at OUTBAKTech.com (Jeff Barrows) Date: Mon, 13 Sep 2004 08:29:26 -0500 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: <8DA8776D2F418E46A2A464AC6CE630500326B9@outbaksrv1.outbaktech.com> #2 I even got MCAD, MCSD Certified Jeff B -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Mon 9/13/2004 7:58 AM To: Access Developers discussion and problem solving Cc: Subject: RE: [AccessD] MS Access to VB6 or VB.net I'm at #4. I don't have the time nor the inclination to learn it. Jim Hewson -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From R.Griffiths at bury.gov.uk Mon Sep 13 08:37:24 2004 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Mon, 13 Sep 2004 14:37:24 +0100 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: Dan Its been compacted and mde'd - reports etc take up space (I know I could write a separate FE for reports but this is what I am trying to avoid - using VB and crystal allows new reports to be send quickly and easily for example) thanks Richard -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Mon 13/09/2004 12:46 To: 'Access Developers discussion and problem solving' Cc: Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I've recently seen that whenever I compress a database FE, the compressed size is 20% - 25% of its original size. This would make emailing a FE a bit easier. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 4:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Mon Sep 13 08:40:36 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Mon, 13 Sep 2004 08:40:36 -0500 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: <100F91B31300334B89EC531C9DCB0865065942@tccexch01.tappeconstruction.net> #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From jwcolby at colbyconsulting.com Mon Sep 13 09:03:46 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 13 Sep 2004 10:03:46 -0400 Subject: [AccessD] MS Access to VB6 or VB.net In-Reply-To: <100F91B31300334B89EC531C9DCB0865065942@tccexch01.tappeconstruction.net> Message-ID: <001f01c4999a$80f771d0$e8dafea9@ColbyM6805> >after a week long boot camp course, I firmly believe that it's the best tool for the job The primary function of boot camp is brainwashing. ;-) I went to boot camp, I know! However I agree with you, .net is a VERY powerful tool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From R.Griffiths at bury.gov.uk Mon Sep 13 09:10:52 2004 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Mon, 13 Sep 2004 15:10:52 +0100 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: Hi Thanks for all your replies (keep'em coming). A few months ago I was leaning towards keeping it to VB6 but since then I have started using VB.net...and after initial head scratching it appears to be not that difficult ie learning curve less steep that I first thought (just talking usual VB/VBA application development - not the whole .net thingy). It reminds me a little like when I started using VB6 after many years of MS Access (I thought VB6 was going to be this daunting big programming thing - but its (VB6) as simple (or otherwise) as Access/VBA. I think VB.net will be the same (there is tons of free code to help you on the net). I am also leaning towards .net as when you've programmed for many years I find that sometimes you hit saturation point i.e. you can't face writing another line of code - the one thing that can overcome this is new technology/languages etc. and this challenge refeshes the programming desire within - I find anyway. As I was unsure of the deployment issue I did do some testing this morning and copied dotnetfx.exe (redistributable .net framework) to a W98 machine and installed - no problems. Installed Data Access 2.7 - no problems. I then simply copied an A2K BE mdb over with Vb.net exe . Double-clicked the exe and pleasingly/surprisingly it loaded the form, connected the db and ran okay. (I know this is a limited one machine test). I'm still not sure which way to go (especially as the replies thus far lean away from VB.Net) but I shall welcome further replies. Many thanks Richard -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Mon 13/09/2004 13:44 To: Access Developers discussion and problem solving Cc: Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Sep 13 09:29:48 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 13 Sep 2004 09:29:48 -0500 Subject: [AccessD] Fw: Tab limits for tab controls Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB369@main2.marlow.com> Interesting. only read the first half though. As far as interface flaws, one of the worst I have seen, is the Microsoft Access User Level Security. There is no problem with tabs, but what is extremely aggrevating is the incessant need for the system for you to press Okay after every change. If you don't press Okay, you are prompted if you want to apply the change you just made each and every time. Ugh. I know this applies to Access 97, don't know if later versions changed that or not. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Friday, September 10, 2004 5:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fw: Tab limits for tab controls On 10 Sep 2004 at 9:50, Susan Harkins wrote: > I don't need that many -- but I'm writing about them and that's just part of > the information -- I need to tell them how many tabs are allowed -- just > part of a comprehensive look at the control. Don't worry, I'm also telling > the gentle reader to NOT use them all. ;) > I hope you are also covering the material in, or pointing the gentle reader to the Interface Hall of Shame section on tab controls: http://digilander.libero.it/chiediloapippo/Engineering/iarchitect/tabs.htm -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Sep 13 09:35:58 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 13 Sep 2004 09:35:58 -0500 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB36A@main2.marlow.com> VB 6 is going to last a long time. It is going to take a major, VERY major OS change to require 'upgrading' VB 6.0 applications. If you have some clients that cannot even use VB.NET yet, I would say that isn't even an option then. Just out of curiousity, why change the backend? With a VB interface, Access is no longer required at all, and you can you any version you want. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 4:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Sep 13 09:53:24 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 13 Sep 2004 09:53:24 -0500 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB36B@main2.marlow.com> I got the .Net package from watching those movies. I was pretty much in the #4. Category. I think I am still there. I don't think the learning curve is all that big. I didn't have a problem with it. I've played around with Visual C++ before, though, so I was sort of used to some of the quirks a raw VB programmer wouldn't normally experience. Quite frankly, if they would have come out with a VB 7.0, which stuck to VB 6.0, and just added inheritance, I would be as happy as a pig in mud. That is the only saving grace of .Net, in my opinion. Implements is nice, but is a far cry from inheritance, and it requires a lot more work to even use. .Net has a lot of drawbacks too, which makes the transition that much more difficult to swallow. For one, the .Net Framework is not a small 1.4 meg installation. I have heard of many 'versioning' issues too, though I couldn't personally verify any. Then in the development environment, you have things like the forced tabbed text structure. It doesn't tab incorrectly (or at least I haven't seen an example yet), but it is just plain annoying when you are used to tabbing your own code, the way you like it. It tabs more frequently then I normally would. (Not sure if there is a setting to turn that off, I think I looked but didn't find anything). There is a nifty 'code help' feature, that will underscore code that won't work, and give advice as to fix, but I think they did a half baked job on that. One of the first things I got into, in .NET, was to create a class object. In VB 6, you can use Property Get, Let, and Set statements. In .NET, you actually use Get and Set, but not declared the same way. On top of that, it barks if you use a Property statement, with a Get, but no Set. If you don't use Set, you are supposed to declare the property to be read only. Thought that was kind of stupid, because the compiler should be able to determine that on it's own, based on whether or not there is a Set statement. Like I said, if they had just added inheritance to VB 6.0, they would have done a lot better in getting developers to move to a new platform. That's just my opinion though. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Sep 13 09:58:57 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 13 Sep 2004 09:58:57 -0500 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB36C@main2.marlow.com> Just curious JC, other then inheritance, what else have you found that make .NET that much more powerful then VB? I honestly didn't see anything. I want to know if I'm completely ignoring other capabilities. (I know about .Net's ability to create an NT Service and Command Line utility, but I write VB 6.0 NT Services blind folded now, and they run just fine. Never really had much use for a Command Line utility, either.....) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 9:04 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net >after a week long boot camp course, I firmly believe that it's the best tool for the job The primary function of boot camp is brainwashing. ;-) I went to boot camp, I know! However I agree with you, .net is a VERY powerful tool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ebarro at afsweb.com Mon Sep 13 10:22:07 2004 From: ebarro at afsweb.com (Eric Barro) Date: Mon, 13 Sep 2004 08:22:07 -0700 Subject: [AccessD] MS Access to VB6 or VB.net In-Reply-To: Message-ID: I'm at #1. Most of what I develop is web-based utilizing ASP.NET and SQL server. I also develop applications in VB6 and MS Access 97 and MS Access 2000 but the majority is .NET. There is a learning curve and this applies to any programming language. The only way to get really good at it is to learn it inside and out. So the learning curve is a given. For those contemplating .NET here are some of my personal observations... 1. You can take your VB6 code straight into VB.NET and use the code base by referencing the Microsoft.VisualBasic libraries. That will get you started until you get comfortable rewriting the code to take advantage of .NET's strengths which are outlined in the following points. 2. ADO.NET is way much faster than ADO because of the way the connections are handled. 3. The StringBuilder class addresses one of the weak spots of VB -- string handling. It is faster and more efficient. 4. Has anyone ever used the built-in datagrid control in VB6? Compare that with the datagrid control in .NET and you will realize that the datagrid control in VB6 was a mere prototype. No wonder most VB6 developers avoided it and replaced it with 3rd party controls. 5. You can take the same code and easily transform it into a web-based app as opposed to a windows app. 6. VB.NET and C# (syntax-wise) now look so much more like siblings than they ever did. So you can leverage your VB.NET knowledge and be "conversant" in C#. Performance wise they are now the same since both, when compiled, make use of the Common Language Runtime which is the execution engine for the .NET framework. 7. VB.NET is object oriented programming. 8. As far as application deployment is concerned what can be simpler than having your end-users download and install the .NET framework on their machines? Contrast this with what you currently have with VB6 and the ActiveX/COM interface where you need to ensure that your app, which might be dependent on DLLs and OCXs and OLBs and TLBs, will find those (and mind you...the correct versions too as the ones you used on your development machine) on the users machine? Those are just some of what I've discovered while developing in .NET. .NET examples and articles are the majority of what show up when you Google for VB code samples. There are so many examples out on the web that will help you learn the basics and get your feet wet. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 5:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sep 13 10:24:14 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 13 Sep 2004 11:24:14 -0400 Subject: [AccessD] MS Access to VB6 or VB.net In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8031BB36C@main2.marlow.com> Message-ID: <002601c499a5$bdb11850$e8dafea9@ColbyM6805> I'm not a vb6 programmer so I can't comment on that. However I am talking about prebuilt classes to do things. Look at the collection classes as an example. The class can be subclassed, but already has a ton of stuff already there. Also wrappers to windows API stuff. Things like encryption, and the like. I know it's a huge thing to learn but there are TONS of classes (end user classes) that allow you to do things natively that you'd be out searching the web for code to do in VB or Access. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, September 13, 2004 10:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MS Access to VB6 or VB.net Just curious JC, other then inheritance, what else have you found that make .NET that much more powerful then VB? I honestly didn't see anything. I want to know if I'm completely ignoring other capabilities. (I know about .Net's ability to create an NT Service and Command Line utility, but I write VB 6.0 NT Services blind folded now, and they run just fine. Never really had much use for a Command Line utility, either.....) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 9:04 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net >after a week long boot camp course, I firmly believe that it's the best tool for the job The primary function of boot camp is brainwashing. ;-) I went to boot camp, I know! However I agree with you, .net is a VERY powerful tool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Sep 13 10:40:52 2004 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 13 Sep 2004 10:40:52 -0500 Subject: [AccessD] MS Access to VB6 or VB.net In-Reply-To: <25635600.1095083235247.JavaMail.root@sniper7.usinternet.com> Message-ID: <001001c499a8$0d773c50$de1811d8@danwaters> Richard - I assumed that you had compacted, and hadn't thought of making this an MDE. Now that you've done that, try compressing with WinZip or something similar. Or, you can right-click the file, select Send To, then select Compressed (zipped) Folder. Might help! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 8:37 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Dan Its been compacted and mde'd - reports etc take up space (I know I could write a separate FE for reports but this is what I am trying to avoid - using VB and crystal allows new reports to be send quickly and easily for example) thanks Richard -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Mon 13/09/2004 12:46 To: 'Access Developers discussion and problem solving' Cc: Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I've recently seen that whenever I compress a database FE, the compressed size is 20% - 25% of its original size. This would make emailing a FE a bit easier. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 4:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Sep 13 10:58:17 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 13 Sep 2004 08:58:17 -0700 Subject: [AccessD] Section is a Reserved Word? How to refer to a Field ofThat Name Message-ID: Forms have a section property, so you are probably colliding with that when you try to set a value, especially with the syntax shown in your example. You're referring to the controls as members of an unspecified collection rather than using the bang (!) to specify the controls. If you do that with Section, the jet engine is going to assume you're trying to set a section property and object to the fact that you haven't specified WHICH section (i.e., the missing argument). Access 2000 and up really don't appreciate a field called Section. We had to change fields with that name in all our apps when we migrated. The only way to get around the problem that I know of in code is to use something like [Forms]![MyForm]![Section] for the form, and rst.Fields("Section") for a recordset. You should talk to your DBA about changing that field name before it gives you more headaches. Charlotte Foust -----Original Message----- From: Nicholson, Karen [mailto:cyx5 at cdc.gov] Sent: Friday, September 10, 2004 12:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Section is a Reserved Word? How to refer to a Field ofThat Name This code works and compiles just fine: If ([Forms]![frmASRSSectInit].[RequestType] <> "site audit" _ And [Forms]![frmASRSSectInit].[Status] = "Open" _ And [Forms]![frmASRSSectInit].[ysnCBRNTest] = 0 _ And Not IsNull([Forms]![frmASRSSectInit].[ASSectCompletedDate])) _ And IsNull([Forms]![frmASRSSectInit].[CBRN_FinalTestReport]) _ Then [Forms]![frmASRSSectInit].[ysnCBRNTest] = -1 End If However, there is a numeric field in my table and on my form named: Section. It must be a reserved word, because when I change the code to specify that the section should equal 2, I get a compile error, argument not optional. Yikes! A Friday headache is upon me. What ever can I do to get around this? I can't change the field name as it is an SQL backend and the damn would break. If ([Forms]![frmASRSSectInit].[RequestType] <> "site audit" _ And [Forms]![frmASRSSectInit].[Status] = "Open" _ And [Forms]![frmASRSSectInit].[ysnCBRNTest] = 0 _ And [Forms]![frmASRSSectInit].[Section] = 1 _ And Not IsNull([Forms]![frmASRSSectInit].[ASSectCompletedDate])) _ And IsNull([Forms]![frmASRSSectInit].[CBRN_FinalTestReport]) _ Then [Forms]![frmASRSSectInit].[ysnCBRNTest] = -1 End If Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Sep 13 11:05:37 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 13 Sep 2004 09:05:37 -0700 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: >> How about a quick un-scientific poll? I'm somewhere between #1 and #2. I'm modifying a web-based app another developer started in order to get my feet wet and get my brain more firmly wrapped around VB.Net. I won't say I know it, but I'm learning as I go. Our company has made the decision to move to .Net as Access becomes more firmly positioned as an end-user tool rather than a development platform. I disagree with Microsoft in that respect, and I'll keep working with Access as well, but I also see the handwriting on the wall. Charlotte Foust From accessd at shaw.ca Mon Sep 13 11:25:32 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 13 Sep 2004 09:25:32 -0700 Subject: [AccessD] MS Access to VB6 or VB.net In-Reply-To: Message-ID: Hi Richard: IMHO the best choice would be VB.NET. The main concern I would have was about the reporting issues and that it will most likely require a third-party piece of software if the reports are complicated. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 2:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Sep 13 11:54:19 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 13 Sep 2004 09:54:19 -0700 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: We decided on Active Reports, and we really like them. A lot of their functionality, like the subreports, is very similar to Access reports. Charlotte Foust -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, September 13, 2004 9:26 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Hi Richard: IMHO the best choice would be VB.NET. The main concern I would have was about the reporting issues and that it will most likely require a third-party piece of software if the reports are complicated. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 2:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Mon Sep 13 12:45:40 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Mon, 13 Sep 2004 13:45:40 -0400 Subject: [AccessD] OT: OE question Message-ID: <009a01c499b9$995a7be0$9865fea9@BILLONE> I'm using OE temporarily -- it won't allow attachments. I don't remember having this problem when I used it a few years ago. I've checked Help, the options -- how can I get my attachments? Susan H. From jimdettman at earthlink.net Mon Sep 13 12:55:48 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 13 Sep 2004 13:55:48 -0400 Subject: [AccessD] MS Access to VB6 or VB.net In-Reply-To: <100F91B31300334B89EC531C9DCB0865065942@tccexch01.tappeconstruction.net> Message-ID: Brett, <> I was in the same place several years ago. .Net was brand new and not much was around. I also wanted to get a standalone .EXE, get away from reference headaches with Access, etc. So I picked up VFP (Visual FoxPro). I must say I was disappointed at first because so many people I spoke with raved about it. While it had very strong database and OO capabilities, some of it was just plain junk. That's changed quite a bit as Microsoft has continued to add to the product. It has released two major versions since then with a third on the way. It too had a steep learning curve. <> I said that in light of the fact that .Net has been around for several years now and yet very few shops use it or are just getting into using it. Even Microsoft has said publicly that the response has been poor. They had to back off the whole .Net centric campaign and have refocused once again. And while that may have born some fruit, it seems for the most part that .Net is still not main stream. <> Been there done that and this isn't about that. I was mainly curious if .Net was catching on down in the trenches or still ho-hum. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Mon Sep 13 13:01:51 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Mon, 13 Sep 2004 14:01:51 -0400 Subject: [AccessD] OT: OE question Message-ID: <08F823FD83787D4BA0B99CA580AD3C74089B99@TTNEXCHCL2.hshhp.com> Susan, I can't recall the command but if you find the Options dialog you can enable allowing attachments from there. If you can't find it what I did until I found it was forward the message (but don't send) then open the attachnent from your unforwarded forward. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Monday, September 13, 2004 1:46 PM To: AccessD Subject: [AccessD] OT: OE question I'm using OE temporarily -- it won't allow attachments. I don't remember having this problem when I used it a few years ago. I've checked Help, the options -- how can I get my attachments? Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From cyx5 at cdc.gov Mon Sep 13 13:08:10 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Mon, 13 Sep 2004 14:08:10 -0400 Subject: [AccessD] Section is a Reserved Word? How to refer to a FieldofThat Name Message-ID: I have spent the last 1.5 years doing nothin' but SQL. Now I have a new job and I am taking about ten or eleven bad bad Access 2002 FE's with SQL 2000 BE's and converting a million macros to code, fixing the flat as a board data structure, etc. I guess I have forgotten some things about Access during my time away from it. I am getting back on board and having some fun. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, September 13, 2004 11:58 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Section is a Reserved Word? How to refer to a FieldofThat Name Forms have a section property, so you are probably colliding with that when you try to set a value, especially with the syntax shown in your example. You're referring to the controls as members of an unspecified collection rather than using the bang (!) to specify the controls. If you do that with Section, the jet engine is going to assume you're trying to set a section property and object to the fact that you haven't specified WHICH section (i.e., the missing argument). Access 2000 and up really don't appreciate a field called Section. We had to change fields with that name in all our apps when we migrated. The only way to get around the problem that I know of in code is to use something like [Forms]![MyForm]![Section] for the form, and rst.Fields("Section") for a recordset. You should talk to your DBA about changing that field name before it gives you more headaches. Charlotte Foust -----Original Message----- From: Nicholson, Karen [mailto:cyx5 at cdc.gov] Sent: Friday, September 10, 2004 12:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Section is a Reserved Word? How to refer to a Field ofThat Name This code works and compiles just fine: If ([Forms]![frmASRSSectInit].[RequestType] <> "site audit" _ And [Forms]![frmASRSSectInit].[Status] = "Open" _ And [Forms]![frmASRSSectInit].[ysnCBRNTest] = 0 _ And Not IsNull([Forms]![frmASRSSectInit].[ASSectCompletedDate])) _ And IsNull([Forms]![frmASRSSectInit].[CBRN_FinalTestReport]) _ Then [Forms]![frmASRSSectInit].[ysnCBRNTest] = -1 End If However, there is a numeric field in my table and on my form named: Section. It must be a reserved word, because when I change the code to specify that the section should equal 2, I get a compile error, argument not optional. Yikes! A Friday headache is upon me. What ever can I do to get around this? I can't change the field name as it is an SQL backend and the damn would break. If ([Forms]![frmASRSSectInit].[RequestType] <> "site audit" _ And [Forms]![frmASRSSectInit].[Status] = "Open" _ And [Forms]![frmASRSSectInit].[ysnCBRNTest] = 0 _ And [Forms]![frmASRSSectInit].[Section] = 1 _ And Not IsNull([Forms]![frmASRSSectInit].[ASSectCompletedDate])) _ And IsNull([Forms]![frmASRSSectInit].[CBRN_FinalTestReport]) _ Then [Forms]![frmASRSSectInit].[ysnCBRNTest] = -1 End If Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Mon Sep 13 13:11:43 2004 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 13 Sep 2004 14:11:43 -0400 Subject: [AccessD] OT: OE question In-Reply-To: <009a01c499b9$995a7be0$9865fea9@BILLONE> References: <009a01c499b9$995a7be0$9865fea9@BILLONE> Message-ID: On Mon, 13 Sep 2004 13:45:40 -0400, Susan Harkins wrote: > I'm using OE temporarily -- it won't allow attachments. I don't remember having this problem when I used it a few years ago. I've checked Help, the options -- how can I get my attachments? http://support.microsoft.com/?kbid=329570 will give you the steps to get at your attachments. -- 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 Mon Sep 13 13:24:43 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 13 Sep 2004 11:24:43 -0700 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: It's catching on in *our* trenches! I like working with it and our next major versions are going to be all VB.Net in part because it allows us to do things the clients want but that would have been difficult to impossible in Access. And it allows us to build Web-based interfaces for clients who want them without having to write different code for the Windows-based and web-based interfaces. I think that's worth the learning curve. Charlotte Foust -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, September 13, 2004 10:56 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Brett, <> I was in the same place several years ago. .Net was brand new and not much was around. I also wanted to get a standalone .EXE, get away from reference headaches with Access, etc. So I picked up VFP (Visual FoxPro). I must say I was disappointed at first because so many people I spoke with raved about it. While it had very strong database and OO capabilities, some of it was just plain junk. That's changed quite a bit as Microsoft has continued to add to the product. It has released two major versions since then with a third on the way. It too had a steep learning curve. <> I said that in light of the fact that .Net has been around for several years now and yet very few shops use it or are just getting into using it. Even Microsoft has said publicly that the response has been poor. They had to back off the whole .Net centric campaign and have refocused once again. And while that may have born some fruit, it seems for the most part that .Net is still not main stream. <> Been there done that and this isn't about that. I was mainly curious if .Net was catching on down in the trenches or still ho-hum. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ------------------------------------------------------------------------ ---- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pharold at proftesting.com Mon Sep 13 13:45:32 2004 From: pharold at proftesting.com (Perry Harold) Date: Mon, 13 Sep 2004 14:45:32 -0400 Subject: [AccessD] OT: OE question In-Reply-To: <009a01c499b9$995a7be0$9865fea9@BILLONE> Message-ID: <000a01c499c1$d96d18c0$082da8c0@D58BT131> In Options, Security tab is a check box to allow or disallow attachments. Perry Harold -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, September 13, 2004 1:46 PM To: AccessD Subject: [AccessD] OT: OE question I'm using OE temporarily -- it won't allow attachments. I don't remember having this problem when I used it a few years ago. I've checked Help, the options -- how can I get my attachments? Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pharold at proftesting.com Mon Sep 13 13:46:51 2004 From: pharold at proftesting.com (Perry Harold) Date: Mon, 13 Sep 2004 14:46:51 -0400 Subject: [AccessD] OT: OE question In-Reply-To: <009a01c499b9$995a7be0$9865fea9@BILLONE> Message-ID: <000b01c499c2$0885ad20$082da8c0@D58BT131> Sorry Tools, Options, Security then check or uncheck box. Perry Harold -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, September 13, 2004 1:46 PM To: AccessD Subject: [AccessD] OT: OE question I'm using OE temporarily -- it won't allow attachments. I don't remember having this problem when I used it a few years ago. I've checked Help, the options -- how can I get my attachments? Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Mon Sep 13 14:18:03 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Mon, 13 Sep 2004 15:18:03 -0400 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: <08F823FD83787D4BA0B99CA580AD3C74089B9A@TTNEXCHCL2.hshhp.com> FWIW and not to take anything away from .NET but you *can* use the same data access and biz rules code in VB and ASP apps via compliled code (aka dlls). One big plus for .NET in this arena is that a lot of the display code is either the same or similar between ASP.NET apps and WinForms apps (just look at the code to bind your data to a web grid or windows data grid. It's virtually the same). Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, September 13, 2004 2:25 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net It's catching on in *our* trenches! I like working with it and our next major versions are going to be all VB.Net in part because it allows us to do things the clients want but that would have been difficult to impossible in Access. And it allows us to build Web-based interfaces for clients who want them without having to write different code for the Windows-based and web-based interfaces. I think that's worth the learning curve. Charlotte Foust -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, September 13, 2004 10:56 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Brett, <> I was in the same place several years ago. .Net was brand new and not much was around. I also wanted to get a standalone .EXE, get away from reference headaches with Access, etc. So I picked up VFP (Visual FoxPro). I must say I was disappointed at first because so many people I spoke with raved about it. While it had very strong database and OO capabilities, some of it was just plain junk. That's changed quite a bit as Microsoft has continued to add to the product. It has released two major versions since then with a third on the way. It too had a steep learning curve. <> I said that in light of the fact that .Net has been around for several years now and yet very few shops use it or are just getting into using it. Even Microsoft has said publicly that the response has been poor. They had to back off the whole .Net centric campaign and have refocused once again. And while that may have born some fruit, it seems for the most part that .Net is still not main stream. <> Been there done that and this isn't about that. I was mainly curious if .Net was catching on down in the trenches or still ho-hum. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ------------------------------------------------------------------------ ---- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From ssharkins at bellsouth.net Mon Sep 13 13:28:17 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Mon, 13 Sep 2004 14:28:17 -0400 Subject: [AccessD] OT: OE question References: <08F823FD83787D4BA0B99CA580AD3C74089B99@TTNEXCHCL2.hshhp.com> Message-ID: <002701c499c7$efceb6e0$9865fea9@BILLONE> Thanks jim -- I did find it on Options -- Security -- don't know how I missed it before, but I did. Thanks! Susan H. > Susan, > > I can't recall the command but if you find the Options dialog you can enable allowing attachments from there. If you can't find it what I did until I found it was forward the message (but don't send) then open the attachnent from your unforwarded forward. > > Jim DeMarco > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Monday, September 13, 2004 1:46 PM > To: AccessD > Subject: [AccessD] OT: OE question > > > I'm using OE temporarily -- it won't allow attachments. I don't remember having this problem when I used it a few years ago. I've checked Help, the options -- how can I get my attachments? > > Susan H. > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > > **************************************************************************** ******* > "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > **************************************************************************** ******* > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Sep 13 15:42:03 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 13 Sep 2004 15:42:03 -0500 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB36D@main2.marlow.com> I think it's a matter of perception and scope. API's are second nature to me, so I don't see 'new' features of .Net, I just see repackaged capabilities. If you don't use API's (and know how to find them....(easiest way is to find one, and go up the tree and save it in Favorites as a Bookmark)), then you 'see' new features of .Net as new capabilities, instead of repackaged API's. Take the FileScriptingObject. Just a wrapper. A lot of what VB has native is faster then FSO, and with the API's, it's even faster (and more powerful). Case in point, Mike Mattys and I worked on a site together, which displays pictures of properties based on the MLS numbers. All of the pictures started with their MLS number, but could have anything after it (1, 4,6,whatever....). The site had to be in true ASP (no VB .dll's....though in retrospect, that condition disappeared...grin, cause I'm hosting the site....). In ASP, Dir is not an option. And in FSO, you can't 'search' for a conditional file. So if I wanted to find all of the pics for MLS 12345, with VB, I would use strTemp=Dir("C:\MyPath\12345*.jpg") and just repeat that until it returned an empty string. With FSO, I had two approaches. I had to try to find every possible 'combination', (12345-1, 12345-2), etc, and that took a while, with all of the files in the same folder. (because it went and loaded the files in the Files collection). Dir didn't have that problem. What I ended up doing was to just create an 'update' process that sorted everything into it's own subfolders. A lot more time on the update process, but it allowed the FSO to open a specific folder with only the applicable files. Same with .Net, they may be prepackaging everything, but don't be surprised if certain functionality isn't actually there.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 10:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net I'm not a vb6 programmer so I can't comment on that. However I am talking about prebuilt classes to do things. Look at the collection classes as an example. The class can be subclassed, but already has a ton of stuff already there. Also wrappers to windows API stuff. Things like encryption, and the like. I know it's a huge thing to learn but there are TONS of classes (end user classes) that allow you to do things natively that you'd be out searching the web for code to do in VB or Access. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, September 13, 2004 10:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MS Access to VB6 or VB.net Just curious JC, other then inheritance, what else have you found that make .NET that much more powerful then VB? I honestly didn't see anything. I want to know if I'm completely ignoring other capabilities. (I know about .Net's ability to create an NT Service and Command Line utility, but I write VB 6.0 NT Services blind folded now, and they run just fine. Never really had much use for a Command Line utility, either.....) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 9:04 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net >after a week long boot camp course, I firmly believe that it's the best tool for the job The primary function of boot camp is brainwashing. ;-) I went to boot camp, I know! However I agree with you, .net is a VERY powerful tool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marcus at tsstech.com Mon Sep 13 16:17:05 2004 From: marcus at tsstech.com (Scott Marcus) Date: Mon, 13 Sep 2004 17:17:05 -0400 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: Drew, Are you saying that .Net uses wrappers? The problem with API's is dll hell. My understanding of .Net is that .Net does not rely on those API's. What are you trying to say about searching a directory structure in ASP? Are you talking about ASP or ASP.Net? I've searched a directory structure using VB.Net and didn't have to try to find every possible combination of the file. I'm trying to understand your post. Please clarify. Scott Marcus -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, September 13, 2004 4:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MS Access to VB6 or VB.net I think it's a matter of perception and scope. API's are second nature to me, so I don't see 'new' features of .Net, I just see repackaged capabilities. If you don't use API's (and know how to find them....(easiest way is to find one, and go up the tree and save it in Favorites as a Bookmark)), then you 'see' new features of .Net as new capabilities, instead of repackaged API's. Take the FileScriptingObject. Just a wrapper. A lot of what VB has native is faster then FSO, and with the API's, it's even faster (and more powerful). Case in point, Mike Mattys and I worked on a site together, which displays pictures of properties based on the MLS numbers. All of the pictures started with their MLS number, but could have anything after it (1, 4,6,whatever....). The site had to be in true ASP (no VB .dll's....though in retrospect, that condition disappeared...grin, cause I'm hosting the site....). In ASP, Dir is not an option. And in FSO, you can't 'search' for a conditional file. So if I wanted to find all of the pics for MLS 12345, with VB, I would use strTemp=Dir("C:\MyPath\12345*.jpg") and just repeat that until it returned an empty string. With FSO, I had two approaches. I had to try to find every possible 'combination', (12345-1, 12345-2), etc, and that took a while, with all of the files in the same folder. (because it went and loaded the files in the Files collection). Dir didn't have that problem. What I ended up doing was to just create an 'update' process that sorted everything into it's own subfolders. A lot more time on the update process, but it allowed the FSO to open a specific folder with only the applicable files. Same with .Net, they may be prepackaging everything, but don't be surprised if certain functionality isn't actually there.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 10:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net I'm not a vb6 programmer so I can't comment on that. However I am talking about prebuilt classes to do things. Look at the collection classes as an example. The class can be subclassed, but already has a ton of stuff already there. Also wrappers to windows API stuff. Things like encryption, and the like. I know it's a huge thing to learn but there are TONS of classes (end user classes) that allow you to do things natively that you'd be out searching the web for code to do in VB or Access. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, September 13, 2004 10:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MS Access to VB6 or VB.net Just curious JC, other then inheritance, what else have you found that make .NET that much more powerful then VB? I honestly didn't see anything. I want to know if I'm completely ignoring other capabilities. (I know about .Net's ability to create an NT Service and Command Line utility, but I write VB 6.0 NT Services blind folded now, and they run just fine. Never really had much use for a Command Line utility, either.....) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 9:04 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net >after a week long boot camp course, I firmly believe that it's the best tool for the job The primary function of boot camp is brainwashing. ;-) I went to boot camp, I know! However I agree with you, .net is a VERY powerful tool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ------------------------------------------------------------------------ ---- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Sep 13 16:20:58 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 13 Sep 2004 14:20:58 -0700 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: I think you're just trying to get a "discussion" going, Drew. Nobody said you had to agree or switch. Charlotte Foust -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Monday, September 13, 2004 1:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MS Access to VB6 or VB.net I think it's a matter of perception and scope. API's are second nature to me, so I don't see 'new' features of .Net, I just see repackaged capabilities. If you don't use API's (and know how to find them....(easiest way is to find one, and go up the tree and save it in Favorites as a Bookmark)), then you 'see' new features of .Net as new capabilities, instead of repackaged API's. Take the FileScriptingObject. Just a wrapper. A lot of what VB has native is faster then FSO, and with the API's, it's even faster (and more powerful). Case in point, Mike Mattys and I worked on a site together, which displays pictures of properties based on the MLS numbers. All of the pictures started with their MLS number, but could have anything after it (1, 4,6,whatever....). The site had to be in true ASP (no VB .dll's....though in retrospect, that condition disappeared...grin, cause I'm hosting the site....). In ASP, Dir is not an option. And in FSO, you can't 'search' for a conditional file. So if I wanted to find all of the pics for MLS 12345, with VB, I would use strTemp=Dir("C:\MyPath\12345*.jpg") and just repeat that until it returned an empty string. With FSO, I had two approaches. I had to try to find every possible 'combination', (12345-1, 12345-2), etc, and that took a while, with all of the files in the same folder. (because it went and loaded the files in the Files collection). Dir didn't have that problem. What I ended up doing was to just create an 'update' process that sorted everything into it's own subfolders. A lot more time on the update process, but it allowed the FSO to open a specific folder with only the applicable files. Same with .Net, they may be prepackaging everything, but don't be surprised if certain functionality isn't actually there.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 10:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net I'm not a vb6 programmer so I can't comment on that. However I am talking about prebuilt classes to do things. Look at the collection classes as an example. The class can be subclassed, but already has a ton of stuff already there. Also wrappers to windows API stuff. Things like encryption, and the like. I know it's a huge thing to learn but there are TONS of classes (end user classes) that allow you to do things natively that you'd be out searching the web for code to do in VB or Access. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, September 13, 2004 10:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MS Access to VB6 or VB.net Just curious JC, other then inheritance, what else have you found that make .NET that much more powerful then VB? I honestly didn't see anything. I want to know if I'm completely ignoring other capabilities. (I know about .Net's ability to create an NT Service and Command Line utility, but I write VB 6.0 NT Services blind folded now, and they run just fine. Never really had much use for a Command Line utility, either.....) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 9:04 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net >after a week long boot camp course, I firmly believe that it's the best tool for the job The primary function of boot camp is brainwashing. ;-) I went to boot camp, I know! However I agree with you, .net is a VERY powerful tool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ------------------------------------------------------------------------ ---- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marcus at tsstech.com Mon Sep 13 16:27:33 2004 From: marcus at tsstech.com (Scott Marcus) Date: Mon, 13 Sep 2004 17:27:33 -0400 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: Drew, Because I'm leaving for the day, here is code that easily finds all files in the root directory matching a pattern using .Net. In this case I'm looking for pdf files to process... ' Get list of pdf files to process from the input path Dim pdfDirectory As String() = Directory.GetFiles("C:\", "*.pdf") Dim pdfFile As String For Each pdfFile In pdfDirectory ProcessPDF(pdfFile) Next pdfFile -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Scott Marcus Sent: Monday, September 13, 2004 5:17 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Drew, Are you saying that .Net uses wrappers? The problem with API's is dll hell. My understanding of .Net is that .Net does not rely on those API's. What are you trying to say about searching a directory structure in ASP? Are you talking about ASP or ASP.Net? I've searched a directory structure using VB.Net and didn't have to try to find every possible combination of the file. I'm trying to understand your post. Please clarify. Scott Marcus -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, September 13, 2004 4:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MS Access to VB6 or VB.net I think it's a matter of perception and scope. API's are second nature to me, so I don't see 'new' features of .Net, I just see repackaged capabilities. If you don't use API's (and know how to find them....(easiest way is to find one, and go up the tree and save it in Favorites as a Bookmark)), then you 'see' new features of .Net as new capabilities, instead of repackaged API's. Take the FileScriptingObject. Just a wrapper. A lot of what VB has native is faster then FSO, and with the API's, it's even faster (and more powerful). Case in point, Mike Mattys and I worked on a site together, which displays pictures of properties based on the MLS numbers. All of the pictures started with their MLS number, but could have anything after it (1, 4,6,whatever....). The site had to be in true ASP (no VB .dll's....though in retrospect, that condition disappeared...grin, cause I'm hosting the site....). In ASP, Dir is not an option. And in FSO, you can't 'search' for a conditional file. So if I wanted to find all of the pics for MLS 12345, with VB, I would use strTemp=Dir("C:\MyPath\12345*.jpg") and just repeat that until it returned an empty string. With FSO, I had two approaches. I had to try to find every possible 'combination', (12345-1, 12345-2), etc, and that took a while, with all of the files in the same folder. (because it went and loaded the files in the Files collection). Dir didn't have that problem. What I ended up doing was to just create an 'update' process that sorted everything into it's own subfolders. A lot more time on the update process, but it allowed the FSO to open a specific folder with only the applicable files. Same with .Net, they may be prepackaging everything, but don't be surprised if certain functionality isn't actually there.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 10:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net I'm not a vb6 programmer so I can't comment on that. However I am talking about prebuilt classes to do things. Look at the collection classes as an example. The class can be subclassed, but already has a ton of stuff already there. Also wrappers to windows API stuff. Things like encryption, and the like. I know it's a huge thing to learn but there are TONS of classes (end user classes) that allow you to do things natively that you'd be out searching the web for code to do in VB or Access. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, September 13, 2004 10:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MS Access to VB6 or VB.net Just curious JC, other then inheritance, what else have you found that make .NET that much more powerful then VB? I honestly didn't see anything. I want to know if I'm completely ignoring other capabilities. (I know about .Net's ability to create an NT Service and Command Line utility, but I write VB 6.0 NT Services blind folded now, and they run just fine. Never really had much use for a Command Line utility, either.....) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 9:04 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net >after a week long boot camp course, I firmly believe that it's the best tool for the job The primary function of boot camp is brainwashing. ;-) I went to boot camp, I know! However I agree with you, .net is a VERY powerful tool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ------------------------------------------------------------------------ ---- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Sep 13 17:06:01 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 13 Sep 2004 17:06:01 -0500 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB370@main2.marlow.com> LOL. Not really. Just pointing out that there are differences between NEW features, and repackaged features. OOP is definitely a new feature. The ability to make an NT Service is not new, just repackaged. The discussion was already going, about how people felt about .NET. A lot of VB 6.0's capabilities are not 'visible' as features. With API's, you can do practically anything.....practically. I saw a post about the new version of ADO being faster, I am going to have to look into that.....because that certainly would be an advantage. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, September 13, 2004 4:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net I think you're just trying to get a "discussion" going, Drew. Nobody said you had to agree or switch. Charlotte Foust -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Monday, September 13, 2004 1:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MS Access to VB6 or VB.net I think it's a matter of perception and scope. API's are second nature to me, so I don't see 'new' features of .Net, I just see repackaged capabilities. If you don't use API's (and know how to find them....(easiest way is to find one, and go up the tree and save it in Favorites as a Bookmark)), then you 'see' new features of .Net as new capabilities, instead of repackaged API's. Take the FileScriptingObject. Just a wrapper. A lot of what VB has native is faster then FSO, and with the API's, it's even faster (and more powerful). Case in point, Mike Mattys and I worked on a site together, which displays pictures of properties based on the MLS numbers. All of the pictures started with their MLS number, but could have anything after it (1, 4,6,whatever....). The site had to be in true ASP (no VB .dll's....though in retrospect, that condition disappeared...grin, cause I'm hosting the site....). In ASP, Dir is not an option. And in FSO, you can't 'search' for a conditional file. So if I wanted to find all of the pics for MLS 12345, with VB, I would use strTemp=Dir("C:\MyPath\12345*.jpg") and just repeat that until it returned an empty string. With FSO, I had two approaches. I had to try to find every possible 'combination', (12345-1, 12345-2), etc, and that took a while, with all of the files in the same folder. (because it went and loaded the files in the Files collection). Dir didn't have that problem. What I ended up doing was to just create an 'update' process that sorted everything into it's own subfolders. A lot more time on the update process, but it allowed the FSO to open a specific folder with only the applicable files. Same with .Net, they may be prepackaging everything, but don't be surprised if certain functionality isn't actually there.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 10:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net I'm not a vb6 programmer so I can't comment on that. However I am talking about prebuilt classes to do things. Look at the collection classes as an example. The class can be subclassed, but already has a ton of stuff already there. Also wrappers to windows API stuff. Things like encryption, and the like. I know it's a huge thing to learn but there are TONS of classes (end user classes) that allow you to do things natively that you'd be out searching the web for code to do in VB or Access. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, September 13, 2004 10:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MS Access to VB6 or VB.net Just curious JC, other then inheritance, what else have you found that make .NET that much more powerful then VB? I honestly didn't see anything. I want to know if I'm completely ignoring other capabilities. (I know about .Net's ability to create an NT Service and Command Line utility, but I write VB 6.0 NT Services blind folded now, and they run just fine. Never really had much use for a Command Line utility, either.....) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 9:04 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net >after a week long boot camp course, I firmly believe that it's the best tool for the job The primary function of boot camp is brainwashing. ;-) I went to boot camp, I know! However I agree with you, .net is a VERY powerful tool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ------------------------------------------------------------------------ ---- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Sep 13 17:11:35 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 13 Sep 2004 17:11:35 -0500 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB371@main2.marlow.com> I can't honestly give you an exact answer, because I wasn't involved in the development of .Net, but it certainly wouldn't make sense for .Net to include extra code to handle the same things that API's handle. If it included all of that code, it would be monstrous! As for searching a directory, I was talking about FSO, FileScriptingObject, which you can use in VBScript. You can't use Dir, in ASP (3.0??). It's not allowed. FSO doesn't have a 'searching' feature, other then running through a directory. That can take a LOT of time, if you have tens of thousands of files on your system. FSO is just a 'wrapper' over what you can do with Dir and other direct VB commands, along with API's, but with using the lower level tools, you have a lot more options at your finger tips. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Scott Marcus Sent: Monday, September 13, 2004 4:17 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Drew, Are you saying that .Net uses wrappers? The problem with API's is dll hell. My understanding of .Net is that .Net does not rely on those API's. What are you trying to say about searching a directory structure in ASP? Are you talking about ASP or ASP.Net? I've searched a directory structure using VB.Net and didn't have to try to find every possible combination of the file. I'm trying to understand your post. Please clarify. Scott Marcus -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, September 13, 2004 4:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MS Access to VB6 or VB.net I think it's a matter of perception and scope. API's are second nature to me, so I don't see 'new' features of .Net, I just see repackaged capabilities. If you don't use API's (and know how to find them....(easiest way is to find one, and go up the tree and save it in Favorites as a Bookmark)), then you 'see' new features of .Net as new capabilities, instead of repackaged API's. Take the FileScriptingObject. Just a wrapper. A lot of what VB has native is faster then FSO, and with the API's, it's even faster (and more powerful). Case in point, Mike Mattys and I worked on a site together, which displays pictures of properties based on the MLS numbers. All of the pictures started with their MLS number, but could have anything after it (1, 4,6,whatever....). The site had to be in true ASP (no VB .dll's....though in retrospect, that condition disappeared...grin, cause I'm hosting the site....). In ASP, Dir is not an option. And in FSO, you can't 'search' for a conditional file. So if I wanted to find all of the pics for MLS 12345, with VB, I would use strTemp=Dir("C:\MyPath\12345*.jpg") and just repeat that until it returned an empty string. With FSO, I had two approaches. I had to try to find every possible 'combination', (12345-1, 12345-2), etc, and that took a while, with all of the files in the same folder. (because it went and loaded the files in the Files collection). Dir didn't have that problem. What I ended up doing was to just create an 'update' process that sorted everything into it's own subfolders. A lot more time on the update process, but it allowed the FSO to open a specific folder with only the applicable files. Same with .Net, they may be prepackaging everything, but don't be surprised if certain functionality isn't actually there.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 10:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net I'm not a vb6 programmer so I can't comment on that. However I am talking about prebuilt classes to do things. Look at the collection classes as an example. The class can be subclassed, but already has a ton of stuff already there. Also wrappers to windows API stuff. Things like encryption, and the like. I know it's a huge thing to learn but there are TONS of classes (end user classes) that allow you to do things natively that you'd be out searching the web for code to do in VB or Access. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, September 13, 2004 10:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MS Access to VB6 or VB.net Just curious JC, other then inheritance, what else have you found that make .NET that much more powerful then VB? I honestly didn't see anything. I want to know if I'm completely ignoring other capabilities. (I know about .Net's ability to create an NT Service and Command Line utility, but I write VB 6.0 NT Services blind folded now, and they run just fine. Never really had much use for a Command Line utility, either.....) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 9:04 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net >after a week long boot camp course, I firmly believe that it's the best tool for the job The primary function of boot camp is brainwashing. ;-) I went to boot camp, I know! However I agree with you, .net is a VERY powerful tool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ------------------------------------------------------------------------ ---- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Mon Sep 13 17:20:32 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Mon, 13 Sep 2004 16:20:32 -0600 Subject: [AccessD] Hack Requested - Increase Combo Box Button Size? Message-ID: <198030-22004911322203266@christopherhawkins.com> I suppose the title says it all. I know there are various hacks for playing with the window sizes of everything, but I need to be surgical - I am creating an interface for a touch-screen computer, and it requires the use of a combo box. I need a way to fatten the combo box button and the scroll bar buttons. Has anyone done this before? Either prewritten code or a link in the right direction would be appreciated. -Christopher- Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From stuart at lexacorp.com.pg Mon Sep 13 17:45:23 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 14 Sep 2004 08:45:23 +1000 Subject: [AccessD] MS Access to VB6 or VB.net In-Reply-To: Message-ID: <4146AFA3.32317.17976553@lexacorp.com.pg> On 13 Sep 2004 at 17:17, Scott Marcus wrote: > Drew, > > Are you saying that .Net uses wrappers? > > The problem with API's is dll hell. There's no DLL hell with the API. The Win32 API uses system DLLS which are backward compatible between Windows versions. The majority of API calls work for every version of WIndows from W95 on including all of the most commonly used APIs. If you want to use an API feature that is limited to certain OS versions, you just need to check the OSVersion first. -- Stuart From martyconnelly at shaw.ca Mon Sep 13 15:39:39 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 13 Sep 2004 13:39:39 -0700 Subject: [AccessD] OT: OE question References: <08F823FD83787D4BA0B99CA580AD3C74089B99@TTNEXCHCL2.hshhp.com> <002701c499c7$efceb6e0$9865fea9@BILLONE> Message-ID: <4146058B.1070100@shaw.ca> Good site for Outlook Express FAQ's http://insideoe.tomsterdam.com/ Susan Harkins wrote: >Thanks jim -- I did find it on Options -- Security -- don't know how I >missed it before, but I did. Thanks! > >Susan H. > > > > >>Susan, >> >>I can't recall the command but if you find the Options dialog you can >> >> >enable allowing attachments from there. If you can't find it what I did >until I found it was forward the message (but don't send) then open the >attachnent from your unforwarded forward. > > >>Jim DeMarco >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins >>Sent: Monday, September 13, 2004 1:46 PM >>To: AccessD >>Subject: [AccessD] OT: OE question >> >> >>I'm using OE temporarily -- it won't allow attachments. I don't remember >> >> >having this problem when I used it a few years ago. I've checked Help, the >options -- how can I get my attachments? > > >>Susan H. >>-- >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> >> >> >> >> >> >> >**************************************************************************** >******* > > >>"This electronic message is intended to be for the use only of the named >> >> >recipient, and may contain information from Hudson Health Plan (HHP) that is >confidential or privileged. If you are not the intended recipient, you are >hereby notified that any disclosure, copying, distribution or use of the >contents of this message is strictly prohibited. If you have received this >message in error or are not the named recipient, please notify us >immediately, either by contacting the sender at the electronic mail address >noted above or calling HHP at (914) 631-1611. If you are not the intended >recipient, please do not forward this email to anyone, and delete and >destroy all copies of this message. Thank You". > > >**************************************************************************** >******* > > >>-- >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Mon Sep 13 15:57:17 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 13 Sep 2004 13:57:17 -0700 Subject: [AccessD] MS Access to VB6 or VB.net References: <08F823FD83787D4BA0B99CA580AD3C74089B9A@TTNEXCHCL2.hshhp.com> Message-ID: <414609AD.8020307@shaw.ca> One thing that may start to be difficult is linking the Crypto Api for WSE 2.0 (new methods for securing WebServices). You just call the classes in .Net but it is a real ouch in VB6 or Access if you have to handle encryption of Web Services from scratch. Jim DeMarco wrote: >FWIW and not to take anything away from .NET but you *can* use the same data access and biz rules code in VB and ASP apps via compliled code (aka dlls). One big plus for .NET in this arena is that a lot of the display code is either the same or similar between ASP.NET apps and WinForms apps (just look at the code to bind your data to a web grid or windows data grid. It's virtually the same). > >Jim DeMarco > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte >Foust >Sent: Monday, September 13, 2004 2:25 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] MS Access to VB6 or VB.net > > >It's catching on in *our* trenches! I like working with it and our next >major versions are going to be all VB.Net in part because it allows us >to do things the clients want but that would have been difficult to >impossible in Access. And it allows us to build Web-based interfaces >for clients who want them without having to write different code for the >Windows-based and web-based interfaces. I think that's worth the >learning curve. > >Charlotte Foust > > >-----Original Message----- >From: Jim Dettman [mailto:jimdettman at earthlink.net] >Sent: Monday, September 13, 2004 10:56 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] MS Access to VB6 or VB.net > > >Brett, > ><to me that the new OO capabilities of .NET would be worth the learning >curve.>> > > I was in the same place several years ago. .Net was brand new and not >much was around. I also wanted to get a standalone .EXE, get away from >reference headaches with Access, etc. So I picked up VFP (Visual >FoxPro). I must say I was disappointed at first because so many people I >spoke with raved about it. While it had very strong database and OO >capabilities, some of it was just plain junk. That's changed quite a >bit as Microsoft has continued to add to the product. It has released >two major versions since then with a third on the way. It too had a >steep learning curve. > ><wouldn't say that it has been "poorly received". It's getting tough to >find VB6 articles in print or online.>> > > I said that in light of the fact that .Net has been around for several >years now and yet very few shops use it or are just getting into using >it. Even Microsoft has said publicly that the response has been poor. >They had to back off the whole .Net centric campaign and have refocused >once again. And while that may have born some fruit, it seems for the >most part that .Net is still not main stream. > ><I'll save it this time. However, after a week long boot camp course, I >firmly believe that it's the best tool for the job, regardless of how >many other developers agree.>> > > Been there done that and this isn't about that. I was mainly >curious if .Net was catching on down in the trenches or still ho-hum. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash >Sent: Monday, September 13, 2004 9:41 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] MS Access to VB6 or VB.net > > >#2. >When evaluating dev tools for an upcoming project, it became apparent to >me that the new OO capabilities of .NET would be worth the learning >curve. > >Judging by the developer journals and 3rd party tool developers, I >wouldn't say that it has been "poorly received". It's getting tough to >find VB6 articles in print or online. > >I've already gotten into the "which is better" war on this list, so I'll >save it this time. However, after a week long boot camp course, I >firmly believe that it's the best tool for the job, regardless of how >many other developers agree. > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman >Sent: Monday, September 13, 2004 7:45 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] MS Access to VB6 or VB.net > > >Richard, > > I think rather then the worrying about the front end, you should be >considering the BE and the technology behind it. However without >knowing a lot more about your app, it's hard to say if that's critical >or not. Also, you didn't mention why you were considering moving from >developing the FE in Access itself. > > As for VB.Net, I've been ignoring it for the most part for some of the >same reasons you outline (distribution) plus the fact that it has a >large learning curve. I can't see spending the time on that when I >already have tools at my disposal that do the job fine. And I'm not the >only one. Overall it seems that .Net has been poorly received by the >development community. Most developers I know are happy (for the most >part) with what they already have/know. Of course a lot depends on the >types of apps you develop and the end users you target. I think most of >us on this list are on the smaller end of the scale developing typical >business type apps for 50 concurrent users or less. > > How about a quick un-scientific poll? > >1. Do you currently develop in .Net (you know it and use it on a regular >basis) >2. Are you learning .Net for a project (your just starting out with it >and have done a small project or two). 3. Don't know anything about it, >but are interested in it. 4. Could care less. > > I'm firmly at #4 for the moment. > >Jim Dettman >(315) 699-3443 >jimdettman at earthlink.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, >Richard >Sent: Monday, September 13, 2004 5:20 AM >To: AccessD at databaseadvisors.com >Subject: [AccessD] MS Access to VB6 or VB.net > > >Hi Group > >After advice and thoughts. I have a piece of commercial software >(library s/ware for schools) written with A97 FE and BE. I am about to >rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K >BE.(reason for change to VB as opposed to MS Access is that the VB >footprint will be smaller 1-2mb [easier to email/download and manage >than my 12-13 mb Access FE]). > >On one hand the VB6 route will be quicker to develop (no learning curve) >and I think to deploy. On the other hand VB.Net is the future (most >likely!!)(and learning and developing in this will be more interesting >and will spur me on) but I am concerned (mainly) about deployment as my >users are not very IT literate and their pc's (at this time) are not >up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on >W95). So deployment of .net requires not only the framework but they >need minimal Data Access 2.7, IE 5.01, Windows installer etc also >installed. But 6-12 months down the line I don't want to be in the >posistion that having used VB6 to then consider rewriting in Vb.net. > >What I can't gauge here is how significant these issues are (and any >other issues). So what I am hoping to get here is how you would >approach this conundrum - tried and tested VB6 or new VB.net? > >Thanks > >Richard > > >------------------------------------------------------------------------ >---- >---------------------------------------- >The information in this email may contain confidential information that >is legally privileged. The information is only for the use of the >intended >recipient(s) named above. If you are not the intended recipient(s), you >are hereby notified that any disclosure, copying, distribution, or the >taking of any action in regard to the content of this email is strictly >prohibited. If transmission is incorrect, unclear, or incomplete, please >notify the sender immediately. The authorized recipient(s) of this >information is/are prohibited from disclosing this information to any >other party and is/are required to destroy the information after its >stated need has been fulfilled. > >Any views expressed in this message are those of the individual sender, >except where the sender specifies and with authority, states them to be >the views of Tappe Construction Co. > >This footer also confirms that this email message has been scanned for >the presence of computer viruses.Scanning of this message and addition >of this footer is performed by SurfControl E-mail Filter software in >conjunction with virus detection software. > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > > -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Mon Sep 13 16:21:29 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 13 Sep 2004 14:21:29 -0700 Subject: [AccessD] MS Access to VB6 or VB.net In-Reply-To: Message-ID: Hi Jim: I have been wandering around the .NET pool for some time. This fall I have finally made the commitment to take up diving. A full POS and part accounting package by Christmas. It will be either sink or swim on this one. I do remember the original Access 1, a good start but a long way from a full product. I do not think until A97 we had a product to crow about...a good five years from start to market acceptance. .Net will probably be the same and I believe M$ is committed... Microsoft never had free leatures, gave away documentation and copies of standard FP. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 10:56 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Brett, <> I was in the same place several years ago. .Net was brand new and not much was around. I also wanted to get a standalone .EXE, get away from reference headaches with Access, etc. So I picked up VFP (Visual FoxPro). I must say I was disappointed at first because so many people I spoke with raved about it. While it had very strong database and OO capabilities, some of it was just plain junk. That's changed quite a bit as Microsoft has continued to add to the product. It has released two major versions since then with a third on the way. It too had a steep learning curve. <> I said that in light of the fact that .Net has been around for several years now and yet very few shops use it or are just getting into using it. Even Microsoft has said publicly that the response has been poor. They had to back off the whole .Net centric campaign and have refocused once again. And while that may have born some fruit, it seems for the most part that .Net is still not main stream. <> Been there done that and this isn't about that. I was mainly curious if .Net was catching on down in the trenches or still ho-hum. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Mon Sep 13 18:07:05 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Mon, 13 Sep 2004 17:07:05 -0600 Subject: [AccessD] Outlook security and SendObject? Message-ID: <186970-2200491132375633@christopherhawkins.com> I've been struggling with an app that uses the SendObject command to send eMail from within an Access app. My client is VERY frustrated with the additional delay that Outlook security builds in, having to click 'OK' and then wait for the progress bar every time the app needs to generate an eMail. I was just reading this article: http://support.microsoft.com/default.aspx?scid=kb;EN-US;262701 That outlines dome of the developer issues regarding Outlook security. But it did not offer an concrete workarounds aside form a mention that an administrator can grant a user sufficient permissions to ignore the new security. I guess if you could programatically defeat it, it wouldn't be security. ;) Surely I am not the only one who has to deal with an app that send eMail? There must be a way to avoid the additional wait and mouse clicks that Outlook security requires. Anyone dealt with this before? -C- Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From cfoust at infostatsystems.com Mon Sep 13 18:11:12 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 13 Sep 2004 16:11:12 -0700 Subject: [AccessD] Outlook security and SendObject? Message-ID: We've had numerous discussions on this topic. Many of us use Redemption (http://dimastr.com/redemption/home.htm) to handle this, since it uses extended MAPI calls and bypasses the security holes in Outlook. Another option is ClickYes. Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, September 13, 2004 4:07 PM To: accessd at databaseadvisors.com Subject: [AccessD] Outlook security and SendObject? I've been struggling with an app that uses the SendObject command to send eMail from within an Access app. My client is VERY frustrated with the additional delay that Outlook security builds in, having to click 'OK' and then wait for the progress bar every time the app needs to generate an eMail. I was just reading this article: http://support.microsoft.com/default.aspx?scid=kb;EN-US;262701 That outlines dome of the developer issues regarding Outlook security. But it did not offer an concrete workarounds aside form a mention that an administrator can grant a user sufficient permissions to ignore the new security. I guess if you could programatically defeat it, it wouldn't be security. ;) Surely I am not the only one who has to deal with an app that send eMail? There must be a way to avoid the additional wait and mouse clicks that Outlook security requires. Anyone dealt with this before? -C- Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Mon Sep 13 20:08:30 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Mon, 13 Sep 2004 18:08:30 -0700 Subject: [AccessD] Outlook security and SendObject? In-Reply-To: References: Message-ID: and yet another option is blat... you can configure your application to use their email settings to auto-send messages, w/ blat you can even send attachments, you can find an example on how to set it up here: http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tapia,Francisco On Mon, 13 Sep 2004 16:11:12 -0700, Charlotte Foust wrote: > We've had numerous discussions on this topic. Many of us use Redemption > (http://dimastr.com/redemption/home.htm) to handle this, since it uses > extended MAPI calls and bypasses the security holes in Outlook. Another > option is ClickYes. > > Charlotte Foust > > > > > -----Original Message----- > From: Christopher Hawkins [mailto:clh at christopherhawkins.com] > Sent: Monday, September 13, 2004 4:07 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Outlook security and SendObject? > > I've been struggling with an app that uses the SendObject command to > send eMail from within an Access app. My client is VERY frustrated with > the additional delay that Outlook security builds in, having to click > 'OK' and then wait for the progress bar every time the app needs to > generate an eMail. > > I was just reading this article: > http://support.microsoft.com/default.aspx?scid=kb;EN-US;262701 > > That outlines dome of the developer issues regarding Outlook security. > But it did not offer an concrete workarounds aside form a mention that > an administrator can grant a user sufficient permissions to ignore the > new security. I guess if you could programatically defeat it, it > wouldn't be security. ;) > > Surely I am not the only one who has to deal with an app that send > eMail? There must be a way to avoid the additional wait and mouse > clicks that Outlook security requires. Anyone dealt with this before? > > -C- > Respectfully, > > Christopher Hawkins > Software Developer > (559) 687-7591 > http://www.christopherhawkins.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From KP at sdsonline.net Mon Sep 13 20:13:21 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 14 Sep 2004 11:13:21 +1000 Subject: [AccessD] Urgent help please - Can't open html page in Frontpage from Access form Message-ID: <003b01c499f8$074c8150$6501a8c0@user> I have wasted ages on this so am now begging assistance........ I have an html file (empty at present - later it will have some basic text) I need to my code to - Make a copy of the template.html file (I can do that) and - give it a new name, eg. Template_BHP_140904.html (I can do that) - Open the html file just created in Frontpage for users to modify the document (That's where I'm stuck....) My problem is a total lack of knowledge of files vs. webs and therefore the syntax I need. Questions: - - Do I have to have a 'web' or 'web folder' - can't I just have an html file and open it? - If I can, what is the alternative syntax to .webs.open - eg. I am looking for a .pages.open property or .files.open ? Here's my code so far - when I run it I get an error - There is no web named "/E:/SDS/Clients/CPP/WebLetters/Template.html" -------------------------------------------------------------------------------- Private Sub CmdOpenFP_Click() Dim oFPweb As FrontPage.Web Dim oFP As FrontPage.Application Dim FrontPageRunning As Boolean 'Determine whether FrontPage is alredy open or not FrontPageRunning = IsFrontPageRunning() If Not FrontPageRunning Then MsgBox ("Frontpage is Closed") Set oFP = CreateObject("Frontpage.Application") Else MsgBox ("Frontpage is already open") Set oFP = GetObject(, "Frontpage.Application") End If 'add code here later to make a copy of my file 'open file in front page------------------------------------------------ oFP.Webs.Open ("E:\Sds\Clients\CPP\Webletters\template.html") 'STUCK HERE ' Show FrontPage oFPweb.Activate 'Set oFP = Nothing End Sub -------------------------------------------------------------------------------- TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net From ebarro at afsweb.com Mon Sep 13 20:31:46 2004 From: ebarro at afsweb.com (Eric Barro) Date: Mon, 13 Sep 2004 18:31:46 -0700 Subject: [AccessD] Urgent help please - Can't open html page in Frontpagefrom Access form In-Reply-To: <003b01c499f8$074c8150$6501a8c0@user> Message-ID: Kath, FP webs expect to open these web folders in reference to the web root folder in IIS. For example: You have IIS (web server) running on the machine and you have a web called MYWEB. IIS sees this as http://localhost/MYWEB. The physical location (assuming the web root is C:\INETPUB\WWWROOT) is C:\INETPUB\WWWROOT\MYWEB\. So...if MYWEB is in a different folder...say C:\INETPUB\WWWROOT\ANOTHERFOLDER\MYWEB\ FP won't be able to recognize that as a web location. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Monday, September 13, 2004 6:13 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Urgent help please - Can't open html page in Frontpagefrom Access form I have wasted ages on this so am now begging assistance........ I have an html file (empty at present - later it will have some basic text) I need to my code to - Make a copy of the template.html file (I can do that) and - give it a new name, eg. Template_BHP_140904.html (I can do that) - Open the html file just created in Frontpage for users to modify the document (That's where I'm stuck....) My problem is a total lack of knowledge of files vs. webs and therefore the syntax I need. Questions: - - Do I have to have a 'web' or 'web folder' - can't I just have an html file and open it? - If I can, what is the alternative syntax to .webs.open - eg. I am looking for a .pages.open property or .files.open ? Here's my code so far - when I run it I get an error - There is no web named "/E:/SDS/Clients/CPP/WebLetters/Template.html" -------------------------------------------------------------------------------- Private Sub CmdOpenFP_Click() Dim oFPweb As FrontPage.Web Dim oFP As FrontPage.Application Dim FrontPageRunning As Boolean 'Determine whether FrontPage is alredy open or not FrontPageRunning = IsFrontPageRunning() If Not FrontPageRunning Then MsgBox ("Frontpage is Closed") Set oFP = CreateObject("Frontpage.Application") Else MsgBox ("Frontpage is already open") Set oFP = GetObject(, "Frontpage.Application") End If 'add code here later to make a copy of my file 'open file in front page------------------------------------------------ oFP.Webs.Open ("E:\Sds\Clients\CPP\Webletters\template.html") 'STUCK HERE ' Show FrontPage oFPweb.Activate 'Set oFP = Nothing End Sub -------------------------------------------------------------------------------- TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ebarro at afsweb.com Mon Sep 13 20:57:43 2004 From: ebarro at afsweb.com (Eric Barro) Date: Mon, 13 Sep 2004 18:57:43 -0700 Subject: [AccessD] Outlook security and SendObject? In-Reply-To: Message-ID: Another good reason to migrate to .NET. Incorporating e-mail functionality is a breeze. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco Tapia Sent: Monday, September 13, 2004 6:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Outlook security and SendObject? and yet another option is blat... you can configure your application to use their email settings to auto-send messages, w/ blat you can even send attachments, you can find an example on how to set it up here: http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tapia,Francisco On Mon, 13 Sep 2004 16:11:12 -0700, Charlotte Foust wrote: > We've had numerous discussions on this topic. Many of us use Redemption > (http://dimastr.com/redemption/home.htm) to handle this, since it uses > extended MAPI calls and bypasses the security holes in Outlook. Another > option is ClickYes. > > Charlotte Foust > > > > > -----Original Message----- > From: Christopher Hawkins [mailto:clh at christopherhawkins.com] > Sent: Monday, September 13, 2004 4:07 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Outlook security and SendObject? > > I've been struggling with an app that uses the SendObject command to > send eMail from within an Access app. My client is VERY frustrated with > the additional delay that Outlook security builds in, having to click > 'OK' and then wait for the progress bar every time the app needs to > generate an eMail. > > I was just reading this article: > http://support.microsoft.com/default.aspx?scid=kb;EN-US;262701 > > That outlines dome of the developer issues regarding Outlook security. > But it did not offer an concrete workarounds aside form a mention that > an administrator can grant a user sufficient permissions to ignore the > new security. I guess if you could programatically defeat it, it > wouldn't be security. ;) > > Surely I am not the only one who has to deal with an app that send > eMail? There must be a way to avoid the additional wait and mouse > clicks that Outlook security requires. Anyone dealt with this before? > > -C- > Respectfully, > > Christopher Hawkins > Software Developer > (559) 687-7591 > http://www.christopherhawkins.com From michael.mattys at adelphia.net Mon Sep 13 21:04:36 2004 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Mon, 13 Sep 2004 22:04:36 -0400 Subject: [AccessD] Hack Requested - Increase Combo Box Button Size? References: <198030-22004911322203266@christopherhawkins.com> Message-ID: <023201c499ff$305df270$6401a8c0@default> ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Monday, September 13, 2004 6:20 PM Subject: [AccessD] Hack Requested - Increase Combo Box Button Size? > I suppose the title says it all. I know there are various hacks for > playing with the window sizes of everything, but I need to be > surgical - I am creating an interface for a touch-screen computer, > and it requires the use of a combo box. > > I need a way to fatten the combo box button and the scroll bar > buttons. Has anyone done this before? Either prewritten code or a > link in the right direction would be appreciated. > Christopher, If you don't get any other answers, try creating your own using a combination of commandbutton, textbox, and a listbox. It should be easy enough, if you're familiar with it, to create a WithEvents class to handle click events for Dropdown, Visible, NotInList, etc. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From clh at christopherhawkins.com Mon Sep 13 23:39:57 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Mon, 13 Sep 2004 22:39:57 -0600 Subject: [AccessD] Hack Requested - Increase Combo Box Button Size? Message-ID: <410-22004921443957342@christopherhawkins.com> I thought about that, but...eeeeeeew. ;) -C- ---- Original Message ---- From: michael.mattys at adelphia.net To: accessd at databaseadvisors.com, Subject: Re: [AccessD] Hack Requested - Increase Combo Box Button Size? Date: Mon, 13 Sep 2004 22:04:36 -0400 >----- Original Message ----- >From: "Christopher Hawkins" >To: >Sent: Monday, September 13, 2004 6:20 PM >Subject: [AccessD] Hack Requested - Increase Combo Box Button Size? > > >> I suppose the title says it all. I know there are various hacks >for >> playing with the window sizes of everything, but I need to be >> surgical - I am creating an interface for a touch-screen computer, >> and it requires the use of a combo box. >> >> I need a way to fatten the combo box button and the scroll bar >> buttons. Has anyone done this before? Either prewritten code or a >> link in the right direction would be appreciated. >> > >Christopher, > > >If you don't get any other answers, try creating your own using a >combination of commandbutton, textbox, and a listbox. > >It should be easy enough, if you're familiar with it, >to create a WithEvents class to handle click events >for Dropdown, Visible, NotInList, etc. > >---- > >Michael R. Mattys >Mattys MapLib for Microsoft MapPoint >http://www.mattysconsulting.com >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From gustav at cactus.dk Tue Sep 14 03:14:34 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 14 Sep 2004 10:14:34 +0200 Subject: [AccessD] OT: Modify the default event handlers to mimic the behavior of VB 6 control arrays (VB .NET) In-Reply-To: References: Message-ID: <1184661242.20040914101434@cactus.dk> Hi all .Net freaks Just noticed this tip from Element K Journals. But is it just me or would this be considered bad programming practice? Whenever I find out an event for one control can be reused by another control, I move that code to a subfunction. /gustav --- If you've been mourning the loss of control arrays in VB .NET, wipe your eyes and listen up. While it's true that .NET put the control Index property out to pasture, you can still point multiple controls to an event subroutine just by modifying the event subroutines .NET exposes automatically when you add a control to a form. For example, suppose you have two buttons on a form named Button1 and Button2. You can make the Click() event subroutine for Button1 also handle the Click() event for Button2 just by adding Button2.Click to the Handles portion of the subroutine, like so: Private Sub Button1_Click(ByVal sender As _ Object, ByVal e As System.EventArgs) _ Handles Button1.Click, Button2.Click You can append as many control Click() events as you'd like to the Handles statement, as long as you separate each event with a comma. As an added bonus, you can also include other Button events or even events from any number of non-button control types on the form. That's more than you could ever do with a VB 6 control array. From gustav at cactus.dk Tue Sep 14 03:59:18 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 14 Sep 2004 10:59:18 +0200 Subject: [AccessD] MS Access to VB6 or VB.net In-Reply-To: References: Message-ID: <737345271.20040914105918@cactus.dk> Hi Jim > I do remember the original Access 1, a good start but a long way from a full > product. I do not think until A97 we had a product to crow about...a good > five years from start to market acceptance. Access 2.0 worked and still works excellent - within its limitations, of course. /gustav From KP at sdsonline.net Tue Sep 14 06:47:24 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 14 Sep 2004 21:47:24 +1000 Subject: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form References: Message-ID: <001501c49a50$9a982560$6501a8c0@user> Thanks Eric - I am finding this so confusing. Yes - I have IIS running here - so my file must be in a folder from C:\Inetpub\wwwroot? I need to allow the database users to share a common file - can it find a web in a network location? To go back to the basic requirements - what I am trying to do is allow users to click on a button in the databse which will open a document which will be published to the web. I want them to be able to create and edit that document by following a link from an access form, because the letter that the users 'create' will be linked to recipients from my database. They could theoretically do it in Word or Notepad (or even within Access), but I want them to see how it will preview on the web before they finalise it, so formatting is done. I don't want to have to worry about whether they are running IIS or create web folders or whatever - just open and edit a simple html file in Frontpage so they can see how it would publish. Am I going about this the wrong way? TIA! Kath ----- Original Message ----- From: Eric Barro To: Access Developers discussion and problem solving Sent: Tuesday, September 14, 2004 11:31 AM Subject: RE: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form Kath, FP webs expect to open these web folders in reference to the web root folder in IIS. For example: You have IIS (web server) running on the machine and you have a web called MYWEB. IIS sees this as http://localhost/MYWEB. The physical location (assuming the web root is C:\INETPUB\WWWROOT) is C:\INETPUB\WWWROOT\MYWEB\. So...if MYWEB is in a different folder...say C:\INETPUB\WWWROOT\ANOTHERFOLDER\MYWEB\ FP won't be able to recognize that as a web location. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Monday, September 13, 2004 6:13 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Urgent help please - Can't open html page in Frontpagefrom Access form I have wasted ages on this so am now begging assistance........ I have an html file (empty at present - later it will have some basic text) I need to my code to - Make a copy of the template.html file (I can do that) and - give it a new name, eg. Template_BHP_140904.html (I can do that) - Open the html file just created in Frontpage for users to modify the document (That's where I'm stuck....) My problem is a total lack of knowledge of files vs. webs and therefore the syntax I need. Questions: - - Do I have to have a 'web' or 'web folder' - can't I just have an html file and open it? - If I can, what is the alternative syntax to .webs.open - eg. I am looking for a .pages.open property or .files.open ? Here's my code so far - when I run it I get an error - There is no web named "/E:/SDS/Clients/CPP/WebLetters/Template.html" -------------------------------------------------------------------------------- Private Sub CmdOpenFP_Click() Dim oFPweb As FrontPage.Web Dim oFP As FrontPage.Application Dim FrontPageRunning As Boolean 'Determine whether FrontPage is alredy open or not FrontPageRunning = IsFrontPageRunning() If Not FrontPageRunning Then MsgBox ("Frontpage is Closed") Set oFP = CreateObject("Frontpage.Application") Else MsgBox ("Frontpage is already open") Set oFP = GetObject(, "Frontpage.Application") End If 'add code here later to make a copy of my file 'open file in front page------------------------------------------------ oFP.Webs.Open ("E:\Sds\Clients\CPP\Webletters\template.html") 'STUCK HERE ' Show FrontPage oFPweb.Activate 'Set oFP = Nothing End Sub -------------------------------------------------------------------------------- TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Tue Sep 14 07:24:45 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 14 Sep 2004 22:24:45 +1000 Subject: [AccessD] A2K: Time diff calcs Message-ID: Hello all I want to calculate then insert into a table the duration of a users logon in HOURS and MINUTES In the logon table the default value for the logon field is Now() and is captured at...You guessed at logon. I then run a query that updates the Logoff field to Now() once the user answers YES to loggin off. The theory being there will be a difference even if it is only 5 or 10 seconds. Unless some clown plays with the clock after loggin on --- but forget all that :-)) Both logon and logoff fields data types in the Logon Table are General Date (01/01/2004 15:45:25PM) So a user logs on at say...14/09/2004 10:08:45 PM and then logs off at say...14/09/2004 10:10:55 PM The time logged on = 2 mins and 10 secs but how do I calculate that? I have udsed DateDiff but with no success... DateDiff("Short Time",[LogonTimeAndDate],Now()) DateDiff("mm",[LogonTimeAndDate],Now()) DateDiff("nn",[LogonTimeAndDate],Now()) etc etc Many thanks in advance Darren From d.dick at uws.edu.au Tue Sep 14 07:36:37 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 14 Sep 2004 22:36:37 +1000 Subject: [AccessD] Hack Requested - Increase Combo Box Button Size? In-Reply-To: <410-22004921443957342@christopherhawkins.com> Message-ID: <001901c49a57$7b21c720$4a619a89@DDICK> Hi Chris Maybe you can still use the combo box Just hide the 'real' drop down arrow with a button the relevant Size with an appropriate graphic Then on the click of that button have some code that says something like... Me.cmbMyCombo.setfocus Me.cmbMyCombo.Dropdown Your users will see the 'real' drop down arrow but see if you can play with it HTH Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: Tuesday, 14 September 2004 2:40 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Hack Requested - Increase Combo Box Button Size? I thought about that, but...eeeeeeew. ;) -C- ---- Original Message ---- From: michael.mattys at adelphia.net To: accessd at databaseadvisors.com, Subject: Re: [AccessD] Hack Requested - Increase Combo Box Button Size? Date: Mon, 13 Sep 2004 22:04:36 -0400 >----- Original Message ----- >From: "Christopher Hawkins" >To: >Sent: Monday, September 13, 2004 6:20 PM >Subject: [AccessD] Hack Requested - Increase Combo Box Button Size? > > >> I suppose the title says it all. I know there are various hacks >for >> playing with the window sizes of everything, but I need to be >> surgical - I am creating an interface for a touch-screen computer, >> and it requires the use of a combo box. >> >> I need a way to fatten the combo box button and the scroll bar >> buttons. Has anyone done this before? Either prewritten code or a >> link in the right direction would be appreciated. >> > >Christopher, > > >If you don't get any other answers, try creating your own using a >combination of commandbutton, textbox, and a listbox. > >It should be easy enough, if you're familiar with it, >to create a WithEvents class to handle click events >for Dropdown, Visible, NotInList, etc. > >---- > >Michael R. Mattys >Mattys MapLib for Microsoft MapPoint >http://www.mattysconsulting.com >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Sep 14 07:51:44 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 14 Sep 2004 14:51:44 +0200 Subject: [AccessD] A2K: Time diff calcs In-Reply-To: References: Message-ID: <16621291255.20040914145144@cactus.dk> Hi Darren That could be: lngDiff = DateDiff("n", [LogonTimeAndDate], Now()) To get hours and minutes: lngH = lngDiff \ 60 lngM = lngDiff Mod 60 To convert to a pseudo time value for easy formatting: datTime = TimeSerial(lngH, lngM, 0) strTime = Format(datTime, "h:nn") Be careful, though, if users (their machines) happen to be logged in for more than 24 hours. /gustav > I want to calculate then insert into a table the duration of a users logon > in HOURS and MINUTES > In the logon table the default value for the logon field is Now() and is > captured at...You guessed at logon. I then run a query that updates the > Logoff field to Now() once the user answers YES to loggin off. The theory > being there will be a difference even if it is only 5 or 10 seconds. Unless > some clown plays with the clock after loggin on --- but forget all that :-)) > Both logon and logoff fields data types in the Logon Table are General Date > (01/01/2004 15:45:25PM) > So a user logs on at say...14/09/2004 10:08:45 PM and then logs off at > say...14/09/2004 10:10:55 PM > The time logged on = 2 mins and 10 secs but how do I calculate that? > I have udsed DateDiff but with no success... > DateDiff("Short Time",[LogonTimeAndDate],Now()) > DateDiff("mm",[LogonTimeAndDate],Now()) > DateDiff("nn",[LogonTimeAndDate],Now()) etc etc > Many thanks in advance > Darren From BBarabash at TappeConstruction.com Tue Sep 14 08:46:23 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue, 14 Sep 2004 08:46:23 -0500 Subject: [AccessD] OT: Modify the default event handlers to mimic thebehavior of VB 6 control arrays (VB .NET) Message-ID: <100F91B31300334B89EC531C9DCB0865065945@tccexch01.tappeconstruction.net> Looks OK to me. Are you saying that if you had consistent behaviors for every button on your form, that you would write separate event handlers for each control to call another proc? Ugh! BTW, you can call your event procedure anything you want. Get rid of the Button1_ moniker and it would be much more readable: Private Sub ButtonClickHandler(ByVal sender As System.Object, ByVal e As System.EventArgs) _ Handles Button1.Click, Button2.Click -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, September 14, 2004 3:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Modify the default event handlers to mimic thebehavior of VB 6 control arrays (VB .NET) Hi all .Net freaks Just noticed this tip from Element K Journals. But is it just me or would this be considered bad programming practice? Whenever I find out an event for one control can be reused by another control, I move that code to a subfunction. /gustav --- If you've been mourning the loss of control arrays in VB .NET, wipe your eyes and listen up. While it's true that .NET put the control Index property out to pasture, you can still point multiple controls to an event subroutine just by modifying the event subroutines .NET exposes automatically when you add a control to a form. For example, suppose you have two buttons on a form named Button1 and Button2. You can make the Click() event subroutine for Button1 also handle the Click() event for Button2 just by adding Button2.Click to the Handles portion of the subroutine, like so: Private Sub Button1_Click(ByVal sender As _ Object, ByVal e As System.EventArgs) _ Handles Button1.Click, Button2.Click You can append as many control Click() events as you'd like to the Handles statement, as long as you separate each event with a comma. As an added bonus, you can also include other Button events or even events from any number of non-button control types on the form. That's more than you could ever do with a VB 6 control array. -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From jwcolby at colbyconsulting.com Tue Sep 14 08:51:54 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 14 Sep 2004 09:51:54 -0400 Subject: [AccessD] OT: Modify the default event handlers to mimic thebehavior of VB 6 control arrays (VB .NET) In-Reply-To: <1184661242.20040914101434@cactus.dk> Message-ID: <005601c49a62$01885180$e8dafea9@ColbyM6805> Gustav, In fact I use something similar using withevents. As you know if a control is dimensioned Withevents, its events can be sunk in that class. What happens however when you have a class for each control, the number of controls monitored can vary, and yet you still want to be able to process each control in a loop and monitor the events for that control? By dimming a single control Withevents, you can now iterate the loop of control classes, get a pointer to the control that the class instance handles, and SET the single control variable to the control in the class. Now if the control (or the class if you are monitoring class events) fires an event, the supervisor can see it and process it. Since the supervisor knows which instance of the class or control it is processing at the moment it is easy to figure out what to do with the event. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, September 14, 2004 4:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Modify the default event handlers to mimic thebehavior of VB 6 control arrays (VB .NET) Hi all .Net freaks Just noticed this tip from Element K Journals. But is it just me or would this be considered bad programming practice? Whenever I find out an event for one control can be reused by another control, I move that code to a subfunction. /gustav --- If you've been mourning the loss of control arrays in VB .NET, wipe your eyes and listen up. While it's true that .NET put the control Index property out to pasture, you can still point multiple controls to an event subroutine just by modifying the event subroutines .NET exposes automatically when you add a control to a form. For example, suppose you have two buttons on a form named Button1 and Button2. You can make the Click() event subroutine for Button1 also handle the Click() event for Button2 just by adding Button2.Click to the Handles portion of the subroutine, like so: Private Sub Button1_Click(ByVal sender As _ Object, ByVal e As System.EventArgs) _ Handles Button1.Click, Button2.Click You can append as many control Click() events as you'd like to the Handles statement, as long as you separate each event with a comma. As an added bonus, you can also include other Button events or even events from any number of non-button control types on the form. That's more than you could ever do with a VB 6 control array. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Sep 14 08:54:28 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 14 Sep 2004 08:54:28 -0500 Subject: [AccessD] Hack Requested - Increase Combo Box Button Size? Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB374@main2.marlow.com> Access forms, and their controls, do not act like other windows. Typically, on a normal window, every control is a 'child window', and thus can be resized with API's. Access only has ONE control window on the form, which 'shapes' around the active window. It's wierd. Anyhow, I can recommend two 'Non-ActiveX' approaches. One, just put a bigger command button next to the combobox, and have it trigger the DropDown method of the combo box. Two, a little more complex, but would allow you to control all aspests, would be to build your own combo box with labels. The beta version of the MiniCalendar does this, for the Month list. Everything is either a picture or a label, but it 'acts' like a combo box. That would allow you to make the 'button' AND the items bigger. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Monday, September 13, 2004 5:21 PM To: accessd at databaseadvisors.com Subject: [AccessD] Hack Requested - Increase Combo Box Button Size? I suppose the title says it all. I know there are various hacks for playing with the window sizes of everything, but I need to be surgical - I am creating an interface for a touch-screen computer, and it requires the use of a combo box. I need a way to fatten the combo box button and the scroll bar buttons. Has anyone done this before? Either prewritten code or a link in the right direction would be appreciated. -Christopher- Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Sep 14 08:56:23 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 14 Sep 2004 08:56:23 -0500 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB375@main2.marlow.com> True for most .dll's. I have had problems with mm.dll, the multimedia .dll. Some software developers think they can tweak that one better, and I've had .avi playing code that just fails on certain machines. Go figure. Other then that, you're right, .dll's are rock solid for APIs. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Monday, September 13, 2004 5:45 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net On 13 Sep 2004 at 17:17, Scott Marcus wrote: > Drew, > > Are you saying that .Net uses wrappers? > > The problem with API's is dll hell. There's no DLL hell with the API. The Win32 API uses system DLLS which are backward compatible between Windows versions. The majority of API calls work for every version of WIndows from W95 on including all of the most commonly used APIs. If you want to use an API feature that is limited to certain OS versions, you just need to check the OSVersion first. -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Sep 14 09:01:14 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 14 Sep 2004 09:01:14 -0500 Subject: [AccessD] Urgent help please - Can't open html page inFrontpa gefrom Access form Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB376@main2.marlow.com> If you have VB, you can just 'preview' it for them in a simple VB browser. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Tuesday, September 14, 2004 6:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form Thanks Eric - I am finding this so confusing. Yes - I have IIS running here - so my file must be in a folder from C:\Inetpub\wwwroot? I need to allow the database users to share a common file - can it find a web in a network location? To go back to the basic requirements - what I am trying to do is allow users to click on a button in the databse which will open a document which will be published to the web. I want them to be able to create and edit that document by following a link from an access form, because the letter that the users 'create' will be linked to recipients from my database. They could theoretically do it in Word or Notepad (or even within Access), but I want them to see how it will preview on the web before they finalise it, so formatting is done. I don't want to have to worry about whether they are running IIS or create web folders or whatever - just open and edit a simple html file in Frontpage so they can see how it would publish. Am I going about this the wrong way? TIA! Kath ----- Original Message ----- From: Eric Barro To: Access Developers discussion and problem solving Sent: Tuesday, September 14, 2004 11:31 AM Subject: RE: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form Kath, FP webs expect to open these web folders in reference to the web root folder in IIS. For example: You have IIS (web server) running on the machine and you have a web called MYWEB. IIS sees this as http://localhost/MYWEB. The physical location (assuming the web root is C:\INETPUB\WWWROOT) is C:\INETPUB\WWWROOT\MYWEB\. So...if MYWEB is in a different folder...say C:\INETPUB\WWWROOT\ANOTHERFOLDER\MYWEB\ FP won't be able to recognize that as a web location. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Monday, September 13, 2004 6:13 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Urgent help please - Can't open html page in Frontpagefrom Access form I have wasted ages on this so am now begging assistance........ I have an html file (empty at present - later it will have some basic text) I need to my code to - Make a copy of the template.html file (I can do that) and - give it a new name, eg. Template_BHP_140904.html (I can do that) - Open the html file just created in Frontpage for users to modify the document (That's where I'm stuck....) My problem is a total lack of knowledge of files vs. webs and therefore the syntax I need. Questions: - - Do I have to have a 'web' or 'web folder' - can't I just have an html file and open it? - If I can, what is the alternative syntax to .webs.open - eg. I am looking for a .pages.open property or .files.open ? Here's my code so far - when I run it I get an error - There is no web named "/E:/SDS/Clients/CPP/WebLetters/Template.html" ---------------------------------------------------------------------------- ---- Private Sub CmdOpenFP_Click() Dim oFPweb As FrontPage.Web Dim oFP As FrontPage.Application Dim FrontPageRunning As Boolean 'Determine whether FrontPage is alredy open or not FrontPageRunning = IsFrontPageRunning() If Not FrontPageRunning Then MsgBox ("Frontpage is Closed") Set oFP = CreateObject("Frontpage.Application") Else MsgBox ("Frontpage is already open") Set oFP = GetObject(, "Frontpage.Application") End If 'add code here later to make a copy of my file 'open file in front page------------------------------------------------ oFP.Webs.Open ("E:\Sds\Clients\CPP\Webletters\template.html") 'STUCK HERE ' Show FrontPage oFPweb.Activate 'Set oFP = Nothing End Sub ---------------------------------------------------------------------------- ---- TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From deanellis at iprimus.com.au Tue Sep 14 09:26:25 2004 From: deanellis at iprimus.com.au (Dean Ellis) Date: Tue, 14 Sep 2004 23:56:25 +0930 Subject: [AccessD] Details of Tables, queries etc being accessed by Forms. Message-ID: Hi all, I have a database that I work with continually. It works well and people are begining to sit up and take notice of it. (Yes Darren, it's my monster). When I do development work on it, It's become that large that at times, I need to go into the design side of a form and read the code to know what table, or query, or form to open. What I would like to know, and its really for my own benefit, is; Is there a way that I can have a form (just 1 form), That I can access, say using a self created shortcut key, that will detail the table or query being accessed by the form, the names of any subforms on the main form? If this can be done, how much info of this nature can I extract? Thanks in advance. Dean Ellis ph 08 8398 5536 m 0410 474 910 Visit our website: www.jedel.com From Paul.Rogers at SummitMedia.co.uk Tue Sep 14 09:34:51 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Tue, 14 Sep 2004 15:34:51 +0100 Subject: [AccessD]Making windows speaka da English Message-ID: How to change a foreign windows 2k to English, that is the challenge. Anyone ever managed it, please? Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.754 / Virus Database: 504 - Release Date: 06/09/2004 From cyx5 at cdc.gov Tue Sep 14 09:20:13 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Tue, 14 Sep 2004 10:20:13 -0400 Subject: [AccessD] Table TempMSYSAccessObjects Already Exists Message-ID: I was compacting my database when I ran out of room on my L drive. Apparently, I see that I have lots of space, by IT has the drive configured to maintain a mirror backup which is only cleared out every five days. So, the compact fails. I moved the database to my L drive, but now when I try to compact, I get the error message saying Table TempMYSYSAccessObjects already exists. I turned on the feature to view the system tables. Can I delete this table to try to compact that database? Has anyone else run into this? Thanks. Grumble grumble... Karen Nicholson National Laboratory Xerox Global Services From markamatte at hotmail.com Tue Sep 14 09:20:11 2004 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 14 Sep 2004 14:20:11 +0000 Subject: [AccessD] A2K: Time diff calcs Message-ID: Darren, I use something similar for a re-measure tool...(its like a built in stopwatch)...anyway...I just take a datediff of seconds...and then put it through this little sub to split it into seconds and minutes(could be converted for hours also). Please let me know if you have any questions. Thanks, Mark A. Matte Me!EndDTTM = Now() Dim Seconds Dim RMmin Dim RMsec Seconds = DateDiff("s", Me!StartDTTM, Me!EndDTTM) Dim Check, Counter Check = True: Counter = 0 Do Counter = Counter + 1 If Counter * 60 > Seconds Then RMmin = Counter - 1 RMsec = Seconds - ((Counter - 1) * 60) Check = False Exit Do End If Loop Until Check = False Forms!frmRecords!RMCallLengthM.Value = RMmin Forms!frmRecords!RMCallLengthS.Value = RMsec DoCmd.close >From: "Darren DICK" >Reply-To: Access Developers discussion and problem >solving >To: "AccessD List" >Subject: [AccessD] A2K: Time diff calcs >Date: Tue, 14 Sep 2004 22:24:45 +1000 > >Hello all >I want to calculate then insert into a table the duration of a users logon >in HOURS and MINUTES >In the logon table the default value for the logon field is Now() and is >captured at...You guessed at logon. I then run a query that updates the >Logoff field to Now() once the user answers YES to loggin off. The theory >being there will be a difference even if it is only 5 or 10 seconds. Unless >some clown plays with the clock after loggin on --- but forget all that >:-)) > >Both logon and logoff fields data types in the Logon Table are General Date >(01/01/2004 15:45:25PM) > >So a user logs on at say...14/09/2004 10:08:45 PM and then logs off at >say...14/09/2004 10:10:55 PM > >The time logged on = 2 mins and 10 secs but how do I calculate that? > >I have udsed DateDiff but with no success... >DateDiff("Short Time",[LogonTimeAndDate],Now()) >DateDiff("mm",[LogonTimeAndDate],Now()) >DateDiff("nn",[LogonTimeAndDate],Now()) etc etc > >Many thanks in advance > >Darren > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Tue Sep 14 09:52:00 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 15 Sep 2004 00:52:00 +1000 Subject: [AccessD] Details of Tables, queries etc being accessed by Forms. In-Reply-To: Message-ID: <002001c49a6a$63ad5010$4a619a89@DDICK> Hey Deano Dunno if this is what you want but.. Put a label control in the header called lblMyRecSet and the following code on load of the form Me.lblMyRecSet.Caption = "Recordset for this form: '" & Me.Form.Name & "' = " & Me.RecordSource Should work for tables or SQL statements See ya - going to bed now Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dean Ellis Sent: Wednesday, 15 September 2004 12:26 AM To: AccessD Subject: [AccessD] Details of Tables, queries etc being accessed by Forms. Hi all, I have a database that I work with continually. It works well and people are begining to sit up and take notice of it. (Yes Darren, it's my monster). When I do development work on it, It's become that large that at times, I need to go into the design side of a form and read the code to know what table, or query, or form to open. What I would like to know, and its really for my own benefit, is; Is there a way that I can have a form (just 1 form), That I can access, say using a self created shortcut key, that will detail the table or query being accessed by the form, the names of any subforms on the main form? If this can be done, how much info of this nature can I extract? Thanks in advance. Dean Ellis ph 08 8398 5536 m 0410 474 910 Visit our website: www.jedel.com From gustav at cactus.dk Tue Sep 14 09:55:40 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 14 Sep 2004 16:55:40 +0200 Subject: [AccessD] OT: Modify the default event handlers to mimic thebehavior of VB 6 control arrays (VB .NET) In-Reply-To: <100F91B31300334B89EC531C9DCB0865065945@tccexch01.tappeconstruction.net> References: <100F91B31300334B89EC531C9DCB0865065945@tccexch01.tappeconstruction.net> Message-ID: <12428727037.20040914165540@cactus.dk> Hi Brett and John Brett, thanks for clearing this up. I can see I have been victimised by unreadable code as I - as you guessed - wearing my Access goggles read Button1_Click as the event handler. So this in the "reverse" of calling a sub from several events? You specify a sub and specify - withing this - which events should call the sub? Have in mind please, that I'm not familiar with neither VB6 or dot Net. Of course you are both right about WithEvents. However, sometimes you just need to, say, have updating of a checkbox and clicking a button to do the same; then I don't write duplicate code but move it to a sub which I call from the relevant events. /gustav > Looks OK to me. Are you saying that if you had consistent behaviors for > every button on your form, that you would write separate event handlers > for each control to call another proc? Ugh! > BTW, you can call your event procedure anything you want. Get rid of > the Button1_ moniker and it would be much more readable: > Private Sub ButtonClickHandler(ByVal sender As System.Object, ByVal e As > System.EventArgs) _ > Handles Button1.Click, Button2.Click > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Tuesday, September 14, 2004 3:15 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] OT: Modify the default event handlers to mimic > thebehavior of VB 6 control arrays (VB .NET) > Hi all .Net freaks > Just noticed this tip from Element K Journals. > But is it just me or would this be considered bad programming practice? > Whenever I find out an event for one control can be reused by another > control, I move that code to a subfunction. > /gustav > --- > If you've been mourning the loss of control arrays in VB .NET, wipe your > eyes and listen up. While it's true that .NET put the control Index > property out to pasture, you can still point multiple controls to an > event subroutine just by modifying the event subroutines .NET exposes > automatically when you add a control to a form. For example, suppose you > have two buttons on a form named Button1 and Button2. You can make the > Click() event subroutine for Button1 also handle the Click() event for > Button2 just by adding Button2.Click to the Handles portion of the > subroutine, like so: > Private Sub Button1_Click(ByVal sender As _ Object, ByVal e As > System.EventArgs) _ > Handles Button1.Click, Button2.Click > You can append as many control Click() events as you'd like to the > Handles statement, as long as you separate each event with a comma. As > an added bonus, you can also include other Button events or even events > from any number of non-button control types on the form. That's more > than you could ever do with a VB 6 control array. From actebs at actebs.com.au Tue Sep 14 10:56:42 2004 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 15 Sep 2004 01:56:42 +1000 Subject: [AccessD] Re: emailing a newsletter Message-ID: <2025BB6F17FCB54791F23CD5055833280384F1@starfleet.unknown.local> Reuben, I wouldn't mid a copy as well... Thanks Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ervin Brindza Sent: Monday, 13 September 2004 7:46 PM To: Access Developers discussion and problem solving Subject: [AccessD] Re: emailing a newsletter Reuben, could you share it, please? Many TIA, Ervin ----- Original Message ----- From: "Reuben Cummings" To: "Access Developers discussion and problem solving" Sent: 10 September, 2004 5:47 PM Subject: RE: [AccessD] emailing a newsletter > Augusta, I sent you a copy of a very small db that I have than can do > what you are after. > > Reuben Cummings > GFC, LLC > phone: 812.523.1017 > email: reuben at gfconsultants.com > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of augusta > > Sent: Friday, September 10, 2004 9:30 AM > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] emailing a newsletter > > > > > > I have a client who has about 700 email addresses within an Access > > database to whom she would like to send a newsletter. > > > > Can anyone suggest a good way of going about this, other than > > query/copy/paste in to outlook? Also, for some reason when she does > > it this way, she can only use about 50 address. > > > > Thanks augusta > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Tue Sep 14 10:44:59 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue, 14 Sep 2004 10:44:59 -0500 Subject: [AccessD] OT: Modify the default event handlers to mimicthebehavior of VB 6 control arrays (VB .NET) Message-ID: <100F91B31300334B89EC531C9DCB0865065946@tccexch01.tappeconstruction.net> >So this in the "reverse" of calling a sub from several events? >You specify a sub and specify - withing this - which events should call the sub? Exactly, that's what the Handles keyword is all about. Delegation is one of the new VB.NET features that opens up all sorts of possibilities. Notice the argument list for the button click handler: ByVal sender As System.Object, ByVal e As System.EventArgs These standard arguments are used for all handlers. Therefore, you could create a single handler to handle your button click and a checkbox click (and a textbox change for that matter!). The Handles keyword serves as a nice tidy wrapper around the System.Delegate assembly. There are some cool things that can be done through code, like dynamically assigning a method from one class (or control) to be automatically handled by another classes method. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, September 14, 2004 9:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Modify the default event handlers to mimicthebehavior of VB 6 control arrays (VB .NET) Hi Brett and John Brett, thanks for clearing this up. I can see I have been victimised by unreadable code as I - as you guessed - wearing my Access goggles read Button1_Click as the event handler. So this in the "reverse" of calling a sub from several events? You specify a sub and specify - withing this - which events should call the sub? Have in mind please, that I'm not familiar with neither VB6 or dot Net. Of course you are both right about WithEvents. However, sometimes you just need to, say, have updating of a checkbox and clicking a button to do the same; then I don't write duplicate code but move it to a sub which I call from the relevant events. /gustav -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From adtp at touchtelindia.net Tue Sep 14 13:36:16 2004 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Wed, 15 Sep 2004 00:06:16 +0530 Subject: [AccessD] A2K: Time diff calcs References: Message-ID: <00af01c49a89$e9791480$bb1865cb@winxp> Darren, The select query given below should get you the period lapsed in terms of DaysGap (if more than 24 hrs) and TimeGap (over & above the completed days). T_Log is the name of data table. Regards, A.D.Tejpal ================================= SELECT T_Log.LogonTimeAndDate, Int(Now()-[LogonTimeAndDate]) AS DaysGap, Format((Now()-[LogonTimeAndDate]),"hh:nn:ss") AS TimeGap FROM T_Log; ================================= ----- Original Message ----- From: Darren DICK To: AccessD List Sent: Tuesday, September 14, 2004 17:54 Subject: [AccessD] A2K: Time diff calcs Hello all I want to calculate then insert into a table the duration of a users logon in HOURS and MINUTES In the logon table the default value for the logon field is Now() and is captured at...You guessed at logon. I then run a query that updates the Logoff field to Now() once the user answers YES to loggin off. The theory being there will be a difference even if it is only 5 or 10 seconds. Unless some clown plays with the clock after loggin on --- but forget all that :-)) Both logon and logoff fields data types in the Logon Table are General Date (01/01/2004 15:45:25PM) So a user logs on at say...14/09/2004 10:08:45 PM and then logs off at say...14/09/2004 10:10:55 PM The time logged on = 2 mins and 10 secs but how do I calculate that? I have udsed DateDiff but with no success... DateDiff("Short Time",[LogonTimeAndDate],Now()) DateDiff("mm",[LogonTimeAndDate],Now()) DateDiff("nn",[LogonTimeAndDate],Now()) etc etc Many thanks in advance Darren From artful at rogers.com Tue Sep 14 14:33:41 2004 From: artful at rogers.com (Arthur Fuller) Date: Tue, 14 Sep 2004 15:33:41 -0400 Subject: [AccessD] A2K: Time diff calcs In-Reply-To: Message-ID: <027201c49a91$be215f10$6501a8c0@rock> IMHO you should always store time differences in seconds rather than any higher denomination, then leave the formatting of same to the front end. That way, IMO, your back-end data is always correct (and easily calculated), and you can postpone the formatting until the front end is right, confident that your data in the back-end is correct. Just my $.02. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Tuesday, September 14, 2004 8:25 AM To: AccessD List Subject: [AccessD] A2K: Time diff calcs Hello all I want to calculate then insert into a table the duration of a users logon in HOURS and MINUTES In the logon table the default value for the logon field is Now() and is captured at...You guessed at logon. I then run a query that updates the Logoff field to Now() once the user answers YES to loggin off. The theory being there will be a difference even if it is only 5 or 10 seconds. Unless some clown plays with the clock after loggin on --- but forget all that :-)) Both logon and logoff fields data types in the Logon Table are General Date (01/01/2004 15:45:25PM) So a user logs on at say...14/09/2004 10:08:45 PM and then logs off at say...14/09/2004 10:10:55 PM The time logged on = 2 mins and 10 secs but how do I calculate that? I have udsed DateDiff but with no success... DateDiff("Short Time",[LogonTimeAndDate],Now()) DateDiff("mm",[LogonTimeAndDate],Now()) DateDiff("nn",[LogonTimeAndDate],Now()) etc etc Many thanks in advance Darren -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Subscriptions at servicexp.com Tue Sep 14 16:26:05 2004 From: Subscriptions at servicexp.com (Robert Gracie) Date: Tue, 14 Sep 2004 17:26:05 -0400 Subject: [AccessD] Connecting to MySQL across Internet In-Reply-To: <027201c49a91$be215f10$6501a8c0@rock> Message-ID: Hello, I have a program that may need to connect to a MySQL database across the internet, on the fly. It's only for a very small portion of the program so it may or may not be needed to be utilized by many users. So basically what is the best (lightest) way to make this connection on the fly, and only when needed? I think I will be looking at 3-4 tables MAX. Robert Gracie www.servicexp.com From mike at welshfam.org Tue Sep 14 17:03:14 2004 From: mike at welshfam.org (Michael Welsh) Date: Tue, 14 Sep 2004 18:03:14 -0400 Subject: [AccessD] Hack Requested - Increase Combo Box Button Size? In-Reply-To: <410-22004921443957342@christopherhawkins.com> Message-ID: <200409142203.i8EM37616960@databaseadvisors.com> Chris, The scrollbars and dropdown arrows are sized by Windows. If you change the size of the scroll bar in the Display properties, Access changes the size in all of your forms. Display Properties: Appearance: Advanced: select Scrollbar, change size (WindowsXP). Mike -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: Tuesday, September 14, 2004 12:40 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Hack Requested - Increase Combo Box Button Size? I thought about that, but...eeeeeeew. ;) -C- ---- Original Message ---- From: michael.mattys at adelphia.net To: accessd at databaseadvisors.com, Subject: Re: [AccessD] Hack Requested - Increase Combo Box Button Size? Date: Mon, 13 Sep 2004 22:04:36 -0400 >----- Original Message ----- >From: "Christopher Hawkins" >To: >Sent: Monday, September 13, 2004 6:20 PM >Subject: [AccessD] Hack Requested - Increase Combo Box Button Size? > > >> I suppose the title says it all. I know there are various hacks >for >> playing with the window sizes of everything, but I need to be >> surgical - I am creating an interface for a touch-screen computer, >> and it requires the use of a combo box. >> >> I need a way to fatten the combo box button and the scroll bar >> buttons. Has anyone done this before? Either prewritten code or a >> link in the right direction would be appreciated. >> > >Christopher, > > >If you don't get any other answers, try creating your own using a >combination of commandbutton, textbox, and a listbox. > >It should be easy enough, if you're familiar with it, to create a >WithEvents class to handle click events for Dropdown, Visible, >NotInList, etc. > >---- > >Michael R. Mattys >Mattys MapLib for Microsoft MapPoint >http://www.mattysconsulting.com >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pblack at hotmail.com Tue Sep 14 17:16:40 2004 From: pblack at hotmail.com (Paul Black) Date: Tue, 14 Sep 2004 22:16:40 +0000 Subject: [AccessD] Problem with code to change field data type in vba Message-ID: Hi I using Access 97 and can not get the following to work: Private Sub Command0_Click() Dim fld As Field Dim dbs As Database Dim tbl As TableDef Set dbs = CurrentDb() For Each fld In tbl.Fields If Left$(tbl.Name, 2) = "t_" And fld <> "t_proj" And fld <> "t_pt" And fld <> "t_plink" And fld <> "ptlink" And fld <> "t_species" Then fld.Type = dbInteger End If Next fld Beep MsgBox "Done" End Sub It is supposed to change the field data type to integer from text. All field names to change begin with 't_' excluding certain fields listed above. I keep getting an error: Runtime error '91' Object Variable or With Block variable not set Other than the excluded fields above all the data conatined in the fields is numeric or has a Null value... but it is in a text field. The data is coming to me off of a Pocket PC and it won't let me change the field type to numeric. Please help me solve this. Thanks PB _________________________________________________________________ Get ready for school! Find articles, homework help and more in the Back to School Guide! http://special.msn.com/network/04backtoschool.armx From KP at sdsonline.net Tue Sep 14 18:12:05 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Wed, 15 Sep 2004 09:12:05 +1000 Subject: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form References: <2F8793082E00D4119A1700B0D0216BF8031BB376@main2.marlow.com> Message-ID: <006501c49ab0$4255fe30$6501a8c0@user> I don't have VB Drew....... Kath ----- Original Message ----- From: DWUTKA at marlow.com To: accessd at databaseadvisors.com Sent: Wednesday, September 15, 2004 12:01 AM Subject: RE: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form If you have VB, you can just 'preview' it for them in a simple VB browser. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Tuesday, September 14, 2004 6:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form Thanks Eric - I am finding this so confusing. Yes - I have IIS running here - so my file must be in a folder from C:\Inetpub\wwwroot? I need to allow the database users to share a common file - can it find a web in a network location? To go back to the basic requirements - what I am trying to do is allow users to click on a button in the databse which will open a document which will be published to the web. I want them to be able to create and edit that document by following a link from an access form, because the letter that the users 'create' will be linked to recipients from my database. They could theoretically do it in Word or Notepad (or even within Access), but I want them to see how it will preview on the web before they finalise it, so formatting is done. I don't want to have to worry about whether they are running IIS or create web folders or whatever - just open and edit a simple html file in Frontpage so they can see how it would publish. Am I going about this the wrong way? TIA! Kath ----- Original Message ----- From: Eric Barro To: Access Developers discussion and problem solving Sent: Tuesday, September 14, 2004 11:31 AM Subject: RE: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form Kath, FP webs expect to open these web folders in reference to the web root folder in IIS. For example: You have IIS (web server) running on the machine and you have a web called MYWEB. IIS sees this as http://localhost/MYWEB. The physical location (assuming the web root is C:\INETPUB\WWWROOT) is C:\INETPUB\WWWROOT\MYWEB\. So...if MYWEB is in a different folder...say C:\INETPUB\WWWROOT\ANOTHERFOLDER\MYWEB\ FP won't be able to recognize that as a web location. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Monday, September 13, 2004 6:13 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Urgent help please - Can't open html page in Frontpagefrom Access form I have wasted ages on this so am now begging assistance........ I have an html file (empty at present - later it will have some basic text) I need to my code to - Make a copy of the template.html file (I can do that) and - give it a new name, eg. Template_BHP_140904.html (I can do that) - Open the html file just created in Frontpage for users to modify the document (That's where I'm stuck....) My problem is a total lack of knowledge of files vs. webs and therefore the syntax I need. Questions: - - Do I have to have a 'web' or 'web folder' - can't I just have an html file and open it? - If I can, what is the alternative syntax to .webs.open - eg. I am looking for a .pages.open property or .files.open ? Here's my code so far - when I run it I get an error - There is no web named "/E:/SDS/Clients/CPP/WebLetters/Template.html" ---------------------------------------------------------------------------- ---- Private Sub CmdOpenFP_Click() Dim oFPweb As FrontPage.Web Dim oFP As FrontPage.Application Dim FrontPageRunning As Boolean 'Determine whether FrontPage is alredy open or not FrontPageRunning = IsFrontPageRunning() If Not FrontPageRunning Then MsgBox ("Frontpage is Closed") Set oFP = CreateObject("Frontpage.Application") Else MsgBox ("Frontpage is already open") Set oFP = GetObject(, "Frontpage.Application") End If 'add code here later to make a copy of my file 'open file in front page------------------------------------------------ oFP.Webs.Open ("E:\Sds\Clients\CPP\Webletters\template.html") 'STUCK HERE ' Show FrontPage oFPweb.Activate 'Set oFP = Nothing End Sub ---------------------------------------------------------------------------- ---- TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rfv at entelix.com Tue Sep 14 19:17:19 2004 From: rfv at entelix.com (rfv at entelix.com) Date: Tue, 14 Sep 2004 19:17:19 -0500 Subject: [AccessD] (no subject) Message-ID: <200409150017.i8F0HO624634@databaseadvisors.com> Hi, I am not sure if it is correct to post this kind of message on this forum. If it is not, please I apologize. We just uploaded our first beta demo to www.dbxtra.com. DBxtra - enterprise reporting system - is a innovative and comprehensive data-explorer and reporting tool for information delivery, analysis and decision making. It connects to multiple databases across enterprises, and allows exploring your data in unlimited ways in order to take the right business decisions. It does the following 1. Connect to your data (MS Access, SQL Server, Excel, Paradox, DBF and Tetx files) 2. Explore your data 3. Design and deploy your reports 4. Export your data 5. Send your data by E-mail 6. Schedule reports and alerts You can download a demo and test it. After you tested it and if you write us your comments, we will give you a license for free. I am also open minded to receive any critics about the web site. Thanks to all of you. Rudolf F. Vanek www.dbxtra.com From rfv at entelix.com Tue Sep 14 19:17:41 2004 From: rfv at entelix.com (rfv at entelix.com) Date: Tue, 14 Sep 2004 19:17:41 -0500 Subject: [AccessD] DBxtra Message-ID: <200409150017.i8F0Hl625569@databaseadvisors.com> Hi, I am not sure if it is correct to post this kind of message on this forum. If it is not, please I apologize. We just uploaded our first beta demo to www.dbxtra.com. DBxtra - enterprise reporting system - is a innovative and comprehensive data-explorer and reporting tool for information delivery, analysis and decision making. It connects to multiple databases across enterprises, and allows exploring your data in unlimited ways in order to take the right business decisions. It does the following 1. Connect to your data (MS Access, SQL Server, Excel, Paradox, DBF and Tetx files) 2. Explore your data 3. Design and deploy your reports 4. Export your data 5. Send your data by E-mail 6. Schedule reports and alerts You can download a demo and test it. After you tested it and if you write us your comments, we will give you a license for free. I am also open minded to receive any critics about the web site. Thanks to all of you. Rudolf F. Vanek www.dbxtra.com From accessd at shaw.ca Tue Sep 14 22:03:57 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 14 Sep 2004 20:03:57 -0700 Subject: [AccessD] Urgent help please - Can't open html pageinFrontpagefrom Access form In-Reply-To: <006501c49ab0$4255fe30$6501a8c0@user> Message-ID: Hi Kath: If the file is in html format and saved with the html extension. I.e. test.html, then any station with an active browser will display it. Even if the file is originally a document file it can be saved as an html file and Microsoft will do the conversion for you...sometime it is not very pretty but it is simple. All that has to be done for each station to view/run it is that the html 'document' has to be stored in a common shared directory. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Tuesday, September 14, 2004 4:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Urgent help please - Can't open html pageinFrontpagefrom Access form I don't have VB Drew....... Kath ----- Original Message ----- From: DWUTKA at marlow.com To: accessd at databaseadvisors.com Sent: Wednesday, September 15, 2004 12:01 AM Subject: RE: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form If you have VB, you can just 'preview' it for them in a simple VB browser. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Tuesday, September 14, 2004 6:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form Thanks Eric - I am finding this so confusing. Yes - I have IIS running here - so my file must be in a folder from C:\Inetpub\wwwroot? I need to allow the database users to share a common file - can it find a web in a network location? To go back to the basic requirements - what I am trying to do is allow users to click on a button in the databse which will open a document which will be published to the web. I want them to be able to create and edit that document by following a link from an access form, because the letter that the users 'create' will be linked to recipients from my database. They could theoretically do it in Word or Notepad (or even within Access), but I want them to see how it will preview on the web before they finalise it, so formatting is done. I don't want to have to worry about whether they are running IIS or create web folders or whatever - just open and edit a simple html file in Frontpage so they can see how it would publish. Am I going about this the wrong way? TIA! Kath ----- Original Message ----- From: Eric Barro To: Access Developers discussion and problem solving Sent: Tuesday, September 14, 2004 11:31 AM Subject: RE: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form Kath, FP webs expect to open these web folders in reference to the web root folder in IIS. For example: You have IIS (web server) running on the machine and you have a web called MYWEB. IIS sees this as http://localhost/MYWEB. The physical location (assuming the web root is C:\INETPUB\WWWROOT) is C:\INETPUB\WWWROOT\MYWEB\. So...if MYWEB is in a different folder...say C:\INETPUB\WWWROOT\ANOTHERFOLDER\MYWEB\ FP won't be able to recognize that as a web location. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Monday, September 13, 2004 6:13 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Urgent help please - Can't open html page in Frontpagefrom Access form I have wasted ages on this so am now begging assistance........ I have an html file (empty at present - later it will have some basic text) I need to my code to - Make a copy of the template.html file (I can do that) and - give it a new name, eg. Template_BHP_140904.html (I can do that) - Open the html file just created in Frontpage for users to modify the document (That's where I'm stuck....) My problem is a total lack of knowledge of files vs. webs and therefore the syntax I need. Questions: - - Do I have to have a 'web' or 'web folder' - can't I just have an html file and open it? - If I can, what is the alternative syntax to .webs.open - eg. I am looking for a .pages.open property or .files.open ? Here's my code so far - when I run it I get an error - There is no web named "/E:/SDS/Clients/CPP/WebLetters/Template.html" -------------------------------------------------------------------------- -- ---- Private Sub CmdOpenFP_Click() Dim oFPweb As FrontPage.Web Dim oFP As FrontPage.Application Dim FrontPageRunning As Boolean 'Determine whether FrontPage is alredy open or not FrontPageRunning = IsFrontPageRunning() If Not FrontPageRunning Then MsgBox ("Frontpage is Closed") Set oFP = CreateObject("Frontpage.Application") Else MsgBox ("Frontpage is already open") Set oFP = GetObject(, "Frontpage.Application") End If 'add code here later to make a copy of my file 'open file in front page------------------------------------------------ oFP.Webs.Open ("E:\Sds\Clients\CPP\Webletters\template.html") 'STUCK HERE ' Show FrontPage oFPweb.Activate 'Set oFP = Nothing End Sub -------------------------------------------------------------------------- -- ---- TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Tue Sep 14 22:41:42 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 14 Sep 2004 20:41:42 -0700 Subject: [AccessD] Firefox Shameless plug... Message-ID: Version 1.0 is out (PR preview release) to say the least it is awesome... if you subscribe to RSS feeds for anything, you'll probably take to what they are calling LIVE bookmarks... they ARE sweet. -- -Francisco From martyconnelly at shaw.ca Tue Sep 14 23:44:23 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 14 Sep 2004 21:44:23 -0700 Subject: [AccessD] Problem with code to change field data type in vba References: Message-ID: <4147C8A7.90202@shaw.ca> You are missing a statement Set tbl = dbs.TableDefs("Table1") however this method wont work. For Access 97 with DAO '***************************************************************** ' The AlterFieldType Sub procedure requires three string ' parameters. The first string specifies the name of the table ' containing the field to be changed. The second string specifies ' the name of the field to be changed. The third string specifies ' the new data type for the field. '***************************************************************** Sub AlterFieldType (TblName As String, FieldName As String, _ NewDataType As String) Dim db As Database Dim qdf As QueryDef Set db = CurrentDb() ' Create a dummy QueryDef object. Set qdf = db.CreateQueryDef("", "Select * from PROD1") ' Add a temporary field to the table. qdf.SQL = "ALTER TABLE [" & TblName & "] ADD COLUMN_ AlterTempField " & NewDataType qdf.Execute ' Copy the data from old field into the new field. qdf.SQL = "UPDATE DISTINCTROW [" & TblName & "] SET_ AlterTempField = [" & FieldName & "]" qdf.Execute ' Delete the old field. qdf.SQL = "ALTER TABLE [" & TblName & "] DROP COLUMN ["_ & FieldName & "]" qdf.Execute ' Rename the temporary field to the old field's name. db.tabledefs("[" & TblName & "]").Fields("AlterTempField")._ Name = FieldName ' Clean up. End Sub For ADO with 2000 , you could also do this with ADO and 97 by setting an ADO reference and by setting the connection string directly like so Set cnn = New ADODB.Connection cnn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=c:\somepath\myDb.mdb;" & _ "User Id=admin;" & _ "Password=" Sub sChangeDataType() Dim cnn As ADODB.Connection Dim strSQL As String Set cnn = CurrentProject.Connection ' however this sql string might work in Access 97 if using Jet 4.0 rather than 3.51 'by selecting a reference to DAO 3.6 rather than DAO 3.51 strSQL = "ALTER TABLE [Employees] ALTER COLUMN Extension int" cnn.Execute strSQL end sub See also http://support.microsoft.com/default.aspx?scid=kb;EN-US;210304 http://support.microsoft.com/default.aspx?scid=kb;EN-US;128016 Paul Black wrote: > Hi > > I using Access 97 and can not get the following to work: > > Private Sub Command0_Click() > Dim fld As Field > Dim dbs As Database > Dim tbl As TableDef > > Set dbs = CurrentDb() > For Each fld In tbl.Fields > If Left$(tbl.Name, 2) = "t_" And fld <> "t_proj" And fld <> "t_pt" > And fld <> "t_plink" And fld <> "ptlink" And fld <> "t_species" Then > fld.Type = dbInteger > End If > Next fld > > Beep > MsgBox "Done" > End Sub > > It is supposed to change the field data type to integer from text. All > field names to change begin with 't_ > 'excludingcertainfieldslistedabove.I > keep getting an error: > > Runtime error '91' > Object Variable or With Block variable not set > > Other than the excluded fields above all the data conatined in the > fields is numeric or has a Null value... but it is in a text field. > The data is coming to me off of a Pocket PC and it won't let me change > the field type to numeric. > > Please help me solve this. > > Thanks > > PB > > _________________________________________________________________ > Get ready for school! Find articles, homework help and more in the > Back to School Guide! http://special.msn.com/network/04backtoschool.armx > -- Marty Connelly Victoria, B.C. Canada From KP at sdsonline.net Wed Sep 15 00:03:53 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Wed, 15 Sep 2004 15:03:53 +1000 Subject: [AccessD] Urgent help please - Can't open html pageinFrontpagefromAccess form References: Message-ID: <001701c49ae1$661c0d10$6501a8c0@user> Hi Jim - thanks for your comment - these particular users really don't understand (or accept) that the doc. will look different once displayed in the browser, eg. if they have created it in Word and then it is converted by Microsoft to html....and I understand where they are coming from. They have accepted that to create it as a web page they need to do so in Frontpage and then they can see how it will look once it goes live. My problem (and I can't believe that I'm still stuck on this) is providing a link for all staff in the office to be able to open the documents they create, edit them and save them. It is essential that it happen from the database because I am storing a history of documents (just path/s and filename/s) they create and they have complex selection criteria for nominating which clients eventually *see* the doc on the website. Given that it is so easy to create / and link to a doc in Word or Excel from an Access form I thought it would be pretty straightforward to do something like this in Frontpage. I'm still sure that it is.....just not there yet. Kath ----- Original Message ----- From: Jim Lawrence (AccessD) To: Access Developers discussion and problem solving Sent: Wednesday, September 15, 2004 1:03 PM Subject: RE: [AccessD] Urgent help please - Can't open html pageinFrontpagefromAccess form Hi Kath: If the file is in html format and saved with the html extension. I.e. test.html, then any station with an active browser will display it. Even if the file is originally a document file it can be saved as an html file and Microsoft will do the conversion for you...sometime it is not very pretty but it is simple. All that has to be done for each station to view/run it is that the html 'document' has to be stored in a common shared directory. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Tuesday, September 14, 2004 4:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Urgent help please - Can't open html pageinFrontpagefrom Access form I don't have VB Drew....... Kath ----- Original Message ----- From: DWUTKA at marlow.com To: accessd at databaseadvisors.com Sent: Wednesday, September 15, 2004 12:01 AM Subject: RE: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form If you have VB, you can just 'preview' it for them in a simple VB browser. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Tuesday, September 14, 2004 6:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form Thanks Eric - I am finding this so confusing. Yes - I have IIS running here - so my file must be in a folder from C:\Inetpub\wwwroot? I need to allow the database users to share a common file - can it find a web in a network location? To go back to the basic requirements - what I am trying to do is allow users to click on a button in the databse which will open a document which will be published to the web. I want them to be able to create and edit that document by following a link from an access form, because the letter that the users 'create' will be linked to recipients from my database. They could theoretically do it in Word or Notepad (or even within Access), but I want them to see how it will preview on the web before they finalise it, so formatting is done. I don't want to have to worry about whether they are running IIS or create web folders or whatever - just open and edit a simple html file in Frontpage so they can see how it would publish. Am I going about this the wrong way? TIA! Kath ----- Original Message ----- From: Eric Barro To: Access Developers discussion and problem solving Sent: Tuesday, September 14, 2004 11:31 AM Subject: RE: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form Kath, FP webs expect to open these web folders in reference to the web root folder in IIS. For example: You have IIS (web server) running on the machine and you have a web called MYWEB. IIS sees this as http://localhost/MYWEB. The physical location (assuming the web root is C:\INETPUB\WWWROOT) is C:\INETPUB\WWWROOT\MYWEB\. So...if MYWEB is in a different folder...say C:\INETPUB\WWWROOT\ANOTHERFOLDER\MYWEB\ FP won't be able to recognize that as a web location. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Monday, September 13, 2004 6:13 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Urgent help please - Can't open html page in Frontpagefrom Access form I have wasted ages on this so am now begging assistance........ I have an html file (empty at present - later it will have some basic text) I need to my code to - Make a copy of the template.html file (I can do that) and - give it a new name, eg. Template_BHP_140904.html (I can do that) - Open the html file just created in Frontpage for users to modify the document (That's where I'm stuck....) My problem is a total lack of knowledge of files vs. webs and therefore the syntax I need. Questions: - - Do I have to have a 'web' or 'web folder' - can't I just have an html file and open it? - If I can, what is the alternative syntax to .webs.open - eg. I am looking for a .pages.open property or .files.open ? Here's my code so far - when I run it I get an error - There is no web named "/E:/SDS/Clients/CPP/WebLetters/Template.html" -------------------------------------------------------------------------- -- ---- Private Sub CmdOpenFP_Click() Dim oFPweb As FrontPage.Web Dim oFP As FrontPage.Application Dim FrontPageRunning As Boolean 'Determine whether FrontPage is alredy open or not FrontPageRunning = IsFrontPageRunning() If Not FrontPageRunning Then MsgBox ("Frontpage is Closed") Set oFP = CreateObject("Frontpage.Application") Else MsgBox ("Frontpage is already open") Set oFP = GetObject(, "Frontpage.Application") End If 'add code here later to make a copy of my file 'open file in front page------------------------------------------------ oFP.Webs.Open ("E:\Sds\Clients\CPP\Webletters\template.html") 'STUCK HERE ' Show FrontPage oFPweb.Activate 'Set oFP = Nothing End Sub -------------------------------------------------------------------------- -- ---- TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Sep 15 02:05:37 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 15 Sep 2004 17:05:37 +1000 Subject: [AccessD] Urgent help please - Can't open html pageinFrontpagefromAccess form In-Reply-To: <001701c49ae1$661c0d10$6501a8c0@user> Message-ID: <41487661.9605.155D4C@lexacorp.com.pg> On 15 Sep 2004 at 15:03, Kath Pelletti wrote: > It is essential that it happen from the database because I am storing a > history of documents (just path/s and filename/s) they create and they > have complex selection criteria for nominating which clients eventually > *see* the doc on the website. Given that it is so easy to create / and > link to a doc in Word or Excel from an Access form I thought it would be > pretty straightforward to do something like this in Frontpage. I'm still > sure that it is.....just not there yet. > Since Frontpage is not the default application for .htm pages, the simplest way is to use SHELL(). Something like Function OpenWithFrontPage(HTMLFile As String) As Long Dim strCmd As String Dim strFrontPagePath As String strFrontPagePath = "C:\Program files\Frontpage\Frontpage.exe" strCmd = Chr$(34) & strFrontPagePath & Chr$(34) & " " & Chr$(34) & HTMLFile & Chr$(34) Shell strCmd, vbNormalFocus End Function -- Stuart From d.dick at uws.edu.au Wed Sep 15 06:06:06 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 15 Sep 2004 21:06:06 +1000 Subject: [AccessD] A2K: Time diff calcs In-Reply-To: <027201c49a91$be215f10$6501a8c0@rock> Message-ID: <001a01c49b14$00de33f0$4a619a89@DDICK> Hi Arthur Many thanks for the tip and I agree. Store the seconds format when needed. In the relevant table should the data type be Integer? Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, 15 September 2004 5:34 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K: Time diff calcs IMHO you should always store time differences in seconds rather than any higher denomination, then leave the formatting of same to the front end. That way, IMO, your back-end data is always correct (and easily calculated), and you can postpone the formatting until the front end is right, confident that your data in the back-end is correct. Just my $.02. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Tuesday, September 14, 2004 8:25 AM To: AccessD List Subject: [AccessD] A2K: Time diff calcs Hello all I want to calculate then insert into a table the duration of a users logon in HOURS and MINUTES In the logon table the default value for the logon field is Now() and is captured at...You guessed at logon. I then run a query that updates the Logoff field to Now() once the user answers YES to loggin off. The theory being there will be a difference even if it is only 5 or 10 seconds. Unless some clown plays with the clock after loggin on --- but forget all that :-)) Both logon and logoff fields data types in the Logon Table are General Date (01/01/2004 15:45:25PM) So a user logs on at say...14/09/2004 10:08:45 PM and then logs off at say...14/09/2004 10:10:55 PM The time logged on = 2 mins and 10 secs but how do I calculate that? I have udsed DateDiff but with no success... DateDiff("Short Time",[LogonTimeAndDate],Now()) DateDiff("mm",[LogonTimeAndDate],Now()) DateDiff("nn",[LogonTimeAndDate],Now()) etc etc Many thanks in advance Darren -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Sep 15 07:12:32 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 15 Sep 2004 22:12:32 +1000 Subject: [AccessD] A2K: Time diff calcs In-Reply-To: <001a01c49b14$00de33f0$4a619a89@DDICK> References: <027201c49a91$be215f10$6501a8c0@rock> Message-ID: <4148BE50.9564.12E5B13@lexacorp.com.pg> On 15 Sep 2004 at 21:06, Darren DICK wrote: > Hi Arthur > Many thanks for the tip and I agree. Store the seconds format when needed. > In the relevant table should the data type be Integer? > if you need more than 32767 seconds (a bit over 9 hours) you will need to use a long. If you don't need that much, it is debatable. Integers take half the storage of longs, but take a bit longer to process if you are manipulating them. Depends on whether you want to save on storage or optimise processing time. However don't save them as singles or doubles. -- Stuart From gustav at cactus.dk Wed Sep 15 07:29:37 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 15 Sep 2004 14:29:37 +0200 Subject: [AccessD] A2K: Time diff calcs In-Reply-To: <4148BE50.9564.12E5B13@lexacorp.com.pg> References: <027201c49a91$be215f10$6501a8c0@rock> <4148BE50.9564.12E5B13@lexacorp.com.pg> Message-ID: <14521344621.20040915142937@cactus.dk> Hi Darren and Stuart Except for very excessive processing, processing time will be negligible compared to the time for reading and, indeed, writing the data. However, should heavy processing be needed, process the values in Long variables even if they are stored as Integer. For short intervals, four minutes or less, the seconds could even be stored as Byte. /gustav > On 15 Sep 2004 at 21:06, Darren DICK wrote: >> Hi Arthur >> Many thanks for the tip and I agree. Store the seconds format when needed. >> In the relevant table should the data type be Integer? > if you need more than 32767 seconds (a bit over 9 hours) you will need to > use a long. > If you don't need that much, it is debatable. Integers take half the > storage of longs, but take a bit longer to process if you are manipulating > them. Depends on whether you want to save on storage or optimise processing > time. > However don't save them as singles or doubles. > -- > Stuart From carlo at xsit.nl Wed Sep 15 07:59:10 2004 From: carlo at xsit.nl (Carlo van der Zon (Access IT Training)) Date: Wed, 15 Sep 2004 14:59:10 +0200 Subject: [AccessD] ADP Message-ID: <844F188BB505654DBCF15C4B24106C1008DC7B@headcon.headit.nl> Hi Group, Does anybody know how to choose de SQL database in a ADP Runtime? Thanks Carlo From subs1847 at solution-providers.ie Wed Sep 15 08:22:04 2004 From: subs1847 at solution-providers.ie (Mark L. Breen) Date: Wed, 15 Sep 2004 14:22:04 +0100 Subject: [AccessD] Gmail Invite (D) References: <003901c494ba$474923a0$de1118ac@D8TZHN0J><413E0DDB.26661.10EF57B7@lexacorp.com.pg> Message-ID: <006b01c49b29$f803a790$0101a8c0@D8TZHN0J> Thanks Stuart and Francisco, Of course, having asked the question, it seems now that the whole world is talking about gmail, sorry about that, Mark ----- Original Message ----- From: "Francisco Tapia" To: "Access Developers discussion and problem solving" Sent: Tuesday, September 07, 2004 2:02 PM Subject: Re: [AccessD] Gmail Invite (D) > Thanks, > Gmail takes a new approach to email. Not only do you get 1gb of > storage, but you get much more, organization is easier and following > threads in any mailing list is a breeze! I really do dig it, so much > that I've moved many of my current mailing subscriptions to it. > > > On Tue, 07 Sep 2004 19:36:59 +1000, Stuart McLachlan > wrote: > > On 7 Sep 2004 at 10:08, Mark L. Breen wrote: > > > > > Hello Francisco, > > > > > > I have to ask, what is gmail? Sorry if this is obvious > > > > > > > See > > https://gmail.google.com/?dest=http%3A%2F%2Fgmail.google.com%2Fgmail > > > > Then read > > > > http://gmail-is-too-creepy.com/ > > > > -- > > Stuart > > > > > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fhtapia at gmail.com Wed Sep 15 10:28:12 2004 From: fhtapia at gmail.com (fhtapia at gmail.com) Date: Wed, 15 Sep 2004 08:28:12 -0700 Subject: [AccessD] Objects.... Message-ID: So I have a label class that has a function to turn the mouse icon to a hand so users know it's a clickable item. I'd like to duplicate a MouseOver event, so for that I'm going to place a hidden box under the labels so when the mouse wanders off, I can change the color off again... I'd like to wrap the box into a class, but I'm having difficulty envisioning how I'd call all the label class objects to change back to the default color. help tips and hints appreciated... doc, url links are appreciated even more :D btw, new version of firefox is out for those that don't know... this is version 1.0 very very nice :) -- -Francisco "Rediscover the web" http://www.mozilla.org/products/firefox/ ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 From fhtapia at gmail.com Wed Sep 15 10:30:07 2004 From: fhtapia at gmail.com (fhtapia at gmail.com) Date: Wed, 15 Sep 2004 08:30:07 -0700 Subject: [AccessD] ADP In-Reply-To: <844F188BB505654DBCF15C4B24106C1008DC7B@headcon.headit.nl> References: <844F188BB505654DBCF15C4B24106C1008DC7B@headcon.headit.nl> Message-ID: File |Connection, then select the full connection settings On Wed, 15 Sep 2004 14:59:10 +0200, Carlo van der Zon (Access IT Training) wrote: > Hi Group, > > Does anybody know how to choose de SQL database in a ADP Runtime? > > Thanks > Carlo > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://www.mozilla.org/products/firefox/ ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 From gustav at cactus.dk Wed Sep 15 10:39:53 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 15 Sep 2004 17:39:53 +0200 Subject: [AccessD] Objects.... In-Reply-To: References: Message-ID: <3632760777.20040915173953@cactus.dk> Hi fhtapia alias Francisco Not quite sure what you are trying to accomplish ... Nevertheless, sounds like a perfect job for WithEvents! I believe JC has a white paper on our own web site. /gustav > So I have a label class that has a function to turn the mouse icon to > a hand so users know it's a clickable item. I'd like to duplicate a > MouseOver event, so for that I'm going to place a hidden box under the > labels so when the mouse wanders off, I can change the color off > again... > I'd like to wrap the box into a class, but I'm having difficulty > envisioning how I'd call all the label class objects to change back to > the default color. > help tips and hints appreciated... doc, url links are appreciated even more :D From lytlenj at yahoo.com Wed Sep 15 11:02:31 2004 From: lytlenj at yahoo.com (Nancy Lytle) Date: Wed, 15 Sep 2004 09:02:31 -0700 (PDT) Subject: [AccessD] Unbound subform Message-ID: <20040915160231.80676.qmail@web53906.mail.yahoo.com> I have a form that contains a subform. I would like this subform to be unbound and not visible until a button is clicked on the main form. I cannot get the subform bound properly. I get the "The expression you entered refers to an object that is closed or doesn't exist" error. I had it at one time and lost it. Any ideas? TIA Nancy The name of the subform control is sbffrmReceiving The name of the subform is frmReceiving I put the name of the subform control it the control's tag property. This is the code I am using: Private sub cmdOpenRec_Click(): Me.sbffrmReceiving.Visible = True Me.sbffrmReceiving.SetFocus If Len(Me.sbffrmReceiving.Form.SourceObject) = 0 Then Me.sbffrmReceiving.Form.SourceObject = Me.sbffrmReceiving.Form.Tag Me.sbffrmReceiving.Form.LinkChildFields = Forms!Me.sbffrmReceiving.Form.LinkChildFields Me.sbffrmReceiving.Form.LinkMasterFields = Me.sbffrmReceiving.Form.LinkMasterFields End If From cyx5 at cdc.gov Wed Sep 15 11:24:34 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Wed, 15 Sep 2004 12:24:34 -0400 Subject: [AccessD] Unbound subform Message-ID: When the main form opens, set the subform.visible=false When the button is clicked on the main form, then fire the subform.visible=true -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nancy Lytle Sent: Wednesday, September 15, 2004 12:03 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Unbound subform I have a form that contains a subform. I would like this subform to be unbound and not visible until a button is clicked on the main form. I cannot get the subform bound properly. I get the "The expression you entered refers to an object that is closed or doesn't exist" error. I had it at one time and lost it. Any ideas? TIA Nancy The name of the subform control is sbffrmReceiving The name of the subform is frmReceiving I put the name of the subform control it the control's tag property. This is the code I am using: Private sub cmdOpenRec_Click(): Me.sbffrmReceiving.Visible = True Me.sbffrmReceiving.SetFocus If Len(Me.sbffrmReceiving.Form.SourceObject) = 0 Then Me.sbffrmReceiving.Form.SourceObject = Me.sbffrmReceiving.Form.Tag Me.sbffrmReceiving.Form.LinkChildFields = Forms!Me.sbffrmReceiving.Form.LinkChildFields Me.sbffrmReceiving.Form.LinkMasterFields = Me.sbffrmReceiving.Form.LinkMasterFields End If -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Wed Sep 15 12:05:19 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 15 Sep 2004 10:05:19 -0700 Subject: [AccessD] Objects.... In-Reply-To: <3632760777.20040915173953@cactus.dk> References: <3632760777.20040915173953@cactus.dk> Message-ID: thanks for the reminder.. btw, I've fixed the outgoing name :D On Wed, 15 Sep 2004 17:39:53 +0200, Gustav Brock wrote: > Hi fhtapia alias Francisco > > Not quite sure what you are trying to accomplish ... > Nevertheless, sounds like a perfect job for WithEvents! > > I believe JC has a white paper on our own web site. > > /gustav > > > > So I have a label class that has a function to turn the mouse icon to > > a hand so users know it's a clickable item. I'd like to duplicate a > > MouseOver event, so for that I'm going to place a hidden box under the > > labels so when the mouse wanders off, I can change the color off > > again... > > > I'd like to wrap the box into a class, but I'm having difficulty > > envisioning how I'd call all the label class objects to change back to > > the default color. > > > help tips and hints appreciated... doc, url links are appreciated even more :D > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://www.mozilla.org/products/firefox/ ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 From KIsmert at TexasSystems.com Wed Sep 15 12:36:49 2004 From: KIsmert at TexasSystems.com (Ken Ismert) Date: Wed, 15 Sep 2004 12:36:49 -0500 Subject: [AccessD] Objects.... In-Reply-To: Message-ID: <00e801c49b4a$956b5120$2a3ca8c0@TEXASSYSTEMS.COM> Francisco, General approach: In an Access form, I have found no simple way to determine when the mouse has moved off of a control. The idea then, is to trap MouseMove events for all controls and sections. When a control that you don't want to animate receives a MouseMove, it must tell all controls that you are animating to turn off their backcolor. A few quick thoughts: * No need for the hidden box - just use the label's own BackColor property * You will need perhaps three objects: 1. MouseOn object - sinks MouseMove event for Labels, TextBoxes, etc. Has two functions. First, when it receives a MouseMove event, it changes the control's BackColor 'on' if it is 'off', and notifies the MouseManager to turn 'off' all other controls. Second, turns 'off' its backcolor when requested by MouseManager. 2. MouseOff object - sinks MouseMove events for Sections, Labels, TextBoxes, etc. Includes all controls on the form that you don't want to animate. Has one function: when it receives a MouseMove event, it notifies the MouseManager to turn 'off' all other controls 3. MouseManager object - maintains two collections: a MouseOn object collection, and a MouseOff object collection. Has methods for adding a MouseOn and a MouseOff object to each collection. Has a method which loops through all MouseOn objects, telling them to turn their backcolors off, except for the active one, if any. It also has a Destruct method which sets both collections to nothing. * When loading, the form then must create the MouseManager object, and tell it to add all controls to either the MouseOn or MouseOff collections. When unloading, the form must destroy the MouseManager object. Finally, you may end up disappointed with the quality of the animation you get after all this effort. It is possible to move the mouse fast enough that none of the controls get a MouseMove event, leaving one of the controls highlighted, even though your cursor is off the form. -Ken -----Original Message----- From: fhtapia at gmail.com [mailto:fhtapia at gmail.com] Sent: Wednesday, September 15, 2004 10:28 AM To: Access Developers discussion and problem solving Subject: [AccessD] Objects.... So I have a label class that has a function to turn the mouse icon to a hand so users know it's a clickable item. I'd like to duplicate a MouseOver event, so for that I'm going to place a hidden box under the labels so when the mouse wanders off, I can change the color off again... I'd like to wrap the box into a class, but I'm having difficulty envisioning how I'd call all the label class objects to change back to the default color. help tips and hints appreciated... doc, url links are appreciated even more :D btw, new version of firefox is out for those that don't know... this is version 1.0 very very nice :) -- -Francisco "Rediscover the web" http://www.mozilla.org/products/firefox/ ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 From fhtapia at gmail.com Wed Sep 15 12:52:20 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 15 Sep 2004 10:52:20 -0700 Subject: [AccessD] Objects.... In-Reply-To: <00e801c49b4a$956b5120$2a3ca8c0@TEXASSYSTEMS.COM> References: <00e801c49b4a$956b5120$2a3ca8c0@TEXASSYSTEMS.COM> Message-ID: thanks for the tips Ken, I will test out a couple of these ideas On Wed, 15 Sep 2004 12:36:49 -0500, Ken Ismert wrote: > > Francisco, > > General approach: > > In an Access form, I have found no simple way to determine when the mouse > has moved off of a control. The idea then, is to trap MouseMove events for > all controls and sections. When a control that you don't want to animate > receives a MouseMove, it must tell all controls that you are animating to > turn off their backcolor. > > A few quick thoughts: > > * No need for the hidden box - just use the label's own BackColor property > > * You will need perhaps three objects: > 1. MouseOn object - sinks MouseMove event for Labels, TextBoxes, etc. Has > two functions. First, when it receives a MouseMove event, it changes the > control's BackColor 'on' if it is 'off', and notifies the MouseManager to > turn 'off' all other controls. Second, turns 'off' its backcolor when > requested by MouseManager. > 2. MouseOff object - sinks MouseMove events for Sections, Labels, > TextBoxes, etc. Includes all controls on the form that you don't want to > animate. Has one function: when it receives a MouseMove event, it notifies > the MouseManager to turn 'off' all other controls > 3. MouseManager object - maintains two collections: a MouseOn object > collection, and a MouseOff object collection. Has methods for adding a > MouseOn and a MouseOff object to each collection. Has a method which loops > through all MouseOn objects, telling them to turn their backcolors off, > except for the active one, if any. It also has a Destruct method which sets > both collections to nothing. > > * When loading, the form then must create the MouseManager object, and tell > it to add all controls to either the MouseOn or MouseOff collections. When > unloading, the form must destroy the MouseManager object. > > Finally, you may end up disappointed with the quality of the animation you > get after all this effort. It is possible to move the mouse fast enough that > none of the controls get a MouseMove event, leaving one of the controls > highlighted, even though your cursor is off the form. > > -Ken > > > > -----Original Message----- > From: fhtapia at gmail.com [mailto:fhtapia at gmail.com] > Sent: Wednesday, September 15, 2004 10:28 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Objects.... > > So I have a label class that has a function to turn the mouse icon to > a hand so users know it's a clickable item. I'd like to duplicate a > MouseOver event, so for that I'm going to place a hidden box under the > labels so when the mouse wanders off, I can change the color off > again... > > I'd like to wrap the box into a class, but I'm having difficulty > envisioning how I'd call all the label class objects to change back to > the default color. > > help tips and hints appreciated... doc, url links are appreciated even more > :D > > btw, new version of firefox is out for those that don't know... this > is version 1.0 very very nice :) > -- > -Francisco > "Rediscover the web" > http://www.mozilla.org/products/firefox/ > ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://www.mozilla.org/products/firefox/ ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 From fhtapia at gmail.com Wed Sep 15 12:55:35 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 15 Sep 2004 10:55:35 -0700 Subject: [AccessD] Unbound subform In-Reply-To: References: Message-ID: you can also set the sourceobject = "" and when the control is clicked, you can set the sourceobject = "frm_yoursubformName" On Wed, 15 Sep 2004 12:24:34 -0400, Nicholson, Karen wrote: > When the main form opens, set the subform.visible=false > When the button is clicked on the main form, then fire the > subform.visible=true > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nancy Lytle > Sent: Wednesday, September 15, 2004 12:03 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Unbound subform > > I have a form that contains a subform. I would like > this subform to be unbound and not visible until a > button is clicked on the main form. I cannot get the > subform bound properly. I get the "The expression you > entered refers to an object that is closed or doesn't > exist" error. > I had it at one time and lost it. > Any ideas? > TIA > Nancy > > The name of the subform control is sbffrmReceiving > The name of the subform is frmReceiving > I put the name of the subform control it the control's > tag property. > > This is the code I am using: > Private sub cmdOpenRec_Click(): > > Me.sbffrmReceiving.Visible = True > Me.sbffrmReceiving.SetFocus > > If Len(Me.sbffrmReceiving.Form.SourceObject) = 0 Then > > Me.sbffrmReceiving.Form.SourceObject = > Me.sbffrmReceiving.Form.Tag > > Me.sbffrmReceiving.Form.LinkChildFields = > Forms!Me.sbffrmReceiving.Form.LinkChildFields > > Me.sbffrmReceiving.Form.LinkMasterFields = > Me.sbffrmReceiving.Form.LinkMasterFields > End If > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://www.mozilla.org/products/firefox/ ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 From serbach at new.rr.com Wed Sep 15 14:08:48 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Wed, 15 Sep 2004 14:08:48 -0500 Subject: [AccessD] Gmail Invite (D) In-Reply-To: References: <003901c494ba$474923a0$de1118ac@D8TZHN0J> <413E0DDB.26661.10EF57B7@lexacorp.com.pg> Message-ID: <20040915140848.2051417651.serbach@new.rr.com> Francisco, I see that Gmail is in beta. There, apparently, is no sign-up at the moment, so your "invite" was the only way to sign up as of now. Interesting. Might be a good address for giving out on web pages and such rather than my bona fide address. I purchased Bloomba back in October. It's forte is searching, too. I've been pretty happy with it except for the fact that I can't figure out how to request a Read Receipt. It's full text indexing is very fast. Steve Erbach Neenah, WI From fhtapia at gmail.com Wed Sep 15 15:13:56 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 15 Sep 2004 13:13:56 -0700 Subject: [AccessD] Gmail Invite (D) In-Reply-To: <20040915140848.2051417651.serbach@new.rr.com> References: <003901c494ba$474923a0$de1118ac@D8TZHN0J> <413E0DDB.26661.10EF57B7@lexacorp.com.pg> <20040915140848.2051417651.serbach@new.rr.com> Message-ID: I've never used Bloomba. I find myself liking Gmail a little more everyday, now especially more because I'm getting used to the keyboard shortcuts :), and on managing filters... I do have one that is my IGNORE thread filter.. you just choose your topic in the subject line such as ("Gmail Invite (D)" OR "Bound vs Unbound") and then select it to auto-trash these messages, and viola, you'll never see those messages hit your inbox again... so far it's worked flawlessly... :) btw,... for those who are using IE, the new JPEG exploit is a real baddy as it can be used to grab uids and pwds from your IE cache and transmit them to the world :( On Wed, 15 Sep 2004 14:08:48 -0500, Steven W. Erbach wrote: > Francisco, > > I see that Gmail is in beta. There, apparently, is no sign-up at the moment, so your "invite" was the only way to sign up as of now. Interesting. Might be a good address for giving out on web pages and such rather than my bona fide address. > > I purchased Bloomba back in October. It's forte is searching, too. I've been pretty happy with it except for the fact that I can't figure out how to request a Read Receipt. It's full text indexing is very fast. > > Steve Erbach > Neenah, WI > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://www.mozilla.org/products/firefox/ ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 From serbach at new.rr.com Wed Sep 15 16:07:01 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Wed, 15 Sep 2004 16:07:01 -0500 Subject: [AccessD] Firefox Shameless plug... In-Reply-To: References: Message-ID: <20040915160701.729623265.serbach@new.rr.com> Francisco, I've downloaded an earlier release of Firefox and now this one. I've got an HTML file on my C: drive that I use for my home page. I've posted it to: http://www.swerbach.com/serbach/erbach.htm Look at it with FireFox and then with Internet Explorer. Firefox, at least on my system, makes the table way too spaced out, to coin a phrase. Steve Erbach Neenah, WI From Jeff at OUTBAKTech.com Wed Sep 15 16:48:03 2004 From: Jeff at OUTBAKTech.com (Jeff Barrows) Date: Wed, 15 Sep 2004 16:48:03 -0500 Subject: [AccessD] Gmail Invite (D) Message-ID: <8DA8776D2F418E46A2A464AC6CE630509349@outbaksrv1.outbaktech.com> Are you looking for a GMail invite? Jeff Barrows MCP, MCAD, MCSD Outbak Technologies, LLC Racine, WI jeff at outbaktech.com -----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: Wednesday, September 15, 2004 2:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Gmail Invite (D) Francisco, I see that Gmail is in beta. There, apparently, is no sign-up at the moment, so your "invite" was the only way to sign up as of now. Interesting. Might be a good address for giving out on web pages and such rather than my bona fide address. I purchased Bloomba back in October. It's forte is searching, too. I've been pretty happy with it except for the fact that I can't figure out how to request a Read Receipt. It's full text indexing is very fast. Steve Erbach Neenah, WI -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Wed Sep 15 17:55:19 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Wed, 15 Sep 2004 18:55:19 -0400 Subject: [AccessD] External IP Address of Local Machine In-Reply-To: <20040915160701.729623265.serbach@new.rr.com> Message-ID: <000401c49b77$13546cd0$0200a8c0@COA3> I am using WDSI, WinInet and various API's to get 2 Access applications to send data to each other over FTP. It is working well, but I want the server to be secure, that is to only allow logins/files to come from specific IP's. This is ok when I am sending, because I know my IP, and I tell the client to allow my IP. When I (hopefully) sell a copy to the client's client, how can they easily determine their IP? I have looked at the Winsock API and can get remote IP's via Host Name. However, when I want to get the IP of the local PC, it returns the 192.168.x.x address; how can I get the external IP that the FTP server needs to know through VB/API? TIA, Steve From KP at sdsonline.net Wed Sep 15 18:11:15 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Thu, 16 Sep 2004 09:11:15 +1000 Subject: [AccessD] Urgent help please - Can't openhtml pageinFrontpagefromAccess form References: <41487661.9605.155D4C@lexacorp.com.pg> Message-ID: <007801c49b79$4d395e90$6501a8c0@user> Thanks Stuart - good to hear from you. I try to avoid the Shell but it looks like the way to go, doesn't it? Thanks for the reminder. I guess the downside is having to hardcode the location of that frontpg.exe file - ...... I might store the 'default' location of the frontpg.exe in a table, but prompt the user with a browse dialog to find it if it's in a different location. Not perfect, but OK?? Kath ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problemsolving Sent: Wednesday, September 15, 2004 5:05 PM Subject: Re: [AccessD] Urgent help please - Can't openhtml pageinFrontpagefromAccess form On 15 Sep 2004 at 15:03, Kath Pelletti wrote: > It is essential that it happen from the database because I am storing a > history of documents (just path/s and filename/s) they create and they > have complex selection criteria for nominating which clients eventually > *see* the doc on the website. Given that it is so easy to create / and > link to a doc in Word or Excel from an Access form I thought it would be > pretty straightforward to do something like this in Frontpage. I'm still > sure that it is.....just not there yet. > Since Frontpage is not the default application for .htm pages, the simplest way is to use SHELL(). Something like Function OpenWithFrontPage(HTMLFile As String) As Long Dim strCmd As String Dim strFrontPagePath As String strFrontPagePath = "C:\Program files\Frontpage\Frontpage.exe" strCmd = Chr$(34) & strFrontPagePath & Chr$(34) & " " & Chr$(34) & HTMLFile & Chr$(34) Shell strCmd, vbNormalFocus End Function -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Sep 15 18:16:02 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 16 Sep 2004 09:16:02 +1000 Subject: [AccessD] Firefox Shameless plug... In-Reply-To: <20040915160701.729623265.serbach@new.rr.com> References: Message-ID: <414959D2.17317.38DC686@lexacorp.com.pg> On 15 Sep 2004 at 16:07, Steven W. Erbach wrote: > Francisco, > > I've downloaded an earlier release of Firefox and now this one. I've got an HTML file on my C: drive that I use for my home page. I've posted it to: > > http://www.swerbach.com/serbach/erbach.htm > > Look at it with FireFox and then with Internet Explorer. Firefox, at least on my system, makes the table way too spaced out, to coin a phrase. > No, IE doesn't space it out enough. :-) You have a

around the text in every table cell. That *should* ( and does in the case of Firefox) force a lead before and after the text. IE is just ignoring these tags for some reason. What did you use to build this page? A MS product by any chance? -- Stuart From stuart at lexacorp.com.pg Wed Sep 15 18:47:48 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 16 Sep 2004 09:47:48 +1000 Subject: [AccessD] External IP Address of Local Machine In-Reply-To: <000401c49b77$13546cd0$0200a8c0@COA3> References: <20040915160701.729623265.serbach@new.rr.com> Message-ID: <41496144.8393.3AADD5D@lexacorp.com.pg> On 15 Sep 2004 at 18:55, Steve Conklin (Developer at UltraDNT) wrote: > I am using WDSI, WinInet and various API's to get 2 Access applications > to send data to each other over FTP. It is working well, but I want the > server to be secure, that is to only allow logins/files to come from > specific IP's. This is ok when I am sending, because I know my IP, and I > tell the client to allow my IP. When I (hopefully) sell a copy to the > client's client, how can they easily determine their IP? > I have looked at the Winsock API and can get remote IP's via Host Name. > However, when I want to get the IP of the local PC, it returns the > 192.168.x.x address; how can I get the external IP that the FTP server > needs to know through VB/API? > If you are working through a router, you can't since only the router knows the external address.. The only way would be to bounce an HTML request of an external website and read the return data. There a numbder of freeware tools available on the web that do just that. See http://www.snapfiles.com/freeware/network/fwip.html for examples If you're machine is directly connected to the Internet, you can iterate through it's IP adddresses. Here's a module to do it (watch for linewrap) Option Compare Database Option Explicit Const MAX_IP = 5 'To make a buffer... i dont think you have more than 5 ip on your pc.. Type IPINFO dwAddr As Long ' IP address dwIndex As Long ' interface index dwMask As Long ' subnet mask dwBCastAddr As Long ' broadcast address dwReasmSize As Long ' assembly size unused1 As Integer ' not currently used unused2 As Integer '; not currently used End Type Type MIB_IPADDRTABLE dEntrys As Long 'number of entries in the table mIPInfo(MAX_IP) As IPINFO 'array of IP address entries End Type Type IP_Array mBuffer As MIB_IPADDRTABLE BufferLen As Long End Type Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long) Public Declare Function GetIpAddrTable Lib "IPHlpApi" (pIPAdrTable As Byte, pdwSize As Long, ByVal Sort As Long) As Long Public Function ConvertAddressToString(longAddr As Long) As String Dim myByte(3) As Byte Dim Cnt As Long CopyMemory myByte(0), longAddr, 4 For Cnt = 0 To 3 ConvertAddressToString = ConvertAddressToString + CStr(myByte(Cnt)) + "." Next Cnt ConvertAddressToString = Left$(ConvertAddressToString, Len(ConvertAddressToString) - 1) End Function Public Function IPAddresses() As Long Dim lngRetVal As Long Dim lngLoop As Long Dim bBytes() As Byte Dim IPList As MIB_IPADDRTABLE GetIpAddrTable ByVal 0&, lngRetVal, True If lngRetVal <= 0 Then Exit Function ReDim bBytes(0 To lngRetVal - 1) As Byte 'retrieve the data GetIpAddrTable bBytes(0), lngRetVal, False 'Get the first 4 bytes to get the entry's.. ip installed CopyMemory IPList.dEntrys, bBytes(0), 4 For lngLoop = 0 To IPList.dEntrys - 1 'Copy whole structure to Listing.. CopyMemory IPList.mIPInfo(lngLoop), bBytes(4 + (lngLoop * Len(IPList.mIPInfo(0)))), Len(IPList.mIPInfo(lngLoop)) Debug.Print "IP address : " & ConvertAddressToString(IPList.mIPInfo(lngLoop).dwAddr) Debug.Print "IP Subnetmask : " & ConvertAddressToString(IPList.mIPInfo(lngLoop).dwMask) Debug.Print "BroadCast IP address : " & ConvertAddressToString(IPList.mIPInfo(lngLoop).dwBCastAddr) Debug.Print "**************************************" Next End Function -- Stuart From serbach at new.rr.com Wed Sep 15 22:21:15 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Wed, 15 Sep 2004 22:21:15 -0500 Subject: [AccessD] Firefox Shameless plug... In-Reply-To: <414959D2.17317.38DC686@lexacorp.com.pg> References: <414959D2.17317.38DC686@lexacorp.com.pg> Message-ID: <20040915222115.113940477.serbach@new.rr.com> Stuart, >> What did you use to build this page? A MS product by any chance? << I must confess that I stole the table design from John Dvorak's web site. I haven't changed the table data cell layout for ages. I should review it to bring it into XHTML 1.0 compliance. Steve Erbach Neenah, WI From serbach at new.rr.com Wed Sep 15 22:22:15 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Wed, 15 Sep 2004 22:22:15 -0500 Subject: [AccessD] Gmail Invite (D) In-Reply-To: <8DA8776D2F418E46A2A464AC6CE630509349@outbaksrv1.outbaktech.com> References: <8DA8776D2F418E46A2A464AC6CE630509349@outbaksrv1.outbaktech.com> Message-ID: <20040915222215.1995836797.serbach@new.rr.com> Jeff, >> Are you looking for a GMail invite? << Well, sure, if ya got one one 'a dem dere tings, eh? Steve Erbach Neenah, WI From Jeff at OUTBAKTech.com Wed Sep 15 23:25:10 2004 From: Jeff at OUTBAKTech.com (Jeff Barrows) Date: Wed, 15 Sep 2004 23:25:10 -0500 Subject: [AccessD] Gmail Invite (D) Message-ID: <8DA8776D2F418E46A2A464AC6CE63050934A@outbaksrv1.outbaktech.com> On its way! Anyone else? Jeff Barrows MCP, MCAD, MCSD Outbak Technologies, LLC Racine, WI jeff at outbaktech.com -----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: Wednesday, September 15, 2004 10:22 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Gmail Invite (D) Jeff, >> Are you looking for a GMail invite? << Well, sure, if ya got one one 'a dem dere tings, eh? Steve Erbach Neenah, WI -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Thu Sep 16 01:02:58 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 15 Sep 2004 23:02:58 -0700 Subject: [AccessD] Firefox Shameless plug... In-Reply-To: <20040915222115.113940477.serbach@new.rr.com> References: <414959D2.17317.38DC686@lexacorp.com.pg> <20040915222115.113940477.serbach@new.rr.com> Message-ID: glad I could help out ;o) On Wed, 15 Sep 2004 22:21:15 -0500, Steven W. Erbach wrote: > Stuart, > > >> What did you use to build this page? A MS product by any chance? << > > I must confess that I stole the table design from John Dvorak's web site. I haven't changed the table data cell layout for ages. I should review it to bring it into XHTML 1.0 compliance. > > Steve Erbach > Neenah, WI > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://www.mozilla.org/products/firefox/ ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 From markamatte at hotmail.com Wed Sep 15 08:19:55 2004 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 15 Sep 2004 13:19:55 +0000 Subject: [AccessD] A2K: Time diff calcs Message-ID: Maybe I missed something...but if you are already storing a start time...and an end time...do you need to store the seconds...can you just calculate the min/sec when you need to display or count? Thanks, Mark >From: Gustav Brock >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: Re: [AccessD] A2K: Time diff calcs >Date: Wed, 15 Sep 2004 14:29:37 +0200 > >Hi Darren and Stuart > >Except for very excessive processing, processing time will be >negligible compared to the time for reading and, indeed, writing the >data. >However, should heavy processing be needed, process the values in Long >variables even if they are stored as Integer. > >For short intervals, four minutes or less, the seconds could even be >stored as Byte. > >/gustav > > > > On 15 Sep 2004 at 21:06, Darren DICK wrote: > > >> Hi Arthur > >> Many thanks for the tip and I agree. Store the seconds format when >needed. > >> In the relevant table should the data type be Integer? > > > if you need more than 32767 seconds (a bit over 9 hours) you will need >to > > use a long. > > If you don't need that much, it is debatable. Integers take half the > > storage of longs, but take a bit longer to process if you are >manipulating > > them. Depends on whether you want to save on storage or optimise >processing > > time. > > > However don't save them as singles or doubles. > > > -- > > Stuart > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From awithing at twcny.rr.com Thu Sep 16 05:51:10 2004 From: awithing at twcny.rr.com (augusta) Date: Thu, 16 Sep 2004 06:51:10 -0400 Subject: [AccessD] Gmail Invite (D) In-Reply-To: <8DA8776D2F418E46A2A464AC6CE63050934A@outbaksrv1.outbaktech.com> Message-ID: <200409161051.i8GApCt3019564@ms-smtp-04.nyroc.rr.com> >On its way! Anyone else? Jeff Barrows MCP, MCAD, MCSD Yes if you have got extra! Thanks augusta From Subscriptions at servicexp.com Thu Sep 16 06:16:31 2004 From: Subscriptions at servicexp.com (Robert Gracie) Date: Thu, 16 Sep 2004 07:16:31 -0400 Subject: [AccessD] Connecting to MySQL across Internet **Anybody???** In-Reply-To: Message-ID: Hello, I have a program that may need to connect to a MySQL database across the internet, on the fly. It's only for a very small portion of the program so it may or may not be needed to be utilized by many users. So basically what is the best (lightest) way to make this connection on the fly, and only when needed? I think I will be looking at 3-4 tables MAX. To add,... it's an A2K .mdb Robert Gracie www.servicexp.com From carbonnb at gmail.com Thu Sep 16 07:15:11 2004 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 16 Sep 2004 08:15:11 -0400 Subject: [AccessD] Test Message-ID: Please Ignoe. This is just a test -- 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 markamatte at hotmail.com Thu Sep 16 07:55:44 2004 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 16 Sep 2004 12:55:44 +0000 Subject: [AccessD] Output Larg Text File Message-ID: Hello All, In A97 or A2k...I have a large report(>60,000 record and >11,000 Pages)...I need to save this as a text/rtf/something...everytime I try...I get an "over flow" error...any suggestions? Thanks, Mark From gustav at cactus.dk Thu Sep 16 08:12:31 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 16 Sep 2004 15:12:31 +0200 Subject: [AccessD] Output Larg Text File In-Reply-To: References: Message-ID: <16521239120.20040916151231@cactus.dk> Hi Mark If this is a simple report you may wish (need) to write it directly (no report) from code which is very fast too. Look up my message from 2004-01-02: "Writing raw RTF document using VBA - Solved" /gustav > In A97 or A2k...I have a large report(>60,000 record and >11,000 Pages)...I > need to save this as a text/rtf/something...everytime I try...I get an "over > flow" error...any suggestions? From stuart at lexacorp.com.pg Thu Sep 16 08:25:53 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 16 Sep 2004 23:25:53 +1000 Subject: [AccessD] Output Larg Text File In-Reply-To: Message-ID: <414A2101.1777.697D330@lexacorp.com.pg> On 16 Sep 2004 at 12:55, Mark A Matte wrote: > Hello All, > > In A97 or A2k...I have a large report(>60,000 record and >11,000 Pages)...I > need to save this as a text/rtf/something...everytime I try...I get an "over > flow" error...any suggestions? > How complex is the report? In this sort of situation, you are often better opening a text file for output, opening the underlying recordset,stepping through the records and writing out the rows. Something like: Dim rs as Recordset Set rs = CurrentDb.OpenRecordset("myquery") Open "myFile.txt" for Output as #1 While not rs.eof Print #1, rs(0) & "," & rs(1) & "," & rs(2)..... Wend Close #1 You can do as much formatting as you like for individual rows using various string manipulation functions, and by checking for changes in header fields you can throw headers rows as required. I did the same thing today to replace a "Docmd.OutputTo" to generate a web page. Writing the raw HTML directly to a file, gave me much better control over the layout of the resulting page and ran about 20 times faster than trying to Output a report to HTML. -- Stuart From Developer at UltraDNT.com Thu Sep 16 09:16:46 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Thu, 16 Sep 2004 10:16:46 -0400 Subject: [AccessD] External IP Address of Local Machine In-Reply-To: <41496144.8393.3AADD5D@lexacorp.com.pg> Message-ID: <001001c49bf7$cce00f80$0200a8c0@COA3> Thanks, Stuart. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, September 15, 2004 7:48 PM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] External IP Address of Local Machine On 15 Sep 2004 at 18:55, Steve Conklin (Developer at UltraDNT) wrote: > I am using WDSI, WinInet and various API's to get 2 Access > applications to send data to each other over FTP. It is working well, > but I want the server to be secure, that is to only allow logins/files > to come from specific IP's. This is ok when I am sending, because I > know my IP, and I tell the client to allow my IP. When I (hopefully) > sell a copy to the client's client, how can they easily determine their IP? > I have looked at the Winsock API and can get remote IP's via Host Name. > However, when I want to get the IP of the local PC, it returns the > 192.168.x.x address; how can I get the external IP that the FTP server > needs to know through VB/API? > If you are working through a router, you can't since only the router knows the external address.. The only way would be to bounce an HTML request of an external website and read the return data. There a numbder of freeware tools available on the web that do just that. See http://www.snapfiles.com/freeware/network/fwip.html for examples If you're machine is directly connected to the Internet, you can iterate through it's IP adddresses. Here's a module to do it (watch for linewrap) Option Compare Database Option Explicit Const MAX_IP = 5 'To make a buffer... i dont think you have more than 5 ip on your pc.. Type IPINFO dwAddr As Long ' IP address dwIndex As Long ' interface index dwMask As Long ' subnet mask dwBCastAddr As Long ' broadcast address dwReasmSize As Long ' assembly size unused1 As Integer ' not currently used unused2 As Integer '; not currently used End Type Type MIB_IPADDRTABLE dEntrys As Long 'number of entries in the table mIPInfo(MAX_IP) As IPINFO 'array of IP address entries End Type Type IP_Array mBuffer As MIB_IPADDRTABLE BufferLen As Long End Type Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long) Public Declare Function GetIpAddrTable Lib "IPHlpApi" (pIPAdrTable As Byte, pdwSize As Long, ByVal Sort As Long) As Long Public Function ConvertAddressToString(longAddr As Long) As String Dim myByte(3) As Byte Dim Cnt As Long CopyMemory myByte(0), longAddr, 4 For Cnt = 0 To 3 ConvertAddressToString = ConvertAddressToString + CStr(myByte(Cnt)) + "." Next Cnt ConvertAddressToString = Left$(ConvertAddressToString, Len(ConvertAddressToString) - 1) End Function Public Function IPAddresses() As Long Dim lngRetVal As Long Dim lngLoop As Long Dim bBytes() As Byte Dim IPList As MIB_IPADDRTABLE GetIpAddrTable ByVal 0&, lngRetVal, True If lngRetVal <= 0 Then Exit Function ReDim bBytes(0 To lngRetVal - 1) As Byte 'retrieve the data GetIpAddrTable bBytes(0), lngRetVal, False 'Get the first 4 bytes to get the entry's.. ip installed CopyMemory IPList.dEntrys, bBytes(0), 4 For lngLoop = 0 To IPList.dEntrys - 1 'Copy whole structure to Listing.. CopyMemory IPList.mIPInfo(lngLoop), bBytes(4 + (lngLoop * Len(IPList.mIPInfo(0)))), Len(IPList.mIPInfo(lngLoop)) Debug.Print "IP address : " & ConvertAddressToString(IPList.mIPInfo(lngLoop).dwAddr) Debug.Print "IP Subnetmask : " & ConvertAddressToString(IPList.mIPInfo(lngLoop).dwMask) Debug.Print "BroadCast IP address : " & ConvertAddressToString(IPList.mIPInfo(lngLoop).dwBCastAddr) Debug.Print "**************************************" Next End Function -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Thu Sep 16 09:39:00 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Thu, 16 Sep 2004 10:39:00 -0400 Subject: [AccessD] .TIFF Image of Report Pages Message-ID: Group, Does anyone have any brilliant ideas on how I could automatically generate a .tiff image for each page in a report? Background: Our company stores issued drawings in .tiff format. In the past, drawings have been scanned in manually in a reproduction department. Currently, I issue drawings using Access reports. It has been suggested that the .tiff creation MAY fall to the engineering department. Mark From Erwin.Craps at ithelps.be Thu Sep 16 09:48:30 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Thu, 16 Sep 2004 16:48:30 +0200 Subject: [AccessD] External IP Address of Local Machine Message-ID: <46B976F2B698FF46A4FE7636509B22DF0ADBD7@stekelbes.ithelps.local> Shields up is a test a webserver test, but just at the startpage (before the test) you can see your dns name and ip address https://www.grc.com/x/ne.dll?bh0bkyd2 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin (Developer at UltraDNT) Sent: Thursday, September 16, 2004 4:17 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] External IP Address of Local Machine Thanks, Stuart. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, September 15, 2004 7:48 PM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] External IP Address of Local Machine On 15 Sep 2004 at 18:55, Steve Conklin (Developer at UltraDNT) wrote: > I am using WDSI, WinInet and various API's to get 2 Access > applications to send data to each other over FTP. It is working well, > but I want the server to be secure, that is to only allow logins/files > to come from specific IP's. This is ok when I am sending, because I > know my IP, and I tell the client to allow my IP. When I (hopefully) > sell a copy to the client's client, how can they easily determine their IP? > I have looked at the Winsock API and can get remote IP's via Host Name. > However, when I want to get the IP of the local PC, it returns the > 192.168.x.x address; how can I get the external IP that the FTP server > needs to know through VB/API? > If you are working through a router, you can't since only the router knows the external address.. The only way would be to bounce an HTML request of an external website and read the return data. There a numbder of freeware tools available on the web that do just that. See http://www.snapfiles.com/freeware/network/fwip.html for examples If you're machine is directly connected to the Internet, you can iterate through it's IP adddresses. Here's a module to do it (watch for linewrap) Option Compare Database Option Explicit Const MAX_IP = 5 'To make a buffer... i dont think you have more than 5 ip on your pc.. Type IPINFO dwAddr As Long ' IP address dwIndex As Long ' interface index dwMask As Long ' subnet mask dwBCastAddr As Long ' broadcast address dwReasmSize As Long ' assembly size unused1 As Integer ' not currently used unused2 As Integer '; not currently used End Type Type MIB_IPADDRTABLE dEntrys As Long 'number of entries in the table mIPInfo(MAX_IP) As IPINFO 'array of IP address entries End Type Type IP_Array mBuffer As MIB_IPADDRTABLE BufferLen As Long End Type Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long) Public Declare Function GetIpAddrTable Lib "IPHlpApi" (pIPAdrTable As Byte, pdwSize As Long, ByVal Sort As Long) As Long Public Function ConvertAddressToString(longAddr As Long) As String Dim myByte(3) As Byte Dim Cnt As Long CopyMemory myByte(0), longAddr, 4 For Cnt = 0 To 3 ConvertAddressToString = ConvertAddressToString + CStr(myByte(Cnt)) + "." Next Cnt ConvertAddressToString = Left$(ConvertAddressToString, Len(ConvertAddressToString) - 1) End Function Public Function IPAddresses() As Long Dim lngRetVal As Long Dim lngLoop As Long Dim bBytes() As Byte Dim IPList As MIB_IPADDRTABLE GetIpAddrTable ByVal 0&, lngRetVal, True If lngRetVal <= 0 Then Exit Function ReDim bBytes(0 To lngRetVal - 1) As Byte 'retrieve the data GetIpAddrTable bBytes(0), lngRetVal, False 'Get the first 4 bytes to get the entry's.. ip installed CopyMemory IPList.dEntrys, bBytes(0), 4 For lngLoop = 0 To IPList.dEntrys - 1 'Copy whole structure to Listing.. CopyMemory IPList.mIPInfo(lngLoop), bBytes(4 + (lngLoop * Len(IPList.mIPInfo(0)))), Len(IPList.mIPInfo(lngLoop)) Debug.Print "IP address : " & ConvertAddressToString(IPList.mIPInfo(lngLoop).dwAddr) Debug.Print "IP Subnetmask : " & ConvertAddressToString(IPList.mIPInfo(lngLoop).dwMask) Debug.Print "BroadCast IP address : " & ConvertAddressToString(IPList.mIPInfo(lngLoop).dwBCastAddr) Debug.Print "**************************************" Next End Function -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carlo at xsit.nl Thu Sep 16 10:12:53 2004 From: carlo at xsit.nl (Carlo van der Zon (Access IT Training)) Date: Thu, 16 Sep 2004 17:12:53 +0200 Subject: [AccessD] ADP Message-ID: <844F188BB505654DBCF15C4B24106C100F9AEE@headcon.headit.nl> Ok, but this is not working in runtime. -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens fhtapia at gmail.com Verzonden: woensdag 15 september 2004 17:30 Aan: Access Developers discussion and problem solving Onderwerp: Re: [AccessD] ADP File |Connection, then select the full connection settings On Wed, 15 Sep 2004 14:59:10 +0200, Carlo van der Zon (Access IT Training) wrote: > Hi Group, > > Does anybody know how to choose de SQL database in a ADP Runtime? > > Thanks > Carlo > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://www.mozilla.org/products/firefox/ ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Thu Sep 16 10:13:13 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Thu, 16 Sep 2004 11:13:13 -0400 Subject: [AccessD] .TIFF Image of Report Pages Message-ID: <08F823FD83787D4BA0B99CA580AD3C74089BD1@TTNEXCHCL2.hshhp.com> If you can store the report as a pdf there are conversions available to get you to TIFF (I think Acrobat 6 saves as TIFF). HTH, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 16, 2004 10:39 AM To: [AccessD] Subject: [AccessD] .TIFF Image of Report Pages Group, Does anyone have any brilliant ideas on how I could automatically generate a .tiff image for each page in a report? Background: Our company stores issued drawings in .tiff format. In the past, drawings have been scanned in manually in a reproduction department. Currently, I issue drawings using Access reports. It has been suggested that the .tiff creation MAY fall to the engineering department. Mark -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From gustav at cactus.dk Thu Sep 16 10:36:18 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 16 Sep 2004 17:36:18 +0200 Subject: [AccessD] .TIFF Image of Report Pages In-Reply-To: References: Message-ID: <6329865764.20040916173618@cactus.dk> Hi Mark The "Print To Picture" printer driver: http://progrex.narod.ru/ptp.html can output to PCX, BMP, or PNG files. Then you can convert to TIFF. /gustav > Does anyone have any brilliant ideas on how I could automatically generate a > .tiff image for each page in a report? > Background: Our company stores issued drawings in .tiff format. In the > past, drawings have been scanned in manually in a reproduction department. > Currently, I issue drawings using Access reports. It has been suggested > that the .tiff creation MAY fall to the engineering department. From Developer at UltraDNT.com Thu Sep 16 11:13:01 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Thu, 16 Sep 2004 12:13:01 -0400 Subject: [AccessD] Connecting to MySQL across Internet **Anybody???** In-Reply-To: Message-ID: <000301c49c08$0a004dc0$0200a8c0@COA3> Ok, I'll take a shot, but this is a strict AFAIK, maybe someone else knows better ... Assuming your Access application is running completely on the client PC (that's why you asked this list), that is, no ASP/IIS going on; then the only way, and its not light, would be MySQL ODBC installed on the client, then you can instantiate an ADO connection only when needed. This is an area where a Web Service could come into play; that would be lighter than ODBC, but much heavier on your development time (web server development to expose the service, application development to request the service, etc, etc) Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Thursday, September 16, 2004 7:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Connecting to MySQL across Internet **Anybody???** Hello, I have a program that may need to connect to a MySQL database across the internet, on the fly. It's only for a very small portion of the program so it may or may not be needed to be utilized by many users. So basically what is the best (lightest) way to make this connection on the fly, and only when needed? I think I will be looking at 3-4 tables MAX. To add,... it's an A2K .mdb Robert Gracie www.servicexp.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Sep 16 12:12:38 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 16 Sep 2004 10:12:38 -0700 Subject: [AccessD] Connecting to MySQL across Internet **Anybody???** References: Message-ID: <4149C986.1020103@shaw.ca> Roughly it would look like this check for correct options or if driver name has changed for MYODBC and or using OLEDB version from http://dev.mysql.com/tech-resources/articles/vb-blob-handling.html 'CREATE CONNECTION OBJECT AND ASSIGN CONNECTION STRING Dim conn As ADODB.Connection Set conn = New ADODB.Connection conn.ConnectionString = "DRIVER={MySQL ODBC 3.51 Driver};" _ & "SERVER=127.0.0.1;" _ & "DATABASE=test;" _ & "UID=testuser;" _ & "PWD=12345;" _ & "OPTION=" & 1 + 2 + 8 + 32 + 2048 + 16384 conn.CursorLocation = adUseClient conn.Open 'OPEN RECORDSET FOR WRITING Dim rs As ADODB.Recordset Set rs = New ADODB.Recordset rs.Open "SELECT * FROM TableName", conn, adOpenStatic, adLockOptimistic ------------------- a program to test an app using MySQL. It uses ADO 2.5 on a MySQL server version 3.23.47. Note - if the MySQL database is off-site (available through the internet), default port 3306 must be open on the server/firewall. Sub TestMySQL() On Error Resume Next Dim cn As New ADODB.Connection Dim sql As String 'Set Connection String cn.ConnectionString = "driver={MySQL ODBC 3.51 Driver};server=xx.xxx.xxx.x;Port=xxxx;uid=user;pwd=passwrd;database=Phonebook" cn.Open 'Add records to table sql = "INSERT INTO Phonelist (ID, FName, LName, PhoneNum) VALUES" _ & "('" & txtID & "','" & txtFName & "','" & txtLName & "','" & txtPhone & "')" cn.Execute sql cn.Close End Sub --------------------------------------------------- Here are some sample or freebie programs that can test your remote connection to MySQL Toad for MySQL ? Preview Release http://www.quest.com/ToadMySQL/index.asp MyAccess MySQL type of EM for MySQL as an Access Addin http://www.hiden.org/myaccess/ How to import Excel, Access or XML data into MySQL database by using a MySQL Client Tool ? Navicat? http://www.stardeveloper.com/articles/display.html?article=2003101901&page=1 Robert Gracie wrote: >Hello, > I have a program that may need to connect to a MySQL database across the >internet, on the fly. It's only for a very small portion of the program so >it may or may not be needed to be utilized by many users. > > So basically what is the best (lightest) way to make this connection on the >fly, and only when needed? I think I will be looking at 3-4 tables MAX. > > >To add,... it's an A2K .mdb > >Robert Gracie >www.servicexp.com > > > > > > > -- Marty Connelly Victoria, B.C. Canada From BBarabash at TappeConstruction.com Thu Sep 16 12:43:40 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 16 Sep 2004 12:43:40 -0500 Subject: [AccessD] .TIFF Image of Report Pages Message-ID: <100F91B31300334B89EC531C9DCB0865065950@tccexch01.tappeconstruction.net> Mark, Try this product: Zan Image Printer http://www.zan1011.com/index.htm It allows you to output to TIFF, JPG or BMP file, and you can setup file location defaults so it will automatically save the files to a specified location. (At $29, I think I might pick up a copy for myself) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 16, 2004 9:39 AM To: [AccessD] Subject: [AccessD] .TIFF Image of Report Pages Group, Does anyone have any brilliant ideas on how I could automatically generate a .tiff image for each page in a report? Background: Our company stores issued drawings in .tiff format. In the past, drawings have been scanned in manually in a reproduction department. Currently, I issue drawings using Access reports. It has been suggested that the .tiff creation MAY fall to the engineering department. Mark -- -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From fhtapia at gmail.com Thu Sep 16 12:54:34 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 16 Sep 2004 10:54:34 -0700 Subject: [AccessD] ADP In-Reply-To: <844F188BB505654DBCF15C4B24106C100F9AEE@headcon.headit.nl> References: <844F188BB505654DBCF15C4B24106C100F9AEE@headcon.headit.nl> Message-ID: oh, in that case you want to do this via code. For your database make sure to add the REFRENCE to "Microsoft OLE DB Service Component 1.0 Type Library" from a code module, then use the following in either an ON click of a button. Dim dl As MSDASC.DataLinks Dim cn As ADODB.Connection Dim rs As ADODB.Recordset Set dl = New MSDASC.DataLinks Set cn = New ADODB.Connection Set rs = New ADODB.Recordset Set cn = dl.PromptNew currentproject.connection.connectionstring = Trim(cn.ConnectionString) On Thu, 16 Sep 2004 17:12:53 +0200, Carlo van der Zon (Access IT Training) wrote: > Ok, but this is not working in runtime. > > -----Oorspronkelijk bericht----- > Van: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] Namens fhtapia at gmail.com > Verzonden: woensdag 15 september 2004 17:30 > Aan: Access Developers discussion and problem solving > Onderwerp: Re: [AccessD] ADP > > File |Connection, then select the full connection settings > > On Wed, 15 Sep 2004 14:59:10 +0200, Carlo van der Zon (Access IT > Training) wrote: > > Hi Group, > > > > Does anybody know how to choose de SQL database in a ADP Runtime? > > > > Thanks > > Carlo > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > -Francisco > "Rediscover the web" > http://www.mozilla.org/products/firefox/ > ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://www.mozilla.org/products/firefox/ ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 From JHewson at karta.com Thu Sep 16 12:55:52 2004 From: JHewson at karta.com (Jim Hewson) Date: Thu, 16 Sep 2004 12:55:52 -0500 Subject: [AccessD] .TIFF Image of Report Pages Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0103E331@karta-exc-int.Karta.com> I have Adobe Acrobat 5 and it allows one to save pdf's as TIFF, JPEG, EPS, PNG, and PS. Each page of the PDF becomes another file. Jim Hewson -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, September 16, 2004 10:13 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] .TIFF Image of Report Pages If you can store the report as a pdf there are conversions available to get you to TIFF (I think Acrobat 6 saves as TIFF). HTH, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 16, 2004 10:39 AM To: [AccessD] Subject: [AccessD] .TIFF Image of Report Pages Group, Does anyone have any brilliant ideas on how I could automatically generate a .tiff image for each page in a report? Background: Our company stores issued drawings in .tiff format. In the past, drawings have been scanned in manually in a reproduction department. Currently, I issue drawings using Access reports. It has been suggested that the .tiff creation MAY fall to the engineering department. Mark -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Sep 16 12:53:53 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 16 Sep 2004 10:53:53 -0700 Subject: [AccessD] External IP Address of Local Machine References: <46B976F2B698FF46A4FE7636509B22DF0ADBD7@stekelbes.ithelps.local> Message-ID: <4149D331.5060703@shaw.ca> I am just curious as to what this WMI code would return working through a router I get something like this without one. I have garbled numbers. DHCPEnabled: True DHCPLeaseExpires: 13/09/2004 5:42:44 AM DHCPLeaseObtained: 09/11/2004 5:42:50 AM DHCPServer: 64.58.156.40 DNSDomain: gv.homecable.net DNSHostName: MyComputer DomainDNSRegistrationEnabled: IPAddress: 24.344.56.566 IPAddresslen: 13 IPConnectionMetric: 30 IPEnabled: True MACAddress: 00:3B:27:43:6A:D1 MTU: Sub testnicconfigS() 'set reference to WMI for WinXP and 2000 'The Win32_NetworkAdapterConfiguration WMI class represents 'the attributes and behaviors of a network adapter. 'This class has been extended to include extra properties and methods 'that support the management of the TCP/IP and Internetworking Packet Exchange (IPX) 'protocols (and are independent of the network adapter). Dim strComputer As String Dim objWMIService As Object Dim colitems As Object Dim objitem As Object On Error Resume Next 'there maybe multiple Nic entries that are empty so skip them strComputer = "." 'default "." specifies local machine name Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colitems = objWMIService.ExecQuery("Select * from Win32_NetworkAdapterConfiguration", , 48) For Each objitem In colitems Debug.Print "DHCPEnabled: " & objitem.DHCPEnabled Debug.Print "DHCPLeaseExpires: " & WMIDateStringToDate (objitem.DHCPLeaseExpires) Debug.Print "DHCPLeaseObtained: " & WMIDateStringToDate (objitem.DHCPLeaseObtained) Debug.Print "DHCPServer: " & objitem.DHCPServer Debug.Print "DNSDomain: " & objitem.DNSDomain Debug.Print "DNSHostName: " & objitem.DNSHostName Debug.Print "DomainDNSRegistrationEnabled: " & objitem.DomainDNSRegistrationEnabled Debug.Print "IPAddress: " & objitem.IPAddress(0) 'this is an array like other undocumented entries 'you will have to find by trial and error 'although there is an isarray property somewhere Debug.Print "IPAddresslen: " & Len(objitem.IPAddress(0)) Debug.Print "IPConnectionMetric: " & objitem.IPConnectionMetric Debug.Print "IPEnabled: " & objitem.IPEnabled Debug.Print "MACAddress: " & objitem.MACAddress Debug.Print "MTU: " & objitem.MTU Next End Sub Function WMIDateStringToDate(dtmInstallDate) As String 'WMI has an odd date format WMIDateStringToDate = CDate(Mid(dtmInstallDate, 5, 2) & "/" & _ Mid(dtmInstallDate, 7, 2) & "/" & Left(dtmInstallDate, 4) _ & " " & Mid(dtmInstallDate, 9, 2) & ":" & _ Mid(dtmInstallDate, 11, 2) & ":" & Mid(dtmInstallDate, _ 13, 2)) End Function Erwin Craps - IT Helps wrote: >Shields up is a test a webserver test, but just at the startpage (before >the test) you can see your dns name and ip address > >https://www.grc.com/x/ne.dll?bh0bkyd2 > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin >(Developer at UltraDNT) >Sent: Thursday, September 16, 2004 4:17 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] External IP Address of Local Machine > >Thanks, Stuart. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart >McLachlan >Sent: Wednesday, September 15, 2004 7:48 PM >To: Access Developers discussion and problemsolving >Subject: Re: [AccessD] External IP Address of Local Machine > > >On 15 Sep 2004 at 18:55, Steve Conklin (Developer at UltraDNT) wrote: > > > >>I am using WDSI, WinInet and various API's to get 2 Access >>applications to send data to each other over FTP. It is working well, >> >> > > > >>but I want the server to be secure, that is to only allow logins/files >> >> > > > >>to come from specific IP's. This is ok when I am sending, because I >>know my IP, and I tell the client to allow my IP. When I (hopefully) >>sell a copy to the client's client, how can they easily determine >> >> >their IP? > > >>I have looked at the Winsock API and can get remote IP's via Host >> >> >Name. > > >>However, when I want to get the IP of the local PC, it returns the >>192.168.x.x address; how can I get the external IP that the FTP server >> >> > > > >>needs to know through VB/API? >> >> >> > >If you are working through a router, you can't since only the router >knows >the external address.. The only way would be to bounce an HTML request >of >an external website and read the return data. There a numbder of >freeware tools available on the web that do just that. See >http://www.snapfiles.com/freeware/network/fwip.html for examples > > >If you're machine is directly connected to the Internet, you can iterate > >through it's IP adddresses. > >Here's a module to do it (watch for linewrap) > >Option Compare Database >Option Explicit > >Const MAX_IP = 5 'To make a buffer... i dont think you have more than >5 ip on your pc.. > >Type IPINFO > dwAddr As Long ' IP address > dwIndex As Long ' interface index > dwMask As Long ' subnet mask > dwBCastAddr As Long ' broadcast address > dwReasmSize As Long ' assembly size > unused1 As Integer ' not currently used > unused2 As Integer '; not currently used End Type > >Type MIB_IPADDRTABLE > dEntrys As Long 'number of entries in the table > mIPInfo(MAX_IP) As IPINFO 'array of IP address entries End Type > >Type IP_Array > mBuffer As MIB_IPADDRTABLE > BufferLen As Long >End Type > >Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" >(Destination As Any, Source As Any, ByVal Length As Long) Public Declare >Function GetIpAddrTable Lib "IPHlpApi" (pIPAdrTable As Byte, pdwSize As >Long, ByVal Sort As Long) As Long > > >Public Function ConvertAddressToString(longAddr As Long) As String > Dim myByte(3) As Byte > Dim Cnt As Long > CopyMemory myByte(0), longAddr, 4 > For Cnt = 0 To 3 > ConvertAddressToString = ConvertAddressToString + >CStr(myByte(Cnt)) + "." > Next Cnt > ConvertAddressToString = Left$(ConvertAddressToString, >Len(ConvertAddressToString) - 1) End Function > >Public Function IPAddresses() As Long >Dim lngRetVal As Long >Dim lngLoop As Long >Dim bBytes() As Byte >Dim IPList As MIB_IPADDRTABLE > > GetIpAddrTable ByVal 0&, lngRetVal, True > > If lngRetVal <= 0 Then Exit Function > ReDim bBytes(0 To lngRetVal - 1) As Byte > 'retrieve the data > GetIpAddrTable bBytes(0), lngRetVal, False > > 'Get the first 4 bytes to get the entry's.. ip installed > CopyMemory IPList.dEntrys, bBytes(0), 4 > > For lngLoop = 0 To IPList.dEntrys - 1 > 'Copy whole structure to Listing.. > CopyMemory IPList.mIPInfo(lngLoop), bBytes(4 + (lngLoop * >Len(IPList.mIPInfo(0)))), Len(IPList.mIPInfo(lngLoop)) > Debug.Print "IP address : " & >ConvertAddressToString(IPList.mIPInfo(lngLoop).dwAddr) > Debug.Print "IP Subnetmask : " & >ConvertAddressToString(IPList.mIPInfo(lngLoop).dwMask) > Debug.Print "BroadCast IP address : " & >ConvertAddressToString(IPList.mIPInfo(lngLoop).dwBCastAddr) > Debug.Print "**************************************" > Next > >End Function > > >-- >Stuart > > > > -- Marty Connelly Victoria, B.C. Canada From Mark.Mitsules at ngc.com Thu Sep 16 13:40:51 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Thu, 16 Sep 2004 14:40:51 -0400 Subject: [AccessD] .TIFF Image of Report Pages Message-ID: Before now I hadn't really paid attention to all the .pdf alternatives. Wasn't there a free .pdf generator...? Something along the lines of pdf99 or similar? Mark -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Thursday, September 16, 2004 1:56 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] .TIFF Image of Report Pages I have Adobe Acrobat 5 and it allows one to save pdf's as TIFF, JPEG, EPS, PNG, and PS. Each page of the PDF becomes another file. Jim Hewson -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, September 16, 2004 10:13 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] .TIFF Image of Report Pages If you can store the report as a pdf there are conversions available to get you to TIFF (I think Acrobat 6 saves as TIFF). HTH, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 16, 2004 10:39 AM To: [AccessD] Subject: [AccessD] .TIFF Image of Report Pages Group, Does anyone have any brilliant ideas on how I could automatically generate a .tiff image for each page in a report? Background: Our company stores issued drawings in .tiff format. In the past, drawings have been scanned in manually in a reproduction department. Currently, I issue drawings using Access reports. It has been suggested that the .tiff creation MAY fall to the engineering department. Mark -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CMackin at quiznos.com Thu Sep 16 13:50:13 2004 From: CMackin at quiznos.com (Mackin, Christopher) Date: Thu, 16 Sep 2004 12:50:13 -0600 Subject: [AccessD] ADP Message-ID: Alternatively, if you want to give the users the ability to modify the Connection, just use this code: DoCmd.RunCommand acCmdConnection It works in both .adp's and .ade's (At least for Access XP) -Chris Mackin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco Tapia Sent: Thursday, September 16, 2004 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADP oh, in that case you want to do this via code. For your database make sure to add the REFRENCE to "Microsoft OLE DB Service Component 1.0 Type Library" from a code module, then use the following in either an ON click of a button. Dim dl As MSDASC.DataLinks Dim cn As ADODB.Connection Dim rs As ADODB.Recordset Set dl = New MSDASC.DataLinks Set cn = New ADODB.Connection Set rs = New ADODB.Recordset Set cn = dl.PromptNew currentproject.connection.connectionstring = Trim(cn.ConnectionString) On Thu, 16 Sep 2004 17:12:53 +0200, Carlo van der Zon (Access IT Training) wrote: > Ok, but this is not working in runtime. > > -----Oorspronkelijk bericht----- > Van: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] Namens fhtapia at gmail.com > Verzonden: woensdag 15 september 2004 17:30 > Aan: Access Developers discussion and problem solving > Onderwerp: Re: [AccessD] ADP > > File |Connection, then select the full connection settings > > On Wed, 15 Sep 2004 14:59:10 +0200, Carlo van der Zon (Access IT > Training) wrote: > > Hi Group, > > > > Does anybody know how to choose de SQL database in a ADP Runtime? > > > > Thanks > > Carlo > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > -Francisco > "Rediscover the web" > http://www.mozilla.org/products/firefox/ > ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://www.mozilla.org/products/firefox/ ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Thu Sep 16 13:51:22 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Thu, 16 Sep 2004 14:51:22 -0400 Subject: [AccessD] .TIFF Image of Report Pages Message-ID: Thanks Brett. This looks like the quickest route. Mark -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Thursday, September 16, 2004 1:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] .TIFF Image of Report Pages Mark, Try this product: Zan Image Printer http://www.zan1011.com/index.htm It allows you to output to TIFF, JPG or BMP file, and you can setup file location defaults so it will automatically save the files to a specified location. (At $29, I think I might pick up a copy for myself) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 16, 2004 9:39 AM To: [AccessD] Subject: [AccessD] .TIFF Image of Report Pages Group, Does anyone have any brilliant ideas on how I could automatically generate a .tiff image for each page in a report? Background: Our company stores issued drawings in .tiff format. In the past, drawings have been scanned in manually in a reproduction department. Currently, I issue drawings using Access reports. It has been suggested that the .tiff creation MAY fall to the engineering department. Mark -- ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Thu Sep 16 14:41:55 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 16 Sep 2004 14:41:55 -0500 Subject: [AccessD] .TIFF Image of Report Pages Message-ID: <100F91B31300334B89EC531C9DCB0865065951@tccexch01.tappeconstruction.net> GhostScript is free (but quite involved to setup). PDF995 is based off of GhostScript, and charges $9.95 for the reduced headaches. Differences between a PDF995 created document and an Adobe Acrobat document are minimal (Gustav pointed out a few minor differences, should be in the archives). I would recommend PDF995 as an almost-free PDF alternative. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 16, 2004 1:41 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] .TIFF Image of Report Pages Before now I hadn't really paid attention to all the .pdf alternatives. Wasn't there a free .pdf generator...? Something along the lines of pdf99 or similar? Mark -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Thursday, September 16, 2004 1:56 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] .TIFF Image of Report Pages I have Adobe Acrobat 5 and it allows one to save pdf's as TIFF, JPEG, EPS, PNG, and PS. Each page of the PDF becomes another file. Jim Hewson -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, September 16, 2004 10:13 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] .TIFF Image of Report Pages If you can store the report as a pdf there are conversions available to get you to TIFF (I think Acrobat 6 saves as TIFF). HTH, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 16, 2004 10:39 AM To: [AccessD] Subject: [AccessD] .TIFF Image of Report Pages Group, Does anyone have any brilliant ideas on how I could automatically generate a .tiff image for each page in a report? Background: Our company stores issued drawings in .tiff format. In the past, drawings have been scanned in manually in a reproduction department. Currently, I issue drawings using Access reports. It has been suggested that the .tiff creation MAY fall to the engineering department. Mark -- -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From Jim.Hale at FleetPride.com Thu Sep 16 16:14:25 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 16 Sep 2004 16:14:25 -0500 Subject: [AccessD] .TIFF Image of Report Pages Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677217FF11@corp-es01.fleetpride.com> The only significant glitch for me with these non Adobe PDF converters has been the inability to mix landscape with portrait pages in the same document. Jim Hale -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Thursday, September 16, 2004 2:42 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] .TIFF Image of Report Pages GhostScript is free (but quite involved to setup). PDF995 is based off of GhostScript, and charges $9.95 for the reduced headaches. Differences between a PDF995 created document and an Adobe Acrobat document are minimal (Gustav pointed out a few minor differences, should be in the archives). I would recommend PDF995 as an almost-free PDF alternative. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 16, 2004 1:41 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] .TIFF Image of Report Pages Before now I hadn't really paid attention to all the .pdf alternatives. Wasn't there a free .pdf generator...? Something along the lines of pdf99 or similar? Mark -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Thursday, September 16, 2004 1:56 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] .TIFF Image of Report Pages I have Adobe Acrobat 5 and it allows one to save pdf's as TIFF, JPEG, EPS, PNG, and PS. Each page of the PDF becomes another file. Jim Hewson -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, September 16, 2004 10:13 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] .TIFF Image of Report Pages If you can store the report as a pdf there are conversions available to get you to TIFF (I think Acrobat 6 saves as TIFF). HTH, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 16, 2004 10:39 AM To: [AccessD] Subject: [AccessD] .TIFF Image of Report Pages Group, Does anyone have any brilliant ideas on how I could automatically generate a .tiff image for each page in a report? Background: Our company stores issued drawings in .tiff format. In the past, drawings have been scanned in manually in a reproduction department. Currently, I issue drawings using Access reports. It has been suggested that the .tiff creation MAY fall to the engineering department. Mark -- ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Patricia.O'Connor at dfa.state.ny.us Thu Sep 16 10:22:58 2004 From: Patricia.O'Connor at dfa.state.ny.us (O'Connor, Patricia (OTDA)) Date: Thu, 16 Sep 2004 11:22:58 -0400 Subject: [AccessD] TEST - ignore Message-ID: Just a test to see whether anything I send will get to list. I have tried to send something to list for several days and it is being delayed by my email server. ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at dfa.state.ny.us *(w) mailto:aa1160 at dfa.state.ny.us ****************************************************************** From Patricia.O'Connor at dfa.state.ny.us Wed Sep 15 12:44:24 2004 From: Patricia.O'Connor at dfa.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 15 Sep 2004 13:44:24 -0400 Subject: [AccessD] Project or Task manager ?? Message-ID: Hi all, This has probably been discussed but I tried the archives and can not find it. Does anyone have, know of, or have suggestions for an Access database that does project management - not ms project don't need something that sophisticated. We want to be able to store all the requests that come into our unit, who requested, status, start date, document links etc. We would want to be able to produce reports in various ways; Assignee, requestor, date completed, referencing data (attachments or hyperlinks). Maybe some sub tasks but nothing fancy. All unit member will have to be able to update, print reports, and view. Not a lot of bells and whistles. Would like to not have to roll our own if possible. Expensive software is not an option. Thanks Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at dfa.state.ny.us *(w) mailto:aa1160 at dfa.state.ny.us ****************************************************************** From andy at minstersystems.co.uk Thu Sep 16 16:28:44 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 16 Sep 2004 22:28:44 +0100 Subject: [AccessD] TEST - ignore In-Reply-To: Message-ID: <000201c49c34$2558de30$b274d0d5@minster33c3r25> There is a problem with some posts. Bryan is looking at it. Please be patient. -- Andy Lacey http://www.minstersystems.co.uk From BarbaraRyan at cox.net Thu Sep 16 16:52:32 2004 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Thu, 16 Sep 2004 17:52:32 -0400 Subject: [AccessD] Copy tables from/to databases other than the Current db Message-ID: <001401c49c37$7839ba40$0a00a8c0@cx470148a> Using code in an Access 97 application (let's call it DB1), I need to copy tables from database DB2 to database DB3. I know how to copy objects from DB1 to DB3 (using Transferdatabase), but this is stumping me. More info --- DB1 is the front end of the application; DB2 is the back end (tables) of the application, and DB3 is a temporary database that I create "on the fly" (using code in the front end). I can't copy the tables from DB1 to DB3 because DB1 only contains the links to tables in DB2. Hope this isn't too confusing! Thanks, Barb Ryan From mgauk at btconnect.com Wed Sep 15 04:23:13 2004 From: mgauk at btconnect.com (MG) Date: Wed, 15 Sep 2004 10:23:13 +0100 Subject: [AccessD] Firefox Shameless plug... In-Reply-To: Message-ID: <200409162209.i8GM9ci30409@databaseadvisors.com> Does anybody have any code to link Access to Thurderbird mail client? Thanks Max Sherman -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: 15 September 2004 04:42 To: Discussion of Hardware and Software issues; Access Developers discussion and problem solving Subject: [AccessD] Firefox Shameless plug... Version 1.0 is out (PR preview release) to say the least it is awesome... if you subscribe to RSS feeds for anything, you'll probably take to what they are calling LIVE bookmarks... they ARE sweet. -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.762 / Virus Database: 510 - Release Date: 13/09/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.762 / Virus Database: 510 - Release Date: 13/09/2004 From Developer at UltraDNT.com Thu Sep 16 18:36:36 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Thu, 16 Sep 2004 19:36:36 -0400 Subject: [AccessD] External IP Address of Local Machine In-Reply-To: <4149D331.5060703@shaw.ca> Message-ID: <000001c49c46$023e5620$0200a8c0@COA3> Marty: It iterated through about 6 times; most entries were blank, on about the 4th pass I got my DSN information, but it was also only showing the LAN IP (192.168.x.x), not the WAN address. I found an external utility form the page Stuart suggested, it looks like I'll have to Shell that to know the user's external IP. The Help/About mentions MFC classes, so its making Windows calls that *should* be exposed somewhere as an API/DLL, but I haven't figured out how yet. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Thursday, September 16, 2004 1:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] External IP Address of Local Machine I am just curious as to what this WMI code would return working through a router I get something like this without one. I have garbled numbers. DHCPEnabled: True DHCPLeaseExpires: 13/09/2004 5:42:44 AM DHCPLeaseObtained: 09/11/2004 5:42:50 AM DHCPServer: 64.58.156.40 DNSDomain: gv.homecable.net DNSHostName: MyComputer DomainDNSRegistrationEnabled: IPAddress: 24.344.56.566 IPAddresslen: 13 IPConnectionMetric: 30 IPEnabled: True MACAddress: 00:3B:27:43:6A:D1 MTU: Sub testnicconfigS() 'set reference to WMI for WinXP and 2000 'The Win32_NetworkAdapterConfiguration WMI class represents 'the attributes and behaviors of a network adapter. 'This class has been extended to include extra properties and methods 'that support the management of the TCP/IP and Internetworking Packet Exchange (IPX) 'protocols (and are independent of the network adapter). Dim strComputer As String Dim objWMIService As Object Dim colitems As Object Dim objitem As Object On Error Resume Next 'there maybe multiple Nic entries that are empty so skip them strComputer = "." 'default "." specifies local machine name Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colitems = objWMIService.ExecQuery("Select * from Win32_NetworkAdapterConfiguration", , 48) For Each objitem In colitems Debug.Print "DHCPEnabled: " & objitem.DHCPEnabled Debug.Print "DHCPLeaseExpires: " & WMIDateStringToDate (objitem.DHCPLeaseExpires) Debug.Print "DHCPLeaseObtained: " & WMIDateStringToDate (objitem.DHCPLeaseObtained) Debug.Print "DHCPServer: " & objitem.DHCPServer Debug.Print "DNSDomain: " & objitem.DNSDomain Debug.Print "DNSHostName: " & objitem.DNSHostName Debug.Print "DomainDNSRegistrationEnabled: " & objitem.DomainDNSRegistrationEnabled Debug.Print "IPAddress: " & objitem.IPAddress(0) 'this is an array like other undocumented entries 'you will have to find by trial and error 'although there is an isarray property somewhere Debug.Print "IPAddresslen: " & Len(objitem.IPAddress(0)) Debug.Print "IPConnectionMetric: " & objitem.IPConnectionMetric Debug.Print "IPEnabled: " & objitem.IPEnabled Debug.Print "MACAddress: " & objitem.MACAddress Debug.Print "MTU: " & objitem.MTU Next End Sub Function WMIDateStringToDate(dtmInstallDate) As String 'WMI has an odd date format WMIDateStringToDate = CDate(Mid(dtmInstallDate, 5, 2) & "/" & _ Mid(dtmInstallDate, 7, 2) & "/" & Left(dtmInstallDate, 4) _ & " " & Mid(dtmInstallDate, 9, 2) & ":" & _ Mid(dtmInstallDate, 11, 2) & ":" & Mid(dtmInstallDate, _ 13, 2)) End Function Erwin Craps - IT Helps wrote: >Shields up is a test a webserver test, but just at the startpage >(before the test) you can see your dns name and ip address > >https://www.grc.com/x/ne.dll?bh0bkyd2 > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve >Conklin >(Developer at UltraDNT) >Sent: Thursday, September 16, 2004 4:17 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] External IP Address of Local Machine > >Thanks, Stuart. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart >McLachlan >Sent: Wednesday, September 15, 2004 7:48 PM >To: Access Developers discussion and problemsolving >Subject: Re: [AccessD] External IP Address of Local Machine > > >On 15 Sep 2004 at 18:55, Steve Conklin (Developer at UltraDNT) wrote: > > > >>I am using WDSI, WinInet and various API's to get 2 Access >>applications to send data to each other over FTP. It is working well, >> >> > > > >>but I want the server to be secure, that is to only allow logins/files >> >> > > > >>to come from specific IP's. This is ok when I am sending, because I >>know my IP, and I tell the client to allow my IP. When I (hopefully) >>sell a copy to the client's client, how can they easily determine >> >> >their IP? > > >>I have looked at the Winsock API and can get remote IP's via Host >> >> >Name. > > >>However, when I want to get the IP of the local PC, it returns the >>192.168.x.x address; how can I get the external IP that the FTP server >> >> > > > >>needs to know through VB/API? >> >> >> > >If you are working through a router, you can't since only the router >knows >the external address.. The only way would be to bounce an HTML request >of >an external website and read the return data. There a numbder of >freeware tools available on the web that do just that. See >http://www.snapfiles.com/freeware/network/fwip.html for examples > > >If you're machine is directly connected to the Internet, you can >iterate > >through it's IP adddresses. > >Here's a module to do it (watch for linewrap) > >Option Compare Database >Option Explicit > >Const MAX_IP = 5 'To make a buffer... i dont think you have more than >5 ip on your pc.. > >Type IPINFO > dwAddr As Long ' IP address > dwIndex As Long ' interface index > dwMask As Long ' subnet mask > dwBCastAddr As Long ' broadcast address > dwReasmSize As Long ' assembly size > unused1 As Integer ' not currently used > unused2 As Integer '; not currently used End Type > >Type MIB_IPADDRTABLE > dEntrys As Long 'number of entries in the table > mIPInfo(MAX_IP) As IPINFO 'array of IP address entries End Type > >Type IP_Array > mBuffer As MIB_IPADDRTABLE > BufferLen As Long >End Type > >Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" >(Destination As Any, Source As Any, ByVal Length As Long) Public >Declare Function GetIpAddrTable Lib "IPHlpApi" (pIPAdrTable As Byte, >pdwSize As Long, ByVal Sort As Long) As Long > > >Public Function ConvertAddressToString(longAddr As Long) As String > Dim myByte(3) As Byte > Dim Cnt As Long > CopyMemory myByte(0), longAddr, 4 > For Cnt = 0 To 3 > ConvertAddressToString = ConvertAddressToString + >CStr(myByte(Cnt)) + "." > Next Cnt > ConvertAddressToString = Left$(ConvertAddressToString, >Len(ConvertAddressToString) - 1) End Function > >Public Function IPAddresses() As Long >Dim lngRetVal As Long >Dim lngLoop As Long >Dim bBytes() As Byte >Dim IPList As MIB_IPADDRTABLE > > GetIpAddrTable ByVal 0&, lngRetVal, True > > If lngRetVal <= 0 Then Exit Function > ReDim bBytes(0 To lngRetVal - 1) As Byte > 'retrieve the data > GetIpAddrTable bBytes(0), lngRetVal, False > > 'Get the first 4 bytes to get the entry's.. ip installed > CopyMemory IPList.dEntrys, bBytes(0), 4 > > For lngLoop = 0 To IPList.dEntrys - 1 > 'Copy whole structure to Listing.. > CopyMemory IPList.mIPInfo(lngLoop), bBytes(4 + (lngLoop * >Len(IPList.mIPInfo(0)))), Len(IPList.mIPInfo(lngLoop)) > Debug.Print "IP address : " & >ConvertAddressToString(IPList.mIPInfo(lngLoop).dwAddr) > Debug.Print "IP Subnetmask : " & >ConvertAddressToString(IPList.mIPInfo(lngLoop).dwMask) > Debug.Print "BroadCast IP address : " & >ConvertAddressToString(IPList.mIPInfo(lngLoop).dwBCastAddr) > Debug.Print "**************************************" > Next > >End Function > > >-- >Stuart > > > > -- Marty Connelly Victoria, B.C. Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Sep 16 18:40:12 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 16 Sep 2004 16:40:12 -0700 Subject: [AccessD] Urgent help please - Can't open htmlpageinFrontpagefromAccess form In-Reply-To: <001701c49ae1$661c0d10$6501a8c0@user> Message-ID: Hi Kath: It is a interest dilemma. One side the users is having difficulty understanding the changes created to a translated word document and on the other side accepting the complexity of building a document/web page in FrontPage. The resultant FP created documents will have to be stored in directories, on your server running IIS, below the tree location \\MyServer\Inetpub\wwwroot\WebDocumentDirectory\.... then they will be able to be run/displayed from anywhere on LAN. When the web based files are stored in this location your IIS server manages their display. I.e. \\MyServer\Inetpub\wwwroot\WebDocumentDirectory\MyNewFPDocument123.html, would run and display from anywhere accessed on your network. Note: If the file, being accessed has an extension that is not supported/configured (not web files like .html, .htm, .php, .pl, .asp, etc... depends on how the IIS is setup), IIS will attempt to download the file to the station selecting it. Hope this is not confusing or over-stated. If it is confusing just ask for clarification. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Tuesday, September 14, 2004 10:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Urgent help please - Can't open htmlpageinFrontpagefromAccess form Hi Jim - thanks for your comment - these particular users really don't understand (or accept) that the doc. will look different once displayed in the browser, eg. if they have created it in Word and then it is converted by Microsoft to html....and I understand where they are coming from. They have accepted that to create it as a web page they need to do so in Frontpage and then they can see how it will look once it goes live. My problem (and I can't believe that I'm still stuck on this) is providing a link for all staff in the office to be able to open the documents they create, edit them and save them. It is essential that it happen from the database because I am storing a history of documents (just path/s and filename/s) they create and they have complex selection criteria for nominating which clients eventually *see* the doc on the website. Given that it is so easy to create / and link to a doc in Word or Excel from an Access form I thought it would be pretty straightforward to do something like this in Frontpage. I'm still sure that it is.....just not there yet. Kath ----- Original Message ----- From: Jim Lawrence (AccessD) To: Access Developers discussion and problem solving Sent: Wednesday, September 15, 2004 1:03 PM Subject: RE: [AccessD] Urgent help please - Can't open html pageinFrontpagefromAccess form Hi Kath: If the file is in html format and saved with the html extension. I.e. test.html, then any station with an active browser will display it. Even if the file is originally a document file it can be saved as an html file and Microsoft will do the conversion for you...sometime it is not very pretty but it is simple. All that has to be done for each station to view/run it is that the html 'document' has to be stored in a common shared directory. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Tuesday, September 14, 2004 4:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Urgent help please - Can't open html pageinFrontpagefrom Access form I don't have VB Drew....... Kath ----- Original Message ----- From: DWUTKA at marlow.com To: accessd at databaseadvisors.com Sent: Wednesday, September 15, 2004 12:01 AM Subject: RE: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form If you have VB, you can just 'preview' it for them in a simple VB browser. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Tuesday, September 14, 2004 6:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form Thanks Eric - I am finding this so confusing. Yes - I have IIS running here - so my file must be in a folder from C:\Inetpub\wwwroot? I need to allow the database users to share a common file - can it find a web in a network location? To go back to the basic requirements - what I am trying to do is allow users to click on a button in the databse which will open a document which will be published to the web. I want them to be able to create and edit that document by following a link from an access form, because the letter that the users 'create' will be linked to recipients from my database. They could theoretically do it in Word or Notepad (or even within Access), but I want them to see how it will preview on the web before they finalise it, so formatting is done. I don't want to have to worry about whether they are running IIS or create web folders or whatever - just open and edit a simple html file in Frontpage so they can see how it would publish. Am I going about this the wrong way? TIA! Kath ----- Original Message ----- From: Eric Barro To: Access Developers discussion and problem solving Sent: Tuesday, September 14, 2004 11:31 AM Subject: RE: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form Kath, FP webs expect to open these web folders in reference to the web root folder in IIS. For example: You have IIS (web server) running on the machine and you have a web called MYWEB. IIS sees this as http://localhost/MYWEB. The physical location (assuming the web root is C:\INETPUB\WWWROOT) is C:\INETPUB\WWWROOT\MYWEB\. So...if MYWEB is in a different folder...say C:\INETPUB\WWWROOT\ANOTHERFOLDER\MYWEB\ FP won't be able to recognize that as a web location. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Monday, September 13, 2004 6:13 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Urgent help please - Can't open html page in Frontpagefrom Access form I have wasted ages on this so am now begging assistance........ I have an html file (empty at present - later it will have some basic text) I need to my code to - Make a copy of the template.html file (I can do that) and - give it a new name, eg. Template_BHP_140904.html (I can do that) - Open the html file just created in Frontpage for users to modify the document (That's where I'm stuck....) My problem is a total lack of knowledge of files vs. webs and therefore the syntax I need. Questions: - - Do I have to have a 'web' or 'web folder' - can't I just have an html file and open it? - If I can, what is the alternative syntax to .webs.open - eg. I am looking for a .pages.open property or .files.open ? Here's my code so far - when I run it I get an error - There is no web named "/E:/SDS/Clients/CPP/WebLetters/Template.html" ------------------------------------------------------------------------ -- -- ---- Private Sub CmdOpenFP_Click() Dim oFPweb As FrontPage.Web Dim oFP As FrontPage.Application Dim FrontPageRunning As Boolean 'Determine whether FrontPage is alredy open or not FrontPageRunning = IsFrontPageRunning() If Not FrontPageRunning Then MsgBox ("Frontpage is Closed") Set oFP = CreateObject("Frontpage.Application") Else MsgBox ("Frontpage is already open") Set oFP = GetObject(, "Frontpage.Application") End If 'add code here later to make a copy of my file 'open file in front page------------------------------------------------ oFP.Webs.Open ("E:\Sds\Clients\CPP\Webletters\template.html") 'STUCK HERE ' Show FrontPage oFPweb.Activate 'Set oFP = Nothing End Sub ------------------------------------------------------------------------ -- -- ---- TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sep 16 20:47:08 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 16 Sep 2004 21:47:08 -0400 Subject: [AccessD] Output Larg Text File In-Reply-To: Message-ID: <004f01c49c58$42ca8440$e8dafea9@ColbyM6805> LOL. Who's going to read an 11 THOUSAND page report? This must be the government? I think you are running into GOD trying to protect her trees. ;-) John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Thursday, September 16, 2004 8:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Output Larg Text File Hello All, In A97 or A2k...I have a large report(>60,000 record and >11,000 Pages)...I need to save this as a text/rtf/something...everytime I try...I get an "over flow" error...any suggestions? Thanks, Mark -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Fri Sep 17 00:46:03 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 16 Sep 2004 22:46:03 -0700 Subject: [AccessD] External IP Address of Local Machine References: <000001c49c46$023e5620$0200a8c0@COA3> Message-ID: <414A7A1B.4030704@shaw.ca> I tried a couple of other methods grabbing the ip entries from this created text file ; sort of slow even with only 3 hops tracert -h 3 www.microsoft.com > testtrac.txt ---------------------------------------- If you are configuring your router thru http methods "http://192.168.0.1/st_devic.html" is supposed to give you the ip address but then you have to clear the cache use this to clear out IE cached pages for DSL router app. Private Declare Function DeleteUrlCacheEntry Lib "wininet.dll" Alias "DeleteUrlCacheEntryA" (ByVal lpszUrlName As String) As Long DeleteUrlCacheEntry "http://192.168.0.1/st_devic.html" DeleteUrlCacheEntry "http://192.168.0.1/st_stats.html" ---------------- http://checkip.dyndns.org/ can only use every 10 minutes otherwise site gets annoyed Dim objExplorer As Object Dim objDocument As Object Dim strComputer As String Dim objWMIService As Object Dim colLoggedEvents As Object Dim objEvent As Object Dim dtmDate As Variant Dim strReturn As String Set objExplorer = CreateObject("InternetExplorer.Application") 'Set objDocument = objExplorer.Document objExplorer.Navigate "about:blank" objExplorer.Toolbar = 0 objExplorer.StatusBar = 0 objExplorer.Width = 800 objExplorer.Height = 570 objExplorer.Left = 0 objExplorer.Top = 0 objExplorer.Visible = 1 objExplorer.Navigate "http://checkip.dyndns.org/" Do While (objExplorer.Busy) Loop Dim webtx As String Dim strHTML As String 'Set objDocument = objExplorer.Document 'objDocument.Open strHTML = objExplorer.Document.BODY.parentElement.outerHTML Debug.Print strHTML 'parse the string here MsgBox "finished" Set objExplorer = Nothing Set objDocument = Nothing End Sub Steve Conklin (Developer at UltraDNT) wrote: >Marty: >It iterated through about 6 times; most entries were blank, on about the >4th pass I got my DSN information, but it was also only showing the LAN >IP (192.168.x.x), not the WAN address. > >I found an external utility form the page Stuart suggested, it looks >like I'll have to Shell that to know the user's external IP. The >Help/About mentions MFC classes, so its making Windows calls that >*should* be exposed somewhere as an API/DLL, but I haven't figured out >how yet. > > >Steve > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Thursday, September 16, 2004 1:54 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] External IP Address of Local Machine > > >I am just curious as to what this WMI code would return working through > >a router >I get something like this without one. I have garbled numbers. > >DHCPEnabled: True >DHCPLeaseExpires: 13/09/2004 5:42:44 AM >DHCPLeaseObtained: 09/11/2004 5:42:50 AM >DHCPServer: 64.58.156.40 >DNSDomain: gv.homecable.net >DNSHostName: MyComputer >DomainDNSRegistrationEnabled: >IPAddress: 24.344.56.566 >IPAddresslen: 13 >IPConnectionMetric: 30 >IPEnabled: True >MACAddress: 00:3B:27:43:6A:D1 >MTU: > > >Sub testnicconfigS() >'set reference to WMI for WinXP and 2000 >'The Win32_NetworkAdapterConfiguration WMI class represents 'the >attributes and behaviors of a network adapter. 'This class has been >extended to include extra properties and methods 'that support the >management of the TCP/IP and Internetworking Packet Exchange >(IPX) 'protocols (and are independent of the network adapter). Dim >strComputer As String Dim objWMIService As Object Dim colitems As Object >Dim objitem As Object On Error Resume Next 'there maybe multiple Nic >entries that are empty so skip them > >strComputer = "." 'default "." specifies local machine name Set >objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") >Set colitems = objWMIService.ExecQuery("Select * from >Win32_NetworkAdapterConfiguration", , 48) > >For Each objitem In colitems > > Debug.Print "DHCPEnabled: " & objitem.DHCPEnabled > Debug.Print "DHCPLeaseExpires: " & WMIDateStringToDate >(objitem.DHCPLeaseExpires) > Debug.Print "DHCPLeaseObtained: " & WMIDateStringToDate >(objitem.DHCPLeaseObtained) > Debug.Print "DHCPServer: " & objitem.DHCPServer > Debug.Print "DNSDomain: " & objitem.DNSDomain > > Debug.Print "DNSHostName: " & objitem.DNSHostName > > Debug.Print "DomainDNSRegistrationEnabled: " & >objitem.DomainDNSRegistrationEnabled > > Debug.Print "IPAddress: " & objitem.IPAddress(0) > 'this is an array like other undocumented entries > 'you will have to find by trial and error > 'although there is an isarray property somewhere > Debug.Print "IPAddresslen: " & Len(objitem.IPAddress(0)) > Debug.Print "IPConnectionMetric: " & objitem.IPConnectionMetric > Debug.Print "IPEnabled: " & objitem.IPEnabled > Debug.Print "MACAddress: " & objitem.MACAddress > Debug.Print "MTU: " & objitem.MTU > >Next >End Sub >Function WMIDateStringToDate(dtmInstallDate) As String 'WMI has an odd >date format WMIDateStringToDate = CDate(Mid(dtmInstallDate, 5, 2) & "/" >& _ Mid(dtmInstallDate, 7, 2) & "/" & Left(dtmInstallDate, 4) _ & " " & >Mid(dtmInstallDate, 9, 2) & ":" & _ Mid(dtmInstallDate, 11, 2) & ":" & >Mid(dtmInstallDate, _ 13, 2)) End Function > > >Erwin Craps - IT Helps wrote: > > > >>Shields up is a test a webserver test, but just at the startpage >>(before the test) you can see your dns name and ip address >> >>https://www.grc.com/x/ne.dll?bh0bkyd2 >> >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve >>Conklin >>(Developer at UltraDNT) >>Sent: Thursday, September 16, 2004 4:17 PM >>To: 'Access Developers discussion and problem solving' >>Subject: RE: [AccessD] External IP Address of Local Machine >> >>Thanks, Stuart. >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart >>McLachlan >>Sent: Wednesday, September 15, 2004 7:48 PM >>To: Access Developers discussion and problemsolving >>Subject: Re: [AccessD] External IP Address of Local Machine >> >> >>On 15 Sep 2004 at 18:55, Steve Conklin (Developer at UltraDNT) wrote: >> >> >> >> >> >>>I am using WDSI, WinInet and various API's to get 2 Access >>>applications to send data to each other over FTP. It is working well, >>> >>> >>> >>> >> >> >> >> >>>but I want the server to be secure, that is to only allow logins/files >>> >>> >>> >>> >> >> >> >> >>>to come from specific IP's. This is ok when I am sending, because I >>>know my IP, and I tell the client to allow my IP. When I (hopefully) >>>sell a copy to the client's client, how can they easily determine >>> >>> >>> >>> >>their IP? >> >> >> >> >>>I have looked at the Winsock API and can get remote IP's via Host >>> >>> >>> >>> >>Name. >> >> >> >> >>>However, when I want to get the IP of the local PC, it returns the >>>192.168.x.x address; how can I get the external IP that the FTP server >>> >>> >>> >>> >> >> >> >> >>>needs to know through VB/API? >>> >>> >>> >>> >>> >>If you are working through a router, you can't since only the router >>knows >>the external address.. The only way would be to bounce an HTML >> >> >request > > >>of >>an external website and read the return data. There a numbder of >>freeware tools available on the web that do just that. See >>http://www.snapfiles.com/freeware/network/fwip.html for examples >> >> >>If you're machine is directly connected to the Internet, you can >>iterate >> >>through it's IP adddresses. >> >>Here's a module to do it (watch for linewrap) >> >>Option Compare Database >>Option Explicit >> >>Const MAX_IP = 5 'To make a buffer... i dont think you have more than >>5 ip on your pc.. >> >>Type IPINFO >> dwAddr As Long ' IP address >> dwIndex As Long ' interface index >> dwMask As Long ' subnet mask >> dwBCastAddr As Long ' broadcast address >> dwReasmSize As Long ' assembly size >> unused1 As Integer ' not currently used >> unused2 As Integer '; not currently used End Type >> >>Type MIB_IPADDRTABLE >> dEntrys As Long 'number of entries in the table >> mIPInfo(MAX_IP) As IPINFO 'array of IP address entries End Type >> >>Type IP_Array >> mBuffer As MIB_IPADDRTABLE >> BufferLen As Long >>End Type >> >>Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" >>(Destination As Any, Source As Any, ByVal Length As Long) Public >>Declare Function GetIpAddrTable Lib "IPHlpApi" (pIPAdrTable As Byte, >>pdwSize As Long, ByVal Sort As Long) As Long >> >> >>Public Function ConvertAddressToString(longAddr As Long) As String >> Dim myByte(3) As Byte >> Dim Cnt As Long >> CopyMemory myByte(0), longAddr, 4 >> For Cnt = 0 To 3 >> ConvertAddressToString = ConvertAddressToString + >>CStr(myByte(Cnt)) + "." >> Next Cnt >> ConvertAddressToString = Left$(ConvertAddressToString, >>Len(ConvertAddressToString) - 1) End Function >> >>Public Function IPAddresses() As Long >>Dim lngRetVal As Long >>Dim lngLoop As Long >>Dim bBytes() As Byte >>Dim IPList As MIB_IPADDRTABLE >> >> GetIpAddrTable ByVal 0&, lngRetVal, True >> >> If lngRetVal <= 0 Then Exit Function >> ReDim bBytes(0 To lngRetVal - 1) As Byte >> 'retrieve the data >> GetIpAddrTable bBytes(0), lngRetVal, False >> >> 'Get the first 4 bytes to get the entry's.. ip installed >> CopyMemory IPList.dEntrys, bBytes(0), 4 >> >> For lngLoop = 0 To IPList.dEntrys - 1 >> 'Copy whole structure to Listing.. >> CopyMemory IPList.mIPInfo(lngLoop), bBytes(4 + (lngLoop * >>Len(IPList.mIPInfo(0)))), Len(IPList.mIPInfo(lngLoop)) >> Debug.Print "IP address : " & >>ConvertAddressToString(IPList.mIPInfo(lngLoop).dwAddr) >> Debug.Print "IP Subnetmask : " & >>ConvertAddressToString(IPList.mIPInfo(lngLoop).dwMask) >> Debug.Print "BroadCast IP address : " & >>ConvertAddressToString(IPList.mIPInfo(lngLoop).dwBCastAddr) >> Debug.Print "**************************************" >> Next >> >>End Function >> >> >>-- >>Stuart >> >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From lytlenj at yahoo.com Fri Sep 17 05:48:19 2004 From: lytlenj at yahoo.com (Nancy Lytle) Date: Fri, 17 Sep 2004 03:48:19 -0700 (PDT) Subject: [AccessD] Gmail Invite (D) In-Reply-To: <8DA8776D2F418E46A2A464AC6CE63050934A@outbaksrv1.outbaktech.com> Message-ID: <20040917104819.19600.qmail@web53909.mail.yahoo.com> Sure, I'd love one. Nancy Lytle Rockville, MD --- Jeff Barrows wrote: > On its way! Anyone else? > > Jeff Barrows > MCP, MCAD, MCSD > > Outbak Technologies, LLC > Racine, WI > jeff at outbaktech.com > -----Original Message----- > From: Steven W. Erbach [mailto:serbach at new.rr.com] > Sent: Wednesday, September 15, 2004 10:22 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Gmail Invite (D) > > Jeff, > > >> Are you looking for a GMail invite? << > > Well, sure, if ya got one one 'a dem dere tings, eh? > > Steve Erbach > Neenah, WI > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cyx5 at cdc.gov Fri Sep 17 06:19:10 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 17 Sep 2004 07:19:10 -0400 Subject: [AccessD] Gmail Invite (D) Message-ID: I will take one. Thanks -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nancy Lytle Sent: Friday, September 17, 2004 6:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Gmail Invite (D) Sure, I'd love one. Nancy Lytle Rockville, MD --- Jeff Barrows wrote: > On its way! Anyone else? > > Jeff Barrows > MCP, MCAD, MCSD > > Outbak Technologies, LLC > Racine, WI > jeff at outbaktech.com > -----Original Message----- > From: Steven W. Erbach [mailto:serbach at new.rr.com] > Sent: Wednesday, September 15, 2004 10:22 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Gmail Invite (D) > > Jeff, > > >> Are you looking for a GMail invite? << > > Well, sure, if ya got one one 'a dem dere tings, eh? > > Steve Erbach > Neenah, WI > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Fri Sep 17 06:56:03 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 17 Sep 2004 07:56:03 -0400 Subject: [AccessD] Copy tables from/to databases other than the Current db In-Reply-To: <916187228923D311A6FE00A0CC3FAA30995ADD@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB849@ADGSERVER> Could you not use a make-table query? Something like: SELECT sometable1.* INTO sometable2 IN 'D:\Data\DB3.mdb' FROM sometable1; Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan Sent: Thursday, September 16, 2004 5:53 PM To: Access List Subject: [AccessD] Copy tables from/to databases other than the Current db Using code in an Access 97 application (let's call it DB1), I need to copy tables from database DB2 to database DB3. I know how to copy objects from DB1 to DB3 (using Transferdatabase), but this is stumping me. More info --- DB1 is the front end of the application; DB2 is the back end (tables) of the application, and DB3 is a temporary database that I create "on the fly" (using code in the front end). I can't copy the tables from DB1 to DB3 because DB1 only contains the links to tables in DB2. Hope this isn't too confusing! Thanks, Barb Ryan -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Fri Sep 17 06:50:26 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Fri, 17 Sep 2004 07:50:26 -0400 Subject: [AccessD] .TIFF Image of Report Pages Message-ID: Many thanks to you all. After a little research into how other divisions have handled this creation of .tiff files from AutoCAD .dwg files, I'm a little disappointed. I mean that, just on the hint that we might have to take over this responsibility, it has only taken 12 hours for you kind folks to provide a multitude of viable options. What scares me is that some divisions are actually doing this manually by scanning a hard copy. So, in comparison, would I be considered lazy or efficient for wanting a better way? ;) Mark -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, September 16, 2004 11:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] .TIFF Image of Report Pages Hi Mark The "Print To Picture" printer driver: http://progrex.narod.ru/ptp.html can output to PCX, BMP, or PNG files. Then you can convert to TIFF. /gustav > Does anyone have any brilliant ideas on how I could automatically generate a > .tiff image for each page in a report? > Background: Our company stores issued drawings in .tiff format. In the > past, drawings have been scanned in manually in a reproduction department. > Currently, I issue drawings using Access reports. It has been suggested > that the .tiff creation MAY fall to the engineering department. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Paul.Rogers at SummitMedia.co.uk Fri Sep 17 07:15:48 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Fri, 17 Sep 2004 13:15:48 +0100 Subject: [AccessD] Gmail Invite (D) Message-ID: Yes, please! -----Original Message----- From: Nancy Lytle [mailto:lytlenj at yahoo.com] Sent: 17 September 2004 11:48 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Gmail Invite (D) Sure, I'd love one. Nancy Lytle Rockville, MD --- Jeff Barrows wrote: > On its way! Anyone else? > > Jeff Barrows > MCP, MCAD, MCSD > > Outbak Technologies, LLC > Racine, WI > jeff at outbaktech.com > -----Original Message----- > From: Steven W. Erbach [mailto:serbach at new.rr.com] > Sent: Wednesday, September 15, 2004 10:22 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Gmail Invite (D) > > Jeff, > > >> Are you looking for a GMail invite? << > > Well, sure, if ya got one one 'a dem dere tings, eh? > > Steve Erbach > Neenah, WI > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.754 / Virus Database: 504 - Release Date: 06/09/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.754 / Virus Database: 504 - Release Date: 06/09/2004 From carbonnb at sympatico.ca Fri Sep 17 07:22:06 2004 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 17 Sep 2004 8:22:06 -0400 Subject: [AccessD] Gmail Invite (D) Message-ID: <20040917122207.ZLCY14661.tomts7-srv.bellnexxia.net@mxmta.bellnexxia.net> OK folks, Let's take these me too's off list. Please and thanks. -- Bryan Carbonnell - carbonnb at sympatico.ca Unfortunately common sense isn't so common! From markamatte at hotmail.com Fri Sep 17 08:03:47 2004 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 17 Sep 2004 13:03:47 +0000 Subject: [AccessD] Output Larg Text File Message-ID: John, lol...I agree...and you're close...its one of those deals where the judge says "You will provide every single piece of documentation you have on this matter, or any like it". The way data is stored...is not the way lawyers and judges like to see it. So I wanted to have a single document...well...due to time constraints(and business sign-off)...I sent them an A97 db with a report built of the 60K records...turned out to be around 13k pages. Hopefully this will appease them. Thanks, Mark P.S...I wonder if your gender reference to the Almighty will stir any comments? >From: "John W. Colby" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: RE: [AccessD] Output Larg Text File >Date: Thu, 16 Sep 2004 21:47:08 -0400 > >LOL. Who's going to read an 11 THOUSAND page report? This must be the >government? I think you are running into GOD trying to protect her trees. >;-) > >John W. Colby >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Thursday, September 16, 2004 8:56 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Output Larg Text File > > >Hello All, > >In A97 or A2k...I have a large report(>60,000 record and >11,000 Pages)...I >need to save this as a text/rtf/something...everytime I try...I get an >"over > >flow" error...any suggestions? > >Thanks, > >Mark > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Fri Sep 17 08:11:06 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Fri, 17 Sep 2004 09:11:06 -0400 Subject: [AccessD] External IP Address of Local Machine In-Reply-To: <414A7A1B.4030704@shaw.ca> Message-ID: <000f01c49cb7$caa92f10$0200a8c0@COA3> Marty: Most cool, the third one, going to dynip, did the job. The tracert didn't include mine, it just showed the ip's of my provider. The second method, as written, didn't work. I assume its because my router is not using 0.1 ... Routers cannot be counted on to use 192.168.0.1; some are 0.0, 100.1, 1.1, etc. (this early in the morning, I forget what mine is, but I'll try it later.) Also, are these pages "industry standard"? All router mfgr's use these (like st_devic.html)? Anyway, if I used that, I'd need discovery code for the router first. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, September 17, 2004 1:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] External IP Address of Local Machine I tried a couple of other methods grabbing the ip entries from this created text file ; sort of slow even with only 3 hops tracert -h 3 www.microsoft.com > testtrac.txt ---------------------------------------- If you are configuring your router thru http methods "http://192.168.0.1/st_devic.html" is supposed to give you the ip address but then you have to clear the cache use this to clear out IE cached pages for DSL router app. Private Declare Function DeleteUrlCacheEntry Lib "wininet.dll" Alias "DeleteUrlCacheEntryA" (ByVal lpszUrlName As String) As Long DeleteUrlCacheEntry "http://192.168.0.1/st_devic.html" DeleteUrlCacheEntry "http://192.168.0.1/st_stats.html" ---------------- http://checkip.dyndns.org/ can only use every 10 minutes otherwise site gets annoyed Dim objExplorer As Object Dim objDocument As Object Dim strComputer As String Dim objWMIService As Object Dim colLoggedEvents As Object Dim objEvent As Object Dim dtmDate As Variant Dim strReturn As String Set objExplorer = CreateObject("InternetExplorer.Application") 'Set objDocument = objExplorer.Document objExplorer.Navigate "about:blank" objExplorer.Toolbar = 0 objExplorer.StatusBar = 0 objExplorer.Width = 800 objExplorer.Height = 570 objExplorer.Left = 0 objExplorer.Top = 0 objExplorer.Visible = 1 objExplorer.Navigate "http://checkip.dyndns.org/" Do While (objExplorer.Busy) Loop Dim webtx As String Dim strHTML As String 'Set objDocument = objExplorer.Document 'objDocument.Open strHTML = objExplorer.Document.BODY.parentElement.outerHTML Debug.Print strHTML 'parse the string here MsgBox "finished" Set objExplorer = Nothing Set objDocument = Nothing End Sub Steve Conklin (Developer at UltraDNT) wrote: >Marty: >It iterated through about 6 times; most entries were blank, on about >the 4th pass I got my DSN information, but it was also only showing the >LAN IP (192.168.x.x), not the WAN address. > >I found an external utility form the page Stuart suggested, it looks >like I'll have to Shell that to know the user's external IP. The >Help/About mentions MFC classes, so its making Windows calls that >*should* be exposed somewhere as an API/DLL, but I haven't figured out >how yet. > > >Steve > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >MartyConnelly >Sent: Thursday, September 16, 2004 1:54 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] External IP Address of Local Machine > > >I am just curious as to what this WMI code would return working >through > >a router >I get something like this without one. I have garbled numbers. > >DHCPEnabled: True >DHCPLeaseExpires: 13/09/2004 5:42:44 AM >DHCPLeaseObtained: 09/11/2004 5:42:50 AM >DHCPServer: 64.58.156.40 >DNSDomain: gv.homecable.net >DNSHostName: MyComputer >DomainDNSRegistrationEnabled: >IPAddress: 24.344.56.566 >IPAddresslen: 13 >IPConnectionMetric: 30 >IPEnabled: True >MACAddress: 00:3B:27:43:6A:D1 >MTU: > > >Sub testnicconfigS() >'set reference to WMI for WinXP and 2000 >'The Win32_NetworkAdapterConfiguration WMI class represents 'the >attributes and behaviors of a network adapter. 'This class has been >extended to include extra properties and methods 'that support the >management of the TCP/IP and Internetworking Packet Exchange >(IPX) 'protocols (and are independent of the network adapter). Dim >strComputer As String Dim objWMIService As Object Dim colitems As >Object Dim objitem As Object On Error Resume Next 'there maybe multiple >Nic entries that are empty so skip them > >strComputer = "." 'default "." specifies local machine name Set >objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") >Set colitems = objWMIService.ExecQuery("Select * from >Win32_NetworkAdapterConfiguration", , 48) > >For Each objitem In colitems > > Debug.Print "DHCPEnabled: " & objitem.DHCPEnabled > Debug.Print "DHCPLeaseExpires: " & WMIDateStringToDate >(objitem.DHCPLeaseExpires) > Debug.Print "DHCPLeaseObtained: " & WMIDateStringToDate >(objitem.DHCPLeaseObtained) > Debug.Print "DHCPServer: " & objitem.DHCPServer > Debug.Print "DNSDomain: " & objitem.DNSDomain > > Debug.Print "DNSHostName: " & objitem.DNSHostName > > Debug.Print "DomainDNSRegistrationEnabled: " & >objitem.DomainDNSRegistrationEnabled > > Debug.Print "IPAddress: " & objitem.IPAddress(0) > 'this is an array like other undocumented entries > 'you will have to find by trial and error > 'although there is an isarray property somewhere > Debug.Print "IPAddresslen: " & Len(objitem.IPAddress(0)) > Debug.Print "IPConnectionMetric: " & objitem.IPConnectionMetric > Debug.Print "IPEnabled: " & objitem.IPEnabled > Debug.Print "MACAddress: " & objitem.MACAddress > Debug.Print "MTU: " & objitem.MTU > >Next >End Sub >Function WMIDateStringToDate(dtmInstallDate) As String 'WMI has an odd >date format WMIDateStringToDate = CDate(Mid(dtmInstallDate, 5, 2) & "/" >& _ Mid(dtmInstallDate, 7, 2) & "/" & Left(dtmInstallDate, 4) _ & " " & >Mid(dtmInstallDate, 9, 2) & ":" & _ Mid(dtmInstallDate, 11, 2) & ":" & >Mid(dtmInstallDate, _ 13, 2)) End Function > > >Erwin Craps - IT Helps wrote: > > > >>Shields up is a test a webserver test, but just at the startpage >>(before the test) you can see your dns name and ip address >> >>https://www.grc.com/x/ne.dll?bh0bkyd2 >> >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve >>Conklin >>(Developer at UltraDNT) >>Sent: Thursday, September 16, 2004 4:17 PM >>To: 'Access Developers discussion and problem solving' >>Subject: RE: [AccessD] External IP Address of Local Machine >> >>Thanks, Stuart. >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart >>McLachlan >>Sent: Wednesday, September 15, 2004 7:48 PM >>To: Access Developers discussion and problemsolving >>Subject: Re: [AccessD] External IP Address of Local Machine >> >> >>On 15 Sep 2004 at 18:55, Steve Conklin (Developer at UltraDNT) wrote: >> >> >> >> >> >>>I am using WDSI, WinInet and various API's to get 2 Access >>>applications to send data to each other over FTP. It is working well, >>> >>> >>> >>> >> >> >> >> >>>but I want the server to be secure, that is to only allow >>>logins/files >>> >>> >>> >>> >> >> >> >> >>>to come from specific IP's. This is ok when I am sending, because I >>>know my IP, and I tell the client to allow my IP. When I (hopefully) >>>sell a copy to the client's client, how can they easily determine >>> >>> >>> >>> >>their IP? >> >> >> >> >>>I have looked at the Winsock API and can get remote IP's via Host >>> >>> >>> >>> >>Name. >> >> >> >> >>>However, when I want to get the IP of the local PC, it returns the >>>192.168.x.x address; how can I get the external IP that the FTP server >>> >>> >>> >>> >> >> >> >> >>>needs to know through VB/API? >>> >>> >>> >>> >>> >>If you are working through a router, you can't since only the router >>knows >>the external address.. The only way would be to bounce an HTML >> >> >request > > >>of >>an external website and read the return data. There a numbder of >>freeware tools available on the web that do just that. See >>http://www.snapfiles.com/freeware/network/fwip.html for examples >> >> >>If you're machine is directly connected to the Internet, you can >>iterate >> >>through it's IP adddresses. >> >>Here's a module to do it (watch for linewrap) >> >>Option Compare Database >>Option Explicit >> >>Const MAX_IP = 5 'To make a buffer... i dont think you have more than >>5 ip on your pc.. >> >>Type IPINFO >> dwAddr As Long ' IP address >> dwIndex As Long ' interface index >> dwMask As Long ' subnet mask >> dwBCastAddr As Long ' broadcast address >> dwReasmSize As Long ' assembly size >> unused1 As Integer ' not currently used >> unused2 As Integer '; not currently used End Type >> >>Type MIB_IPADDRTABLE >> dEntrys As Long 'number of entries in the table >> mIPInfo(MAX_IP) As IPINFO 'array of IP address entries End Type >> >>Type IP_Array >> mBuffer As MIB_IPADDRTABLE >> BufferLen As Long >>End Type >> >>Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" >>(Destination As Any, Source As Any, ByVal Length As Long) Public >>Declare Function GetIpAddrTable Lib "IPHlpApi" (pIPAdrTable As Byte, >>pdwSize As Long, ByVal Sort As Long) As Long >> >> >>Public Function ConvertAddressToString(longAddr As Long) As String >> Dim myByte(3) As Byte >> Dim Cnt As Long >> CopyMemory myByte(0), longAddr, 4 >> For Cnt = 0 To 3 >> ConvertAddressToString = ConvertAddressToString + >>CStr(myByte(Cnt)) + "." >> Next Cnt >> ConvertAddressToString = Left$(ConvertAddressToString, >>Len(ConvertAddressToString) - 1) End Function >> >>Public Function IPAddresses() As Long >>Dim lngRetVal As Long >>Dim lngLoop As Long >>Dim bBytes() As Byte >>Dim IPList As MIB_IPADDRTABLE >> >> GetIpAddrTable ByVal 0&, lngRetVal, True >> >> If lngRetVal <= 0 Then Exit Function >> ReDim bBytes(0 To lngRetVal - 1) As Byte >> 'retrieve the data >> GetIpAddrTable bBytes(0), lngRetVal, False >> >> 'Get the first 4 bytes to get the entry's.. ip installed >> CopyMemory IPList.dEntrys, bBytes(0), 4 >> >> For lngLoop = 0 To IPList.dEntrys - 1 >> 'Copy whole structure to Listing.. >> CopyMemory IPList.mIPInfo(lngLoop), bBytes(4 + (lngLoop * >>Len(IPList.mIPInfo(0)))), Len(IPList.mIPInfo(lngLoop)) >> Debug.Print "IP address : " & >>ConvertAddressToString(IPList.mIPInfo(lngLoop).dwAddr) >> Debug.Print "IP Subnetmask : " & >>ConvertAddressToString(IPList.mIPInfo(lngLoop).dwMask) >> Debug.Print "BroadCast IP address : " & >>ConvertAddressToString(IPList.mIPInfo(lngLoop).dwBCastAddr) >> Debug.Print "**************************************" >> Next >> >>End Function >> >> >>-- >>Stuart >> >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Sep 17 10:37:22 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 17 Sep 2004 08:37:22 -0700 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: Sure, but we weren't using VB, we were using Access. We skipped VB6 entirely and we avoided installing anything but the Access runtime and our app on client machines, so dlls were out. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hudsonhealthplan.org] Sent: Monday, September 13, 2004 12:18 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net FWIW and not to take anything away from .NET but you *can* use the same data access and biz rules code in VB and ASP apps via compliled code (aka dlls). One big plus for .NET in this arena is that a lot of the display code is either the same or similar between ASP.NET apps and WinForms apps (just look at the code to bind your data to a web grid or windows data grid. It's virtually the same). Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, September 13, 2004 2:25 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net It's catching on in *our* trenches! I like working with it and our next major versions are going to be all VB.Net in part because it allows us to do things the clients want but that would have been difficult to impossible in Access. And it allows us to build Web-based interfaces for clients who want them without having to write different code for the Windows-based and web-based interfaces. I think that's worth the learning curve. Charlotte Foust -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, September 13, 2004 10:56 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Brett, <> I was in the same place several years ago. .Net was brand new and not much was around. I also wanted to get a standalone .EXE, get away from reference headaches with Access, etc. So I picked up VFP (Visual FoxPro). I must say I was disappointed at first because so many people I spoke with raved about it. While it had very strong database and OO capabilities, some of it was just plain junk. That's changed quite a bit as Microsoft has continued to add to the product. It has released two major versions since then with a third on the way. It too had a steep learning curve. <> I said that in light of the fact that .Net has been around for several years now and yet very few shops use it or are just getting into using it. Even Microsoft has said publicly that the response has been poor. They had to back off the whole .Net centric campaign and have refocused once again. And while that may have born some fruit, it seems for the most part that .Net is still not main stream. <> Been there done that and this isn't about that. I was mainly curious if .Net was catching on down in the trenches or still ho-hum. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ------------------------------------------------------------------------ ---- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From donald.a.Mcgillivray at mail.sprint.com Fri Sep 17 11:05:19 2004 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Fri, 17 Sep 2004 11:05:19 -0500 Subject: [AccessD] Urgent help please - Can't open html page in Frontpagefrom Access form Message-ID: <988E2AC88CCB54459286C4077DB662F50155B2D8@PDAWB03C.ad.sprint.com> Firstly, I have only passing familiarity with Front Page and web stuff - DEFINITELY no kind of expert! But since you seem to be in a similar situation, maybe my experience will prove useful. In FP 98 (newer versions may be different) the html editor is a separate application that can be run independently from the FP web designer interface. Since my ISP doesn't support FP extensions at my subscription level, I just use the FP editor (not the web designer) to create pages (VERY simple ones, to be sure) and upload them via FTP to my web space. Basically, the FP html editor allows you to open, edit and save ANY html doc to ANY place you please - doesn't have to be a part of a "Front Page web" at all. Things could get a little tricky if the html doc contains hyperlinks to other pages within the web site - in my situation I mimic the directory structure of my web space on my PC, and make any hyperlinks relative to the page location - and I have no idea what happens if you just slip a page into a FP web thru the "back door" (does the FP web automatically 'know' the new page is there, or do you have to use the web designer to make it available?) All this having been said, I don't know whether the FP html editor (as distinct from the web designer) has an exposed object model that you can automate from your VBA code (I'm at work and my FP is installed at home) but if it does, you ought to be able to open and work a document independent of any web specs and then move it to the web via a separate process when the user is finished. Hope this helps! Don McGillivray -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, September 13, 2004 6:13 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Urgent help please - Can't open html page in Frontpagefrom Access form I have wasted ages on this so am now begging assistance........ I have an html file (empty at present - later it will have some basic text) I need to my code to - Make a copy of the template.html file (I can do that) and - give it a new name, eg. Template_BHP_140904.html (I can do that) - Open the html file just created in Frontpage for users to modify the document (That's where I'm stuck....) My problem is a total lack of knowledge of files vs. webs and therefore the syntax I need. Questions: - - Do I have to have a 'web' or 'web folder' - can't I just have an html file and open it? - If I can, what is the alternative syntax to .webs.open - eg. I am looking for a .pages.open property or .files.open ? Here's my code so far - when I run it I get an error - There is no web named "/E:/SDS/Clients/CPP/WebLetters/Template.html" ------------------------------------------------------------------------ -------- Private Sub CmdOpenFP_Click() Dim oFPweb As FrontPage.Web Dim oFP As FrontPage.Application Dim FrontPageRunning As Boolean 'Determine whether FrontPage is alredy open or not FrontPageRunning = IsFrontPageRunning() If Not FrontPageRunning Then MsgBox ("Frontpage is Closed") Set oFP = CreateObject("Frontpage.Application") Else MsgBox ("Frontpage is already open") Set oFP = GetObject(, "Frontpage.Application") End If 'add code here later to make a copy of my file 'open file in front page------------------------------------------------ oFP.Webs.Open ("E:\Sds\Clients\CPP\Webletters\template.html") 'STUCK HERE ' Show FrontPage oFPweb.Activate 'Set oFP = Nothing End Sub ------------------------------------------------------------------------ -------- TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Fri Sep 17 11:17:20 2004 From: artful at rogers.com (Arthur Fuller) Date: Fri, 17 Sep 2004 12:17:20 -0400 Subject: [AccessD] ADP In-Reply-To: <844F188BB505654DBCF15C4B24106C1008DC7B@headcon.headit.nl> Message-ID: <02b401c49cd1$cedd6410$6501a8c0@rock> The question as asked is a little bit ambiguous. You could mean, when creating the ADP -- in that case the wizard lets you pick the database. Or you could mean that you want the user to be able to switch from one version of the database to another, on the fly. In this case, create a reference to the SQL-DMO library, which contains a bunch of useful objects for this sort of thing. I have code in an app I did a while back that lists the servers available in a listbox, then the databases of the selected server in another listbox, and lets the user connect to the selected database, basically by creating a new connection object. This route risks ungracefulness, however, since in theory the user could select a completely inappropriate database and have your pretty Access ADP application blow up unmercifully. We got around this by naming the parallel databases using a naming scheme, so then we could eliminate any irrelvant databases before populating the listbox. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Carlo van der Zon (Access IT Training) Sent: Wednesday, September 15, 2004 8:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] ADP Hi Group, Does anybody know how to choose de SQL database in a ADP Runtime? Thanks Carlo -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Fri Sep 17 11:45:31 2004 From: artful at rogers.com (Arthur Fuller) Date: Fri, 17 Sep 2004 12:45:31 -0400 Subject: [AccessD] ADP In-Reply-To: <844F188BB505654DBCF15C4B24106C100F9AEE@headcon.headit.nl> Message-ID: <02ca01c49cd5$bf39f470$6501a8c0@rock> See my earlier reply about using SQL-DMO. This is exactly why I took that route. I too needed to ship a run-time. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Carlo van der Zon (Access IT Training) Sent: Thursday, September 16, 2004 11:13 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADP Ok, but this is not working in runtime. -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens fhtapia at gmail.com Verzonden: woensdag 15 september 2004 17:30 Aan: Access Developers discussion and problem solving Onderwerp: Re: [AccessD] ADP File |Connection, then select the full connection settings From clh at christopherhawkins.com Fri Sep 17 13:05:35 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 17 Sep 2004 12:05:35 -0600 Subject: [AccessD] Connecting to SQL from Access w/a single login? Message-ID: <191490-2200495171853536@christopherhawkins.com> This is driving me nuts. I know I did this a few years ago, but right now I'm totally stumped. A client of mine wrote himself an Access app for use around his office. Eventually the back-end swelled up to 500MB and problems ensued, so they decided to go to SQL Server. He upsized the database himself and then called me in to help get the Access front-end working against SQL Server. Here's my current issue; I want all the Access clients to use the same SQL Server login rather than having a unique SQL Server login for each domain account. I went ahead and created an AppUser login and gave it the appropriate permissions to the application database. I have the AppUser login and password set in the ODBC DSN. But whenever a user tries to connect, an error message appears stating that his domain login was not recognized by the SQL Server. It's not even paying attention to the AppUser info. I'm surfing BOL right now, but haven't yet figured out what I missed. And I know I'm missing something. Any suggestions? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From dwilliams_78704 at yahoo.com Fri Sep 17 13:17:07 2004 From: dwilliams_78704 at yahoo.com (dan williams) Date: Fri, 17 Sep 2004 11:17:07 -0700 (PDT) Subject: [AccessD] Gmail Invite (D) In-Reply-To: <8DA8776D2F418E46A2A464AC6CE63050934A@outbaksrv1.outbaktech.com> Message-ID: <20040917181707.78818.qmail@web50804.mail.yahoo.com> sure would like one please --- Jeff Barrows wrote: > On its way! Anyone else? > > Jeff Barrows > MCP, MCAD, MCSD > > Outbak Technologies, LLC > Racine, WI > jeff at outbaktech.com > -----Original Message----- > From: Steven W. Erbach [mailto:serbach at new.rr.com] > Sent: Wednesday, September 15, 2004 10:22 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Gmail Invite (D) > > Jeff, > > >> Are you looking for a GMail invite? << > > Well, sure, if ya got one one 'a dem dere tings, eh? > > Steve Erbach > Neenah, WI > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail From mikedorism at adelphia.net Fri Sep 17 13:23:01 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Fri, 17 Sep 2004 14:23:01 -0400 Subject: [AccessD] Connecting to SQL from Access w/a single login? In-Reply-To: <191490-2200495171853536@christopherhawkins.com> Message-ID: <000001c49ce3$5e1f10e0$2f08a845@hargrove.internal> Easiest way is to use your Global Domain master account and use Windows NT authentication to set up a trusted connection to the server. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: Friday, September 17, 2004 2:06 PM To: accessd at databaseadvisors.com Subject: [AccessD] Connecting to SQL from Access w/a single login? This is driving me nuts. I know I did this a few years ago, but right now I'm totally stumped. A client of mine wrote himself an Access app for use around his office. Eventually the back-end swelled up to 500MB and problems ensued, so they decided to go to SQL Server. He upsized the database himself and then called me in to help get the Access front-end working against SQL Server. Here's my current issue; I want all the Access clients to use the same SQL Server login rather than having a unique SQL Server login for each domain account. I went ahead and created an AppUser login and gave it the appropriate permissions to the application database. I have the AppUser login and password set in the ODBC DSN. But whenever a user tries to connect, an error message appears stating that his domain login was not recognized by the SQL Server. It's not even paying attention to the AppUser info. I'm surfing BOL right now, but haven't yet figured out what I missed. And I know I'm missing something. Any suggestions? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Fri Sep 17 13:34:16 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 17 Sep 2004 12:34:16 -0600 Subject: [AccessD] Connecting to SQL from Access w/a single login? Message-ID: <73990-220049517183416589@christopherhawkins.com> Can you elaborate? ---- Original Message ---- From: mikedorism at adelphia.net To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Connecting to SQL from Access w/a single login? Date: Fri, 17 Sep 2004 14:23:01 -0400 >Easiest way is to use your Global Domain master account and use >Windows NT >authentication to set up a trusted connection to the server. > >Doris Manning >Database Administrator >Hargrove Inc. >www.hargroveinc.com > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >Christopher >Hawkins >Sent: Friday, September 17, 2004 2:06 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Connecting to SQL from Access w/a single login? > > >This is driving me nuts. I know I did this a few years ago, but >right now >I'm totally stumped. > >A client of mine wrote himself an Access app for use around his >office. >Eventually the back-end swelled up to 500MB and problems ensued, so >they >decided to go to SQL Server. He upsized the database himself and >then >called me in to help get the Access front-end working against SQL >Server. > >Here's my current issue; I want all the Access clients to use the >same SQL >Server login rather than having a unique SQL Server login for each >domain >account. > >I went ahead and created an AppUser login and gave it the appropriate >permissions to the application database. I have the AppUser login >and >password set in the ODBC DSN. But whenever a user tries to connect, >an >error message appears stating that his domain login was not >recognized by >the SQL Server. It's not even paying attention to the AppUser info. > >I'm surfing BOL right now, but haven't yet figured out what I >missed. And I >know I'm missing something. > >Any suggestions? >Respectfully, > >Christopher Hawkins >Software Developer >(559) 687-7591 >http://www.christopherhawkins.com > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From ebarro at afsweb.com Fri Sep 17 13:40:08 2004 From: ebarro at afsweb.com (Eric Barro) Date: Fri, 17 Sep 2004 11:40:08 -0700 Subject: [AccessD] Connecting to SQL from Access w/a single login? In-Reply-To: <191490-2200495171853536@christopherhawkins.com> Message-ID: Check SQL server authentication if it is Windows based or SQL based. User management in SQL server goes like this... 1. Create the login first under the Security section 2. Create privileges for the login 3. Create the user and associate it with a login --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Friday, September 17, 2004 11:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] Connecting to SQL from Access w/a single login? This is driving me nuts. I know I did this a few years ago, but right now I'm totally stumped. A client of mine wrote himself an Access app for use around his office. Eventually the back-end swelled up to 500MB and problems ensued, so they decided to go to SQL Server. He upsized the database himself and then called me in to help get the Access front-end working against SQL Server. Here's my current issue; I want all the Access clients to use the same SQL Server login rather than having a unique SQL Server login for each domain account. I went ahead and created an AppUser login and gave it the appropriate permissions to the application database. I have the AppUser login and password set in the ODBC DSN. But whenever a user tries to connect, an error message appears stating that his domain login was not recognized by the SQL Server. It's not even paying attention to the AppUser info. I'm surfing BOL right now, but haven't yet figured out what I missed. And I know I'm missing something. Any suggestions? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. From accessd at shaw.ca Fri Sep 17 13:49:12 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri, 17 Sep 2004 11:49:12 -0700 Subject: [AccessD] Connecting to SQL from Access w/a single login? In-Reply-To: <191490-2200495171853536@christopherhawkins.com> Message-ID: Hi Christopher: The SQL server has it's own way of dealing with access rights. They are through an internal 'sa' type account or it is through 'NT authentication'. Traditionally, I only use the 'sa' accounts as a backdoor for an administrator. Your best option would be to go with 'NT authentication'. The setup is fairly easy, if network has a domain. Go to the main server, login as an administrator, 'right-click' MyComputer (assuming a Windows2000 system), select the 'Manage' option, choose 'Local Users and Groups' then: One; create a login group called something like 'sqlusers'. Two; create or add individual login to the group. Once all the appropriate users have been added to this group the access the SQL Enterprise manager. 'EM'. One; Expand the current SQL server, the 'Security' directory and the 'click' on the logins icon. Two; 'right mouse click', select 'New login' and, on the General tab, from the popdown list select your 'sqlusers' group. Make sure that the 'Authentication' radio button is selected and the current domain/server is visible. Three; Go back to the 'Database' and 'MyDatabase' directory and subdirectory and 'right mouse click' the users icon. Four; Select 'New database user' and select the new group you have just added from the popdown menu. There is some clean up and defining to do but you have basically defined access rights. Now all you do is attempt a connection at the point where the user accesses the FE Access DB and if the connection fails, close and exit the program. (If you need a sample of code that will connect to your server just request it.) You will find this way very clean, secure and not intrusive to the users. This way is the only way I now ever setup user accounts. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Friday, September 17, 2004 11:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] Connecting to SQL from Access w/a single login? This is driving me nuts. I know I did this a few years ago, but right now I'm totally stumped. A client of mine wrote himself an Access app for use around his office. Eventually the back-end swelled up to 500MB and problems ensued, so they decided to go to SQL Server. He upsized the database himself and then called me in to help get the Access front-end working against SQL Server. Here's my current issue; I want all the Access clients to use the same SQL Server login rather than having a unique SQL Server login for each domain account. I went ahead and created an AppUser login and gave it the appropriate permissions to the application database. I have the AppUser login and password set in the ODBC DSN. But whenever a user tries to connect, an error message appears stating that his domain login was not recognized by the SQL Server. It's not even paying attention to the AppUser info. I'm surfing BOL right now, but haven't yet figured out what I missed. And I know I'm missing something. Any suggestions? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Fri Sep 17 13:53:05 2004 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 17 Sep 2004 19:53:05 +0100 Subject: [AccessD] Connecting to SQL from Access w/a single login? References: Message-ID: <000801c49ce7$9183d110$0100a8c0@Martin> You could also look at Application Roles where your app as opposed to the individual users are authenicated. Martin ----- Original Message ----- From: "Eric Barro" To: "Access Developers discussion and problem solving" Sent: Friday, September 17, 2004 7:40 PM Subject: RE: [AccessD] Connecting to SQL from Access w/a single login? > Check SQL server authentication if it is Windows based or SQL based. > > User management in SQL server goes like this... > > 1. Create the login first under the Security section > 2. Create privileges for the login > 3. Create the user and associate it with a login > > --- > Eric Barro > Senior Systems Analyst > Advanced Field Services > (208) 772-7060 > http://www.afsweb.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher > Hawkins > Sent: Friday, September 17, 2004 11:06 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Connecting to SQL from Access w/a single login? > > > This is driving me nuts. I know I did this a few years ago, but > right now I'm totally stumped. > > A client of mine wrote himself an Access app for use around his > office. Eventually the back-end swelled up to 500MB and problems > ensued, so they decided to go to SQL Server. He upsized the database > himself and then called me in to help get the Access front-end > working against SQL Server. > > Here's my current issue; I want all the Access clients to use the > same SQL Server login rather than having a unique SQL Server login > for each domain account. > > I went ahead and created an AppUser login and gave it the appropriate > permissions to the application database. I have the AppUser login > and password set in the ODBC DSN. But whenever a user tries to > connect, an error message appears stating that his domain login was > not recognized by the SQL Server. It's not even paying attention to > the AppUser info. > > I'm surfing BOL right now, but haven't yet figured out what I missed. > And I know I'm missing something. > > Any suggestions? > Respectfully, > > Christopher Hawkins > Software Developer > (559) 687-7591 > http://www.christopherhawkins.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ----------------------------------------- > The information contained in this e-mail message and any file, document, > previous e-mail message and/or attachment transmitted herewith is > confidential and may be legally privileged. It is intended solely for the > private use of the addressee and must not be disclosed to or used by > anyone other than the addressee. If you receive this transmission by > error, please immediately notify the sender by reply e-mail and destroy > the original transmission and its attachments without reading or saving it > in any manner. If you are not the intended recipient, or a person > responsible for delivering it to the intended recipient, you are hereby > notified that any disclosure, copying, distribution or use of any of the > information contained in or attached to this transmission is STRICTLY > PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error > free as information could be intercepted, corrupted, lost, destroyed, > arrive late or incomplete, or contain viruses. The sender theref! > ore does not accept liability for any errors or omissions in the contents > of this message, which arise as a result of email transmission. Users and > employees of the e-mail system are expressly required not to make > defamatory statements and not to infringe or authorize any infringement of > copyright or any other legal right by email communications. Any such > communication is contrary to company policy. The company will not accept > any liability in respect of such communication. > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From BBarabash at TappeConstruction.com Fri Sep 17 14:29:46 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Fri, 17 Sep 2004 14:29:46 -0500 Subject: [AccessD] Connecting to SQL from Access w/a single login? Message-ID: <100F91B31300334B89EC531C9DCB0865065955@tccexch01.tappeconstruction.net> To all who use NT authentication: Do you (or your network admins) have any concerns about end users potentially linking to the raw data in other apps? For example, a savvy power user could easily setup an ODBC connection in Excel/MS Query and directly query the table data. If the database relies on NT authentication, and the table is available to them, they can link to the data directly. I found this to be problemattic, since I don't really want my users bypassing the business rules and manually generating their own reports with sensitive data. Christopher: I had this problem a while back using SQL Server authentication on an Access 2000 MDB file. The problem is that the Access attach tables dialog doesn't save the password info. I was able to get around it by writing the following DAO routine (make sure you have a DAO reference set in your project). This routine will loop through all of your attached tables, and relink them using the specified UserID and Password. Public Sub FixAttachments(ByVal strServer As String, ByVal strUID As String, ByVal strPWD As String) Dim db As DAO.Database Dim rs As DAO.Recordset Dim tdf As DAO.TableDef Dim strSQL As String Set db = DBEngine.Workspaces(0).Databases(0) strSQL = "SELECT MSysObjects.Name, " & _ "MSysObjects.ForeignName, " & _ "MSysObjects.Connect " & _ "FROM MSysObjects " & _ "WHERE MSysObjects.Type=4 " & _ "ORDER BY MSysObjects.Name;" Set rs = db.OpenRecordset(strSQL, dbOpenSnapshot) db.TableDefs.Refresh Do Until rs.EOF Debug.Print rs!Name Set tdf = db.CreateTableDef(rs!Name) tdf.Connect = "ODBC;" & _ ExtractArg(rs!Connect, "DRIVER") & ";" & _ "SERVER=" & strServer & ";" & _ ExtractArg(rs!Connect, "DATABASE") & ";" & _ "UID=" & strUID & ";" & _ "PWD=" & strPWD tdf.Attributes = dbAttachSavePWD tdf.SourceTableName = rs!ForeignName db.TableDefs.Delete rs!Name db.TableDefs.Append tdf rs.MoveNext Loop db.TableDefs.Refresh rs.Close End Sub Public Function ExtractArg(ByVal strIn As String, ByVal strName As String) As String Dim lngPos As Long strIn = strIn & ";" lngPos = InStr(strIn, strName & "=") If lngPos > 0 Then ExtractArg = Mid$(strIn, lngPos, InStr(lngPos, strIn, ";") - lngPos) End If End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence (AccessD) Sent: Friday, September 17, 2004 1:49 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Connecting to SQL from Access w/a single login? Hi Christopher: The SQL server has it's own way of dealing with access rights. They are through an internal 'sa' type account or it is through 'NT authentication'. Traditionally, I only use the 'sa' accounts as a backdoor for an administrator. Your best option would be to go with 'NT authentication'. The setup is fairly easy, if network has a domain. Go to the main server, login as an administrator, 'right-click' MyComputer (assuming a Windows2000 system), select the 'Manage' option, choose 'Local Users and Groups' then: One; create a login group called something like 'sqlusers'. Two; create or add individual login to the group. Once all the appropriate users have been added to this group the access the SQL Enterprise manager. 'EM'. One; Expand the current SQL server, the 'Security' directory and the 'click' on the logins icon. Two; 'right mouse click', select 'New login' and, on the General tab, from the popdown list select your 'sqlusers' group. Make sure that the 'Authentication' radio button is selected and the current domain/server is visible. Three; Go back to the 'Database' and 'MyDatabase' directory and subdirectory and 'right mouse click' the users icon. Four; Select 'New database user' and select the new group you have just added from the popdown menu. There is some clean up and defining to do but you have basically defined access rights. Now all you do is attempt a connection at the point where the user accesses the FE Access DB and if the connection fails, close and exit the program. (If you need a sample of code that will connect to your server just request it.) You will find this way very clean, secure and not intrusive to the users. This way is the only way I now ever setup user accounts. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Friday, September 17, 2004 11:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] Connecting to SQL from Access w/a single login? This is driving me nuts. I know I did this a few years ago, but right now I'm totally stumped. A client of mine wrote himself an Access app for use around his office. Eventually the back-end swelled up to 500MB and problems ensued, so they decided to go to SQL Server. He upsized the database himself and then called me in to help get the Access front-end working against SQL Server. Here's my current issue; I want all the Access clients to use the same SQL Server login rather than having a unique SQL Server login for each domain account. I went ahead and created an AppUser login and gave it the appropriate permissions to the application database. I have the AppUser login and password set in the ODBC DSN. But whenever a user tries to connect, an error message appears stating that his domain login was not recognized by the SQL Server. It's not even paying attention to the AppUser info. I'm surfing BOL right now, but haven't yet figured out what I missed. And I know I'm missing something. Any suggestions? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From mikedorism at adelphia.net Fri Sep 17 14:47:42 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Fri, 17 Sep 2004 15:47:42 -0400 Subject: [AccessD] Connecting to SQL from Access w/a single login? In-Reply-To: <100F91B31300334B89EC531C9DCB0865065955@tccexch01.tappeconstruction.net> Message-ID: <000001c49cef$3296d8c0$2f08a845@hargrove.internal> I don't because we use an ADP and 95% of our users have Office Standard/ Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Friday, September 17, 2004 3:30 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Connecting to SQL from Access w/a single login? To all who use NT authentication: Do you (or your network admins) have any concerns about end users potentially linking to the raw data in other apps? For example, a savvy power user could easily setup an ODBC connection in Excel/MS Query and directly query the table data. If the database relies on NT authentication, and the table is available to them, they can link to the data directly. I found this to be problemattic, since I don't really want my users bypassing the business rules and manually generating their own reports with sensitive data. Christopher: I had this problem a while back using SQL Server authentication on an Access 2000 MDB file. The problem is that the Access attach tables dialog doesn't save the password info. I was able to get around it by writing the following DAO routine (make sure you have a DAO reference set in your project). This routine will loop through all of your attached tables, and relink them using the specified UserID and Password. Public Sub FixAttachments(ByVal strServer As String, ByVal strUID As String, ByVal strPWD As String) Dim db As DAO.Database Dim rs As DAO.Recordset Dim tdf As DAO.TableDef Dim strSQL As String Set db = DBEngine.Workspaces(0).Databases(0) strSQL = "SELECT MSysObjects.Name, " & _ "MSysObjects.ForeignName, " & _ "MSysObjects.Connect " & _ "FROM MSysObjects " & _ "WHERE MSysObjects.Type=4 " & _ "ORDER BY MSysObjects.Name;" Set rs = db.OpenRecordset(strSQL, dbOpenSnapshot) db.TableDefs.Refresh Do Until rs.EOF Debug.Print rs!Name Set tdf = db.CreateTableDef(rs!Name) tdf.Connect = "ODBC;" & _ ExtractArg(rs!Connect, "DRIVER") & ";" & _ "SERVER=" & strServer & ";" & _ ExtractArg(rs!Connect, "DATABASE") & ";" & _ "UID=" & strUID & ";" & _ "PWD=" & strPWD tdf.Attributes = dbAttachSavePWD tdf.SourceTableName = rs!ForeignName db.TableDefs.Delete rs!Name db.TableDefs.Append tdf rs.MoveNext Loop db.TableDefs.Refresh rs.Close End Sub Public Function ExtractArg(ByVal strIn As String, ByVal strName As String) As String Dim lngPos As Long strIn = strIn & ";" lngPos = InStr(strIn, strName & "=") If lngPos > 0 Then ExtractArg = Mid$(strIn, lngPos, InStr(lngPos, strIn, ";") - lngPos) End If End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence (AccessD) Sent: Friday, September 17, 2004 1:49 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Connecting to SQL from Access w/a single login? Hi Christopher: The SQL server has it's own way of dealing with access rights. They are through an internal 'sa' type account or it is through 'NT authentication'. Traditionally, I only use the 'sa' accounts as a backdoor for an administrator. Your best option would be to go with 'NT authentication'. The setup is fairly easy, if network has a domain. Go to the main server, login as an administrator, 'right-click' MyComputer (assuming a Windows2000 system), select the 'Manage' option, choose 'Local Users and Groups' then: One; create a login group called something like 'sqlusers'. Two; create or add individual login to the group. Once all the appropriate users have been added to this group the access the SQL Enterprise manager. 'EM'. One; Expand the current SQL server, the 'Security' directory and the 'click' on the logins icon. Two; 'right mouse click', select 'New login' and, on the General tab, from the popdown list select your 'sqlusers' group. Make sure that the 'Authentication' radio button is selected and the current domain/server is visible. Three; Go back to the 'Database' and 'MyDatabase' directory and subdirectory and 'right mouse click' the users icon. Four; Select 'New database user' and select the new group you have just added from the popdown menu. There is some clean up and defining to do but you have basically defined access rights. Now all you do is attempt a connection at the point where the user accesses the FE Access DB and if the connection fails, close and exit the program. (If you need a sample of code that will connect to your server just request it.) You will find this way very clean, secure and not intrusive to the users. This way is the only way I now ever setup user accounts. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Friday, September 17, 2004 11:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] Connecting to SQL from Access w/a single login? This is driving me nuts. I know I did this a few years ago, but right now I'm totally stumped. A client of mine wrote himself an Access app for use around his office. Eventually the back-end swelled up to 500MB and problems ensued, so they decided to go to SQL Server. He upsized the database himself and then called me in to help get the Access front-end working against SQL Server. Here's my current issue; I want all the Access clients to use the same SQL Server login rather than having a unique SQL Server login for each domain account. I went ahead and created an AppUser login and gave it the appropriate permissions to the application database. I have the AppUser login and password set in the ODBC DSN. But whenever a user tries to connect, an error message appears stating that his domain login was not recognized by the SQL Server. It's not even paying attention to the AppUser info. I'm surfing BOL right now, but haven't yet figured out what I missed. And I know I'm missing something. Any suggestions? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Fri Sep 17 15:25:57 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 17 Sep 2004 13:25:57 -0700 Subject: [AccessD] External IP Address of Local Machine References: <000f01c49cb7$caa92f10$0200a8c0@COA3> Message-ID: <414B4855.9000301@shaw.ca> st_devic.html will probably only work for D-Link routers. Steve Conklin (Developer at UltraDNT) wrote: >Marty: >Most cool, the third one, going to dynip, did the job. > >The tracert didn't include mine, it just showed the ip's of my provider. >The second method, as written, didn't work. I assume its because my >router is not using 0.1 ... Routers cannot be counted on to use >192.168.0.1; some are 0.0, 100.1, 1.1, etc. (this early in the morning, >I forget what mine is, but I'll try it later.) Also, are these pages >"industry standard"? All router mfgr's use these (like st_devic.html)? >Anyway, if I used that, I'd need discovery code for the router first. > >Steve > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Friday, September 17, 2004 1:46 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] External IP Address of Local Machine > > >I tried a couple of other methods > >grabbing the ip entries from this created text file ; sort of slow even >with only 3 hops >tracert -h 3 www.microsoft.com > testtrac.txt >---------------------------------------- >If you are configuring your router thru http methods >"http://192.168.0.1/st_devic.html" >is supposed to give you the ip address >but then you have to clear the cache >use this to clear out IE cached pages for DSL router app. > >Private Declare Function DeleteUrlCacheEntry Lib "wininet.dll" Alias > >"DeleteUrlCacheEntryA" (ByVal lpszUrlName As String) As Long > >DeleteUrlCacheEntry "http://192.168.0.1/st_devic.html" > >DeleteUrlCacheEntry "http://192.168.0.1/st_stats.html" >---------------- >http://checkip.dyndns.org/ >can only use every 10 minutes otherwise site gets annoyed > >Dim objExplorer As Object >Dim objDocument As Object >Dim strComputer As String >Dim objWMIService As Object >Dim colLoggedEvents As Object >Dim objEvent As Object >Dim dtmDate As Variant >Dim strReturn As String > >Set objExplorer = CreateObject("InternetExplorer.Application") >'Set objDocument = objExplorer.Document >objExplorer.Navigate "about:blank" >objExplorer.Toolbar = 0 >objExplorer.StatusBar = 0 >objExplorer.Width = 800 >objExplorer.Height = 570 >objExplorer.Left = 0 >objExplorer.Top = 0 >objExplorer.Visible = 1 > >objExplorer.Navigate "http://checkip.dyndns.org/" >Do While (objExplorer.Busy) >Loop >Dim webtx As String >Dim strHTML As String >'Set objDocument = objExplorer.Document >'objDocument.Open > >strHTML = objExplorer.Document.BODY.parentElement.outerHTML > Debug.Print strHTML >'parse the string here > >MsgBox "finished" >Set objExplorer = Nothing >Set objDocument = Nothing > >End Sub > > > >Steve Conklin (Developer at UltraDNT) wrote: > > > >>Marty: >>It iterated through about 6 times; most entries were blank, on about >>the 4th pass I got my DSN information, but it was also only showing the >> >> > > > >>LAN IP (192.168.x.x), not the WAN address. >> >>I found an external utility form the page Stuart suggested, it looks >>like I'll have to Shell that to know the user's external IP. The >>Help/About mentions MFC classes, so its making Windows calls that >>*should* be exposed somewhere as an API/DLL, but I haven't figured out >>how yet. >> >> >>Steve >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >>MartyConnelly >>Sent: Thursday, September 16, 2004 1:54 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] External IP Address of Local Machine >> >> >>I am just curious as to what this WMI code would return working >>through >> >>a router >>I get something like this without one. I have garbled numbers. >> >>DHCPEnabled: True >>DHCPLeaseExpires: 13/09/2004 5:42:44 AM >>DHCPLeaseObtained: 09/11/2004 5:42:50 AM >>DHCPServer: 64.58.156.40 >>DNSDomain: gv.homecable.net >>DNSHostName: MyComputer >>DomainDNSRegistrationEnabled: >>IPAddress: 24.344.56.566 >>IPAddresslen: 13 >>IPConnectionMetric: 30 >>IPEnabled: True >>MACAddress: 00:3B:27:43:6A:D1 >>MTU: >> >> >>Sub testnicconfigS() >>'set reference to WMI for WinXP and 2000 >>'The Win32_NetworkAdapterConfiguration WMI class represents 'the >>attributes and behaviors of a network adapter. 'This class has been >>extended to include extra properties and methods 'that support the >>management of the TCP/IP and Internetworking Packet Exchange >>(IPX) 'protocols (and are independent of the network adapter). Dim >>strComputer As String Dim objWMIService As Object Dim colitems As >>Object Dim objitem As Object On Error Resume Next 'there maybe multiple >> >> > > > >>Nic entries that are empty so skip them >> >>strComputer = "." 'default "." specifies local machine name Set >>objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") >>Set colitems = objWMIService.ExecQuery("Select * from >>Win32_NetworkAdapterConfiguration", , 48) >> >>For Each objitem In colitems >> >> Debug.Print "DHCPEnabled: " & objitem.DHCPEnabled >> Debug.Print "DHCPLeaseExpires: " & WMIDateStringToDate >>(objitem.DHCPLeaseExpires) >> Debug.Print "DHCPLeaseObtained: " & WMIDateStringToDate >>(objitem.DHCPLeaseObtained) >> Debug.Print "DHCPServer: " & objitem.DHCPServer >> Debug.Print "DNSDomain: " & objitem.DNSDomain >> >> Debug.Print "DNSHostName: " & objitem.DNSHostName >> >> Debug.Print "DomainDNSRegistrationEnabled: " & >>objitem.DomainDNSRegistrationEnabled >> >> Debug.Print "IPAddress: " & objitem.IPAddress(0) >> 'this is an array like other undocumented entries >> 'you will have to find by trial and error >> 'although there is an isarray property somewhere >> Debug.Print "IPAddresslen: " & Len(objitem.IPAddress(0)) >> Debug.Print "IPConnectionMetric: " & objitem.IPConnectionMetric >> Debug.Print "IPEnabled: " & objitem.IPEnabled >> Debug.Print "MACAddress: " & objitem.MACAddress >> Debug.Print "MTU: " & objitem.MTU >> >>Next >>End Sub >>Function WMIDateStringToDate(dtmInstallDate) As String 'WMI has an odd >>date format WMIDateStringToDate = CDate(Mid(dtmInstallDate, 5, 2) & "/" >> >> > > > >>& _ Mid(dtmInstallDate, 7, 2) & "/" & Left(dtmInstallDate, 4) _ & " " & >> >> > > > >>Mid(dtmInstallDate, 9, 2) & ":" & _ Mid(dtmInstallDate, 11, 2) & ":" & >>Mid(dtmInstallDate, _ 13, 2)) End Function >> >> >>Erwin Craps - IT Helps wrote: >> >> >> >> >> >>>Shields up is a test a webserver test, but just at the startpage >>>(before the test) you can see your dns name and ip address >>> >>>https://www.grc.com/x/ne.dll?bh0bkyd2 >>> >>> >>> >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve >>>Conklin >>>(Developer at UltraDNT) >>>Sent: Thursday, September 16, 2004 4:17 PM >>>To: 'Access Developers discussion and problem solving' >>>Subject: RE: [AccessD] External IP Address of Local Machine >>> >>>Thanks, Stuart. >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart >>>McLachlan >>>Sent: Wednesday, September 15, 2004 7:48 PM >>>To: Access Developers discussion and problemsolving >>>Subject: Re: [AccessD] External IP Address of Local Machine >>> >>> >>>On 15 Sep 2004 at 18:55, Steve Conklin (Developer at UltraDNT) wrote: >>> >>> >>> >>> >>> >>> >>> >>>>I am using WDSI, WinInet and various API's to get 2 Access >>>>applications to send data to each other over FTP. It is working >>>> >>>> >well, > > >>>> >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >>> >>>>but I want the server to be secure, that is to only allow >>>>logins/files >>>> >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >>> >>>>to come from specific IP's. This is ok when I am sending, because I >>>>know my IP, and I tell the client to allow my IP. When I (hopefully) >>>> >>>> > > > >>>>sell a copy to the client's client, how can they easily determine >>>> >>>> >>>> >>>> >>>> >>>> >>>their IP? >>> >>> >>> >>> >>> >>> >>>>I have looked at the Winsock API and can get remote IP's via Host >>>> >>>> >>>> >>>> >>>> >>>> >>>Name. >>> >>> >>> >>> >>> >>> >>>>However, when I want to get the IP of the local PC, it returns the >>>>192.168.x.x address; how can I get the external IP that the FTP >>>> >>>> >server > > >>>> >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >>> >>>>needs to know through VB/API? >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>If you are working through a router, you can't since only the router >>>knows >>>the external address.. The only way would be to bounce an HTML >>> >>> >>> >>> >>request >> >> >> >> >>>of >>>an external website and read the return data. There a numbder of >>>freeware tools available on the web that do just that. See >>>http://www.snapfiles.com/freeware/network/fwip.html for examples >>> >>> >>>If you're machine is directly connected to the Internet, you can >>>iterate >>> >>>through it's IP adddresses. >>> >>>Here's a module to do it (watch for linewrap) >>> >>>Option Compare Database >>>Option Explicit >>> >>>Const MAX_IP = 5 'To make a buffer... i dont think you have more >>> >>> >than > > >>>5 ip on your pc.. >>> >>>Type IPINFO >>> dwAddr As Long ' IP address >>> dwIndex As Long ' interface index >>> dwMask As Long ' subnet mask >>> dwBCastAddr As Long ' broadcast address >>> dwReasmSize As Long ' assembly size >>> unused1 As Integer ' not currently used >>> unused2 As Integer '; not currently used End Type >>> >>>Type MIB_IPADDRTABLE >>> dEntrys As Long 'number of entries in the table >>> mIPInfo(MAX_IP) As IPINFO 'array of IP address entries End Type >>> >>>Type IP_Array >>> mBuffer As MIB_IPADDRTABLE >>> BufferLen As Long >>>End Type >>> >>>Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" >>>(Destination As Any, Source As Any, ByVal Length As Long) Public >>>Declare Function GetIpAddrTable Lib "IPHlpApi" (pIPAdrTable As Byte, >>>pdwSize As Long, ByVal Sort As Long) As Long >>> >>> >>>Public Function ConvertAddressToString(longAddr As Long) As String >>> Dim myByte(3) As Byte >>> Dim Cnt As Long >>> CopyMemory myByte(0), longAddr, 4 >>> For Cnt = 0 To 3 >>> ConvertAddressToString = ConvertAddressToString + >>>CStr(myByte(Cnt)) + "." >>> Next Cnt >>> ConvertAddressToString = Left$(ConvertAddressToString, >>>Len(ConvertAddressToString) - 1) End Function >>> >>>Public Function IPAddresses() As Long >>>Dim lngRetVal As Long >>>Dim lngLoop As Long >>>Dim bBytes() As Byte >>>Dim IPList As MIB_IPADDRTABLE >>> >>> GetIpAddrTable ByVal 0&, lngRetVal, True >>> >>> If lngRetVal <= 0 Then Exit Function >>> ReDim bBytes(0 To lngRetVal - 1) As Byte >>> 'retrieve the data >>> GetIpAddrTable bBytes(0), lngRetVal, False >>> >>> 'Get the first 4 bytes to get the entry's.. ip installed >>> CopyMemory IPList.dEntrys, bBytes(0), 4 >>> >>> For lngLoop = 0 To IPList.dEntrys - 1 >>> 'Copy whole structure to Listing.. >>> CopyMemory IPList.mIPInfo(lngLoop), bBytes(4 + (lngLoop * >>>Len(IPList.mIPInfo(0)))), Len(IPList.mIPInfo(lngLoop)) >>> Debug.Print "IP address : " & >>>ConvertAddressToString(IPList.mIPInfo(lngLoop).dwAddr) >>> Debug.Print "IP Subnetmask : " & >>>ConvertAddressToString(IPList.mIPInfo(lngLoop).dwMask) >>> Debug.Print "BroadCast IP address : " & >>>ConvertAddressToString(IPList.mIPInfo(lngLoop).dwBCastAddr) >>> Debug.Print "**************************************" >>> Next >>> >>>End Function >>> >>> >>>-- >>>Stuart >>> >>> >>> >>> >>> >>> >>> >>> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From clh at christopherhawkins.com Fri Sep 17 17:19:43 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 17 Sep 2004 16:19:43 -0600 Subject: [AccessD] Connecting to SQL from Access w/a single login? Message-ID: <274490-22004951722194342@christopherhawkins.com> Brett, I'm using a similar routine currently. I have a metadata table full of information about the data tables. It contains the localname, path and sourceobject name of the table I'm linking to in SQL Server. The actual linking is fine, but as you said remembering the password is an issue. Mind you, the password is in the metadata table. But it seems to get ignored. Here is a sample of the string I'm using to create the link: [code] ODBC;DSN=MyDataSource;Description=My SQL Server Date;UID=MyUser;PASSWORD=MyPassword;APP=Microsoft Office 2003;WSID=MyWorkstation;DATABASE=MyDatabaseName[/code] Here's my function. How can I ensure that the password that's baked into the path gets remembered? I'm thinking that there must be a way to emulate checking the 'Remember Password' checkbox in the Linked Table dialog. [code] Public Sub LinkTables() ' Given a database with no linked tables, this function ' will establish links to all tables enumerated in zTable Dim db As Database Dim rsTable As dao.Recordset Dim sSQL As String Dim tdAttach As TableDef On Error GoTo Err_LinkTables Set db = CurrentDb sSQL = "SELECT * FROM zTable" Set rsTable = db.OpenRecordset(sSQL) rsTable.MoveFirst Do Until rsTable.EOF = True Debug.Print "Linking " & rsTable("TableName") Set tdAttach = db.CreateTableDef(rsTable("TableName")) ' Set the connection info in the tabledef object With tdAttach .Connect = rsTable("Path") .SourceTableName = rsTable("SourceTable") .Properties("ODBC: Remember Password") = True End With ' Append the new tabledef db.TableDefs.Append tdAttach rsTable.MoveNext Loop Exit_LinkTables: Exit Sub Err_LinkTables: If Err.Number = 3012 Then Resume Next Else MsgBox Err.Description End If Resume Exit_LinkTables End Sub [/code] -C- ---- Original Message ---- From: BBarabash at tappeconstruction.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Connecting to SQL from Access w/a single login? Date: Fri, 17 Sep 2004 14:29:46 -0500 >To all who use NT authentication: >Do you (or your network admins) have any concerns about end users >potentially linking to the raw data in other apps? > >For example, a savvy power user could easily setup an ODBC >connection in >Excel/MS Query and directly query the table data. If the database >relies on NT authentication, and the table is available to them, they >can link to the data directly. > >I found this to be problemattic, since I don't really want my users >bypassing the business rules and manually generating their own >reports >with sensitive data. > >Christopher: >I had this problem a while back using SQL Server authentication on an >Access 2000 MDB file. The problem is that the Access attach tables >dialog doesn't save the password info. I was able to get around it >by >writing the following DAO routine (make sure you have a DAO reference >set in your project). This routine will loop through all of your >attached tables, and relink them using the specified UserID and >Password. > >Public Sub FixAttachments(ByVal strServer As String, ByVal strUID As >String, ByVal strPWD As String) > > Dim db As DAO.Database > Dim rs As DAO.Recordset > Dim tdf As DAO.TableDef > Dim strSQL As String > > Set db = DBEngine.Workspaces(0).Databases(0) > strSQL = "SELECT MSysObjects.Name, " & _ > "MSysObjects.ForeignName, " & _ > "MSysObjects.Connect " & _ > "FROM MSysObjects " & _ > "WHERE MSysObjects.Type=4 " & _ > "ORDER BY MSysObjects.Name;" > Set rs = db.OpenRecordset(strSQL, dbOpenSnapshot) > > db.TableDefs.Refresh > > Do Until rs.EOF > Debug.Print rs!Name > Set tdf = db.CreateTableDef(rs!Name) > > tdf.Connect = "ODBC;" & _ > ExtractArg(rs!Connect, "DRIVER") & ";" & _ > "SERVER=" & strServer & ";" & _ > ExtractArg(rs!Connect, "DATABASE") & ";" & _ > "UID=" & strUID & ";" & _ > "PWD=" & strPWD > > tdf.Attributes = dbAttachSavePWD > tdf.SourceTableName = rs!ForeignName > db.TableDefs.Delete rs!Name > db.TableDefs.Append tdf > > rs.MoveNext > Loop > > db.TableDefs.Refresh > rs.Close > >End Sub > >Public Function ExtractArg(ByVal strIn As String, ByVal strName As >String) As String > > Dim lngPos As Long > > strIn = strIn & ";" > lngPos = InStr(strIn, strName & "=") > > If lngPos > 0 Then > ExtractArg = Mid$(strIn, lngPos, InStr(lngPos, strIn, ";") - >lngPos) > End If > >End Function > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim >Lawrence >(AccessD) >Sent: Friday, September 17, 2004 1:49 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Connecting to SQL from Access w/a single >login? > > >Hi Christopher: > >The SQL server has it's own way of dealing with access rights. They >are >through an internal 'sa' type account or it is through 'NT >authentication'. > >Traditionally, I only use the 'sa' accounts as a backdoor for an >administrator. Your best option would be to go with 'NT >authentication'. > >The setup is fairly easy, if network has a domain. Go to the main >server, login as an administrator, 'right-click' MyComputer >(assuming a >Windows2000 system), select the 'Manage' option, choose 'Local Users >and >Groups' then: >One; create a login group called something like 'sqlusers'. >Two; create or add individual login to the group. > >Once all the appropriate users have been added to this group the >access >the SQL Enterprise manager. 'EM'. >One; Expand the current SQL server, the 'Security' directory and the >'click' >on the logins icon. >Two; 'right mouse click', select 'New login' and, on the General tab, >from the popdown list select your 'sqlusers' group. Make sure that >the >'Authentication' radio button is selected and the current >domain/server >is visible. >Three; Go back to the 'Database' and 'MyDatabase' directory and >subdirectory and 'right mouse click' the users icon. >Four; Select 'New database user' and select the new group you have >just >added from the popdown menu. > >There is some clean up and defining to do but you have basically >defined >access rights. Now all you do is attempt a connection at the point >where >the user accesses the FE Access DB and if the connection fails, close >and exit the program. (If you need a sample of code that will >connect >to your server just request it.) > >You will find this way very clean, secure and not intrusive to the >users. >This way is the only way I now ever setup user accounts. > >HTH >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >Hawkins >Sent: Friday, September 17, 2004 11:06 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Connecting to SQL from Access w/a single login? > > >This is driving me nuts. I know I did this a few years ago, but >right >now I'm totally stumped. > >A client of mine wrote himself an Access app for use around his >office. >Eventually the back-end swelled up to 500MB and problems ensued, so >they >decided to go to SQL Server. He upsized the database himself and >then >called me in to help get the Access front-end working against SQL >Server. > >Here's my current issue; I want all the Access clients to use the >same >SQL Server login rather than having a unique SQL Server login for >each >domain account. > >I went ahead and created an AppUser login and gave it the appropriate >permissions to the application database. I have the AppUser login >and >password set in the ODBC DSN. But whenever a user tries to connect, >an >error message appears stating that his domain login was not >recognized >by the SQL Server. It's not even paying attention to the AppUser >info. > >I'm surfing BOL right now, but haven't yet figured out what I missed. >And I know I'm missing something. > >Any suggestions? >Respectfully, > >Christopher Hawkins >Software Developer >(559) 687-7591 >http://www.christopherhawkins.com > > >--------------------------------------------------------------------- >----------------------------------------------- >The information in this email may contain confidential information >that >is legally privileged. The information is only for the use of the >intended >recipient(s) named above. If you are not the intended recipient(s), >you >are hereby notified that any disclosure, copying, distribution, or >the taking >of any action in regard to the content of this email is strictly >prohibited. If >transmission is incorrect, unclear, or incomplete, please notify the >sender >immediately. The authorized recipient(s) of this information is/are >prohibited >from disclosing this information to any other party and is/are >required to >destroy the information after its stated need has been fulfilled. > >Any views expressed in this message are those of the individual >sender, except where the sender specifies and with authority, >states them to be the views of Tappe Construction Co. > >This footer also confirms that this email message has been scanned >for the presence of computer viruses.Scanning of this message and >addition of this footer is performed by SurfControl E-mail Filter >software >in conjunction with virus detection software. > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From jwcolby at colbyconsulting.com Fri Sep 17 21:00:25 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 17 Sep 2004 22:00:25 -0400 Subject: [AccessD] If you need storage - Check this deal In-Reply-To: Message-ID: <001901c49d23$46a919c0$e8dafea9@ColbyM6805> http://shop1.outpost.com/product/3700356 John W. Colby www.ColbyConsulting.com From starkey at wanadoo.nl Sat Sep 18 04:05:04 2004 From: starkey at wanadoo.nl (StaRKeY) Date: Sat, 18 Sep 2004 11:05:04 +0200 Subject: [AccessD] Connecting to SQL from Access w/a single login? In-Reply-To: <191490-2200495171853536@christopherhawkins.com> Message-ID: <20040918090159.9082B1820A@smtp6.wanadoo.nl> Hi Christopher, Have you also given an Applicationrole some thought? This has the advantage over an AppUser that you are still able recognise the true connected user in case you'd need this plus it's pretty practical since no users have to be given any rights but being able to connect to the specific SQL database. By giving the applicationrole all the nescessary rights you achive the same goal as by using a single user account but more flexible. I'm using it at this moment in an adp using ADO for all the data manipulation/views and it's working like a charme.. Nice touch is that the 'access datasheet look & feel' can be kept while all forms/sheets are unbound! Regards, Eric Starkenburg -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Christopher Hawkins Verzonden: vrijdag 17 september 2004 20:06 Aan: accessd at databaseadvisors.com Onderwerp: [AccessD] Connecting to SQL from Access w/a single login? This is driving me nuts. I know I did this a few years ago, but right now I'm totally stumped. A client of mine wrote himself an Access app for use around his office. Eventually the back-end swelled up to 500MB and problems ensued, so they decided to go to SQL Server. He upsized the database himself and then called me in to help get the Access front-end working against SQL Server. Here's my current issue; I want all the Access clients to use the same SQL Server login rather than having a unique SQL Server login for each domain account. I went ahead and created an AppUser login and gave it the appropriate permissions to the application database. I have the AppUser login and password set in the ODBC DSN. But whenever a user tries to connect, an error message appears stating that his domain login was not recognized by the SQL Server. It's not even paying attention to the AppUser info. I'm surfing BOL right now, but haven't yet figured out what I missed. And I know I'm missing something. Any suggestions? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ avast! Antivirus : Uitgaande bericht is niet besmet. Virus Gegevensbestand (VPS): 0438-3, 17-09-2004 Getest op: 18-9-2004 11:05:04 avast! auteursrecht (c) 2000-2004 ALWIL Software. From barbara.march at surveyrisk.co.uk Sat Sep 18 10:28:36 2004 From: barbara.march at surveyrisk.co.uk (Barbara March) Date: Sat, 18 Sep 2004 16:28:36 +0100 Subject: [AccessD] Gmail Invite (D) In-Reply-To: <20040917181707.78818.qmail@web50804.mail.yahoo.com> Message-ID: Yes please Barbara (^-^)/ UK -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dan williams Sent: Friday 17 September 2004 19:17 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Gmail Invite (D) sure would like one please --- Jeff Barrows wrote: > On its way! Anyone else? > > Jeff Barrows > MCP, MCAD, MCSD > > Outbak Technologies, LLC > Racine, WI > jeff at outbaktech.com > -----Original Message----- > From: Steven W. Erbach [mailto:serbach at new.rr.com] > Sent: Wednesday, September 15, 2004 10:22 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Gmail Invite (D) > > Jeff, > > >> Are you looking for a GMail invite? << > > Well, sure, if ya got one one 'a dem dere tings, eh? > > Steve Erbach > Neenah, WI > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat Sep 18 13:14:37 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 18 Sep 2004 11:14:37 -0700 Subject: [AccessD] GDI updates In-Reply-To: <001901c49d23$46a919c0$e8dafea9@ColbyM6805> Message-ID: Hi All: Has anyone heard of Microsoft's GDI update tools before...ramification? http://www.microsoft.com/security/bulletins/200409_jpeg_tool.mspx Jim From BBarabash at TappeConstruction.com Sat Sep 18 14:27:14 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Sat, 18 Sep 2004 14:27:14 -0500 Subject: [AccessD] Connecting to SQL from Access w/a single login? Message-ID: <100F91B31300334B89EC531C9DCB086506595D@tccexch01.tappeconstruction.net> Try setting tdAttach.Attributes = dbAttachSavePWD -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: Friday, September 17, 2004 5:20 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Connecting to SQL from Access w/a single login? Brett, I'm using a similar routine currently. I have a metadata table full of information about the data tables. It contains the localname, path and sourceobject name of the table I'm linking to in SQL Server. The actual linking is fine, but as you said remembering the password is an issue. Mind you, the password is in the metadata table. But it seems to get ignored. Here is a sample of the string I'm using to create the link: [code] ODBC;DSN=MyDataSource;Description=My SQL Server Date;UID=MyUser;PASSWORD=MyPassword;APP=Microsoft Office 2003;WSID=MyWorkstation;DATABASE=MyDatabaseName[/code] Here's my function. How can I ensure that the password that's baked into the path gets remembered? I'm thinking that there must be a way to emulate checking the 'Remember Password' checkbox in the Linked Table dialog. [code] Public Sub LinkTables() ' Given a database with no linked tables, this function ' will establish links to all tables enumerated in zTable Dim db As Database Dim rsTable As dao.Recordset Dim sSQL As String Dim tdAttach As TableDef On Error GoTo Err_LinkTables Set db = CurrentDb sSQL = "SELECT * FROM zTable" Set rsTable = db.OpenRecordset(sSQL) rsTable.MoveFirst Do Until rsTable.EOF = True Debug.Print "Linking " & rsTable("TableName") Set tdAttach = db.CreateTableDef(rsTable("TableName")) ' Set the connection info in the tabledef object With tdAttach .Connect = rsTable("Path") .SourceTableName = rsTable("SourceTable") .Properties("ODBC: Remember Password") = True End With ' Append the new tabledef db.TableDefs.Append tdAttach rsTable.MoveNext Loop Exit_LinkTables: Exit Sub Err_LinkTables: If Err.Number = 3012 Then Resume Next Else MsgBox Err.Description End If Resume Exit_LinkTables End Sub [/code] -C- ---- Original Message ---- From: BBarabash at tappeconstruction.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Connecting to SQL from Access w/a single login? Date: Fri, 17 Sep 2004 14:29:46 -0500 >To all who use NT authentication: >Do you (or your network admins) have any concerns about end users >potentially linking to the raw data in other apps? > >For example, a savvy power user could easily setup an ODBC connection >in Excel/MS Query and directly query the table data. If the database >relies on NT authentication, and the table is available to them, they >can link to the data directly. > >I found this to be problemattic, since I don't really want my users >bypassing the business rules and manually generating their own reports >with sensitive data. > >Christopher: >I had this problem a while back using SQL Server authentication on an >Access 2000 MDB file. The problem is that the Access attach tables >dialog doesn't save the password info. I was able to get around it by >writing the following DAO routine (make sure you have a DAO reference >set in your project). This routine will loop through all of your >attached tables, and relink them using the specified UserID and >Password. > >Public Sub FixAttachments(ByVal strServer As String, ByVal strUID As >String, ByVal strPWD As String) > > Dim db As DAO.Database > Dim rs As DAO.Recordset > Dim tdf As DAO.TableDef > Dim strSQL As String > > Set db = DBEngine.Workspaces(0).Databases(0) > strSQL = "SELECT MSysObjects.Name, " & _ > "MSysObjects.ForeignName, " & _ > "MSysObjects.Connect " & _ > "FROM MSysObjects " & _ > "WHERE MSysObjects.Type=4 " & _ > "ORDER BY MSysObjects.Name;" > Set rs = db.OpenRecordset(strSQL, dbOpenSnapshot) > > db.TableDefs.Refresh > > Do Until rs.EOF > Debug.Print rs!Name > Set tdf = db.CreateTableDef(rs!Name) > > tdf.Connect = "ODBC;" & _ > ExtractArg(rs!Connect, "DRIVER") & ";" & _ > "SERVER=" & strServer & ";" & _ > ExtractArg(rs!Connect, "DATABASE") & ";" & _ > "UID=" & strUID & ";" & _ > "PWD=" & strPWD > > tdf.Attributes = dbAttachSavePWD > tdf.SourceTableName = rs!ForeignName > db.TableDefs.Delete rs!Name > db.TableDefs.Append tdf > > rs.MoveNext > Loop > > db.TableDefs.Refresh > rs.Close > >End Sub > >Public Function ExtractArg(ByVal strIn As String, ByVal strName As >String) As String > > Dim lngPos As Long > > strIn = strIn & ";" > lngPos = InStr(strIn, strName & "=") > > If lngPos > 0 Then > ExtractArg = Mid$(strIn, lngPos, InStr(lngPos, strIn, ";") - >lngPos) > End If > >End Function > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence >(AccessD) >Sent: Friday, September 17, 2004 1:49 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Connecting to SQL from Access w/a single login? > > >Hi Christopher: > >The SQL server has it's own way of dealing with access rights. They are >through an internal 'sa' type account or it is through 'NT >authentication'. > >Traditionally, I only use the 'sa' accounts as a backdoor for an >administrator. Your best option would be to go with 'NT >authentication'. > >The setup is fairly easy, if network has a domain. Go to the main >server, login as an administrator, 'right-click' MyComputer (assuming a >Windows2000 system), select the 'Manage' option, choose 'Local Users >and Groups' then: >One; create a login group called something like 'sqlusers'. >Two; create or add individual login to the group. > >Once all the appropriate users have been added to this group the access >the SQL Enterprise manager. 'EM'. >One; Expand the current SQL server, the 'Security' directory and the >'click' >on the logins icon. >Two; 'right mouse click', select 'New login' and, on the General tab, >from the popdown list select your 'sqlusers' group. Make sure that the >'Authentication' radio button is selected and the current domain/server >is visible. >Three; Go back to the 'Database' and 'MyDatabase' directory and >subdirectory and 'right mouse click' the users icon. >Four; Select 'New database user' and select the new group you have just >added from the popdown menu. > >There is some clean up and defining to do but you have basically >defined access rights. Now all you do is attempt a connection at the >point where the user accesses the FE Access DB and if the connection >fails, close and exit the program. (If you need a sample of code that >will connect to your server just request it.) > >You will find this way very clean, secure and not intrusive to the >users. >This way is the only way I now ever setup user accounts. > >HTH >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >Hawkins >Sent: Friday, September 17, 2004 11:06 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Connecting to SQL from Access w/a single login? > > >This is driving me nuts. I know I did this a few years ago, but right >now I'm totally stumped. > >A client of mine wrote himself an Access app for use around his office. >Eventually the back-end swelled up to 500MB and problems ensued, so >they decided to go to SQL Server. He upsized the database himself and >then called me in to help get the Access front-end working against SQL >Server. > >Here's my current issue; I want all the Access clients to use the same >SQL Server login rather than having a unique SQL Server login for each >domain account. > >I went ahead and created an AppUser login and gave it the appropriate >permissions to the application database. I have the AppUser login and >password set in the ODBC DSN. But whenever a user tries to connect, an >error message appears stating that his domain login was not recognized >by the SQL Server. It's not even paying attention to the AppUser info. > >I'm surfing BOL right now, but haven't yet figured out what I missed. >And I know I'm missing something. > >Any suggestions? >Respectfully, > >Christopher Hawkins >Software Developer >(559) 687-7591 >http://www.christopherhawkins.com -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From stuart at lexacorp.com.pg Sat Sep 18 17:25:48 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 19 Sep 2004 08:25:48 +1000 Subject: [AccessD] GDI updates In-Reply-To: References: <001901c49d23$46a919c0$e8dafea9@ColbyM6805> Message-ID: <414D428C.13099.12D2CB34@lexacorp.com.pg> On 18 Sep 2004 at 11:14, Jim Lawrence (AccessD) wrote: > Hi All: > > Has anyone heard of Microsoft's GDI update tools before...ramification? > http://www.microsoft.com/security/bulletins/200409_jpeg_tool.mspx > It's a patch to fix a recently identified security flaw in the handling of jpeg images. A specially craffted jpg image can contain code that will be executed. Grab it. -- Stuart From jwcolby at colbyconsulting.com Sun Sep 19 00:58:28 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 19 Sep 2004 01:58:28 -0400 Subject: [AccessD] test In-Reply-To: <001901c49d23$46a919c0$e8dafea9@ColbyM6805> Message-ID: <002b01c49e0d$b27d3510$e8dafea9@ColbyM6805> Nothing today from any of our lists. Just a quiet day? John W. Colby www.ColbyConsulting.com From andy at minstersystems.co.uk Sun Sep 19 05:06:05 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun, 19 Sep 2004 11:06:05 +0100 Subject: [AccessD] test In-Reply-To: <002b01c49e0d$b27d3510$e8dafea9@ColbyM6805> Message-ID: <000901c49e30$47007e50$b274d0d5@minster33c3r25> I reckon so. Morning John. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > John W. Colby > Sent: 19 September 2004 06:58 > To: 'Access Developers discussion and problem solving'; > dba-sqlserver at databaseadvisors.com > Subject: [AccessD] test > > > Nothing today from any of our lists. Just a quiet day? > > John W. Colby > www.ColbyConsulting.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From accessd at shaw.ca Sun Sep 19 08:22:14 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sun, 19 Sep 2004 06:22:14 -0700 Subject: [AccessD] GDI updates In-Reply-To: <414D428C.13099.12D2CB34@lexacorp.com.pg> Message-ID: Who would have guessed it? Is nothing safe or sacred. Thanks Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Saturday, September 18, 2004 3:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] GDI updates On 18 Sep 2004 at 11:14, Jim Lawrence (AccessD) wrote: > Hi All: > > Has anyone heard of Microsoft's GDI update tools before...ramification? > http://www.microsoft.com/security/bulletins/200409_jpeg_tool.mspx > It's a patch to fix a recently identified security flaw in the handling of jpeg images. A specially craffted jpg image can contain code that will be executed. Grab it. -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Sep 19 09:56:09 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 19 Sep 2004 16:56:09 +0200 Subject: [AccessD] Connecting to SQL from Access w/a single login? In-Reply-To: <100F91B31300334B89EC531C9DCB086506595D@tccexch01.tappeconstruction.net> References: <100F91B31300334B89EC531C9DCB086506595D@tccexch01.tappeconstruction.net> Message-ID: <706286609.20040919165609@cactus.dk> Hi Brett > Try setting tdAttach.Attributes = dbAttachSavePWD First, I think this is for attached Jet databases only. Second, I guess this should be: tdAttach.Attributes = tdAttach.Attributes Or dbAttachSavePWD or you would kill any other attribute (or raise an error). Also, this should not be necessary: > Do Until rs.EOF > Debug.Print rs!Name > Set tdf = db.CreateTableDef(rs!Name) > > tdf.Connect = "ODBC;" & _ > ExtractArg(rs!Connect, "DRIVER") & ";" & _ > "SERVER=" & strServer & ";" & _ > ExtractArg(rs!Connect, "DATABASE") & ";" & _ > "UID=" & strUID & ";" & _ > "PWD=" & strPWD > > tdf.Attributes = dbAttachSavePWD > tdf.SourceTableName = rs!ForeignName > db.TableDefs.Delete rs!Name > db.TableDefs.Append tdf > > rs.MoveNext > Loop A Refresh is normally fine (and faster): Set tdf = db.TableDefs(rs!Name) tdf.Connect = "ODBC;" & _ ... tdf.Attributes = dbAttachSavePWD tdf.SourceTableName = rs!ForeignName tdf.Refresh /gustav > I'm using a similar routine currently. I have a metadata table full of > information about the data tables. It contains the localname, path and > sourceobject name of the table I'm linking to in SQL Server. > The actual linking is fine, but as you said remembering the password is > an issue. From gustav at cactus.dk Sun Sep 19 10:01:36 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 19 Sep 2004 17:01:36 +0200 Subject: [AccessD] Connecting to SQL from Access w/a single login? In-Reply-To: <274490-22004951722194342@christopherhawkins.com> References: <274490-22004951722194342@christopherhawkins.com> Message-ID: <1646613790.20040919170136@cactus.dk> Hi Christopher How are you looking for the password? It will not be present in the Msys-tables but should be present in the Connect property of the tabledef. /gustav > Mind you, the password is in the metadata table. But it seems to get > ignored. Here is a sample of the string I'm using to create the link: > [code] > ODBC;DSN=MyDataSource;Description=My SQL Server > Date;UID=MyUser;PASSWORD=MyPassword;APP=Microsoft Office > 2003;WSID=MyWorkstation;DATABASE=MyDatabaseName[/code] > Here's my function. How can I ensure that the password that's baked > into the path gets remembered? I'm thinking that there must be a way > to emulate checking the 'Remember Password' checkbox in the Linked > Table dialog. From Joe_Hecht at earthlink.net Sun Sep 19 16:02:25 2004 From: Joe_Hecht at earthlink.net (Joe Hecht) Date: Sun, 19 Sep 2004 14:02:25 -0700 Subject: [AccessD] test In-Reply-To: <002b01c49e0d$b27d3510$e8dafea9@ColbyM6805> Message-ID: <001001c49e8b$f9e89ab0$6401a8c0@delllaptop> yups JOE HECHT LOS ANGELES CA jmhla at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Saturday, September 18, 2004 10:58 PM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com Subject: [AccessD] test Nothing today from any of our lists. Just a quiet day? John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From forefront at ig.com.br Sat Sep 18 19:23:48 2004 From: forefront at ig.com.br (Forefront) Date: Sat, 18 Sep 2004 21:23:48 -0300 Subject: [AccessD] .TIFF Image of Report Pages In-Reply-To: <100F91B31300334B89EC531C9DCB0865065951@tccexch01.tappeconstruction.net> References: <100F91B31300334B89EC531C9DCB0865065951@tccexch01.tappeconstruction.net> Message-ID: <414CD194.3020808@ig.com.br> Brett Barabash wrote: > GhostScript is free (but quite involved to setup). PDF995 is based off > of GhostScript, and charges $9.95 for the reduced headaches. > > Differences between a PDF995 created document and an Adobe Acrobat > document are minimal (Gustav pointed out a few minor differences, should > be in the archives). > > I would recommend PDF995 as an almost-free PDF alternative. > CutePDF and PrimoPDF are also good alternatives to PDF995. ;-) -- ************************************************ * Forefront em Inform?tica e Consultoria Ltda. * * Carlos Alberto Alves * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * Phone Direct: 55-21-9169-1596 * * mailto:forefront at ig.com.br * ************************************************ From john at winhaven.net Mon Sep 20 09:35:31 2004 From: john at winhaven.net (John Bartow) Date: Mon, 20 Sep 2004 09:35:31 -0500 Subject: [AccessD] .TIFF Image of Report Pages In-Reply-To: Message-ID: Mark, I've seen situations where things were being done in a rather labor intensive, inefficient manner just as you describe. I've proposed better solutions and people have initially gotten a bit excited about the idea but in the end they kept doing it the same way. Sooo. I'd say you're going to get to labeled as: 1. a genius :-) 2. a lazy tehcno-geek who thinks the computers can do everything but doesn't realize that not everybody can run the computers as well as you (i.e. the scanner staff would have to be trained to run the software to do this-it would be too efficient to just have the engineers do it.) ;-) 3. a trouble maker who is trying to put all those people with jobs in the scanning section out of work! :-( John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Friday, September 17, 2004 6:50 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] .TIFF Image of Report Pages Many thanks to you all. After a little research into how other divisions have handled this creation of .tiff files from AutoCAD .dwg files, I'm a little disappointed. I mean that, just on the hint that we might have to take over this responsibility, it has only taken 12 hours for you kind folks to provide a multitude of viable options. What scares me is that some divisions are actually doing this manually by scanning a hard copy. So, in comparison, would I be considered lazy or efficient for wanting a better way? ;) Mark -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, September 16, 2004 11:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] .TIFF Image of Report Pages Hi Mark The "Print To Picture" printer driver: http://progrex.narod.ru/ptp.html can output to PCX, BMP, or PNG files. Then you can convert to TIFF. /gustav > Does anyone have any brilliant ideas on how I could automatically generate a > .tiff image for each page in a report? > Background: Our company stores issued drawings in .tiff format. In the > past, drawings have been scanned in manually in a reproduction department. > Currently, I issue drawings using Access reports. It has been suggested > that the .tiff creation MAY fall to the engineering department. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Mon Sep 20 09:59:48 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Mon, 20 Sep 2004 09:59:48 -0500 Subject: [AccessD] Connecting to SQL from Access w/a single login? Message-ID: <100F91B31300334B89EC531C9DCB086506595F@tccexch01.tappeconstruction.net> >First, I think this is for attached Jet databases only. No, I have used this extensively for attaching to our SQL Server 2000 databases. >Second, I guess this should be: >tdAttach.Attributes = tdAttach.Attributes Or dbAttachSavePWD Good point. >Also, this should not be necessary: A couple of points here: 1. The TableDef object doesn't have a Refresh method. Perhaps RefreshLink? 2. If you try this, omit the tdf.SourceTableName = rs!ForeignName line. It blows up. 3. I can't remember the exact reason why I dropped and recreated the table. I can recall trying the simple update and RefreshLink but had difficulties. Can't remember much more than that. Seems to work OK now, though. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, September 19, 2004 9:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Connecting to SQL from Access w/a single login? Hi Brett > Try setting tdAttach.Attributes = dbAttachSavePWD First, I think this is for attached Jet databases only. Second, I guess this should be: tdAttach.Attributes = tdAttach.Attributes Or dbAttachSavePWD or you would kill any other attribute (or raise an error). Also, this should not be necessary: > Do Until rs.EOF > Debug.Print rs!Name > Set tdf = db.CreateTableDef(rs!Name) > > tdf.Connect = "ODBC;" & _ > ExtractArg(rs!Connect, "DRIVER") & ";" & _ > "SERVER=" & strServer & ";" & _ > ExtractArg(rs!Connect, "DATABASE") & ";" & _ > "UID=" & strUID & ";" & _ > "PWD=" & strPWD > > tdf.Attributes = dbAttachSavePWD > tdf.SourceTableName = rs!ForeignName > db.TableDefs.Delete rs!Name > db.TableDefs.Append tdf > > rs.MoveNext > Loop A Refresh is normally fine (and faster): Set tdf = db.TableDefs(rs!Name) tdf.Connect = "ODBC;" & _ ... tdf.Attributes = dbAttachSavePWD tdf.SourceTableName = rs!ForeignName tdf.Refresh /gustav > I'm using a similar routine currently. I have a metadata table full > of information about the data tables. It contains the localname, path > and sourceobject name of the table I'm linking to in SQL Server. > The actual linking is fine, but as you said remembering the password > is an issue. -- -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From Drawbridge.Jack at ic.gc.ca Mon Sep 20 11:04:47 2004 From: Drawbridge.Jack at ic.gc.ca (Drawbridge.Jack at ic.gc.ca) Date: Mon, 20 Sep 2004 12:04:47 -0400 Subject: [AccessD] Problem with code to change field data type in vba Message-ID: <0F3AFAE449DD4A40BED8B6C4A97ABF5B15B360@MSG-MB3.icent.ic.gc.ca> Here's code that could do the job, but I'd be real cautious about losing existing data. Private Sub TestThis() Dim fld As Field Dim dbs As DATABASE Dim tbl As TableDef Set dbs = CurrentDb() ' '== Do the DATATYPE Change to Integer ' For Each tbl In dbs.TableDefs If Left$(tbl.NAME, 2) = "t_" Then For Each fld In tbl.Fields If fld.NAME <> "t_proj" And fld.NAME <> "t_pt" And _ fld.NAME <> "t_plink" And fld.NAME <> "ptlink" _ And fld.NAME <> "t_species" Then Debug.Print "Before change: - " & tbl.NAME & " - field Name /Type : " & fld.NAME & "/" & fld.Type dbs.Execute "ALTER TABLE " & tbl.NAME _ & " DROP column " & fld.NAME & ";" dbs.Execute "ALTER TABLE " & tbl.NAME _ & " Add column " & fld.NAME & " integer;" 'Debug.Print "After change: - " & tbl.NAME & " - field Name /Type : " & fld.NAME & "/" & fld.Type Else End If Next fld Else End If Next tbl dbs.Close ' '===CHECK The results of datatype change ============== Set dbs = CurrentDb For Each tbl In dbs.TableDefs If Left$(tbl.NAME, 2) = "t_" Then For Each fld In tbl.Fields If fld.NAME <> "t_proj" And fld.NAME <> "t_pt" And _ fld.NAME <> "t_plink" And fld.NAME <> "ptlink" _ And fld.NAME <> "t_species" Then Debug.Print "After change: - " & tbl.NAME & " - field Name /Type : " & fld.NAME & "/" & fld.Type Else End If Next fld Else End If Next tbl Beep MsgBox "Done" dbs.Close End Sub jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Paul Black Sent: Tuesday, September 14, 2004 6:17 PM To: accessd at databaseadvisors.com Subject: [AccessD] Problem with code to change field data type in vba Hi I using Access 97 and can not get the following to work: Private Sub Command0_Click() Dim fld As Field Dim dbs As Database Dim tbl As TableDef Set dbs = CurrentDb() For Each fld In tbl.Fields If Left$(tbl.Name, 2) = "t_" And fld <> "t_proj" And fld <> "t_pt" And fld <> "t_plink" And fld <> "ptlink" And fld <> "t_species" Then fld.Type = dbInteger End If Next fld Beep MsgBox "Done" End Sub It is supposed to change the field data type to integer from text. All field names to change begin with 't_' excluding certain fields listed above. I keep getting an error: Runtime error '91' Object Variable or With Block variable not set Other than the excluded fields above all the data conatined in the fields is numeric or has a Null value... but it is in a text field. The data is coming to me off of a Pocket PC and it won't let me change the field type to numeric. Please help me solve this. Thanks PB _________________________________________________________________ Get ready for school! Find articles, homework help and more in the Back to School Guide! http://special.msn.com/network/04backtoschool.armx -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DElam at jenkens.com Mon Sep 20 14:30:08 2004 From: DElam at jenkens.com (Elam, Debbie) Date: Mon, 20 Sep 2004 14:30:08 -0500 Subject: [AccessD] ADPs and Exclusive Access Warnings Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0248548D@natexch.jenkens.com> I have 2 different .adps created in Access 2002. Both of these are giving a message "You do not have exclusive access at this time...." In both instances, the user should not be saving any changes to the database anyhow. I do not understand why these are popping up. Personally I would just prefer to suppress the message, but set warnings to false does not do the trick. Any ideas on either preventing the message, or simply suppressing it from displaying? Debbie - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From fhtapia at gmail.com Mon Sep 20 14:48:27 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Mon, 20 Sep 2004 12:48:27 -0700 Subject: [AccessD] ADPs and Exclusive Access Warnings In-Reply-To: <7B1961ED924D1A459E378C9B1BB22B4C0248548D@natexch.jenkens.com> References: <7B1961ED924D1A459E378C9B1BB22B4C0248548D@natexch.jenkens.com> Message-ID: are you sharing the ADP w/ anyone? On Mon, 20 Sep 2004 14:30:08 -0500, Elam, Debbie wrote: > I have 2 different .adps created in Access 2002. Both of these are giving a > message "You do not have exclusive access at this time...." In both > instances, the user should not be saving any changes to the database anyhow. > I do not understand why these are popping up. Personally I would just > prefer to suppress the message, but set warnings to false does not do the > trick. Any ideas on either preventing the message, or simply suppressing it > from displaying? > > Debbie > - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject > to the Attorney-Client Privilege, (2) an attorney work product, or (3) > strictly confidential. If you are not the intended recipient of this > message, you may not disclose, print, copy or disseminate this information. > If you have received this in error, please reply and notify the sender > (only) and delete the message. Unauthorized interception of this e-mail is a > violation of federal criminal law. > This communication does not reflect an intention by the sender or the > sender's client or principal to conduct a transaction or make any agreement > by electronic means. Nothing contained in this message or in any attachment > shall satisfy the requirements for a writing, and nothing contained herein > shall constitute a contract or electronic signature under the Electronic > Signatures in Global and National Commerce Act, any version of the Uniform > Electronic Transactions Act or any other statute governing electronic > transactions. > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://spreadfirefox.com/community/?q=affiliates&id=792&t=86 http://ft316db.VOTEorNOT.org From DElam at jenkens.com Mon Sep 20 15:13:21 2004 From: DElam at jenkens.com (Elam, Debbie) Date: Mon, 20 Sep 2004 15:13:21 -0500 Subject: [AccessD] ADPs and Exclusive Access Warnings Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0248548F@natexch.jenkens.com> Both adps are shared with several people. I normally try to put front ends on the computer, rather than share to the network, but for a variety of reasons that is impractical in this case. Debbie -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Monday, September 20, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADPs and Exclusive Access Warnings are you sharing the ADP w/ anyone? On Mon, 20 Sep 2004 14:30:08 -0500, Elam, Debbie wrote: > I have 2 different .adps created in Access 2002. Both of these are giving a > message "You do not have exclusive access at this time...." In both > instances, the user should not be saving any changes to the database anyhow. > I do not understand why these are popping up. Personally I would just > prefer to suppress the message, but set warnings to false does not do the > trick. Any ideas on either preventing the message, or simply suppressing it > from displaying? > > Debbie > - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject > to the Attorney-Client Privilege, (2) an attorney work product, or (3) > strictly confidential. If you are not the intended recipient of this > message, you may not disclose, print, copy or disseminate this information. > If you have received this in error, please reply and notify the sender > (only) and delete the message. Unauthorized interception of this e-mail is a > violation of federal criminal law. > This communication does not reflect an intention by the sender or the > sender's client or principal to conduct a transaction or make any agreement > by electronic means. Nothing contained in this message or in any attachment > shall satisfy the requirements for a writing, and nothing contained herein > shall constitute a contract or electronic signature under the Electronic > Signatures in Global and National Commerce Act, any version of the Uniform > Electronic Transactions Act or any other statute governing electronic > transactions. > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://spreadfirefox.com/community/?q=affiliates&id=792&t=86 http://ft316db.VOTEorNOT.org -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From martyconnelly at shaw.ca Mon Sep 20 16:29:51 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 20 Sep 2004 14:29:51 -0700 Subject: [AccessD] .TIFF Image of Report Pages References: <100F91B31300334B89EC531C9DCB0865065951@tccexch01.tappeconstruction.net> <414CD194.3020808@ig.com.br> Message-ID: <414F4BCF.10301@shaw.ca> Or you could try this from SourceForge PDF Creator http://sourceforge.net/projects/pdfcreator/ You will have to add your own .ini files for multi language support. Forefront wrote: > Brett Barabash wrote: > >> GhostScript is free (but quite involved to setup). PDF995 is based off >> of GhostScript, and charges $9.95 for the reduced headaches. >> Differences between a PDF995 created document and an Adobe Acrobat >> document are minimal (Gustav pointed out a few minor differences, should >> be in the archives). >> >> I would recommend PDF995 as an almost-free PDF alternative. >> > > CutePDF and PrimoPDF are also good alternatives to PDF995. > ;-) -- Marty Connelly Victoria, B.C. Canada From fhtapia at gmail.com Mon Sep 20 16:41:54 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Mon, 20 Sep 2004 14:41:54 -0700 Subject: [AccessD] ADPs and Exclusive Access Warnings In-Reply-To: <7B1961ED924D1A459E378C9B1BB22B4C0248548F@natexch.jenkens.com> References: <7B1961ED924D1A459E378C9B1BB22B4C0248548F@natexch.jenkens.com> Message-ID: If you change certain settings including the "connection Settings" then the ADP want's exclusive access... I dunno why you would not want to distribute as a normal FE one each pc... but this may be one of those Access error messages. On Mon, 20 Sep 2004 15:13:21 -0500, Elam, Debbie wrote: > Both adps are shared with several people. I normally try to put front ends > on the computer, rather than share to the network, but for a variety of > reasons that is impractical in this case. > > Debbie > > > > -----Original Message----- > From: Francisco Tapia [mailto:fhtapia at gmail.com] > Sent: Monday, September 20, 2004 2:48 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] ADPs and Exclusive Access Warnings > > are you sharing the ADP w/ anyone? > > On Mon, 20 Sep 2004 14:30:08 -0500, Elam, Debbie wrote: > > I have 2 different .adps created in Access 2002. Both of these are giving > a > > message "You do not have exclusive access at this time...." In both > > instances, the user should not be saving any changes to the database > anyhow. > > I do not understand why these are popping up. Personally I would just > > prefer to suppress the message, but set warnings to false does not do the > > trick. Any ideas on either preventing the message, or simply suppressing > it > > from displaying? > > > > Debbie > > - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) > subject > > to the Attorney-Client Privilege, (2) an attorney work product, or (3) > > strictly confidential. If you are not the intended recipient of this > > message, you may not disclose, print, copy or disseminate this > information. > > If you have received this in error, please reply and notify the sender > > (only) and delete the message. Unauthorized interception of this e-mail is > a > > violation of federal criminal law. > > This communication does not reflect an intention by the sender or the > > sender's client or principal to conduct a transaction or make any > agreement > > by electronic means. Nothing contained in this message or in any > attachment > > shall satisfy the requirements for a writing, and nothing contained herein > > shall constitute a contract or electronic signature under the Electronic > > Signatures in Global and National Commerce Act, any version of the Uniform > > Electronic Transactions Act or any other statute governing electronic > > transactions. > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > -Francisco > "Rediscover the web" > http://spreadfirefox.com/community/?q=affiliates&id=792&t=86 > http://ft316db.VOTEorNOT.org > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject > > > to the Attorney-Client Privilege, (2) an attorney work product, or (3) > strictly confidential. If you are not the intended recipient of this > message, you may not disclose, print, copy or disseminate this information. > If you have received this in error, please reply and notify the sender > (only) and delete the message. Unauthorized interception of this e-mail is a > violation of federal criminal law. > This communication does not reflect an intention by the sender or the > sender's client or principal to conduct a transaction or make any agreement > by electronic means. Nothing contained in this message or in any attachment > shall satisfy the requirements for a writing, and nothing contained herein > shall constitute a contract or electronic signature under the Electronic > Signatures in Global and National Commerce Act, any version of the Uniform > Electronic Transactions Act or any other statute governing electronic > transactions. > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://spreadfirefox.com/community/?q=affiliates&id=792&t=86 http://ft316db.VOTEorNOT.org From KP at sdsonline.net Mon Sep 20 20:09:24 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 21 Sep 2004 11:09:24 +1000 Subject: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form References: <988E2AC88CCB54459286C4077DB662F50155B2D8@PDAWB03C.ad.sprint.com> Message-ID: <000d01c49f77$a2f2eb10$6501a8c0@user> Hi Donald - thanks for the reply. I didn't know that there was an FP html editor as opposed to normal FP- that would certainly solve the problem as these pages will also be very simple - I will look further into that. Thanks Kath ----- Original Message ----- From: Mcgillivray, Donald [ITS] To: Access Developers discussion and problem solving Sent: Saturday, September 18, 2004 2:05 AM Subject: RE: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form Firstly, I have only passing familiarity with Front Page and web stuff - DEFINITELY no kind of expert! But since you seem to be in a similar situation, maybe my experience will prove useful. In FP 98 (newer versions may be different) the html editor is a separate application that can be run independently from the FP web designer interface. Since my ISP doesn't support FP extensions at my subscription level, I just use the FP editor (not the web designer) to create pages (VERY simple ones, to be sure) and upload them via FTP to my web space. Basically, the FP html editor allows you to open, edit and save ANY html doc to ANY place you please - doesn't have to be a part of a "Front Page web" at all. Things could get a little tricky if the html doc contains hyperlinks to other pages within the web site - in my situation I mimic the directory structure of my web space on my PC, and make any hyperlinks relative to the page location - and I have no idea what happens if you just slip a page into a FP web thru the "back door" (does the FP web automatically 'know' the new page is there, or do you have to use the web designer to make it available?) All this having been said, I don't know whether the FP html editor (as distinct from the web designer) has an exposed object model that you can automate from your VBA code (I'm at work and my FP is installed at home) but if it does, you ought to be able to open and work a document independent of any web specs and then move it to the web via a separate process when the user is finished. Hope this helps! Don McGillivray -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, September 13, 2004 6:13 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Urgent help please - Can't open html page in Frontpagefrom Access form I have wasted ages on this so am now begging assistance........ I have an html file (empty at present - later it will have some basic text) I need to my code to - Make a copy of the template.html file (I can do that) and - give it a new name, eg. Template_BHP_140904.html (I can do that) - Open the html file just created in Frontpage for users to modify the document (That's where I'm stuck....) My problem is a total lack of knowledge of files vs. webs and therefore the syntax I need. Questions: - - Do I have to have a 'web' or 'web folder' - can't I just have an html file and open it? - If I can, what is the alternative syntax to .webs.open - eg. I am looking for a .pages.open property or .files.open ? Here's my code so far - when I run it I get an error - There is no web named "/E:/SDS/Clients/CPP/WebLetters/Template.html" ------------------------------------------------------------------------ -------- Private Sub CmdOpenFP_Click() Dim oFPweb As FrontPage.Web Dim oFP As FrontPage.Application Dim FrontPageRunning As Boolean 'Determine whether FrontPage is alredy open or not FrontPageRunning = IsFrontPageRunning() If Not FrontPageRunning Then MsgBox ("Frontpage is Closed") Set oFP = CreateObject("Frontpage.Application") Else MsgBox ("Frontpage is already open") Set oFP = GetObject(, "Frontpage.Application") End If 'add code here later to make a copy of my file 'open file in front page------------------------------------------------ oFP.Webs.Open ("E:\Sds\Clients\CPP\Webletters\template.html") 'STUCK HERE ' Show FrontPage oFPweb.Activate 'Set oFP = Nothing End Sub ------------------------------------------------------------------------ -------- TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From roz.clarke at donnslaw.co.uk Tue Sep 21 03:08:10 2004 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Tue, 21 Sep 2004 09:08:10 +0100 Subject: [AccessD] ADPs and Exclusive Access Warnings Message-ID: <61F915314798D311A2F800A0C9C8318805CED47C@dibble.observatory.donnslaw.co.uk> I can't speak for Debbie but I have similar problems with .mdbs and .mdes and I have to use a shared FE because we are a Terminal Services site. Users do not get to change connection settings or design of objects and yet the applications still frequently lock. I was hoping that .adps would NOT present the same problems, as we are currently developing one for 200+ users (30 users at a time can be in one FE on a terminal server). :( -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: 20 September 2004 22:42 To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADPs and Exclusive Access Warnings If you change certain settings including the "connection Settings" then the ADP want's exclusive access... I dunno why you would not want to distribute as a normal FE one each pc... but this may be one of those Access error messages. On Mon, 20 Sep 2004 15:13:21 -0500, Elam, Debbie wrote: > Both adps are shared with several people. I normally try to put front > ends on the computer, rather than share to the network, but for a > variety of reasons that is impractical in this case. > > Debbie > > > > -----Original Message----- > From: Francisco Tapia [mailto:fhtapia at gmail.com] > Sent: Monday, September 20, 2004 2:48 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] ADPs and Exclusive Access Warnings > > are you sharing the ADP w/ anyone? > > On Mon, 20 Sep 2004 14:30:08 -0500, Elam, Debbie > wrote: > > I have 2 different .adps created in Access 2002. Both of these are > > giving > a > > message "You do not have exclusive access at this time...." In both > > instances, the user should not be saving any changes to the database > anyhow. > > I do not understand why these are popping up. Personally I would > > just prefer to suppress the message, but set warnings to false does > > not do the trick. Any ideas on either preventing the message, or > > simply suppressing > it > > from displaying? > > > > Debbie > > - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) > subject > > to the Attorney-Client Privilege, (2) an attorney work product, or > > (3) strictly confidential. If you are not the intended recipient of > > this message, you may not disclose, print, copy or disseminate this > information. > > If you have received this in error, please reply and notify the > > sender > > (only) and delete the message. Unauthorized interception of this e-mail is > a > > violation of federal criminal law. > > This communication does not reflect an intention by the sender or > > the sender's client or principal to conduct a transaction or make > > any > agreement > > by electronic means. Nothing contained in this message or in any > attachment > > shall satisfy the requirements for a writing, and nothing contained > > herein shall constitute a contract or electronic signature under the > > Electronic Signatures in Global and National Commerce Act, any > > version of the Uniform Electronic Transactions Act or any other > > statute governing electronic transactions. > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > -Francisco > "Rediscover the web" > http://spreadfirefox.com/community/?q=affiliates&id=792&t=86 > http://ft316db.VOTEorNOT.org > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) > subject > > > to the Attorney-Client Privilege, (2) an attorney work product, or (3) > strictly confidential. If you are not the intended recipient of this > message, you may not disclose, print, copy or disseminate this > information. If you have received this in error, please reply and > notify the sender > (only) and delete the message. Unauthorized interception of this e-mail is a > violation of federal criminal law. > This communication does not reflect an intention by the sender or the > sender's client or principal to conduct a transaction or make any agreement > by electronic means. Nothing contained in this message or in any attachment > shall satisfy the requirements for a writing, and nothing contained herein > shall constitute a contract or electronic signature under the Electronic > Signatures in Global and National Commerce Act, any version of the Uniform > Electronic Transactions Act or any other statute governing electronic > transactions. > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://spreadfirefox.com/community/?q=affiliates&id=792&t=86 http://ft316db.VOTEorNOT.org -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From gustav at cactus.dk Tue Sep 21 06:25:26 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 21 Sep 2004 13:25:26 +0200 Subject: [AccessD] ADPs and Exclusive Access Warnings In-Reply-To: <61F915314798D311A2F800A0C9C8318805CED47C@dibble.observatory.donnslaw.co.uk> References: <61F915314798D311A2F800A0C9C8318805CED47C@dibble.observatory.donnslaw.co.uk> Message-ID: <112712810.20040921132526@cactus.dk> Hi Roz and Debbie Have you tried to write protect the frontend file? /gustav > I can't speak for Debbie but I have similar problems with .mdbs and .mdes > and I have to use a shared FE because we are a Terminal Services site. Users > do not get to change connection settings or design of objects and yet the > applications still frequently lock. From DElam at jenkens.com Tue Sep 21 07:15:11 2004 From: DElam at jenkens.com (Elam, Debbie) Date: Tue, 21 Sep 2004 07:15:11 -0500 Subject: [AccessD] ADPs and Exclusive Access Warnings Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C02485491@natexch.jenkens.com> No, I have not tried to write protect the front end at all. Debbie -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday, September 21, 2004 6:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADPs and Exclusive Access Warnings Hi Roz and Debbie Have you tried to write protect the frontend file? /gustav > I can't speak for Debbie but I have similar problems with .mdbs and .mdes > and I have to use a shared FE because we are a Terminal Services site. Users > do not get to change connection settings or design of objects and yet the > applications still frequently lock. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From Jeff at OUTBAKTech.com Tue Sep 21 08:49:11 2004 From: Jeff at OUTBAKTech.com (Jeff Barrows) Date: Tue, 21 Sep 2004 08:49:11 -0500 Subject: [AccessD] Installation Software (cross posted) Message-ID: <8DA8776D2F418E46A2A464AC6CE630500326BD@outbaksrv1.outbaktech.com> Anyone know where to get the best price on a newer version, single user copy of Installshield? Jeff From fhtapia at gmail.com Tue Sep 21 10:59:31 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 21 Sep 2004 08:59:31 -0700 Subject: [AccessD] ADPs and Exclusive Access Warnings In-Reply-To: <7B1961ED924D1A459E378C9B1BB22B4C02485491@natexch.jenkens.com> References: <7B1961ED924D1A459E378C9B1BB22B4C02485491@natexch.jenkens.com> Message-ID: did you say you get this error on an ADE as well as an MDE? On Tue, 21 Sep 2004 07:15:11 -0500, Elam, Debbie wrote: > No, I have not tried to write protect the front end at all. > > Debbie > > > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Tuesday, September 21, 2004 6:25 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] ADPs and Exclusive Access Warnings > > Hi Roz and Debbie > > Have you tried to write protect the frontend file? > > /gustav > > > I can't speak for Debbie but I have similar problems with .mdbs and .mdes > > and I have to use a shared FE because we are a Terminal Services site. > Users > > do not get to change connection settings or design of objects and yet the > > applications still frequently lock. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject > to the Attorney-Client Privilege, (2) an attorney work product, or (3) > strictly confidential. If you are not the intended recipient of this > message, you may not disclose, print, copy or disseminate this information. > If you have received this in error, please reply and notify the sender > (only) and delete the message. Unauthorized interception of this e-mail is a > violation of federal criminal law. > This communication does not reflect an intention by the sender or the > sender's client or principal to conduct a transaction or make any agreement > by electronic means. Nothing contained in this message or in any attachment > shall satisfy the requirements for a writing, and nothing contained herein > shall constitute a contract or electronic signature under the Electronic > Signatures in Global and National Commerce Act, any version of the Uniform > Electronic Transactions Act or any other statute governing electronic > transactions. > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://spreadfirefox.com/community/?q=affiliates&id=792&t=86 http://ft316db.VOTEorNOT.org From DElam at jenkens.com Tue Sep 21 11:37:56 2004 From: DElam at jenkens.com (Elam, Debbie) Date: Tue, 21 Sep 2004 11:37:56 -0500 Subject: [AccessD] ADPs and Exclusive Access Warnings Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0248549E@natexch.jenkens.com> The MDB I was using before did not have this error, the ADP I created to serve basically the same purpose and used in the same spot does have this error. I do not have an MDE that I have used like this. Debbie -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Tuesday, September 21, 2004 11:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADPs and Exclusive Access Warnings did you say you get this error on an ADE as well as an MDE? On Tue, 21 Sep 2004 07:15:11 -0500, Elam, Debbie wrote: > No, I have not tried to write protect the front end at all. > > Debbie > > > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Tuesday, September 21, 2004 6:25 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] ADPs and Exclusive Access Warnings > > Hi Roz and Debbie > > Have you tried to write protect the frontend file? > > /gustav > > > I can't speak for Debbie but I have similar problems with .mdbs and .mdes > > and I have to use a shared FE because we are a Terminal Services site. > Users > > do not get to change connection settings or design of objects and yet the > > applications still frequently lock. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject > to the Attorney-Client Privilege, (2) an attorney work product, or (3) > strictly confidential. If you are not the intended recipient of this > message, you may not disclose, print, copy or disseminate this information. > If you have received this in error, please reply and notify the sender > (only) and delete the message. Unauthorized interception of this e-mail is a > violation of federal criminal law. > This communication does not reflect an intention by the sender or the > sender's client or principal to conduct a transaction or make any agreement > by electronic means. Nothing contained in this message or in any attachment > shall satisfy the requirements for a writing, and nothing contained herein > shall constitute a contract or electronic signature under the Electronic > Signatures in Global and National Commerce Act, any version of the Uniform > Electronic Transactions Act or any other statute governing electronic > transactions. > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://spreadfirefox.com/community/?q=affiliates&id=792&t=86 http://ft316db.VOTEorNOT.org -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From davide at dalyn.co.nz Tue Sep 21 15:25:25 2004 From: davide at dalyn.co.nz (David Emerson) Date: Wed, 22 Sep 2004 08:25:25 +1200 Subject: [AccessD] ADPs and Exclusive Access Warnings In-Reply-To: <61F915314798D311A2F800A0C9C8318805CED47C@dibble.observator y.donnslaw.co.uk> Message-ID: <5.2.0.9.0.20040922082307.00bd8790@mail.dalyn.co.nz> If it is any consolation, I have an 2002 ADP/SQL2000 configuration running on Terminal server with up to 10 concurrent users and it works with no hitches. Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Churton Park Wellington, New Zealand Ph/Fax (04) 478-7456 Mobile 027-280-9348 At 21/09/2004, you wrote: >I can't speak for Debbie but I have similar problems with .mdbs and .mdes >and I have to use a shared FE because we are a Terminal Services site. Users >do not get to change connection settings or design of objects and yet the >applications still frequently lock. > >I was hoping that .adps would NOT present the same problems, as we are >currently developing one for 200+ users (30 users at a time can be in one FE >on a terminal server). > >:( > >-----Original Message----- >From: Francisco Tapia [mailto:fhtapia at gmail.com] >Sent: 20 September 2004 22:42 >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] ADPs and Exclusive Access Warnings > > >If you change certain settings including the "connection Settings" then the >ADP want's exclusive access... I dunno why you would not want to distribute >as a normal FE one each pc... but this may be one of those Access error >messages. > > >On Mon, 20 Sep 2004 15:13:21 -0500, Elam, Debbie wrote: > > Both adps are shared with several people. I normally try to put front > > ends on the computer, rather than share to the network, but for a > > variety of reasons that is impractical in this case. > > > > Debbie > > > > > > > > -----Original Message----- > > From: Francisco Tapia [mailto:fhtapia at gmail.com] > > Sent: Monday, September 20, 2004 2:48 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] ADPs and Exclusive Access Warnings > > > > are you sharing the ADP w/ anyone? > > > > On Mon, 20 Sep 2004 14:30:08 -0500, Elam, Debbie > > wrote: > > > I have 2 different .adps created in Access 2002. Both of these are > > > giving > > a > > > message "You do not have exclusive access at this time...." In both > > > instances, the user should not be saving any changes to the database > > anyhow. > > > I do not understand why these are popping up. Personally I would > > > just prefer to suppress the message, but set warnings to false does > > > not do the trick. Any ideas on either preventing the message, or > > > simply suppressing > > it > > > from displaying? > > > > > > Debbie >Website: http://www.databaseadvisors.com From davide at dalyn.co.nz Tue Sep 21 16:17:07 2004 From: davide at dalyn.co.nz (David Emerson) Date: Wed, 22 Sep 2004 09:17:07 +1200 Subject: [AccessD] ADPs and Exclusive Access Warnings In-Reply-To: <5.2.0.9.0.20040922082307.00bd8790@mail.dalyn.co.nz> References: <61F915314798D311A2F800A0C9C8318805CED47C@dibble.observator y.donnslaw.co.uk> Message-ID: <5.2.0.9.0.20040922091637.00bdf060@mail.dalyn.co.nz> Correction - It is an ade David At 22/09/2004, you wrote: >If it is any consolation, I have an 2002 ADP/SQL2000 configuration running >on Terminal server with up to 10 concurrent users and it works with no hitches. > >Regards > >David Emerson >Dalyn Software Ltd >25 Cunliffe St, Churton Park >Wellington, New Zealand >Ph/Fax (04) 478-7456 >Mobile 027-280-9348 > >At 21/09/2004, you wrote: >>I can't speak for Debbie but I have similar problems with .mdbs and .mdes >>and I have to use a shared FE because we are a Terminal Services site. Users >>do not get to change connection settings or design of objects and yet the >>applications still frequently lock. >> >>I was hoping that .adps would NOT present the same problems, as we are >>currently developing one for 200+ users (30 users at a time can be in one FE >>on a terminal server). >> >>:( >> >>-----Original Message----- >>From: Francisco Tapia [mailto:fhtapia at gmail.com] >>Sent: 20 September 2004 22:42 >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] ADPs and Exclusive Access Warnings >> >> >>If you change certain settings including the "connection Settings" then the >>ADP want's exclusive access... I dunno why you would not want to distribute >>as a normal FE one each pc... but this may be one of those Access error >>messages. >> >> >>On Mon, 20 Sep 2004 15:13:21 -0500, Elam, Debbie wrote: >> > Both adps are shared with several people. I normally try to put front >> > ends on the computer, rather than share to the network, but for a >> > variety of reasons that is impractical in this case. >> > >> > Debbie >> > >> > >> > >> > -----Original Message----- >> > From: Francisco Tapia [mailto:fhtapia at gmail.com] >> > Sent: Monday, September 20, 2004 2:48 PM >> > To: Access Developers discussion and problem solving >> > Subject: Re: [AccessD] ADPs and Exclusive Access Warnings >> > >> > are you sharing the ADP w/ anyone? >> > >> > On Mon, 20 Sep 2004 14:30:08 -0500, Elam, Debbie >> > wrote: >> > > I have 2 different .adps created in Access 2002. Both of these are >> > > giving >> > a >> > > message "You do not have exclusive access at this time...." In both >> > > instances, the user should not be saving any changes to the database >> > anyhow. >> > > I do not understand why these are popping up. Personally I would >> > > just prefer to suppress the message, but set warnings to false does >> > > not do the trick. Any ideas on either preventing the message, or >> > > simply suppressing >> > it >> > > from displaying? >> > > >> > > Debbie >>Website: http://www.databaseadvisors.com > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Tue Sep 21 16:49:41 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 21 Sep 2004 14:49:41 -0700 Subject: [AccessD] ADPs in the future References: <5.2.0.9.0.20040922082307.00bd8790@mail.dalyn.co.nz> Message-ID: <4150A1F5.3050506@shaw.ca> Just in passing concerning future design about ADP's from Access 2003 on down that will not play fair with SQL Server 2005 Express (replacement for MSDE). Re: Access 2002 and SQL Express From: "Mary Chipman [MSFT]" Sent: 8/20/2004 11:30:58 AM You will not be able to use any of the designers with SQLS 2005 databases, whether it's SQL Express or the Developer edition. IOW, you won't be able to create databases, tables, views or any other database objects from an ADP. The only support that is envisioned is that you will be able to connect an Access front-end to a SQLS 2005 back end if it is running in SQLS 2000 compatibility mode, so your forms, reports and other local Access objects should still run. There is no service pack or quick fix being planned as far as I know because of the amount of work it would entail. If you stop to think about it, it's pretty hard to see how accomodating new Yukon features like CLR assemblies and complex data types in the ADP designers could be achieved without a complete rewrite. --Mary Chipman -- Marty Connelly Victoria, B.C. Canada From d.dick at uws.edu.au Tue Sep 21 19:35:48 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 22 Sep 2004 10:35:48 +1000 Subject: [AccessD] A2K: Getting MAC Address Message-ID: <200409220036.i8M0a3XH020021@cooper.uws.edu.au> Hi All I have some code to get the machine name and the IP address/es but does anyone have any samples to get a MAC Address off a machine?? Many thank in advance Darren From stuart at lexacorp.com.pg Tue Sep 21 19:53:17 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 22 Sep 2004 10:53:17 +1000 Subject: [AccessD] A2K: Getting MAC Address In-Reply-To: <200409220036.i8M0a3XH020021@cooper.uws.edu.au> Message-ID: <4151599D.4174.45B9E73@lexacorp.com.pg> On 22 Sep 2004 at 10:35, Darren DICK wrote: > Hi All > I have some code to get the machine name and the IP address/es > but does anyone have any samples to get a MAC Address off a machine?? > Here's code to give you just about everything you could want for all adapters installed. (Watch for wrap) The "Physical Address" returns the MAC Address Option Compare Database Option Explicit Public Const MAX_HOSTNAME_LEN = 132 Public Const MAX_DOMAIN_NAME_LEN = 132 Public Const MAX_SCOPE_ID_LEN = 260 Public Const MAX_ADAPTER_NAME_LENGTH = 260 Public Const MAX_ADAPTER_ADDRESS_LENGTH = 8 Public Const MAX_ADAPTER_DESCRIPTION_LENGTH = 132 Public Const ERROR_BUFFER_OVERFLOW = 111 Public Const MIB_IF_TYPE_ETHERNET = 1 Public Const MIB_IF_TYPE_TOKENRING = 2 Public Const MIB_IF_TYPE_FDDI = 3 Public Const MIB_IF_TYPE_PPP = 4 Public Const MIB_IF_TYPE_LOOPBACK = 5 Public Const MIB_IF_TYPE_SLIP = 6 Type IP_ADDR_STRING Next As Long IpAddress As String * 16 IpMask As String * 16 Context As Long End Type Type IP_ADAPTER_INFO Next As Long ComboIndex As Long AdapterName As String * MAX_ADAPTER_NAME_LENGTH Description As String * MAX_ADAPTER_DESCRIPTION_LENGTH AddressLength As Long Address(MAX_ADAPTER_ADDRESS_LENGTH - 1) As Byte Index As Long Type As Long DhcpEnabled As Long CurrentIpAddress As Long IpAddressList As IP_ADDR_STRING GatewayList As IP_ADDR_STRING DhcpServer As IP_ADDR_STRING HaveWins As Boolean PrimaryWinsServer As IP_ADDR_STRING SecondaryWinsServer As IP_ADDR_STRING LeaseObtained As Long LeaseExpires As Long End Type Type FIXED_INFO HostName As String * MAX_HOSTNAME_LEN DomainName As String * MAX_DOMAIN_NAME_LEN CurrentDnsServer As Long DnsServerList As IP_ADDR_STRING NodeType As Long ScopeId As String * MAX_SCOPE_ID_LEN EnableRouting As Long EnableProxy As Long EnableDns As Long End Type Public Declare Function GetNetworkParams Lib "IPHlpApi" (FixedInfo As Any, pOutBufLen As Long) As Long Public Declare Function GetAdaptersInfo Lib "IPHlpApi" (IpAdapterInfo As Any, pOutBufLen As Long) As Long Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long) Function NWInfo() As Long 'This example was created by George Bernier (bernig at dinomail.qc.ca) Dim error As Long Dim FixedInfoSize As Long Dim AdapterInfoSize As Long Dim i As Integer Dim PhysicalAddress As String Dim NewTime As Date Dim AdapterInfo As IP_ADAPTER_INFO Dim Adapt As IP_ADAPTER_INFO Dim AddrStr As IP_ADDR_STRING Dim FixedInfo As FIXED_INFO Dim Buffer As IP_ADDR_STRING Dim pAddrStr As Long Dim pAdapt As Long Dim Buffer2 As IP_ADAPTER_INFO Dim FixedInfoBuffer() As Byte Dim AdapterInfoBuffer() As Byte 'Get the main IP configuration information for this machine using a FIXED_INFO structure FixedInfoSize = 0 error = GetNetworkParams(ByVal 0&, FixedInfoSize) If error <> 0 Then If error <> ERROR_BUFFER_OVERFLOW Then MsgBox "GetNetworkParams sizing failed with error " & error Exit Function End If End If ReDim FixedInfoBuffer(FixedInfoSize - 1) error = GetNetworkParams(FixedInfoBuffer(0), FixedInfoSize) If error = 0 Then CopyMemory FixedInfo, FixedInfoBuffer(0), Len(FixedInfo) MsgBox "Host Name: " & FixedInfo.HostName 'host name MsgBox "DNS Servers: " & FixedInfo.DnsServerList.IpAddress 'dns server IP pAddrStr = FixedInfo.DnsServerList.Next Do While pAddrStr <> 0 CopyMemory Buffer, ByVal pAddrStr, Len(Buffer) MsgBox "DNS Servers: " & Buffer.IpAddress 'dns server IP pAddrStr = Buffer.Next Loop Select Case FixedInfo.NodeType 'node type Case 1 MsgBox "Node type: Broadcast" Case 2 MsgBox "Node type: Peer to peer" Case 4 MsgBox "Node type: Mixed" Case 8 MsgBox "Node type: Hybrid" Case Else MsgBox "Unknown node type" End Select MsgBox "NetBIOS Scope ID: " & FixedInfo.ScopeId 'scope ID 'routing If FixedInfo.EnableRouting Then MsgBox "IP Routing Enabled " Else MsgBox "IP Routing not enabled" End If ' proxy If FixedInfo.EnableProxy Then MsgBox "WINS Proxy Enabled " Else MsgBox "WINS Proxy not Enabled " End If ' netbios If FixedInfo.EnableDns Then MsgBox "NetBIOS Resolution Uses DNS " Else MsgBox "NetBIOS Resolution Does not use DNS " End If Else MsgBox "GetNetworkParams failed with error " & error Exit Function End If 'Enumerate all of the adapter specific information using the IP_ADAPTER_INFO structure. 'Note: IP_ADAPTER_INFO contains a linked list of adapter entries. AdapterInfoSize = 0 error = GetAdaptersInfo(ByVal 0&, AdapterInfoSize) If error <> 0 Then If error <> ERROR_BUFFER_OVERFLOW Then MsgBox "GetAdaptersInfo sizing failed with error " & error Exit Function End If End If ReDim AdapterInfoBuffer(AdapterInfoSize - 1) ' Get actual adapter information error = GetAdaptersInfo(AdapterInfoBuffer(0), AdapterInfoSize) If error <> 0 Then MsgBox "GetAdaptersInfo failed with error " & error Exit Function End If CopyMemory AdapterInfo, AdapterInfoBuffer(0), Len(AdapterInfo) pAdapt = AdapterInfo.Next Do While pAdapt <> 0 CopyMemory Buffer2, AdapterInfo, Len(Buffer2) Select Case Buffer2.Type Case MIB_IF_TYPE_ETHERNET MsgBox "Ethernet adapter " Case MIB_IF_TYPE_TOKENRING MsgBox "Token Ring adapter " Case MIB_IF_TYPE_FDDI MsgBox "FDDI adapter " Case MIB_IF_TYPE_PPP MsgBox "PPP adapter" Case MIB_IF_TYPE_LOOPBACK MsgBox "Loopback adapter " Case MIB_IF_TYPE_SLIP MsgBox "Slip adapter " Case Else MsgBox "Other adapter " End Select MsgBox " AdapterName: " & Buffer2.AdapterName MsgBox "AdapterDescription: " & Buffer2.Description 'adatpter name For i = 0 To Buffer2.AddressLength - 1 PhysicalAddress = PhysicalAddress & Hex(Buffer2.Address(i)) If i < Buffer2.AddressLength - 1 Then PhysicalAddress = PhysicalAddress & "-" End If Next MsgBox "Physical Address: " & PhysicalAddress 'mac address If Buffer2.DhcpEnabled Then MsgBox "DHCP Enabled " Else MsgBox "DHCP disabled" End If pAddrStr = Buffer2.IpAddressList.Next Do While pAddrStr <> 0 CopyMemory Buffer, Buffer2.IpAddressList, LenB(Buffer) MsgBox "IP Address: " & Buffer.IpAddress MsgBox "Subnet Mask: " & Buffer.IpMask pAddrStr = Buffer.Next If pAddrStr <> 0 Then CopyMemory Buffer2.IpAddressList, ByVal pAddrStr, Len(Buffer2.IpAddressList) End If Loop MsgBox "Default Gateway: " & Buffer2.GatewayList.IpAddress pAddrStr = Buffer2.GatewayList.Next Do While pAddrStr <> 0 CopyMemory Buffer, Buffer2.GatewayList, Len(Buffer) MsgBox "IP Address: " & Buffer.IpAddress pAddrStr = Buffer.Next If pAddrStr <> 0 Then CopyMemory Buffer2.GatewayList, ByVal pAddrStr, Len(Buffer2.GatewayList) End If Loop MsgBox "DHCP Server: " & Buffer2.DhcpServer.IpAddress MsgBox "Primary WINS Server: " & Buffer2.PrimaryWinsServer.IpAddress MsgBox "Secondary WINS Server: " & Buffer2.SecondaryWinsServer.IpAddress ' Display time NewTime = CDate(Adapt.LeaseObtained) MsgBox "Lease Obtained: " & CStr(NewTime) NewTime = CDate(Adapt.LeaseExpires) MsgBox "Lease Expires : " & CStr(NewTime) pAdapt = Buffer2.Next If pAdapt <> 0 Then CopyMemory AdapterInfo, ByVal pAdapt, Len(AdapterInfo) End If Loop End Function -- Stuart From d.dick at uws.edu.au Tue Sep 21 21:32:35 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 22 Sep 2004 12:32:35 +1000 Subject: [AccessD] A2K: Getting MAC Address In-Reply-To: <4151599D.4174.45B9E73@lexacorp.com.pg> Message-ID: <200409220232.i8M2WxXH003528@cooper.uws.edu.au> Hi Stuart Wow this is way cool I have a prob though :-(( At the point in the code where it says - Do While pAdapt <> 0 It just gets bypassed and no more message boxes from that point ()The code just exits) If I msgbox the pAdapt value it says Zero - that's why the code bypasses it (the most important bit) If I change that line to Do While pAdapt = 0 it works as expected with The relevant MSGBOX's but of course it puts itself into an endless loop Any idea why the pAdapt bit is returning 0?? Many thanks Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 22 September 2004 10:53 AM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] A2K: Getting MAC Address On 22 Sep 2004 at 10:35, Darren DICK wrote: > Hi All > I have some code to get the machine name and the IP address/es but > does anyone have any samples to get a MAC Address off a machine?? > Here's code to give you just about everything you could want for all adapters installed. (Watch for wrap) The "Physical Address" returns the MAC Address Option Compare Database Option Explicit Public Const MAX_HOSTNAME_LEN = 132 Public Const MAX_DOMAIN_NAME_LEN = 132 Public Const MAX_SCOPE_ID_LEN = 260 Public Const MAX_ADAPTER_NAME_LENGTH = 260 Public Const MAX_ADAPTER_ADDRESS_LENGTH = 8 Public Const MAX_ADAPTER_DESCRIPTION_LENGTH = 132 Public Const ERROR_BUFFER_OVERFLOW = 111 Public Const MIB_IF_TYPE_ETHERNET = 1 Public Const MIB_IF_TYPE_TOKENRING = 2 Public Const MIB_IF_TYPE_FDDI = 3 Public Const MIB_IF_TYPE_PPP = 4 Public Const MIB_IF_TYPE_LOOPBACK = 5 Public Const MIB_IF_TYPE_SLIP = 6 Type IP_ADDR_STRING Next As Long IpAddress As String * 16 IpMask As String * 16 Context As Long End Type Type IP_ADAPTER_INFO Next As Long ComboIndex As Long AdapterName As String * MAX_ADAPTER_NAME_LENGTH Description As String * MAX_ADAPTER_DESCRIPTION_LENGTH AddressLength As Long Address(MAX_ADAPTER_ADDRESS_LENGTH - 1) As Byte Index As Long Type As Long DhcpEnabled As Long CurrentIpAddress As Long IpAddressList As IP_ADDR_STRING GatewayList As IP_ADDR_STRING DhcpServer As IP_ADDR_STRING HaveWins As Boolean PrimaryWinsServer As IP_ADDR_STRING SecondaryWinsServer As IP_ADDR_STRING LeaseObtained As Long LeaseExpires As Long End Type Type FIXED_INFO HostName As String * MAX_HOSTNAME_LEN DomainName As String * MAX_DOMAIN_NAME_LEN CurrentDnsServer As Long DnsServerList As IP_ADDR_STRING NodeType As Long ScopeId As String * MAX_SCOPE_ID_LEN EnableRouting As Long EnableProxy As Long EnableDns As Long End Type Public Declare Function GetNetworkParams Lib "IPHlpApi" (FixedInfo As Any, pOutBufLen As Long) As Long Public Declare Function GetAdaptersInfo Lib "IPHlpApi" (IpAdapterInfo As Any, pOutBufLen As Long) As Long Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long) Function NWInfo() As Long 'This example was created by George Bernier (bernig at dinomail.qc.ca) Dim error As Long Dim FixedInfoSize As Long Dim AdapterInfoSize As Long Dim i As Integer Dim PhysicalAddress As String Dim NewTime As Date Dim AdapterInfo As IP_ADAPTER_INFO Dim Adapt As IP_ADAPTER_INFO Dim AddrStr As IP_ADDR_STRING Dim FixedInfo As FIXED_INFO Dim Buffer As IP_ADDR_STRING Dim pAddrStr As Long Dim pAdapt As Long Dim Buffer2 As IP_ADAPTER_INFO Dim FixedInfoBuffer() As Byte Dim AdapterInfoBuffer() As Byte 'Get the main IP configuration information for this machine using a FIXED_INFO structure FixedInfoSize = 0 error = GetNetworkParams(ByVal 0&, FixedInfoSize) If error <> 0 Then If error <> ERROR_BUFFER_OVERFLOW Then MsgBox "GetNetworkParams sizing failed with error " & error Exit Function End If End If ReDim FixedInfoBuffer(FixedInfoSize - 1) error = GetNetworkParams(FixedInfoBuffer(0), FixedInfoSize) If error = 0 Then CopyMemory FixedInfo, FixedInfoBuffer(0), Len(FixedInfo) MsgBox "Host Name: " & FixedInfo.HostName 'host name MsgBox "DNS Servers: " & FixedInfo.DnsServerList.IpAddress 'dns server IP pAddrStr = FixedInfo.DnsServerList.Next Do While pAddrStr <> 0 CopyMemory Buffer, ByVal pAddrStr, Len(Buffer) MsgBox "DNS Servers: " & Buffer.IpAddress 'dns server IP pAddrStr = Buffer.Next Loop Select Case FixedInfo.NodeType 'node type Case 1 MsgBox "Node type: Broadcast" Case 2 MsgBox "Node type: Peer to peer" Case 4 MsgBox "Node type: Mixed" Case 8 MsgBox "Node type: Hybrid" Case Else MsgBox "Unknown node type" End Select MsgBox "NetBIOS Scope ID: " & FixedInfo.ScopeId 'scope ID 'routing If FixedInfo.EnableRouting Then MsgBox "IP Routing Enabled " Else MsgBox "IP Routing not enabled" End If ' proxy If FixedInfo.EnableProxy Then MsgBox "WINS Proxy Enabled " Else MsgBox "WINS Proxy not Enabled " End If ' netbios If FixedInfo.EnableDns Then MsgBox "NetBIOS Resolution Uses DNS " Else MsgBox "NetBIOS Resolution Does not use DNS " End If Else MsgBox "GetNetworkParams failed with error " & error Exit Function End If 'Enumerate all of the adapter specific information using the IP_ADAPTER_INFO structure. 'Note: IP_ADAPTER_INFO contains a linked list of adapter entries. AdapterInfoSize = 0 error = GetAdaptersInfo(ByVal 0&, AdapterInfoSize) If error <> 0 Then If error <> ERROR_BUFFER_OVERFLOW Then MsgBox "GetAdaptersInfo sizing failed with error " & error Exit Function End If End If ReDim AdapterInfoBuffer(AdapterInfoSize - 1) ' Get actual adapter information error = GetAdaptersInfo(AdapterInfoBuffer(0), AdapterInfoSize) If error <> 0 Then MsgBox "GetAdaptersInfo failed with error " & error Exit Function End If CopyMemory AdapterInfo, AdapterInfoBuffer(0), Len(AdapterInfo) pAdapt = AdapterInfo.Next Do While pAdapt <> 0 CopyMemory Buffer2, AdapterInfo, Len(Buffer2) Select Case Buffer2.Type Case MIB_IF_TYPE_ETHERNET MsgBox "Ethernet adapter " Case MIB_IF_TYPE_TOKENRING MsgBox "Token Ring adapter " Case MIB_IF_TYPE_FDDI MsgBox "FDDI adapter " Case MIB_IF_TYPE_PPP MsgBox "PPP adapter" Case MIB_IF_TYPE_LOOPBACK MsgBox "Loopback adapter " Case MIB_IF_TYPE_SLIP MsgBox "Slip adapter " Case Else MsgBox "Other adapter " End Select MsgBox " AdapterName: " & Buffer2.AdapterName MsgBox "AdapterDescription: " & Buffer2.Description 'adatpter name For i = 0 To Buffer2.AddressLength - 1 PhysicalAddress = PhysicalAddress & Hex(Buffer2.Address(i)) If i < Buffer2.AddressLength - 1 Then PhysicalAddress = PhysicalAddress & "-" End If Next MsgBox "Physical Address: " & PhysicalAddress 'mac address If Buffer2.DhcpEnabled Then MsgBox "DHCP Enabled " Else MsgBox "DHCP disabled" End If pAddrStr = Buffer2.IpAddressList.Next Do While pAddrStr <> 0 CopyMemory Buffer, Buffer2.IpAddressList, LenB(Buffer) MsgBox "IP Address: " & Buffer.IpAddress MsgBox "Subnet Mask: " & Buffer.IpMask pAddrStr = Buffer.Next If pAddrStr <> 0 Then CopyMemory Buffer2.IpAddressList, ByVal pAddrStr, Len(Buffer2.IpAddressList) End If Loop MsgBox "Default Gateway: " & Buffer2.GatewayList.IpAddress pAddrStr = Buffer2.GatewayList.Next Do While pAddrStr <> 0 CopyMemory Buffer, Buffer2.GatewayList, Len(Buffer) MsgBox "IP Address: " & Buffer.IpAddress pAddrStr = Buffer.Next If pAddrStr <> 0 Then CopyMemory Buffer2.GatewayList, ByVal pAddrStr, Len(Buffer2.GatewayList) End If Loop MsgBox "DHCP Server: " & Buffer2.DhcpServer.IpAddress MsgBox "Primary WINS Server: " & Buffer2.PrimaryWinsServer.IpAddress MsgBox "Secondary WINS Server: " & Buffer2.SecondaryWinsServer.IpAddress ' Display time NewTime = CDate(Adapt.LeaseObtained) MsgBox "Lease Obtained: " & CStr(NewTime) NewTime = CDate(Adapt.LeaseExpires) MsgBox "Lease Expires : " & CStr(NewTime) pAdapt = Buffer2.Next If pAdapt <> 0 Then CopyMemory AdapterInfo, ByVal pAdapt, Len(AdapterInfo) End If Loop End Function -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Tue Sep 21 22:03:21 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 22 Sep 2004 13:03:21 +1000 Subject: [AccessD] A2K: Getting MAC Address In-Reply-To: <200409220232.i8M2WxXH003528@cooper.uws.edu.au> References: <4151599D.4174.45B9E73@lexacorp.com.pg> Message-ID: <41517819.18435.58E4D@lexacorp.com.pg> On 22 Sep 2004 at 12:32, Darren DICK wrote: > If I change that line to Do While pAdapt = 0 it works as expected with > The relevant MSGBOX's but of course it puts itself into an endless loop > > Any idea why the pAdapt bit is returning 0?? > No idea, it works fine on this machine. You could try dropping the loop code completely and just doing a single pass through. That will always return the values for the first adapter if you have one. -- Stuart From stephen at bondsoftware.co.nz Tue Sep 21 22:07:53 2004 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Wed, 22 Sep 2004 15:07:53 +1200 Subject: [AccessD] A2K: Getting MAC Address Message-ID: <70F3D727890C784291D8433E9C418F290888B1@server.bondsoftware.co.nz> Yep, agree with that, good stuff - I have already adapted this to display on the 'debug' form in the next project. Had to strip nulls but worth the effort ... Stephen Bond > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Wednesday, 22 September 2004 2:33 p.m. > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] A2K: Getting MAC Address > > > Hi Stuart > Wow this is way cool > I have a prob though :-(( > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stuart McLachlan > Sent: Wednesday, 22 September 2004 10:53 AM > To: Access Developers discussion and problemsolving > Subject: Re: [AccessD] A2K: Getting MAC Address > > On 22 Sep 2004 at 10:35, Darren DICK wrote: > > > Hi All > > I have some code to get the machine name and the IP address/es but > > does anyone have any samples to get a MAC Address off a machine?? > > > Here's code to give you just about everything you could want for all > adapters installed. (Watch for wrap) > > The "Physical Address" returns the MAC Address > > Option Compare Database > Option Explicit > > Public Const MAX_HOSTNAME_LEN = 132 > Public Const MAX_DOMAIN_NAME_LEN = 132 > Public Const MAX_SCOPE_ID_LEN = 260 > Public Const MAX_ADAPTER_NAME_LENGTH = 260 Public Const > MAX_ADAPTER_ADDRESS_LENGTH = 8 Public Const > MAX_ADAPTER_DESCRIPTION_LENGTH = > 132 Public Const ERROR_BUFFER_OVERFLOW = 111 Public Const > MIB_IF_TYPE_ETHERNET = 1 Public Const MIB_IF_TYPE_TOKENRING = > 2 Public Const > MIB_IF_TYPE_FDDI = 3 Public Const MIB_IF_TYPE_PPP = 4 Public Const > MIB_IF_TYPE_LOOPBACK = 5 Public Const MIB_IF_TYPE_SLIP = 6 > > Type IP_ADDR_STRING > Next As Long > IpAddress As String * 16 > IpMask As String * 16 > Context As Long > End Type > > Type IP_ADAPTER_INFO > Next As Long > ComboIndex As Long > AdapterName As String * MAX_ADAPTER_NAME_LENGTH > Description As String * MAX_ADAPTER_DESCRIPTION_LENGTH > AddressLength As Long > Address(MAX_ADAPTER_ADDRESS_LENGTH - 1) As Byte > Index As Long > Type As Long > DhcpEnabled As Long > CurrentIpAddress As Long > IpAddressList As IP_ADDR_STRING > GatewayList As IP_ADDR_STRING > DhcpServer As IP_ADDR_STRING > HaveWins As Boolean > PrimaryWinsServer As IP_ADDR_STRING > SecondaryWinsServer As IP_ADDR_STRING > LeaseObtained As Long > LeaseExpires As Long > End Type > > Type FIXED_INFO > HostName As String * MAX_HOSTNAME_LEN > DomainName As String * MAX_DOMAIN_NAME_LEN > CurrentDnsServer As Long > DnsServerList As IP_ADDR_STRING > NodeType As Long > ScopeId As String * MAX_SCOPE_ID_LEN > EnableRouting As Long > EnableProxy As Long > EnableDns As Long > End Type > > Public Declare Function GetNetworkParams Lib "IPHlpApi" > (FixedInfo As Any, > pOutBufLen As Long) As Long Public Declare Function > GetAdaptersInfo Lib > "IPHlpApi" (IpAdapterInfo As Any, pOutBufLen As Long) As Long > Public Declare > Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" > (Destination As Any, > Source As Any, ByVal Length As Long) > > Function NWInfo() As Long > 'This example was created by George Bernier > (bernig at dinomail.qc.ca) > Dim error As Long > Dim FixedInfoSize As Long > Dim AdapterInfoSize As Long > Dim i As Integer > Dim PhysicalAddress As String > Dim NewTime As Date > Dim AdapterInfo As IP_ADAPTER_INFO > Dim Adapt As IP_ADAPTER_INFO > Dim AddrStr As IP_ADDR_STRING > Dim FixedInfo As FIXED_INFO > Dim Buffer As IP_ADDR_STRING > Dim pAddrStr As Long > Dim pAdapt As Long > Dim Buffer2 As IP_ADAPTER_INFO > Dim FixedInfoBuffer() As Byte > Dim AdapterInfoBuffer() As Byte > > 'Get the main IP configuration information for this > machine using a > FIXED_INFO structure > FixedInfoSize = 0 > error = GetNetworkParams(ByVal 0&, FixedInfoSize) > If error <> 0 Then > If error <> ERROR_BUFFER_OVERFLOW Then > MsgBox "GetNetworkParams sizing failed with error " & error > Exit Function > End If > End If > ReDim FixedInfoBuffer(FixedInfoSize - 1) > > error = GetNetworkParams(FixedInfoBuffer(0), FixedInfoSize) > If error = 0 Then > CopyMemory FixedInfo, FixedInfoBuffer(0), Len(FixedInfo) > MsgBox "Host Name: " & FixedInfo.HostName 'host name > MsgBox "DNS Servers: " & > FixedInfo.DnsServerList.IpAddress 'dns > server IP > pAddrStr = FixedInfo.DnsServerList.Next > Do While pAddrStr <> 0 > CopyMemory Buffer, ByVal pAddrStr, Len(Buffer) > MsgBox "DNS Servers: " & Buffer.IpAddress > 'dns server IP > pAddrStr = Buffer.Next > Loop > > Select Case FixedInfo.NodeType 'node type > Case 1 > MsgBox "Node type: Broadcast" > Case 2 > MsgBox "Node type: Peer to peer" > Case 4 > MsgBox "Node type: Mixed" > Case 8 > MsgBox "Node type: Hybrid" > Case Else > MsgBox "Unknown node type" > End Select > > MsgBox "NetBIOS Scope ID: " & FixedInfo.ScopeId 'scope ID > 'routing > If FixedInfo.EnableRouting Then > MsgBox "IP Routing Enabled " > Else > MsgBox "IP Routing not enabled" > End If > ' proxy > If FixedInfo.EnableProxy Then > MsgBox "WINS Proxy Enabled " > Else > MsgBox "WINS Proxy not Enabled " > End If > ' netbios > If FixedInfo.EnableDns Then > MsgBox "NetBIOS Resolution Uses DNS " > Else > MsgBox "NetBIOS Resolution Does not use DNS " > End If > Else > MsgBox "GetNetworkParams failed with error " & error > Exit Function > End If > > 'Enumerate all of the adapter specific information using the > IP_ADAPTER_INFO structure. > 'Note: IP_ADAPTER_INFO contains a linked list of adapter entries. > > AdapterInfoSize = 0 > error = GetAdaptersInfo(ByVal 0&, AdapterInfoSize) > If error <> 0 Then > If error <> ERROR_BUFFER_OVERFLOW Then > MsgBox "GetAdaptersInfo sizing failed with error " & error > Exit Function > End If > End If > ReDim AdapterInfoBuffer(AdapterInfoSize - 1) > > ' Get actual adapter information > error = GetAdaptersInfo(AdapterInfoBuffer(0), AdapterInfoSize) > If error <> 0 Then > MsgBox "GetAdaptersInfo failed with error " & error > Exit Function > End If > CopyMemory AdapterInfo, AdapterInfoBuffer(0), Len(AdapterInfo) > pAdapt = AdapterInfo.Next > > Do While pAdapt <> 0 > CopyMemory Buffer2, AdapterInfo, Len(Buffer2) > Select Case Buffer2.Type > Case MIB_IF_TYPE_ETHERNET > MsgBox "Ethernet adapter " > Case MIB_IF_TYPE_TOKENRING > MsgBox "Token Ring adapter " > Case MIB_IF_TYPE_FDDI > MsgBox "FDDI adapter " > Case MIB_IF_TYPE_PPP > MsgBox "PPP adapter" > Case MIB_IF_TYPE_LOOPBACK > MsgBox "Loopback adapter " > Case MIB_IF_TYPE_SLIP > MsgBox "Slip adapter " > Case Else > MsgBox "Other adapter " > End Select > MsgBox " AdapterName: " & Buffer2.AdapterName > MsgBox "AdapterDescription: " & Buffer2.Description 'adatpter name > > For i = 0 To Buffer2.AddressLength - 1 > PhysicalAddress = PhysicalAddress & Hex(Buffer2.Address(i)) > If i < Buffer2.AddressLength - 1 Then > PhysicalAddress = PhysicalAddress & "-" > End If > > Next > MsgBox "Physical Address: " & PhysicalAddress 'mac address > If Buffer2.DhcpEnabled Then > MsgBox "DHCP Enabled " > Else > MsgBox "DHCP disabled" > End If > > pAddrStr = Buffer2.IpAddressList.Next > Do While pAddrStr <> 0 > CopyMemory Buffer, Buffer2.IpAddressList, LenB(Buffer) > MsgBox "IP Address: " & Buffer.IpAddress > MsgBox "Subnet Mask: " & Buffer.IpMask > pAddrStr = Buffer.Next > If pAddrStr <> 0 Then > CopyMemory Buffer2.IpAddressList, ByVal pAddrStr, > Len(Buffer2.IpAddressList) > End If > Loop > MsgBox "Default Gateway: " & Buffer2.GatewayList.IpAddress > pAddrStr = Buffer2.GatewayList.Next > Do While pAddrStr <> 0 > CopyMemory Buffer, Buffer2.GatewayList, Len(Buffer) > MsgBox "IP Address: " & Buffer.IpAddress > pAddrStr = Buffer.Next > If pAddrStr <> 0 Then > CopyMemory Buffer2.GatewayList, ByVal pAddrStr, > Len(Buffer2.GatewayList) > End If > Loop > > MsgBox "DHCP Server: " & Buffer2.DhcpServer.IpAddress > MsgBox "Primary WINS Server: " & > Buffer2.PrimaryWinsServer.IpAddress > MsgBox "Secondary WINS Server: " & > Buffer2.SecondaryWinsServer.IpAddress > > ' Display time > NewTime = CDate(Adapt.LeaseObtained) > MsgBox "Lease Obtained: " & CStr(NewTime) > > NewTime = CDate(Adapt.LeaseExpires) > MsgBox "Lease Expires : " & CStr(NewTime) > pAdapt = Buffer2.Next > If pAdapt <> 0 Then > CopyMemory AdapterInfo, ByVal pAdapt, Len(AdapterInfo) > End If > > Loop > > End Function > > -- > Stuart > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From d.dick at uws.edu.au Tue Sep 21 22:22:52 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 22 Sep 2004 13:22:52 +1000 Subject: [AccessD] A2K: Getting MAC Address In-Reply-To: <41517819.18435.58E4D@lexacorp.com.pg> Message-ID: <200409220323.i8M3N6XH028290@cooper.uws.edu.au> Thanks I'll give it a go See ya -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 22 September 2004 1:03 PM To: Access Developers discussion and problemsolving Subject: RE: [AccessD] A2K: Getting MAC Address On 22 Sep 2004 at 12:32, Darren DICK wrote: > If I change that line to Do While pAdapt = 0 it works as expected with > The relevant MSGBOX's but of course it puts itself into an endless > loop > > Any idea why the pAdapt bit is returning 0?? > No idea, it works fine on this machine. You could try dropping the loop code completely and just doing a single pass through. That will always return the values for the first adapter if you have one. -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Wed Sep 22 00:38:52 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Wed, 22 Sep 2004 07:38:52 +0200 Subject: [AccessD] A2K: Getting MAC Address Message-ID: <46B976F2B698FF46A4FE7636509B22DF735C@stekelbes.ithelps.local> The first adapter could be (when wrongly configured) a RAS adapter that has no connection. That returns a 0... You must loop until you find the right adapter. Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Darren DICK Verzonden: woensdag 22 september 2004 5:23 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] A2K: Getting MAC Address Thanks I'll give it a go See ya -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 22 September 2004 1:03 PM To: Access Developers discussion and problemsolving Subject: RE: [AccessD] A2K: Getting MAC Address On 22 Sep 2004 at 12:32, Darren DICK wrote: > If I change that line to Do While pAdapt = 0 it works as expected with > The relevant MSGBOX's but of course it puts itself into an endless > loop > > Any idea why the pAdapt bit is returning 0?? > No idea, it works fine on this machine. You could try dropping the loop code completely and just doing a single pass through. That will always return the values for the first adapter if you have one. -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Wed Sep 22 00:54:29 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 22 Sep 2004 15:54:29 +1000 Subject: [AccessD] A2K: Getting MAC Address In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF735C@stekelbes.ithelps.local> Message-ID: <200409220554.i8M5sYXH002318@cooper.uws.edu.au> Thanks Irwin I removed the loop set It now works fine Many thanks to all Especially Stuart See y'all DD -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Wednesday, 22 September 2004 3:39 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Getting MAC Address The first adapter could be (when wrongly configured) a RAS adapter that has no connection. That returns a 0... You must loop until you find the right adapter. Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Darren DICK Verzonden: woensdag 22 september 2004 5:23 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] A2K: Getting MAC Address Thanks I'll give it a go See ya -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 22 September 2004 1:03 PM To: Access Developers discussion and problemsolving Subject: RE: [AccessD] A2K: Getting MAC Address On 22 Sep 2004 at 12:32, Darren DICK wrote: > If I change that line to Do While pAdapt = 0 it works as expected with > The relevant MSGBOX's but of course it puts itself into an endless > loop > > Any idea why the pAdapt bit is returning 0?? > No idea, it works fine on this machine. You could try dropping the loop code completely and just doing a single pass through. That will always return the values for the first adapter if you have one. -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Sep 22 04:47:21 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 22 Sep 2004 11:47:21 +0200 Subject: [AccessD] ADPs in the future In-Reply-To: <4150A1F5.3050506@shaw.ca> References: <5.2.0.9.0.20040922082307.00bd8790@mail.dalyn.co.nz> <4150A1F5.3050506@shaw.ca> Message-ID: <377660415.20040922114721@cactus.dk> Hi Marty Though I haven't played with the "Express" versions, this sounds interesting. I have, however, no idea why "CLR assemblies and complex data types" would require a complete rewrite, so could you please spell out for SQL 2005 dummies like me, what this message means? What I read is that an Access ADP cannot - and will not be able to - work with SQL 2005 ... I guess "SQLS 2000 compatibility mode" is not something you can turn on and off but something you choose at installation time. /gustav > Just in passing concerning future design > about ADP's from Access 2003 on down that will not play fair with SQL > Server 2005 Express (replacement for MSDE). > Re: Access 2002 and SQL Express > From: "Mary Chipman [MSFT]" Sent: > 8/20/2004 11:30:58 AM > You will not be able to use any of the designers with SQLS 2005 > databases, whether it's SQL Express or the Developer edition. IOW, you > won't be able to create databases, tables, views or any other database > objects from an ADP. The only support that is envisioned is that you > will be able to connect an Access front-end to a SQLS 2005 back end if > it is running in SQLS 2000 compatibility mode, so your forms, reports > and other local Access objects should still run. There is no service > pack or quick fix being planned as far as I know because of the amount > of work it would entail. If you stop to think about it, it's pretty > hard to see how accomodating new Yukon features like CLR assemblies > and complex data types in the ADP designers could be achieved without > a complete rewrite. > --Mary Chipman > -- > Marty Connelly > Victoria, B.C. > Canada From Rich_Lavsa at pghcorning.com Wed Sep 22 06:38:41 2004 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Wed, 22 Sep 2004 07:38:41 -0400 Subject: [AccessD] OT: send email receive fax Message-ID: <833956F5C117124A89417638FDB11290EBD2AC@goexchange.pghcorning.com> Hello all listers, I am just looking for software/service suggestions from anyone who has used anything that takes a simple email and processes it and sends it to a fax phone number. Whether is was used as an integrated part of your exchange server, or if it was a service you simply send an email to and they take care of sending it as a fax which contains the body and attachments of the email. Any suggestions would be appreciated. Currently I'm testing www.send2fax.com 's software. Seems to be ok so far.. But still looking for suggestions on anything anyone has working reliably for a period of time. Thanks, Rich From Erwin.Craps at ithelps.be Wed Sep 22 07:58:48 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Wed, 22 Sep 2004 14:58:48 +0200 Subject: [AccessD] OT: send email receive fax Message-ID: <46B976F2B698FF46A4FE7636509B22DF0ADBFA@stekelbes.ithelps.local> GFI faxmaker http://www.gfi.com/ It's not the best but I been using it for 4 years now and works pretty fine for a reasonable price. Sending a fax is trugh E-mail client. The to address forms like this [FAX:Erwin Craps at IT HELPS at +3216296405] You can include .FAX, .XLS, .PDF attachement to your E-mail and it will be faxed from the exchange server.... Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lavsa, Rich Sent: Wednesday, September 22, 2004 1:39 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: send email receive fax Hello all listers, I am just looking for software/service suggestions from anyone who has used anything that takes a simple email and processes it and sends it to a fax phone number. Whether is was used as an integrated part of your exchange server, or if it was a service you simply send an email to and they take care of sending it as a fax which contains the body and attachments of the email. Any suggestions would be appreciated. Currently I'm testing www.send2fax.com 's software. Seems to be ok so far.. But still looking for suggestions on anything anyone has working reliably for a period of time. Thanks, Rich -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Sep 22 08:18:46 2004 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 22 Sep 2004 08:18:46 -0500 Subject: [AccessD] ADPs in the future In-Reply-To: <15910694.1095847442624.JavaMail.root@sniper5.usinternet.com> Message-ID: <001201c4a0a6$b1529090$de1811d8@danwaters> Hello to All, Well, I am now confused. I have read that Access 2003, as an ADP, includes a builder for stored procedures. Why would MS add this feature to a product if it can't be used? There has to be more to this story. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 22, 2004 4:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADPs in the future Hi Marty Though I haven't played with the "Express" versions, this sounds interesting. I have, however, no idea why "CLR assemblies and complex data types" would require a complete rewrite, so could you please spell out for SQL 2005 dummies like me, what this message means? What I read is that an Access ADP cannot - and will not be able to - work with SQL 2005 ... I guess "SQLS 2000 compatibility mode" is not something you can turn on and off but something you choose at installation time. /gustav > Just in passing concerning future design > about ADP's from Access 2003 on down that will not play fair with SQL > Server 2005 Express (replacement for MSDE). > Re: Access 2002 and SQL Express > From: "Mary Chipman [MSFT]" Sent: > 8/20/2004 11:30:58 AM > You will not be able to use any of the designers with SQLS 2005 > databases, whether it's SQL Express or the Developer edition. IOW, you > won't be able to create databases, tables, views or any other database > objects from an ADP. The only support that is envisioned is that you > will be able to connect an Access front-end to a SQLS 2005 back end if > it is running in SQLS 2000 compatibility mode, so your forms, reports > and other local Access objects should still run. There is no service > pack or quick fix being planned as far as I know because of the amount > of work it would entail. If you stop to think about it, it's pretty > hard to see how accomodating new Yukon features like CLR assemblies > and complex data types in the ADP designers could be achieved without > a complete rewrite. > --Mary Chipman > -- > Marty Connelly > Victoria, B.C. > Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Wed Sep 22 09:27:01 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 22 Sep 2004 10:27:01 -0400 Subject: [AccessD] ADPs in the future In-Reply-To: <4150A1F5.3050506@shaw.ca> Message-ID: If I'm not mistaken, Martin alluded to this some time ago, basically making the statement that the Access world was going to have a serious departure from SQL within the next version or two and there would be a lot of unhappy folks. Looks like its about to happen. Jim (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Tuesday, September 21, 2004 5:50 PM To: Access Developers discussion and problem solving Subject: [AccessD] ADPs in the future Just in passing concerning future design about ADP's from Access 2003 on down that will not play fair with SQL Server 2005 Express (replacement for MSDE). Re: Access 2002 and SQL Express From: "Mary Chipman [MSFT]" Sent: 8/20/2004 11:30:58 AM You will not be able to use any of the designers with SQLS 2005 databases, whether it's SQL Express or the Developer edition. IOW, you won't be able to create databases, tables, views or any other database objects from an ADP. The only support that is envisioned is that you will be able to connect an Access front-end to a SQLS 2005 back end if it is running in SQLS 2000 compatibility mode, so your forms, reports and other local Access objects should still run. There is no service pack or quick fix being planned as far as I know because of the amount of work it would entail. If you stop to think about it, it's pretty hard to see how accomodating new Yukon features like CLR assemblies and complex data types in the ADP designers could be achieved without a complete rewrite. --Mary Chipman -- Marty Connelly Victoria, B.C. Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Wed Sep 22 08:37:43 2004 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 22 Sep 2004 14:37:43 +0100 Subject: [AccessD] ADPs in the future References: <001201c4a0a6$b1529090$de1811d8@danwaters> Message-ID: <000f01c4a0a9$5672fc70$9111758f@aine> The problem has been know about for some time. SQL Server 2005 is a major rewrite and at the time they began development they decided they would not provide access to its features from Access and ADPs mainly becasue they view Access as a power user application - STILL. Lot of .NET stuff built into SQLS erver 2005 and they figured it wasnt worth the cost or effort to rewrite the ADP functionality in Access to deal with this. The next version of Access is being previewed in the UK at a user group meeting on 11 Nov. According to the publicity they (MS)have rebuilt the Access dev team including a new prroduct manager and it is believed major changes are being worked on. I remember replying to that email from Mary Chipman on an MS Newsgroup saying this was one of Microsofts more stupid ideas. I also recollect telling the Access project manager the same thing at least a year ago. Martin ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, September 22, 2004 2:18 PM Subject: RE: [AccessD] ADPs in the future > Hello to All, > > Well, I am now confused. I have read that Access 2003, as an ADP, > includes > a builder for stored procedures. Why would MS add this feature to a > product > if it can't be used? > > There has to be more to this story. > > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Wednesday, September 22, 2004 4:47 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] ADPs in the future > > Hi Marty > > Though I haven't played with the "Express" versions, this sounds > interesting. I have, however, no idea why "CLR assemblies and complex > data types" would require a complete rewrite, so could you please > spell out for SQL 2005 dummies like me, what this message means? > > What I read is that an Access ADP cannot - and will not be able to - > work with SQL 2005 ... I guess "SQLS 2000 compatibility mode" is not > something you can turn on and off but something you choose at > installation time. > > /gustav > > >> Just in passing concerning future design >> about ADP's from Access 2003 on down that will not play fair with SQL >> Server 2005 Express (replacement for MSDE). > >> Re: Access 2002 and SQL Express >> From: "Mary Chipman [MSFT]" Sent: >> 8/20/2004 11:30:58 AM > >> You will not be able to use any of the designers with SQLS 2005 >> databases, whether it's SQL Express or the Developer edition. IOW, you >> won't be able to create databases, tables, views or any other database >> objects from an ADP. The only support that is envisioned is that you >> will be able to connect an Access front-end to a SQLS 2005 back end if >> it is running in SQLS 2000 compatibility mode, so your forms, reports >> and other local Access objects should still run. There is no service >> pack or quick fix being planned as far as I know because of the amount >> of work it would entail. If you stop to think about it, it's pretty >> hard to see how accomodating new Yukon features like CLR assemblies >> and complex data types in the ADP designers could be achieved without >> a complete rewrite. > >> --Mary Chipman > >> -- >> Marty Connelly >> Victoria, B.C. >> Canada > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dwaters at usinternet.com Wed Sep 22 10:01:58 2004 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 22 Sep 2004 10:01:58 -0500 Subject: [AccessD] ADPs in the future In-Reply-To: <15366821.1095864657480.JavaMail.root@sniper8.usinternet.com> Message-ID: <001601c4a0b5$1bcb2780$de1811d8@danwaters> Martin, Thanks for the info. Will it be possible for you to let us know what the changes are planned for Access after 11 Nov? I'll pace around till then . . . . Thanks Again, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, September 22, 2004 8:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADPs in the future The problem has been know about for some time. SQL Server 2005 is a major rewrite and at the time they began development they decided they would not provide access to its features from Access and ADPs mainly becasue they view Access as a power user application - STILL. Lot of .NET stuff built into SQLS erver 2005 and they figured it wasnt worth the cost or effort to rewrite the ADP functionality in Access to deal with this. The next version of Access is being previewed in the UK at a user group meeting on 11 Nov. According to the publicity they (MS)have rebuilt the Access dev team including a new prroduct manager and it is believed major changes are being worked on. I remember replying to that email from Mary Chipman on an MS Newsgroup saying this was one of Microsofts more stupid ideas. I also recollect telling the Access project manager the same thing at least a year ago. Martin ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, September 22, 2004 2:18 PM Subject: RE: [AccessD] ADPs in the future > Hello to All, > > Well, I am now confused. I have read that Access 2003, as an ADP, > includes > a builder for stored procedures. Why would MS add this feature to a > product > if it can't be used? > > There has to be more to this story. > > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Wednesday, September 22, 2004 4:47 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] ADPs in the future > > Hi Marty > > Though I haven't played with the "Express" versions, this sounds > interesting. I have, however, no idea why "CLR assemblies and complex > data types" would require a complete rewrite, so could you please > spell out for SQL 2005 dummies like me, what this message means? > > What I read is that an Access ADP cannot - and will not be able to - > work with SQL 2005 ... I guess "SQLS 2000 compatibility mode" is not > something you can turn on and off but something you choose at > installation time. > > /gustav > > >> Just in passing concerning future design >> about ADP's from Access 2003 on down that will not play fair with SQL >> Server 2005 Express (replacement for MSDE). > >> Re: Access 2002 and SQL Express >> From: "Mary Chipman [MSFT]" Sent: >> 8/20/2004 11:30:58 AM > >> You will not be able to use any of the designers with SQLS 2005 >> databases, whether it's SQL Express or the Developer edition. IOW, you >> won't be able to create databases, tables, views or any other database >> objects from an ADP. The only support that is envisioned is that you >> will be able to connect an Access front-end to a SQLS 2005 back end if >> it is running in SQLS 2000 compatibility mode, so your forms, reports >> and other local Access objects should still run. There is no service >> pack or quick fix being planned as far as I know because of the amount >> of work it would entail. If you stop to think about it, it's pretty >> hard to see how accomodating new Yukon features like CLR assemblies >> and complex data types in the ADP designers could be achieved without >> a complete rewrite. > >> --Mary Chipman > >> -- >> Marty Connelly >> Victoria, B.C. >> Canada > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Wed Sep 22 10:08:04 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Wed, 22 Sep 2004 11:08:04 -0400 Subject: [AccessD] ADPs in the future In-Reply-To: <000f01c4a0a9$5672fc70$9111758f@aine> Message-ID: <004a01c4a0b5$f5a65560$0200a8c0@COA3> Is it known yet - will Office VBA become .Net next Office/Access version (or VSTO expanded to include Access)? If so, the ADP issue doesn't seem to matter that much, imo, since SQL will support .net in sp's, then what was a module can then run on the server. That's where the performance bottleneck is for me; linked tables on a 100 mbit LAN runs fast enough that I don't get complaints about that. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, September 22, 2004 9:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADPs in the future The problem has been know about for some time. SQL Server 2005 is a major rewrite and at the time they began development they decided they would not provide access to its features from Access and ADPs mainly becasue they view Access as a power user application - STILL. Lot of .NET stuff built into SQLS erver 2005 and they figured it wasnt worth the cost or effort to rewrite the ADP functionality in Access to deal with this. The next version of Access is being previewed in the UK at a user group meeting on 11 Nov. According to the publicity they (MS)have rebuilt the Access dev team including a new prroduct manager and it is believed major changes are being worked on. I remember replying to that email from Mary Chipman on an MS Newsgroup saying this was one of Microsofts more stupid ideas. I also recollect telling the Access project manager the same thing at least a year ago. Martin ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, September 22, 2004 2:18 PM Subject: RE: [AccessD] ADPs in the future > Hello to All, > > Well, I am now confused. I have read that Access 2003, as an ADP, > includes > a builder for stored procedures. Why would MS add this feature to a > product > if it can't be used? > > There has to be more to this story. > > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock > Sent: Wednesday, September 22, 2004 4:47 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] ADPs in the future > > Hi Marty > > Though I haven't played with the "Express" versions, this sounds > interesting. I have, however, no idea why "CLR assemblies and complex > data types" would require a complete rewrite, so could you please > spell out for SQL 2005 dummies like me, what this message means? > > What I read is that an Access ADP cannot - and will not be able to - > work with SQL 2005 ... I guess "SQLS 2000 compatibility mode" is not > something you can turn on and off but something you choose at > installation time. > > /gustav > > >> Just in passing concerning future design >> about ADP's from Access 2003 on down that will not play fair with SQL >> Server 2005 Express (replacement for MSDE). > >> Re: Access 2002 and SQL Express >> From: "Mary Chipman [MSFT]" Sent: >> 8/20/2004 11:30:58 AM > >> You will not be able to use any of the designers with SQLS 2005 >> databases, whether it's SQL Express or the Developer edition. IOW, >> you won't be able to create databases, tables, views or any other >> database objects from an ADP. The only support that is envisioned is >> that you will be able to connect an Access front-end to a SQLS 2005 >> back end if it is running in SQLS 2000 compatibility mode, so your >> forms, reports and other local Access objects should still run. There >> is no service pack or quick fix being planned as far as I know >> because of the amount of work it would entail. If you stop to think >> about it, it's pretty hard to see how accomodating new Yukon features >> like CLR assemblies and complex data types in the ADP designers could >> be achieved without a complete rewrite. > >> --Mary Chipman > >> -- >> Marty Connelly >> Victoria, B.C. >> Canada > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Sep 22 10:36:08 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Sep 2004 08:36:08 -0700 Subject: [AccessD] ADPs in the future Message-ID: CLR is the common language runtime, the lingua franca that managed code is compiled into in VS.Net. They would have to rewrite the ADP designers to speak .Net, and that apparently is not in the works. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, September 22, 2004 2:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADPs in the future Hi Marty Though I haven't played with the "Express" versions, this sounds interesting. I have, however, no idea why "CLR assemblies and complex data types" would require a complete rewrite, so could you please spell out for SQL 2005 dummies like me, what this message means? What I read is that an Access ADP cannot - and will not be able to - work with SQL 2005 ... I guess "SQLS 2000 compatibility mode" is not something you can turn on and off but something you choose at installation time. /gustav > Just in passing concerning future design > about ADP's from Access 2003 on down that will not play fair with SQL > Server 2005 Express (replacement for MSDE). > Re: Access 2002 and SQL Express > From: "Mary Chipman [MSFT]" Sent: > 8/20/2004 11:30:58 AM > You will not be able to use any of the designers with SQLS 2005 > databases, whether it's SQL Express or the Developer edition. IOW, you > won't be able to create databases, tables, views or any other database > objects from an ADP. The only support that is envisioned is that you > will be able to connect an Access front-end to a SQLS 2005 back end if > it is running in SQLS 2000 compatibility mode, so your forms, reports > and other local Access objects should still run. There is no service > pack or quick fix being planned as far as I know because of the amount > of work it would entail. If you stop to think about it, it's pretty > hard to see how accomodating new Yukon features like CLR assemblies > and complex data types in the ADP designers could be achieved without > a complete rewrite. > --Mary Chipman > -- > Marty Connelly > Victoria, B.C. > Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Sep 22 10:37:18 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Sep 2004 08:37:18 -0700 Subject: [AccessD] ADPs in the future Message-ID: Access 2003 is designed to work with SQL Server 2000, not the next version of SQL Server. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, September 22, 2004 6:19 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Hello to All, Well, I am now confused. I have read that Access 2003, as an ADP, includes a builder for stored procedures. Why would MS add this feature to a product if it can't be used? There has to be more to this story. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 22, 2004 4:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADPs in the future Hi Marty Though I haven't played with the "Express" versions, this sounds interesting. I have, however, no idea why "CLR assemblies and complex data types" would require a complete rewrite, so could you please spell out for SQL 2005 dummies like me, what this message means? What I read is that an Access ADP cannot - and will not be able to - work with SQL 2005 ... I guess "SQLS 2000 compatibility mode" is not something you can turn on and off but something you choose at installation time. /gustav > Just in passing concerning future design > about ADP's from Access 2003 on down that will not play fair with SQL > Server 2005 Express (replacement for MSDE). > Re: Access 2002 and SQL Express > From: "Mary Chipman [MSFT]" Sent: > 8/20/2004 11:30:58 AM > You will not be able to use any of the designers with SQLS 2005 > databases, whether it's SQL Express or the Developer edition. IOW, you > won't be able to create databases, tables, views or any other database > objects from an ADP. The only support that is envisioned is that you > will be able to connect an Access front-end to a SQLS 2005 back end if > it is running in SQLS 2000 compatibility mode, so your forms, reports > and other local Access objects should still run. There is no service > pack or quick fix being planned as far as I know because of the amount > of work it would entail. If you stop to think about it, it's pretty > hard to see how accomodating new Yukon features like CLR assemblies > and complex data types in the ADP designers could be achieved without > a complete rewrite. > --Mary Chipman > -- > Marty Connelly > Victoria, B.C. > Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Wed Sep 22 11:04:15 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 22 Sep 2004 17:04:15 +0100 Subject: [AccessD] OT: send email receive fax In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF0ADBFA@stekelbes.ithelps.local> Message-ID: <009d01c4a0bd$cef25e70$b274d0d5@minster33c3r25> Or Zetafax, see http://www.equisys.com , which integrates with Outlook and Exchange Server. You pick an address from your Outlook address book and if it is a fax number rather than an email address it gets faxed. Alternatively you can just type in a fax number inoto Zetafax's own client. And like Erwin's suggestion it takes PDF attachments and a few other sorts. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Erwin Craps - IT Helps > Sent: 22 September 2004 13:59 > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: send email receive fax > > > GFI faxmaker > http://www.gfi.com/ > > It's not the best but I been using it for 4 years now and > works pretty fine for a reasonable price. > > Sending a fax is trugh E-mail client. > > The to address forms like this > > [FAX:Erwin Craps at IT HELPS at +3216296405] > > You can include .FAX, .XLS, .PDF attachement to your E-mail > and it will be faxed from the exchange server.... > > > Erwin > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lavsa, Rich > Sent: Wednesday, September 22, 2004 1:39 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] OT: send email receive fax > > Hello all listers, > > I am just looking for software/service suggestions from > anyone who has used anything that takes a simple email and > processes it and sends it to a fax phone number. Whether is > was used as an integrated part of your exchange server, or if > it was a service you simply send an email to and they take > care of sending it as a fax which contains the body and > attachments of the email. > > Any suggestions would be appreciated. Currently I'm testing > www.send2fax.com 's software. Seems to be ok so far.. But > still looking for suggestions on anything anyone has working > reliably for a period of time. > > Thanks, > Rich > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Wed Sep 22 13:44:23 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Wed, 22 Sep 2004 12:44:23 -0600 Subject: [AccessD] Operation must use an updatable query...and it does. Message-ID: <13680-220049322184423717@christopherhawkins.com> This is weird. I'm refitting an Access 2000 app that a client of mine wrote to run his business. One of the issues that has recently started happening (after the client exported all the objects from a corrupted MDB into a fresh MDB container) is that a query being run from a form triggers the following error: "Operation must use an updatable query" Here is the code that is firing the query: [code] DoCmd.SetWarnings False DoCmd.OpenQuery "qryUpdateNotesCount" DoCmd.SetWarnings True [/code] Primitive, but OK. I figure the query is written incorrectly or has recently been changed, and prepare myself to go clean it up/fix it. But here's the kicker: 1) This exact code - and this exact query - has been running fine for years. I can dig up previous versions of the app with this code and query in them, and this line of code executes just fine. 2) If I actually go to the queries tab and double-click qryUpdateNoteCount, it works just fine, even immediately after trying to execute that code and throwing an error. So now I'm scratching my head. This is very perplexing. This is the only build of the app in which this line of code errors out. Yet, I can manually execute the query just fine in this build. Even worse, it only fails on some machines. Whiskey Tango Foxtrot, over? This used to work on every machine in the house. Here is the syntax of the query: [code] UPDATE Job SET Job.JobNotes = DCount("Note","tblNotes","JobID =" & [forms]![frmfcod]![jobid]) WHERE (((Job.JobID)=[Forms]![frmFcod]![JobID])); [/code] I decompiled, recompiled, compacted & repaired. No change. I am considering going through the app and replacing this line of code with something else to update this field. But I'm loathe to do so until I understand why the failure is occurring to start with. Any ideas? -Christopher Hawkins, the Great and Terrible- Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From bchacc at san.rr.com Wed Sep 22 14:11:49 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 22 Sep 2004 12:11:49 -0700 Subject: [AccessD] Operation must use an updatable query...and it does. References: <13680-220049322184423717@christopherhawkins.com> Message-ID: <03e001c4a0d8$035e7a80$6601a8c0@HAL9002> So when you go to the query itself it runs OK? I the code you're using identical to the SQL view in the query window? Rocky ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Wednesday, September 22, 2004 11:44 AM Subject: [AccessD] Operation must use an updatable query...and it does. > This is weird. > > I'm refitting an Access 2000 app that a client of mine wrote to run > his business. One of the issues that has recently started happening > (after the client exported all the objects from a corrupted MDB into > a fresh MDB container) is that a query being run from a form triggers > the following error: > > "Operation must use an updatable query" > > Here is the code that is firing the query: > > [code] > > DoCmd.SetWarnings False > DoCmd.OpenQuery "qryUpdateNotesCount" > DoCmd.SetWarnings True > > [/code] > > Primitive, but OK. I figure the query is written incorrectly or has > recently been changed, and prepare myself to go clean it up/fix it. > But here's the kicker: > > 1) This exact code - and this exact query - has been running fine for > years. I can dig up previous versions of the app with this code and > query in them, and this line of code executes just fine. > > 2) If I actually go to the queries tab and double-click > qryUpdateNoteCount, it works just fine, even immediately after trying > to execute that code and throwing an error. > > So now I'm scratching my head. This is very perplexing. This is the > only build of the app in which this line of code errors out. Yet, I > can manually execute the query just fine in this build. Even worse, > it only fails on some machines. Whiskey Tango Foxtrot, over? This > used to work on every machine in the house. > > Here is the syntax of the query: > > [code] > > UPDATE Job SET Job.JobNotes = DCount("Note","tblNotes","JobID =" & > [forms]![frmfcod]![jobid]) > WHERE (((Job.JobID)=[Forms]![frmFcod]![JobID])); > [/code] > > I decompiled, recompiled, compacted & repaired. No change. > > I am considering going through the app and replacing this line of > code with something else to update this field. But I'm loathe to do > so until I understand why the failure is occurring to start with. > > Any ideas? > > -Christopher Hawkins, the Great and Terrible- > Respectfully, > > Christopher Hawkins > Software Developer > (559) 687-7591 > http://www.christopherhawkins.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From davide at dalyn.co.nz Wed Sep 22 14:22:47 2004 From: davide at dalyn.co.nz (David Emerson) Date: Thu, 23 Sep 2004 07:22:47 +1200 Subject: [AccessD] Operation must use an updatable query...and it does. In-Reply-To: <03e001c4a0d8$035e7a80$6601a8c0@HAL9002> References: <13680-220049322184423717@christopherhawkins.com> Message-ID: <5.2.0.9.0.20040923072018.00bb4d80@mail.dalyn.co.nz> Just a very long shot, but does the Job table have a primary key? I have found using SQL2000 that a recordset is only updateable via a form if the table has a primary key. I don't know if this is relevant in your situation. Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Churton Park Wellington, New Zealand Ph/Fax (04) 478-7456 Mobile 027-280-9348 At 22/09/2004, you wrote: >So when you go to the query itself it runs OK? > >I the code you're using identical to the SQL view in the query window? > >Rocky > >----- Original Message ----- >From: "Christopher Hawkins" >To: >Sent: Wednesday, September 22, 2004 11:44 AM >Subject: [AccessD] Operation must use an updatable query...and it does. > > > > This is weird. > > > > I'm refitting an Access 2000 app that a client of mine wrote to run > > his business. One of the issues that has recently started happening > > (after the client exported all the objects from a corrupted MDB into > > a fresh MDB container) is that a query being run from a form triggers > > the following error: > > > > "Operation must use an updatable query" > > > > Here is the code that is firing the query: > > > > [code] > > > > DoCmd.SetWarnings False > > DoCmd.OpenQuery "qryUpdateNotesCount" > > DoCmd.SetWarnings True > > > > [/code] > > > > Primitive, but OK. I figure the query is written incorrectly or has > > recently been changed, and prepare myself to go clean it up/fix it. > > But here's the kicker: > > > > 1) This exact code - and this exact query - has been running fine for > > years. I can dig up previous versions of the app with this code and > > query in them, and this line of code executes just fine. > > > > 2) If I actually go to the queries tab and double-click > > qryUpdateNoteCount, it works just fine, even immediately after trying > > to execute that code and throwing an error. > > > > So now I'm scratching my head. This is very perplexing. This is the > > only build of the app in which this line of code errors out. Yet, I > > can manually execute the query just fine in this build. Even worse, > > it only fails on some machines. Whiskey Tango Foxtrot, over? This > > used to work on every machine in the house. > > > > Here is the syntax of the query: > > > > [code] > > > > UPDATE Job SET Job.JobNotes = DCount("Note","tblNotes","JobID =" & > > [forms]![frmfcod]![jobid]) > > WHERE (((Job.JobID)=[Forms]![frmFcod]![JobID])); > > [/code] > > > > I decompiled, recompiled, compacted & repaired. No change. > > > > I am considering going through the app and replacing this line of > > code with something else to update this field. But I'm loathe to do > > so until I understand why the failure is occurring to start with. > > > > Any ideas? > > > > -Christopher Hawkins, the Great and Terrible- > > Respectfully, > > > > Christopher Hawkins > > Software Developer > > (559) 687-7591 > > http://www.christopherhawkins.com From jimdettman at earthlink.net Wed Sep 22 14:35:13 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 22 Sep 2004 15:35:13 -0400 Subject: [AccessD] Operation must use an updatable query...and it does. In-Reply-To: <13680-220049322184423717@christopherhawkins.com> Message-ID: Chris, make sure your up to date on SP's for JET and MDAC. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Wednesday, September 22, 2004 2:44 PM To: accessd at databaseadvisors.com Subject: [AccessD] Operation must use an updatable query...and it does. This is weird. I'm refitting an Access 2000 app that a client of mine wrote to run his business. One of the issues that has recently started happening (after the client exported all the objects from a corrupted MDB into a fresh MDB container) is that a query being run from a form triggers the following error: "Operation must use an updatable query" Here is the code that is firing the query: [code] DoCmd.SetWarnings False DoCmd.OpenQuery "qryUpdateNotesCount" DoCmd.SetWarnings True [/code] Primitive, but OK. I figure the query is written incorrectly or has recently been changed, and prepare myself to go clean it up/fix it. But here's the kicker: 1) This exact code - and this exact query - has been running fine for years. I can dig up previous versions of the app with this code and query in them, and this line of code executes just fine. 2) If I actually go to the queries tab and double-click qryUpdateNoteCount, it works just fine, even immediately after trying to execute that code and throwing an error. So now I'm scratching my head. This is very perplexing. This is the only build of the app in which this line of code errors out. Yet, I can manually execute the query just fine in this build. Even worse, it only fails on some machines. Whiskey Tango Foxtrot, over? This used to work on every machine in the house. Here is the syntax of the query: [code] UPDATE Job SET Job.JobNotes = DCount("Note","tblNotes","JobID =" & [forms]![frmfcod]![jobid]) WHERE (((Job.JobID)=[Forms]![frmFcod]![JobID])); [/code] I decompiled, recompiled, compacted & repaired. No change. I am considering going through the app and replacing this line of code with something else to update this field. But I'm loathe to do so until I understand why the failure is occurring to start with. Any ideas? -Christopher Hawkins, the Great and Terrible- Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Sep 22 15:19:34 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Sep 2004 13:19:34 -0700 Subject: [AccessD] Operation must use an updatable query...and it does. Message-ID: Try adding the Distinctrow keyword to SQL. Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Wednesday, September 22, 2004 11:44 AM To: accessd at databaseadvisors.com Subject: [AccessD] Operation must use an updatable query...and it does. This is weird. I'm refitting an Access 2000 app that a client of mine wrote to run his business. One of the issues that has recently started happening (after the client exported all the objects from a corrupted MDB into a fresh MDB container) is that a query being run from a form triggers the following error: "Operation must use an updatable query" Here is the code that is firing the query: [code] DoCmd.SetWarnings False DoCmd.OpenQuery "qryUpdateNotesCount" DoCmd.SetWarnings True [/code] Primitive, but OK. I figure the query is written incorrectly or has recently been changed, and prepare myself to go clean it up/fix it. But here's the kicker: 1) This exact code - and this exact query - has been running fine for years. I can dig up previous versions of the app with this code and query in them, and this line of code executes just fine. 2) If I actually go to the queries tab and double-click qryUpdateNoteCount, it works just fine, even immediately after trying to execute that code and throwing an error. So now I'm scratching my head. This is very perplexing. This is the only build of the app in which this line of code errors out. Yet, I can manually execute the query just fine in this build. Even worse, it only fails on some machines. Whiskey Tango Foxtrot, over? This used to work on every machine in the house. Here is the syntax of the query: [code] UPDATE Job SET Job.JobNotes = DCount("Note","tblNotes","JobID =" & [forms]![frmfcod]![jobid]) WHERE (((Job.JobID)=[Forms]![frmFcod]![JobID])); [/code] I decompiled, recompiled, compacted & repaired. No change. I am considering going through the app and replacing this line of code with something else to update this field. But I'm loathe to do so until I understand why the failure is occurring to start with. Any ideas? -Christopher Hawkins, the Great and Terrible- Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From skirlic at tbmc.com Wed Sep 22 15:37:04 2004 From: skirlic at tbmc.com (Sead Kirlic) Date: Wed, 22 Sep 2004 15:37:04 -0500 Subject: [AccessD] Overflow Message-ID: I need help on this one. One of reports in my database will not open. Message I receive is "Overflow". There are total of 6 reports and 5 of them are OK. Sezak99 From carlo at xsit.nl Wed Sep 22 17:41:03 2004 From: carlo at xsit.nl (Carlo van der Zon (Access IT Training)) Date: Thu, 23 Sep 2004 00:41:03 +0200 Subject: [AccessD] Create ADE from ADP Message-ID: <844F188BB505654DBCF15C4B24106C101D4D05@headcon.headit.nl> Hi Group, I have fine working ADP, but how to create an ADE? Access tells me it's not possible. Thanks Carlo From roz.clarke at donnslaw.co.uk Thu Sep 23 03:32:46 2004 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Thu, 23 Sep 2004 09:32:46 +0100 Subject: [AccessD] ADPs - accessing SQL Views Message-ID: <61F915314798D311A2F800A0C9C8318805CED4D7@dibble.observatory.donnslaw.co.uk> Dear all I have had this problem raised by one of the developers on my team. Can anyone assist? "Using ADO objects via OLE DB, I can access data in my SQL Server database in the form of tables and stored procs with no problem. When I try and retrieve records from a SQL Server view, I get an OLE DB error. I have tried using all the different ways, command objects, recordsets etc." TIA Roz -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From gustav at cactus.dk Thu Sep 23 03:08:48 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 23 Sep 2004 10:08:48 +0200 Subject: [AccessD] ADPs in the future In-Reply-To: References: Message-ID: <933849044.20040923100848@cactus.dk> Hi Charlotte Thanks. /gustav > CLR is the common language runtime, the lingua franca that managed code > is compiled into in VS.Net. They would have to rewrite the ADP > designers to speak .Net, and that apparently is not in the works. > Charlotte Foust > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, September 22, 2004 2:47 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] ADPs in the future > Hi Marty > Though I haven't played with the "Express" versions, this sounds > interesting. I have, however, no idea why "CLR assemblies and complex > data types" would require a complete rewrite, so could you please spell > out for SQL 2005 dummies like me, what this message means? > What I read is that an Access ADP cannot - and will not be able to - > work with SQL 2005 ... I guess "SQLS 2000 compatibility mode" is not > something you can turn on and off but something you choose at > installation time. > /gustav >> Just in passing concerning future design >> about ADP's from Access 2003 on down that will not play fair with SQL >> Server 2005 Express (replacement for MSDE). >> Re: Access 2002 and SQL Express >> From: "Mary Chipman [MSFT]" Sent: >> 8/20/2004 11:30:58 AM >> You will not be able to use any of the designers with SQLS 2005 >> databases, whether it's SQL Express or the Developer edition. IOW, you >> won't be able to create databases, tables, views or any other database >> objects from an ADP. The only support that is envisioned is that you >> will be able to connect an Access front-end to a SQLS 2005 back end if >> it is running in SQLS 2000 compatibility mode, so your forms, reports >> and other local Access objects should still run. There is no service >> pack or quick fix being planned as far as I know because of the amount >> of work it would entail. If you stop to think about it, it's pretty >> hard to see how accomodating new Yukon features like CLR assemblies >> and complex data types in the ADP designers could be achieved without >> a complete rewrite. >> --Mary Chipman >> -- >> Marty Connelly >> Victoria, B.C. >> Canada > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Sep 23 03:55:12 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 23 Sep 2004 10:55:12 +0200 Subject: [AccessD] Operation must use an updatable query...and it does. In-Reply-To: <13680-220049322184423717@christopherhawkins.com> References: <13680-220049322184423717@christopherhawkins.com> Message-ID: <406633498.20040923105512@cactus.dk> Hi Christopher First, specify the control as a parameter: PARAMETERS [Forms]![frmFcod]![JobID] Long; UPDATE Job SET Job.JobNotes = DCount("Note","tblNotes","JobID =" & [Forms]![frmFcod]![JobID]) WHERE (((Job.JobID)=[Forms]![frmFcod]![JobID])); If that doesn't work, why not rewrite it: PARAMETERS JobNo Long, NoteCount Long; UPDATE Job SET Job.JobNotes = NoteCount WHERE (Job.JobID = JobNo); and then: lngJobID = Nz([Forms]![frmFcod]![JobID], 0) lngNoteCount = DCount("Note", "tblNotes", "JobID = " & lngJobID & "") Set dbs = CurrentDb() Set qdy = dbs.QueryDefs("qryUpdateNotesCount") Set qdy.Parameters("JobNo").Value = lngJobID Set qdy.Parameters("NoteCount").Value = lngNoteCount qdy.Execute qdy.Close This may turn out faster than debugging the current code. /gustav > This is weird. > I'm refitting an Access 2000 app that a client of mine wrote to run > his business. One of the issues that has recently started happening > (after the client exported all the objects from a corrupted MDB into > a fresh MDB container) is that a query being run from a form triggers > the following error: > "Operation must use an updatable query" > Here is the code that is firing the query: > [code] > DoCmd.SetWarnings False > DoCmd.OpenQuery "qryUpdateNotesCount" > DoCmd.SetWarnings True > [/code] > Primitive, but OK. I figure the query is written incorrectly or has > recently been changed, and prepare myself to go clean it up/fix it. > But here's the kicker: > 1) This exact code - and this exact query - has been running fine for > years. I can dig up previous versions of the app with this code and > query in them, and this line of code executes just fine. > 2) If I actually go to the queries tab and double-click > qryUpdateNoteCount, it works just fine, even immediately after trying > to execute that code and throwing an error. > So now I'm scratching my head. This is very perplexing. This is the > only build of the app in which this line of code errors out. Yet, I > can manually execute the query just fine in this build. Even worse, > it only fails on some machines. Whiskey Tango Foxtrot, over? This > used to work on every machine in the house. > Here is the syntax of the query: > [code] > UPDATE Job SET Job.JobNotes = DCount("Note","tblNotes","JobID =" & > [forms]![frmfcod]![jobid]) > WHERE (((Job.JobID)=[Forms]![frmFcod]![JobID])); > [/code] > I decompiled, recompiled, compacted & repaired. No change. > I am considering going through the app and replacing this line of > code with something else to update this field. But I'm loathe to do > so until I understand why the failure is occurring to start with. > Any ideas? > -Christopher Hawkins, the Great and Terrible- > Respectfully, > Christopher Hawkins > Software Developer > (559) 687-7591 > http://www.christopherhawkins.com From Paul.Rogers at SummitMedia.co.uk Thu Sep 23 04:01:14 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Thu, 23 Sep 2004 10:01:14 +0100 Subject: [AccessD] Emailing directly from the form Message-ID: Is there a simple way to email from the form, specifying certain fields like [Name], [Department], [Date] please, Craftsfolk? (I use Outlook and Access2K) Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 From prodevmg at yahoo.com Thu Sep 23 04:32:24 2004 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 23 Sep 2004 02:32:24 -0700 (PDT) Subject: [AccessD] Overflow In-Reply-To: Message-ID: <20040923093224.19763.qmail@web20423.mail.yahoo.com> Check to see if there is a field that does some type of mathmatical calculation like division and see if there is possible division by zero. Access does not like that. Sead Kirlic wrote:I need help on this one. One of reports in my database will not open. Message I receive is "Overflow". There are total of 6 reports and 5 of them are OK. Sezak99 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. From prodevmg at yahoo.com Thu Sep 23 04:36:26 2004 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 23 Sep 2004 02:36:26 -0700 (PDT) Subject: [AccessD] Emailing directly from the form In-Reply-To: Message-ID: <20040923093626.53675.qmail@web20426.mail.yahoo.com> If you know VBA you can set up a button on your form and in the Click Event you can use the DoCmd.SendObject command and in the parameters for the recipient and subject and so on, you can reference a field on your form. Paul Rodgers wrote:Is there a simple way to email from the form, specifying certain fields like [Name], [Department], [Date] please, Craftsfolk? (I use Outlook and Access2K) Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. From roz.clarke at donnslaw.co.uk Thu Sep 23 04:53:10 2004 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Thu, 23 Sep 2004 10:53:10 +0100 Subject: [AccessD] Emailing directly from the form Message-ID: <61F915314798D311A2F800A0C9C8318805CED4DC@dibble.observatory.donnslaw.co.uk> All you need, as far as I can see, is the SendObject method. You can pass form fields as string variables into the header or body of the email. HTH Roz -----Original Message----- From: Paul Rodgers [mailto:Paul.Rogers at summitmedia.co.uk] Sent: 23 September 2004 10:01 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Emailing directly from the form Is there a simple way to email from the form, specifying certain fields like [Name], [Department], [Date] please, Craftsfolk? (I use Outlook and Access2K) Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From Paul.Rogers at SummitMedia.co.uk Thu Sep 23 05:03:36 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Thu, 23 Sep 2004 11:03:36 +0100 Subject: [AccessD] Emailing directly from the form Message-ID: Brilliant, Lonnie. I haven't done this before, and expected complications. Thanks very much. Cheers paul -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: 23 September 2004 10:36 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Emailing directly from the form If you know VBA you can set up a button on your form and in the Click Event you can use the DoCmd.SendObject command and in the parameters for the recipient and subject and so on, you can reference a field on your form. Paul Rodgers wrote:Is there a simple way to email from the form, specifying certain fields like [Name], [Department], [Date] please, Craftsfolk? (I use Outlook and Access2K) Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 From Paul.Rogers at SummitMedia.co.uk Thu Sep 23 05:10:04 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Thu, 23 Sep 2004 11:10:04 +0100 Subject: [AccessD] Emailing directly from the form Message-ID: Thanks, Roz. Yes, I have it now. Gratefully paul -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: 23 September 2004 10:53 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Emailing directly from the form All you need, as far as I can see, is the SendObject method. You can pass form fields as string variables into the header or body of the email. HTH Roz ----- --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 From stuart at lexacorp.com.pg Thu Sep 23 05:52:53 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 23 Sep 2004 20:52:53 +1000 Subject: [AccessD] Overflow In-Reply-To: <20040923093224.19763.qmail@web20423.mail.yahoo.com> References: Message-ID: <415337A5.25841.1AF8491@lexacorp.com.pg> On 23 Sep 2004 at 2:32, Lonnie Johnson wrote: > Check to see if there is a field that does some type of mathmatical > calculation like division and see if there is possible division by zero. > Access does not like that. > Or, more likely, a calculation which results in a variable being bigger than it's bounds such as an Integer value > 32767 -- Stuart From rbgajewski at adelphia.net Thu Sep 23 06:34:43 2004 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Thu, 23 Sep 2004 07:34:43 -0400 Subject: [AccessD] Emailing directly from the form In-Reply-To: Message-ID: Paul An example (watch wrap) ... ================================================ Private Sub cmdSendMail_AfterClick() Dim varMailTo As String, varCopyTo As String, varSubject As String, varBody As String ' Set your values (arbitrary field names, of course) varMailTo = txtRecipientEmail varCopyTo = txtCCEmail varSubject = txtSubject varBody = txtBody DoCmd.SendObject acSendNoObject, , , varMailTo, varCopyTo, , varSubject, varBody End Sub ================================================ Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Paul Rodgers Sent: Thursday, September 23, 2004 06:04 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Emailing directly from the form Brilliant, Lonnie. I haven't done this before, and expected complications. Thanks very much. Cheers paul -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: 23 September 2004 10:36 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Emailing directly from the form If you know VBA you can set up a button on your form and in the Click Event you can use the DoCmd.SendObject command and in the parameters for the recipient and subject and so on, you can reference a field on your form. Paul Rodgers wrote:Is there a simple way to email from the form, specifying certain fields like [Name], [Department], [Date] please, Craftsfolk? (I use Outlook and Access2K) Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CMackin at quiznos.com Thu Sep 23 08:49:51 2004 From: CMackin at quiznos.com (Mackin, Christopher) Date: Thu, 23 Sep 2004 07:49:51 -0600 Subject: [AccessD] ADPs - accessing SQL Views Message-ID: I would immediately check the permissions the developer has on that View. -Chris Mackin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Thursday, September 23, 2004 2:33 AM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com Subject: [AccessD] ADPs - accessing SQL Views Dear all I have had this problem raised by one of the developers on my team. Can anyone assist? "Using ADO objects via OLE DB, I can access data in my SQL Server database in the form of tables and stored procs with no problem. When I try and retrieve records from a SQL Server view, I get an OLE DB error. I have tried using all the different ways, command objects, recordsets etc." TIA Roz From Mark.Mitsules at ngc.com Thu Sep 23 09:01:11 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Thu, 23 Sep 2004 10:01:11 -0400 Subject: [AccessD] .TIFF Image of Report Pages Message-ID: A follow-up to this came Monday when I put forth a few of these suggestions. Much to my surprise and chagrin, another representative stated that he indeed HAD researched most of these automated options, but determined that the manual way wasn't really eating up all that much time. He finished his explanation with the comment that he was awaiting approval to commission a custom printer driver written specifically for us. This stance really bothered me. He is acknowledging a need for an automated solution, and is willing to spend top dollar just to address a situation that deep down he believes (in his department at least) is inconsequential. How warped is that? Mark -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Monday, September 20, 2004 10:36 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] .TIFF Image of Report Pages Mark, I've seen situations where things were being done in a rather labor intensive, inefficient manner just as you describe. I've proposed better solutions and people have initially gotten a bit excited about the idea but in the end they kept doing it the same way. Sooo. I'd say you're going to get to labeled as: 1. a genius :-) 2. a lazy tehcno-geek who thinks the computers can do everything but doesn't realize that not everybody can run the computers as well as you (i.e. the scanner staff would have to be trained to run the software to do this-it would be too efficient to just have the engineers do it.) ;-) 3. a trouble maker who is trying to put all those people with jobs in the scanning section out of work! :-( John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Friday, September 17, 2004 6:50 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] .TIFF Image of Report Pages Many thanks to you all. After a little research into how other divisions have handled this creation of .tiff files from AutoCAD .dwg files, I'm a little disappointed. I mean that, just on the hint that we might have to take over this responsibility, it has only taken 12 hours for you kind folks to provide a multitude of viable options. What scares me is that some divisions are actually doing this manually by scanning a hard copy. So, in comparison, would I be considered lazy or efficient for wanting a better way? ;) Mark -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, September 16, 2004 11:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] .TIFF Image of Report Pages Hi Mark The "Print To Picture" printer driver: http://progrex.narod.ru/ptp.html can output to PCX, BMP, or PNG files. Then you can convert to TIFF. /gustav > Does anyone have any brilliant ideas on how I could automatically generate a > .tiff image for each page in a report? > Background: Our company stores issued drawings in .tiff format. In the > past, drawings have been scanned in manually in a reproduction department. > Currently, I issue drawings using Access reports. It has been suggested > that the .tiff creation MAY fall to the engineering department. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Sep 23 08:55:09 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 23 Sep 2004 15:55:09 +0200 Subject: [AccessD] ADPs in the future In-Reply-To: References: Message-ID: <4724629855.20040923155509@cactus.dk> Hi all So now's perhaps the time for alternatives ... If you need 5 GB of database space running on a Linux engine, watch this free offer from Sybase: http://www.sybase.com/linuxpromo /gustav > Access 2003 is designed to work with SQL Server 2000, not the next > version of SQL Server. From Patricia.O'Connor at dfa.state.ny.us Thu Sep 23 09:47:46 2004 From: Patricia.O'Connor at dfa.state.ny.us (O'Connor, Patricia (OTDA)) Date: Thu, 23 Sep 2004 10:47:46 -0400 Subject: [AccessD] ADPs - accessing SQL Views Message-ID: Roz, What is the error you are getting? Check the permissions for the TABLES underlying the View as well as the view. We ran into something similar because the Code tables that made up the view did not have the same permissions as the main table. HTH Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at dfa.state.ny.us *(w) mailto:aa1160 at dfa.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke > Sent: Thursday, September 23, 2004 04:33 AM > To: 'Access Developers discussion and problem solving'; > dba-sqlserver at databaseadvisors.com > Subject: [AccessD] ADPs - accessing SQL Views > > Dear all > > I have had this problem raised by one of the developers on my > team. Can anyone assist? > > "Using ADO objects via OLE DB, I can access data in my SQL > Server database in the form of tables and stored procs with > no problem. When I try and retrieve records from a SQL > Server view, I get an OLE DB error. I have tried using all > the different ways, command objects, recordsets etc." > > TIA > > Roz > > > From Developer at UltraDNT.com Thu Sep 23 09:56:14 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Thu, 23 Sep 2004 10:56:14 -0400 Subject: [AccessD] ADPs in the future In-Reply-To: <4724629855.20040923155509@cactus.dk> Message-ID: <001901c4a17d$795d0620$0200a8c0@COA3> There are plenty of alternatives, but, even leaving out forms vs. asp/html/php UI debate, the mgmt tools are always lacking (if they exist) ,and reporting is damn near impossible. Is there anything on any platform that comes close to our favorite product - in one package? And even if ADPs won't work, MDBs with ODBC linked tables will work - and with just about ANYthing else. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, September 23, 2004 9:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADPs in the future Hi all So now's perhaps the time for alternatives ... If you need 5 GB of database space running on a Linux engine, watch this free offer from Sybase: http://www.sybase.com/linuxpromo /gustav > Access 2003 is designed to work with SQL Server 2000, not the next > version of SQL Server. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From roz.clarke at donnslaw.co.uk Thu Sep 23 09:57:02 2004 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Thu, 23 Sep 2004 15:57:02 +0100 Subject: [AccessD] ADPs - accessing SQL Views Message-ID: <61F915314798D311A2F800A0C9C8318805CED4EC@dibble.observatory.donnslaw.co.uk> Thanks Patti, and also Chris Tom (my developer) had got his connection objects mixed up and was getting the wrong permissions as a result. Cheers for your help Roz -----Original Message----- From: O'Connor, Patricia (OTDA) [mailto:Patricia.O'Connor at dfa.state.ny.us] Sent: 23 September 2004 15:48 To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADPs - accessing SQL Views Roz, What is the error you are getting? Check the permissions for the TABLES underlying the View as well as the view. We ran into something similar because the Code tables that made up the view did not have the same permissions as the main table. HTH Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at dfa.state.ny.us *(w) mailto:aa1160 at dfa.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke > Sent: Thursday, September 23, 2004 04:33 AM > To: 'Access Developers discussion and problem solving'; > dba-sqlserver at databaseadvisors.com > Subject: [AccessD] ADPs - accessing SQL Views > > Dear all > > I have had this problem raised by one of the developers on my > team. Can anyone assist? > > "Using ADO objects via OLE DB, I can access data in my SQL > Server database in the form of tables and stored procs with > no problem. When I try and retrieve records from a SQL > Server view, I get an OLE DB error. I have tried using all > the different ways, command objects, recordsets etc." > > TIA > > Roz > > > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From JColby at dispec.com Thu Sep 23 11:11:13 2004 From: JColby at dispec.com (Colby, John) Date: Thu, 23 Sep 2004 12:11:13 -0400 Subject: [AccessD] Windows XP - Access closes unexpectedly Message-ID: <05C61C52D7CAD211A7830008C7DF6F1079BDEB@DISABILITYINS01> Have any of you seen Access close unexpectedly on Windows XP machines? My client has a mix of Win98 / Win2K and WinXP machines. EVERY machine with WinXP is reporting the app just shutting down, no warning, no nothing. NONE of the non-XP machines reports this. http://support.microsoft.com/default.aspx?kbid=320299 reports this problem, but with an error message. My client DOES have some sort of network issues, all the machines (users) have, at one time or another reported the old "disk or network error" meaning they lost connection to the server briefly. In Windows98/2k you just continue on. It would seem that in Windows XP the OS itself will terminate Access when this happens. A tad RUDE don't you think? Anyone else seeing this? John W. Colby The DIS Database Guy From bheid at appdevgrp.com Thu Sep 23 11:58:28 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 23 Sep 2004 12:58:28 -0400 Subject: [AccessD] Windows XP - Access closes unexpectedly In-Reply-To: <916187228923D311A6FE00A0CC3FAA309A6B77@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB873@ADGSERVER> Haven't heard of that one. Is there anything in the event logs? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John Sent: Thursday, September 23, 2004 12:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Windows XP - Access closes unexpectedly Have any of you seen Access close unexpectedly on Windows XP machines? My client has a mix of Win98 / Win2K and WinXP machines. EVERY machine with WinXP is reporting the app just shutting down, no warning, no nothing. NONE of the non-XP machines reports this. http://support.microsoft.com/default.aspx?kbid=320299 reports this problem, but with an error message. My client DOES have some sort of network issues, all the machines (users) have, at one time or another reported the old "disk or network error" meaning they lost connection to the server briefly. In Windows98/2k you just continue on. It would seem that in Windows XP the OS itself will terminate Access when this happens. A tad RUDE don't you think? Anyone else seeing this? John W. Colby The DIS Database Guy -- From Erwin.Craps at ithelps.be Thu Sep 23 12:05:11 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Thu, 23 Sep 2004 19:05:11 +0200 Subject: [AccessD] Windows XP - Access closes unexpectedly Message-ID: <46B976F2B698FF46A4FE7636509B22DF735E@stekelbes.ithelps.local> Access 2003 terminates regulary... And for the rest Access also terminates with incorrect API calls Maybe u use some API call that is not suported by XP Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Bobby Heid Verzonden: donderdag 23 september 2004 18:58 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] Windows XP - Access closes unexpectedly Haven't heard of that one. Is there anything in the event logs? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John Sent: Thursday, September 23, 2004 12:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Windows XP - Access closes unexpectedly Have any of you seen Access close unexpectedly on Windows XP machines? My client has a mix of Win98 / Win2K and WinXP machines. EVERY machine with WinXP is reporting the app just shutting down, no warning, no nothing. NONE of the non-XP machines reports this. http://support.microsoft.com/default.aspx?kbid=320299 reports this problem, but with an error message. My client DOES have some sort of network issues, all the machines (users) have, at one time or another reported the old "disk or network error" meaning they lost connection to the server briefly. In Windows98/2k you just continue on. It would seem that in Windows XP the OS itself will terminate Access when this happens. A tad RUDE don't you think? Anyone else seeing this? John W. Colby The DIS Database Guy -- -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Sep 23 12:07:23 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 23 Sep 2004 19:07:23 +0200 Subject: [AccessD] Connecting to SQL from Access w/a single login? In-Reply-To: <100F91B31300334B89EC531C9DCB086506595F@tccexch01.tappeconstruction.net> References: <100F91B31300334B89EC531C9DCB086506595F@tccexch01.tappeconstruction.net> Message-ID: <8236164341.20040923190723@cactus.dk> Hi Brett >>First, I think this is for attached Jet databases only. > No, I have used this extensively for attaching to our SQL Server 2000 > databases. It won't hurt, it's just that if I check the attributes of some tables linked from SQL Server where the password is saved in the connect string, this attribute is NOT set. >>Also, this should not be necessary: > A couple of points here: > 1. The TableDef object doesn't have a Refresh method. Perhaps > RefreshLink? Yes. > 2. If you try this, omit the tdf.SourceTableName = rs!ForeignName line. > It blows up. Yes, sorry, it is only for creating a linked tabledef. It makes no sense for an already linked table. > 3. I can't remember the exact reason why I dropped and recreated the > table. I can recall trying the simple update and RefreshLink but had > difficulties. Can't remember much more than that. Seems to work OK > now, though. Well, after 10 years with Access, I've have yet to see this fail. I believe you safely can use RefreshLink for reattaching a table when server or file has been moved. It is way faster too. /gustav > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Sunday, September 19, 2004 9:56 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Connecting to SQL from Access w/a single login? > Hi Brett >> Try setting tdAttach.Attributes = dbAttachSavePWD > First, I think this is for attached Jet databases only. > Second, I guess this should be: > tdAttach.Attributes = tdAttach.Attributes Or dbAttachSavePWD > or you would kill any other attribute (or raise an error). > Also, this should not be necessary: >> Do Until rs.EOF >> Debug.Print rs!Name >> Set tdf = db.CreateTableDef(rs!Name) >> >> tdf.Connect = "ODBC;" & _ >> ExtractArg(rs!Connect, "DRIVER") & ";" & _ >> "SERVER=" & strServer & ";" & _ >> ExtractArg(rs!Connect, "DATABASE") & ";" & _ >> "UID=" & strUID & ";" & _ >> "PWD=" & strPWD >> >> tdf.Attributes = dbAttachSavePWD >> tdf.SourceTableName = rs!ForeignName >> db.TableDefs.Delete rs!Name >> db.TableDefs.Append tdf >> >> rs.MoveNext >> Loop > A Refresh is normally fine (and faster): > Set tdf = db.TableDefs(rs!Name) > tdf.Connect = "ODBC;" & _ ... > tdf.Attributes = dbAttachSavePWD > tdf.SourceTableName = rs!ForeignName > tdf.Refresh > /gustav >> I'm using a similar routine currently. I have a metadata table full >> of information about the data tables. It contains the localname, path >> and sourceobject name of the table I'm linking to in SQL Server. >> The actual linking is fine, but as you said remembering the password >> is an issue. From JColby at dispec.com Thu Sep 23 12:15:41 2004 From: JColby at dispec.com (Colby, John) Date: Thu, 23 Sep 2004 13:15:41 -0400 Subject: [AccessD] Windows XP - Access closes unexpectedly Message-ID: <05C61C52D7CAD211A7830008C7DF6F1079BDEC@DISABILITYINS01> what event logs? John W. Colby The DIS Database Guy -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Thursday, September 23, 2004 12:58 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Windows XP - Access closes unexpectedly Haven't heard of that one. Is there anything in the event logs? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John Sent: Thursday, September 23, 2004 12:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Windows XP - Access closes unexpectedly Have any of you seen Access close unexpectedly on Windows XP machines? My client has a mix of Win98 / Win2K and WinXP machines. EVERY machine with WinXP is reporting the app just shutting down, no warning, no nothing. NONE of the non-XP machines reports this. http://support.microsoft.com/default.aspx?kbid=320299 reports this problem, but with an error message. My client DOES have some sort of network issues, all the machines (users) have, at one time or another reported the old "disk or network error" meaning they lost connection to the server briefly. In Windows98/2k you just continue on. It would seem that in Windows XP the OS itself will terminate Access when this happens. A tad RUDE don't you think? Anyone else seeing this? John W. Colby The DIS Database Guy -- -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Thu Sep 23 12:48:07 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 23 Sep 2004 13:48:07 -0400 Subject: [AccessD] Windows XP - Access closes unexpectedly In-Reply-To: <916187228923D311A6FE00A0CC3FAA309A6BCB@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB876@ADGSERVER> The application, security, and system logs. They would be somewhere under administrative tools (or maybe under the Manage Computer add-in). Under Win2K, it is under Programs\Administrative Tools\Event Viewer. I'll look at home to see where it is in XP. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John Sent: Thursday, September 23, 2004 1:16 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Windows XP - Access closes unexpectedly what event logs? John W. Colby The DIS Database Guy -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Thursday, September 23, 2004 12:58 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Windows XP - Access closes unexpectedly Haven't heard of that one. Is there anything in the event logs? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John Sent: Thursday, September 23, 2004 12:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Windows XP - Access closes unexpectedly Have any of you seen Access close unexpectedly on Windows XP machines? My client has a mix of Win98 / Win2K and WinXP machines. EVERY machine with WinXP is reporting the app just shutting down, no warning, no nothing. NONE of the non-XP machines reports this. http://support.microsoft.com/default.aspx?kbid=320299 reports this problem, but with an error message. My client DOES have some sort of network issues, all the machines (users) have, at one time or another reported the old "disk or network error" meaning they lost connection to the server briefly. In Windows98/2k you just continue on. It would seem that in Windows XP the OS itself will terminate Access when this happens. A tad RUDE don't you think? Anyone else seeing this? John W. Colby The DIS Database Guy -- From davide at dalyn.co.nz Thu Sep 23 13:36:29 2004 From: davide at dalyn.co.nz (David Emerson) Date: Fri, 24 Sep 2004 06:36:29 +1200 Subject: [AccessD] Windows XP - Access closes unexpectedly In-Reply-To: <916187228923D311A6FE00A0CC3FAA305BB876@ADGSERVER> References: <916187228923D311A6FE00A0CC3FAA309A6BCB@ADGSERVER> <916187228923D311A6FE00A0CC3FAA305BB876@ADGSERVER> Message-ID: <6.1.2.0.0.20040924063106.01a4c870@mail.dalyn.co.nz> John, Does it happen during a specific part of the programme? I had a situation where every time I tried to import an excel spreadsheet Access would come up with "Unexpected Error", then close down. Eventually it was tracked down to the shortcut being used to open the programme (a virtually identical copy of the FE was opening fine. When we changed its shortcut to the problem FE then the problem went away. When we tried opening the good FE with the corrupt shortcut the good FE started crashing. Our solution was to delete the bad shortcut and make a copy of the good shortcut. Never found out why the shortcut should have caused the problem.) Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Churton Park Wellington, New Zealand Ph/Fax (04) 478-7456 Mobile 027-280-9348 At 24/09/2004, you wrote: >The application, security, and system logs. They would be somewhere under >administrative tools (or maybe under the Manage Computer add-in). Under >Win2K, it is under Programs\Administrative Tools\Event Viewer. > >I'll look at home to see where it is in XP. > >Bobby > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John >Sent: Thursday, September 23, 2004 1:16 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Windows XP - Access closes unexpectedly > > >what event logs? > >John W. Colby >The DIS Database Guy > > >-----Original Message----- >From: Bobby Heid [mailto:bheid at appdevgrp.com] >Sent: Thursday, September 23, 2004 12:58 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Windows XP - Access closes unexpectedly > > >Haven't heard of that one. Is there anything in the event logs? > >Bobby > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John >Sent: Thursday, September 23, 2004 12:11 PM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Windows XP - Access closes unexpectedly > > >Have any of you seen Access close unexpectedly on Windows XP machines? My >client has a mix of Win98 / Win2K and WinXP machines. EVERY machine with >WinXP is reporting the app just shutting down, no warning, no nothing. NONE >of the non-XP machines reports this. > >http://support.microsoft.com/default.aspx?kbid=320299 > >reports this problem, but with an error message. My client DOES have some >sort of network issues, all the machines (users) have, at one time or >another reported the old "disk or network error" meaning they lost >connection to the server briefly. In Windows98/2k you just continue on. It >would seem that in Windows XP the OS itself will terminate Access when this >happens. A tad RUDE don't you think? > >Anyone else seeing this? > >John W. Colby >The DIS Database Guy From KIsmert at TexasSystems.com Thu Sep 23 15:06:59 2004 From: KIsmert at TexasSystems.com (Ken Ismert) Date: Thu, 23 Sep 2004 15:06:59 -0500 Subject: [AccessD] ADPs in the future In-Reply-To: <4724629855.20040923155509@cactus.dk> Message-ID: <005c01c4a1a8$e2f91990$2a3ca8c0@TEXASSYSTEMS.COM> > So now's perhaps the time for alternatives ... >/gustav Hear, Hear. This is yet more evidence that Access is dead. Despite its unique advantages, Access is increasingly obsolescent in the current Microsoft vision of .NET, SQL Server, web-centric, and distributed computing. More evidence of this comes from recent reports of a precipitous drop in Access consulting rates in our local area. How low? Let's just say you could earn more if you were a certified welder than if you solely designed Access databases. Around here, large businesses are simply not doing serious Access development. There are still small to mid-size businesses that rely on Access, and they will provide the bulk of Access-related jobs in the coming years, but even they will dwindle over time as newer tools gain market saturation. So, fellow AccessD posters, I would gently suggest that we all take a serious look now at alternatives that will provide a better source of income in the future. We must start developing competence in new areas, because opportunities in Access will likely dry up in the next couple of years. Its no fun seeing the skill set that you have worked on for so many years be thrown away so casually, but that is simply a harsh fact of life when you depend for your livelihood on a company whose market imperitives demand obsoleting the current code base in order to sell the next. -Ken >> There is no service pack or quick fix being planned as far >> as I know because of the amount of work it would entail. >> If you stop to think about it, it's pretty hard to see how >> accomodating new Yukon features like CLR assemblies and >> complex data types in the ADP designers could be achieved >> without a complete rewrite. >> --Mary Chipman From dwaters at usinternet.com Thu Sep 23 15:34:45 2004 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 23 Sep 2004 15:34:45 -0500 Subject: [AccessD] ADPs in the future In-Reply-To: <28499797.1095971093054.JavaMail.root@sniper9.usinternet.com> Message-ID: <002201c4a1ac$c41e6670$de1811d8@danwaters> Ken, Let's not sink the ship just yet. A new version of Access (12) will soon begin to be discussed. Let's see what it is first. OTOH, the skills that I know I've developed will let learn whatever I need to learn to make my future work! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ken Ismert Sent: Thursday, September 23, 2004 3:07 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future > So now's perhaps the time for alternatives ... >/gustav Hear, Hear. This is yet more evidence that Access is dead. Despite its unique advantages, Access is increasingly obsolescent in the current Microsoft vision of .NET, SQL Server, web-centric, and distributed computing. More evidence of this comes from recent reports of a precipitous drop in Access consulting rates in our local area. How low? Let's just say you could earn more if you were a certified welder than if you solely designed Access databases. Around here, large businesses are simply not doing serious Access development. There are still small to mid-size businesses that rely on Access, and they will provide the bulk of Access-related jobs in the coming years, but even they will dwindle over time as newer tools gain market saturation. So, fellow AccessD posters, I would gently suggest that we all take a serious look now at alternatives that will provide a better source of income in the future. We must start developing competence in new areas, because opportunities in Access will likely dry up in the next couple of years. Its no fun seeing the skill set that you have worked on for so many years be thrown away so casually, but that is simply a harsh fact of life when you depend for your livelihood on a company whose market imperitives demand obsoleting the current code base in order to sell the next. -Ken >> There is no service pack or quick fix being planned as far >> as I know because of the amount of work it would entail. >> If you stop to think about it, it's pretty hard to see how >> accomodating new Yukon features like CLR assemblies and >> complex data types in the ADP designers could be achieved >> without a complete rewrite. >> --Mary Chipman -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Sep 23 16:25:55 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 23 Sep 2004 14:25:55 -0700 Subject: [AccessD] One hardware solution to MS buffer overflow security problems References: <002201c4a1ac$c41e6670$de1811d8@danwaters> Message-ID: <41533F63.9070204@shaw.ca> This solution is to use Win XP SP2 and brand new Intel chips with Execute Disable bit set Right now it is only available in Intel Itanium Servers and AMD Athalon 64 bit servers. http://www.intel.com/business/bss/infrastructure/security/xdbit.htm What it does, is set apart pages of memory to be data only, so code cannot be executed from it. http://www.intel.com/business/bss/infrastructure/security/flash.htm -- Marty Connelly Victoria, B.C. Canada From jwcolby at colbyconsulting.com Thu Sep 23 19:03:21 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 23 Sep 2004 20:03:21 -0400 Subject: [AccessD] One hardware solution to MS buffer overflow securityproblems In-Reply-To: <41533F63.9070204@shaw.ca> Message-ID: <002501c4a1c9$e86ea400$e8dafea9@ColbyM6805> >and brand new Intel chips with Execute Disable bit set Uhh... AMD might not like you calling THEIR technology "Intel chips". AMD invented the concept (or at least was first to market with it) in the Athlon 64 processor family. Intel promptly copied it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Thursday, September 23, 2004 5:26 PM To: Access Developers discussion and problem solving Subject: [AccessD] One hardware solution to MS buffer overflow securityproblems This solution is to use Win XP SP2 and brand new Intel chips with Execute Disable bit set Right now it is only available in Intel Itanium Servers and AMD Athalon 64 bit servers. http://www.intel.com/business/bss/infrastructure/security/xdbit.htm What it does, is set apart pages of memory to be data only, so code cannot be executed from it. http://www.intel.com/business/bss/infrastructure/security/flash.htm -- Marty Connelly Victoria, B.C. Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From listmaster at databaseadvisors.com Thu Sep 23 20:27:48 2004 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Thu, 23 Sep 2004 21:27:48 -0400 Subject: [AccessD] Administrivia - ADMIN Server Troubles Message-ID: <41533FD4.8127.698BF2@localhost> The mail server that is running DBA's mailing lists is in the midst of an identity crisis. It doesn't want to act like a mial server, which is why some mail is taking hours and days to deliver, as some of you have noticed recently. So I will need to take the server off-line this weekend. The server will be going off-line at around 9pm EDT (UTC +0400). I can't say for sure when it will be back on-line, but it will be before Monday Morning (UTC+0400) (Late morning for those of you in Europe and the UK) Hopefully this will resolve the problems and thanks for your patience while we work through this. From actebs at actebs.com.au Fri Sep 24 02:13:14 2004 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 24 Sep 2004 17:13:14 +1000 Subject: [AccessD] Elegant Solution? Message-ID: <2025BB6F17FCB54791F23CD505583328041BB3@starfleet.unknown.local> Hi Everyone, Does anyone have any code or such that handles the following elegantly: Dim dbs as DAO.Database Dim rst as DAO.Recordset Set dbs etc etc Do whatever here dbs.close dbs = nothing etc etc I am tired of having do the above to open database connections and recordsets in the above manner in every Sub or Function. Surely there's a more elegant method that someone has come up with here you just parse the SQL Statement through or something... Any suggestions or links will be greatly appreciated... Regards Vlad From Erwin.Craps at ithelps.be Fri Sep 24 02:57:25 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Fri, 24 Sep 2004 09:57:25 +0200 Subject: [AccessD] Elegant Solution? Message-ID: <46B976F2B698FF46A4FE7636509B22DF0ADC10@stekelbes.ithelps.local> I never do dbs as DAO.Database I always do Set rstTemp as currentdb.openrecordset (bla bla) Dbs can be replaced by currentdb Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS Sent: Friday, September 24, 2004 9:13 AM To: access group Subject: [AccessD] Elegant Solution? Hi Everyone, Does anyone have any code or such that handles the following elegantly: Dim dbs as DAO.Database Dim rst as DAO.Recordset Set dbs etc etc Do whatever here dbs.close dbs = nothing etc etc I am tired of having do the above to open database connections and recordsets in the above manner in every Sub or Function. Surely there's a more elegant method that someone has come up with here you just parse the SQL Statement through or something... Any suggestions or links will be greatly appreciated... Regards Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Sep 24 05:14:50 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 24 Sep 2004 12:14:50 +0200 Subject: [AccessD] Elegant Solution? In-Reply-To: <2025BB6F17FCB54791F23CD505583328041BB3@starfleet.unknown.local> References: <2025BB6F17FCB54791F23CD505583328041BB3@starfleet.unknown.local> Message-ID: <8011754091.20040924121450@cactus.dk> Hi Vlad I use copy-and-paste ... In 2000 I brought up the idea of "terminating" any object before exiting a function. Shamil suggested this solution: I think you can write the following sub which slightly extends Gustav's idea: Sub TerminateExt(ParamArray aobj() As Variant) On Error GoTo TerminateExt_Err Dim lngIdx As Long If UBound(aobj) > -1 Then For lngIdx = 0 To UBound(aobj) aobj(lngIdx).Close Set aobj(lngIdx) = Nothing Next lngIdx End If TerminateExt_Exit: Exit Sub TerminateExt_Err: Select Case Err Case 91 ' Object obj doesn't exist. Case 438 ' Object obj doesn't support method close. Case 3420 ' Object obj has already been closed. Case Else ' Unknown error. MsgBox "Error " & Err & ". " & Err.Description, _ vbExclamation, _ "Error terminating object (ParamarrayIndex = " & lngIdx & ", " & _ "TypeName = " & TypeName(aobj(lngIdx)) & ")" End Select Resume Next End Sub and use it in your case this way: TerminateExt MyObject2, MyObject1, rst,db HTHAWOK, Shamil --- But I must admit I've never used it ... /gustav > Does anyone have any code or such that handles the following elegantly: > Dim dbs as DAO.Database > Dim rst as DAO.Recordset > Set dbs etc etc > Do whatever here > dbs.close > dbs = nothing etc etc > I am tired of having do the above to open database connections and > recordsets in the above manner in every Sub or Function. Surely there's > a more elegant method that someone has come up with here you just parse > the SQL Statement through or something... > Any suggestions or links will be greatly appreciated... > Regards > Vlad From accma at sympatico.ca Fri Sep 24 06:08:28 2004 From: accma at sympatico.ca (Annie Courchesne, CMA) Date: Fri, 24 Sep 2004 07:08:28 -0400 Subject: [AccessD] Delete record via query with another query Message-ID: Hi group, Here my problem. I want to be able to delete record from a table using the result of a query. Is that possible? I was able to do it running code and a recordset... but, to increase the speed, I would like to so it with a query. Thanks for any info you may have. Annie Courchesne, CMA From bheid at appdevgrp.com Fri Sep 24 06:18:42 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 24 Sep 2004 07:18:42 -0400 Subject: [AccessD] Elegant Solution? In-Reply-To: <916187228923D311A6FE00A0CC3FAA309A6D45@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB87B@ADGSERVER> I thought using currentdb everywhere used extra resources and was a no-no. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Friday, September 24, 2004 3:57 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Elegant Solution? I never do dbs as DAO.Database I always do Set rstTemp as currentdb.openrecordset (bla bla) Dbs can be replaced by currentdb Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS Sent: Friday, September 24, 2004 9:13 AM To: access group Subject: [AccessD] Elegant Solution? Hi Everyone, Does anyone have any code or such that handles the following elegantly: Dim dbs as DAO.Database Dim rst as DAO.Recordset Set dbs etc etc Do whatever here dbs.close dbs = nothing etc etc I am tired of having do the above to open database connections and recordsets in the above manner in every Sub or Function. Surely there's a more elegant method that someone has come up with here you just parse the SQL Statement through or something... Any suggestions or links will be greatly appreciated... Regards Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Sep 24 06:43:44 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 24 Sep 2004 13:43:44 +0200 Subject: [AccessD] Delete record via query with another query In-Reply-To: References: Message-ID: <3917081521.20040924134344@cactus.dk> Hi Annie Yes, you can do something like Delete * From sometable Where ID In (Select SomeID From anothertable Where ...) /gustav > Here my problem. I want to be able to delete record from a table using the > result of a query. Is that possible? I was able to do it running code and > a recordset... but, to increase the speed, I would like to so it with a > query. From DWUTKA at marlow.com Fri Sep 24 07:11:36 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 24 Sep 2004 07:11:36 -0500 Subject: [AccessD] Elegant Solution? Message-ID: <123701F54509D9119A4F00D0B747349016CF8E@main2.marlow.com> Put the code in a module, and send the recordset through as an agrument ByRef. Drew -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, September 24, 2004 2:13 AM To: access group Subject: [AccessD] Elegant Solution? Hi Everyone, Does anyone have any code or such that handles the following elegantly: Dim dbs as DAO.Database Dim rst as DAO.Recordset Set dbs etc etc Do whatever here dbs.close dbs = nothing etc etc I am tired of having do the above to open database connections and recordsets in the above manner in every Sub or Function. Surely there's a more elegant method that someone has come up with here you just parse the SQL Statement through or something... Any suggestions or links will be greatly appreciated... Regards Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Sep 24 07:13:05 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 24 Sep 2004 07:13:05 -0500 Subject: [AccessD] Delete record via query with another query Message-ID: <123701F54509D9119A4F00D0B747349016CF8F@main2.marlow.com> what is the query you want to delete from? Drew -----Original Message----- From: Annie Courchesne, CMA [mailto:accma at sympatico.ca] Sent: Friday, September 24, 2004 6:08 AM To: Accessd Subject: [AccessD] Delete record via query with another query Hi group, Here my problem. I want to be able to delete record from a table using the result of a query. Is that possible? I was able to do it running code and a recordset... but, to increase the speed, I would like to so it with a query. Thanks for any info you may have. Annie Courchesne, CMA -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Fri Sep 24 07:37:48 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Fri, 24 Sep 2004 08:37:48 -0400 Subject: [AccessD] Elegant Solution? In-Reply-To: <123701F54509D9119A4F00D0B747349016CF8E@main2.marlow.com> Message-ID: <001701c4a233$4d121900$0200a8c0@COA3> I *think* he means the opposite ... That is, he needs to set up a function that takes in the SQL statement and returns an RS. Steve Public function ReturnRS (stSQL as string) as DAO.recordset ' not debating these specifics: ' Could use: ' Set ReturnRS= currentdb.openrecordset(stSQL,dbopensnapshot) End function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, September 24, 2004 8:12 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Elegant Solution? Put the code in a module, and send the recordset through as an agrument ByRef. Drew -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, September 24, 2004 2:13 AM To: access group Subject: [AccessD] Elegant Solution? Hi Everyone, Does anyone have any code or such that handles the following elegantly: Dim dbs as DAO.Database Dim rst as DAO.Recordset Set dbs etc etc Do whatever here dbs.close dbs = nothing etc etc I am tired of having do the above to open database connections and recordsets in the above manner in every Sub or Function. Surely there's a more elegant method that someone has come up with here you just parse the SQL Statement through or something... Any suggestions or links will be greatly appreciated... Regards Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Fri Sep 24 07:45:55 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 24 Sep 2004 08:45:55 -0400 Subject: [AccessD] Advisor.com Message-ID: <08F823FD83787D4BA0B99CA580AD3C74089C45@TTNEXCHCL2.hshhp.com> Is anyone going to the Advisor.com event in Las Vegas next week? Jim DeMarco Director Application Development Hudson Health Plan *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Erwin.Craps at ithelps.be Fri Sep 24 08:14:52 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Fri, 24 Sep 2004 15:14:52 +0200 Subject: [AccessD] Elegant Solution? Message-ID: <46B976F2B698FF46A4FE7636509B22DF0ADC1E@stekelbes.ithelps.local> Well I have no idea. I started using currentdb when there was this issue with workspace or somthing when they started to use jet as an windows OS database to. I can't recal anything I read that disencourages use of currentdb in a DAO environment. Maybe this used to be an issue with an older version of Access... Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Friday, September 24, 2004 1:19 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Elegant Solution? I thought using currentdb everywhere used extra resources and was a no-no. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Friday, September 24, 2004 3:57 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Elegant Solution? I never do dbs as DAO.Database I always do Set rstTemp as currentdb.openrecordset (bla bla) Dbs can be replaced by currentdb Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS Sent: Friday, September 24, 2004 9:13 AM To: access group Subject: [AccessD] Elegant Solution? Hi Everyone, Does anyone have any code or such that handles the following elegantly: Dim dbs as DAO.Database Dim rst as DAO.Recordset Set dbs etc etc Do whatever here dbs.close dbs = nothing etc etc I am tired of having do the above to open database connections and recordsets in the above manner in every Sub or Function. Surely there's a more elegant method that someone has come up with here you just parse the SQL Statement through or something... Any suggestions or links will be greatly appreciated... Regards Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Sep 24 08:29:47 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 24 Sep 2004 08:29:47 -0500 Subject: [AccessD] Elegant Solution? Message-ID: <123701F54509D9119A4F00D0B747349016CF91@main2.marlow.com> I was implying the sql statement: Function OpenRS(ByRef rs AS DAO.Recordset, ByVal strSQL as String) End Function Works either way..... Drew -----Original Message----- From: Steve Conklin (Developer at UltraDNT) [mailto:Developer at ultradnt.com] Sent: Friday, September 24, 2004 7:38 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Elegant Solution? I *think* he means the opposite ... That is, he needs to set up a function that takes in the SQL statement and returns an RS. Steve Public function ReturnRS (stSQL as string) as DAO.recordset ' not debating these specifics: ' Could use: ' Set ReturnRS= currentdb.openrecordset(stSQL,dbopensnapshot) End function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, September 24, 2004 8:12 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Elegant Solution? Put the code in a module, and send the recordset through as an agrument ByRef. Drew -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, September 24, 2004 2:13 AM To: access group Subject: [AccessD] Elegant Solution? Hi Everyone, Does anyone have any code or such that handles the following elegantly: Dim dbs as DAO.Database Dim rst as DAO.Recordset Set dbs etc etc Do whatever here dbs.close dbs = nothing etc etc I am tired of having do the above to open database connections and recordsets in the above manner in every Sub or Function. Surely there's a more elegant method that someone has come up with here you just parse the SQL Statement through or something... Any suggestions or links will be greatly appreciated... Regards Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Sep 24 08:43:21 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 24 Sep 2004 09:43:21 -0400 Subject: [AccessD] Windows XP - Access closes unexpectedly In-Reply-To: <6.1.2.0.0.20040924063106.01a4c870@mail.dalyn.co.nz> Message-ID: <003301c4a23c$78971040$e8dafea9@ColbyM6805> Scary stuff eh? A shortcut causes a program to crash. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Thursday, September 23, 2004 2:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Windows XP - Access closes unexpectedly John, Does it happen during a specific part of the programme? I had a situation where every time I tried to import an excel spreadsheet Access would come up with "Unexpected Error", then close down. Eventually it was tracked down to the shortcut being used to open the programme (a virtually identical copy of the FE was opening fine. When we changed its shortcut to the problem FE then the problem went away. When we tried opening the good FE with the corrupt shortcut the good FE started crashing. Our solution was to delete the bad shortcut and make a copy of the good shortcut. Never found out why the shortcut should have caused the problem.) Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Churton Park Wellington, New Zealand Ph/Fax (04) 478-7456 Mobile 027-280-9348 At 24/09/2004, you wrote: >The application, security, and system logs. They would be somewhere >under administrative tools (or maybe under the Manage Computer add-in). >Under Win2K, it is under Programs\Administrative Tools\Event Viewer. > >I'll look at home to see where it is in XP. > >Bobby > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John >Sent: Thursday, September 23, 2004 1:16 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Windows XP - Access closes unexpectedly > > >what event logs? > >John W. Colby >The DIS Database Guy > > >-----Original Message----- >From: Bobby Heid [mailto:bheid at appdevgrp.com] >Sent: Thursday, September 23, 2004 12:58 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Windows XP - Access closes unexpectedly > > >Haven't heard of that one. Is there anything in the event logs? > >Bobby > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John >Sent: Thursday, September 23, 2004 12:11 PM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Windows XP - Access closes unexpectedly > > >Have any of you seen Access close unexpectedly on Windows XP machines? >My client has a mix of Win98 / Win2K and WinXP machines. EVERY machine >with WinXP is reporting the app just shutting down, no warning, no >nothing. NONE of the non-XP machines reports this. > >http://support.microsoft.com/default.aspx?kbid=320299 > >reports this problem, but with an error message. My client DOES have >some sort of network issues, all the machines (users) have, at one time >or another reported the old "disk or network error" meaning they lost >connection to the server briefly. In Windows98/2k you just continue >on. It would seem that in Windows XP the OS itself will terminate >Access when this happens. A tad RUDE don't you think? > >Anyone else seeing this? > >John W. Colby >The DIS Database Guy -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Sep 24 09:06:06 2004 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 24 Sep 2004 09:06:06 -0500 Subject: [AccessD] Elegant Solution? In-Reply-To: <25088583.1096024872899.JavaMail.root@sniper8.usinternet.com> Message-ID: <000401c4a23f$a2a99a80$de1811d8@danwaters> Using CurrentDB everywhere is slower. I use: Set rst = DBEngine(0)(0).OpenRecordset(stg,db.....) I did a test once and determined that using the above line is exactly 8 times faster than using: Set rst = CurrentDB.OpenRecordset(stg,db.....) However, you must use CurrentDB for some things, like setting the current database's properties in VBA. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Friday, September 24, 2004 6:19 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Elegant Solution? I thought using currentdb everywhere used extra resources and was a no-no. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Friday, September 24, 2004 3:57 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Elegant Solution? I never do dbs as DAO.Database I always do Set rstTemp as currentdb.openrecordset (bla bla) Dbs can be replaced by currentdb Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS Sent: Friday, September 24, 2004 9:13 AM To: access group Subject: [AccessD] Elegant Solution? Hi Everyone, Does anyone have any code or such that handles the following elegantly: Dim dbs as DAO.Database Dim rst as DAO.Recordset Set dbs etc etc Do whatever here dbs.close dbs = nothing etc etc I am tired of having do the above to open database connections and recordsets in the above manner in every Sub or Function. Surely there's a more elegant method that someone has come up with here you just parse the SQL Statement through or something... Any suggestions or links will be greatly appreciated... Regards Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Sep 24 09:09:20 2004 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 24 Sep 2004 09:09:20 -0500 Subject: [AccessD] Windows XP - Access closes unexpectedly In-Reply-To: <17711956.1096033933928.JavaMail.root@sniper6.usinternet.com> Message-ID: <000501c4a240$1691b130$de1811d8@danwaters> I've also seen, only once, a shortcut that was apparently corrupt. Deleting it and replacing it with a new one solved the problem. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday, September 24, 2004 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Windows XP - Access closes unexpectedly Scary stuff eh? A shortcut causes a program to crash. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Thursday, September 23, 2004 2:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Windows XP - Access closes unexpectedly John, Does it happen during a specific part of the programme? I had a situation where every time I tried to import an excel spreadsheet Access would come up with "Unexpected Error", then close down. Eventually it was tracked down to the shortcut being used to open the programme (a virtually identical copy of the FE was opening fine. When we changed its shortcut to the problem FE then the problem went away. When we tried opening the good FE with the corrupt shortcut the good FE started crashing. Our solution was to delete the bad shortcut and make a copy of the good shortcut. Never found out why the shortcut should have caused the problem.) Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Churton Park Wellington, New Zealand Ph/Fax (04) 478-7456 Mobile 027-280-9348 At 24/09/2004, you wrote: >The application, security, and system logs. They would be somewhere >under administrative tools (or maybe under the Manage Computer add-in). >Under Win2K, it is under Programs\Administrative Tools\Event Viewer. > >I'll look at home to see where it is in XP. > >Bobby > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John >Sent: Thursday, September 23, 2004 1:16 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Windows XP - Access closes unexpectedly > > >what event logs? > >John W. Colby >The DIS Database Guy > > >-----Original Message----- >From: Bobby Heid [mailto:bheid at appdevgrp.com] >Sent: Thursday, September 23, 2004 12:58 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Windows XP - Access closes unexpectedly > > >Haven't heard of that one. Is there anything in the event logs? > >Bobby > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John >Sent: Thursday, September 23, 2004 12:11 PM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Windows XP - Access closes unexpectedly > > >Have any of you seen Access close unexpectedly on Windows XP machines? >My client has a mix of Win98 / Win2K and WinXP machines. EVERY machine >with WinXP is reporting the app just shutting down, no warning, no >nothing. NONE of the non-XP machines reports this. > >http://support.microsoft.com/default.aspx?kbid=320299 > >reports this problem, but with an error message. My client DOES have >some sort of network issues, all the machines (users) have, at one time >or another reported the old "disk or network error" meaning they lost >connection to the server briefly. In Windows98/2k you just continue >on. It would seem that in Windows XP the OS itself will terminate >Access when this happens. A tad RUDE don't you think? > >Anyone else seeing this? > >John W. Colby >The DIS Database Guy -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Sep 24 09:44:52 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 24 Sep 2004 16:44:52 +0200 Subject: [AccessD] Elegant Solution? In-Reply-To: <000401c4a23f$a2a99a80$de1811d8@danwaters> References: <000401c4a23f$a2a99a80$de1811d8@danwaters> Message-ID: <6127950330.20040924164452@cactus.dk> Hi Dan > However, you must use CurrentDB for some things, like setting the current > database's properties in VBA. Njah, you just need to do a DBEngine(0).Properties.Refresh Same thing for other collections if you manipulate these. /gustav From bchacc at san.rr.com Fri Sep 24 11:13:46 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 24 Sep 2004 09:13:46 -0700 Subject: [AccessD] Very Strange Problem with Access Message-ID: <00ee01c4a251$784958e0$6601a8c0@HAL9002> Dear List: Sorry for the undescriptive subject but I don't know how else to say it. Client is at a remote site running an app I created for them. App is created in Access 2000. It's running on Access 2002. In this app, which tracks assets, the hierarchy is Cluster, Buildings within Cluster, Rooms within Buildings. There is a query qryBuildingByCluster that is the row source of a combo box on frmRoom. The uses Forms!frmRoom!txtClusterID as a parameter and the combo box is requeried every time a room record is displayed so that the combo box will display only buildings in the selected cluster. All's well and good. It runs fine on every box its ever been on. But on this one box, when the user exits from frmRoom and the Main Menu is displayed, they get an "Enter Parameter" box prompting for Forms!frmRoom!txtClusterID as if the combo box is being requeried. But at this point the form frmRoom is closed. I've stepped through the code and the parameter prompt appears AFTER the .Close. qryBuildingByCluster is only used in one place in the system - as the row source of the Building combo box in frmRoom. We checked references and they're identical to the client's laptop on which the program runs fine - can't duplicate the error. Has anyone ever seen this behavior before? MTIA Rocky Smolin Beach Access Software http://www.e-z-mrp.com From kaupca at chevrontexaco.com Fri Sep 24 11:16:39 2004 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Fri, 24 Sep 2004 11:16:39 -0500 Subject: [AccessD] Query gives invalid operation error Message-ID: <1375769556091B4DAABC159F944CA1BB07A1EC@bocnte2k4.boc.chevrontexaco.net> The following query gives an invalid operation error. Each of the queries it is based on runs fine. Any ideas? SELECT [qry Ft Stockton Other Fields Gas].ACTVDATE, [qry Ft Stockton Other Fields Gas]![SumOfVOLUME_SS]+[qry Gomez Field Gas]![SumOfVOLUME_SS]+[qry Halley Field Gas]![SumOfVOLUME_SS]+[qry Waha Field Gas]![SumOfVOLUME_SS]+[qry Warwink Field Gas]![SumOfVOLUME_SS]+[qry Sandhills Gas]![SumOfVOLUME_SS] AS MCFPD, [qry Ft Stockton Other Fields Gas]![NWI Gas]+[qry Gomez Field Gas]![SumOfVOLUME_SS]+[qry Halley Field Gas]![SumOfVOLUME_SS]+[qry Waha Field Gas]![SumOfVOLUME_SS]+[qry Warwink Field Gas]![SumOfVOLUME_SS]+[qry Sandhills Gas]![NWI Gas] AS [NWI MCFPD] FROM [qry Sandhills Gas] INNER JOIN ([qry Gomez Field Gas] INNER JOIN ((([qry Ft Stockton Other Fields Gas] INNER JOIN [qry Halley Field Gas] ON [qry Ft Stockton Other Fields Gas].ACTVDATE = [qry Halley Field Gas].ACTVDATE) INNER JOIN [qry Waha Field Gas] ON [qry Ft Stockton Other Fields Gas].ACTVDATE = [qry Waha Field Gas].ACTVDATE) INNER JOIN [qry Warwink Field Gas] ON [qry Ft Stockton Other Fields Gas].ACTVDATE = [qry Warwink Field Gas].ACTVDATE) ON [qry Gomez Field Gas].ACTVDATE = [qry Ft Stockton Other Fields Gas].ACTVDATE) ON [qry Sandhills Gas].ACTVDATE = [qry Ft Stockton Other Fields Gas].ACTVDATE; Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7414 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From gustav at cactus.dk Fri Sep 24 11:28:46 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 24 Sep 2004 18:28:46 +0200 Subject: [AccessD] Very Strange Problem with Access In-Reply-To: <00ee01c4a251$784958e0$6601a8c0@HAL9002> References: <00ee01c4a251$784958e0$6601a8c0@HAL9002> Message-ID: <1972507185.20040924182846@cactus.dk> Hi Rocky Check - or just go ahead and update/reinstall - the MDAC. /gustav > It runs fine on every box its ever been on. But on this one box, when the user exits from frmRoom and the Main Menu is displayed, they get an "Enter Parameter" box prompting for > Forms!frmRoom!txtClusterID as if the combo box is being requeried. But at this point the form frmRoom is closed. I've stepped through the code and the parameter prompt appears AFTER the .Close. > qryBuildingByCluster is only used in one place in the system - as the row source of the Building combo box in frmRoom. We checked references and they're identical to the client's laptop on which > the program runs fine - can't duplicate the error. From gustav at cactus.dk Fri Sep 24 11:37:56 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 24 Sep 2004 18:37:56 +0200 Subject: [AccessD] Query gives invalid operation error In-Reply-To: <1375769556091B4DAABC159F944CA1BB07A1EC@bocnte2k4.boc.chevrontexaco.net> References: <1375769556091B4DAABC159F944CA1BB07A1EC@bocnte2k4.boc.chevrontexaco.net> Message-ID: <293057907.20040924183756@cactus.dk> Hi Chester Could it be these fields: [NWI Gas] All other you add seem to be Sums. Try wrapping it in Nz(): + Nz([NWI Gas], 0) /gustav > The following query gives an invalid operation error. Each of the > queries it is based on runs fine. Any ideas? > SELECT [qry Ft Stockton Other Fields Gas].ACTVDATE, [qry Ft Stockton > Other Fields Gas]![SumOfVOLUME_SS]+[qry Gomez Field > Gas]![SumOfVOLUME_SS]+[qry Halley Field Gas]![SumOfVOLUME_SS]+[qry Waha > Field Gas]![SumOfVOLUME_SS]+[qry Warwink Field > Gas]![SumOfVOLUME_SS]+[qry Sandhills Gas]![SumOfVOLUME_SS] AS MCFPD, > [qry Ft Stockton Other Fields Gas]![NWI Gas]+[qry Gomez Field > Gas]![SumOfVOLUME_SS]+[qry Halley Field Gas]![SumOfVOLUME_SS]+[qry Waha > Field Gas]![SumOfVOLUME_SS]+[qry Warwink Field > Gas]![SumOfVOLUME_SS]+[qry Sandhills Gas]![NWI Gas] AS [NWI MCFPD] > FROM [qry Sandhills Gas] INNER JOIN ([qry Gomez Field Gas] INNER JOIN > ((([qry Ft Stockton Other Fields Gas] INNER JOIN [qry Halley Field Gas] > ON [qry Ft Stockton Other Fields Gas].ACTVDATE = [qry Halley Field > Gas].ACTVDATE) INNER JOIN [qry Waha Field Gas] ON [qry Ft Stockton Other > Fields Gas].ACTVDATE = [qry Waha Field Gas].ACTVDATE) INNER JOIN [qry > Warwink Field Gas] ON [qry Ft Stockton Other Fields Gas].ACTVDATE = [qry > Warwink Field Gas].ACTVDATE) ON [qry Gomez Field Gas].ACTVDATE = [qry Ft > Stockton Other Fields Gas].ACTVDATE) ON [qry Sandhills Gas].ACTVDATE = > [qry Ft Stockton Other Fields Gas].ACTVDATE; From KIsmert at TexasSystems.com Fri Sep 24 12:02:02 2004 From: KIsmert at TexasSystems.com (Ken Ismert) Date: Fri, 24 Sep 2004 12:02:02 -0500 Subject: [AccessD] ADPs in the future In-Reply-To: <002201c4a1ac$c41e6670$de1811d8@danwaters> Message-ID: <002701c4a258$372bdde0$2a3ca8c0@TEXASSYSTEMS.COM> Dan, Unless the next version of Access is a completely .NET centric product, Windows forms on top, VB.NET or C# underneath, and is fully web enabled (in other words the complete rewrite Mary Chipman said they weren't going to do), it will have nothing of interest in it for me. A simple test: if the next version of Access doesn't natively support Microsoft's flagship database, SQL Server 2005, it has been abandoned. I would like to hear more responses regarding the current prospects of Access consulting. Nearly everyone I know locally is either having a tough time getting Access work, or is moving away from Access towards more profitable work. A consensus from this group that there is a burgeoning Access job market in the near future would do more than anything else to dispel my pessimism. And yes, the bright side of the story is that the fundamentals we learn here are applicable to any new data environment we may encounter. -Ken -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Thursday, September 23, 2004 3:35 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Ken, Let's not sink the ship just yet. A new version of Access (12) will soon begin to be discussed. Let's see what it is first. OTOH, the skills that I know I've developed will let learn whatever I need to learn to make my future work! Dan Waters From cyx5 at cdc.gov Fri Sep 24 12:07:54 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 24 Sep 2004 13:07:54 -0400 Subject: [AccessD] Limiting User Navigation to Forms Message-ID: I have about 50 users in 10 different departments. Based on the user network login id, I want to limit the users ability to open up various forms - for instance, someone in the QA department would receive a "you are not authorized to open this form" message box when they try to open up the AS departments data entry forms. I don't want to have to code in each form that needs limitations an on open event to evaluate the id's and let those authorized through. Has anyone built a table to hold network logins with passwords that are evaluated on form openings? Karen Nicholson National Laboratory Xerox Global Services From bchacc at san.rr.com Fri Sep 24 12:21:03 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 24 Sep 2004 10:21:03 -0700 Subject: [AccessD] Very Strange Problem with Access References: <00ee01c4a251$784958e0$6601a8c0@HAL9002> <1972507185.20040924182846@cactus.dk> Message-ID: <012d01c4a25a$deaf4000$6601a8c0@HAL9002> You know Gustav, that might be the problem. The user was talking about MDAC versions but I don't think that they can modify the user's machine in any event. It's a military installation. But I disabled the problem. I tracked it down to any use of that combo box. If the combo box wasn't accessed while the form was open, the form closed correctly. So right before the DoCmd.Close I had the user insert cboBuilding.RowSource = "" and the problem went away. I'll forward your idea to the user, though. Thanks again. Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Friday, September 24, 2004 9:28 AM Subject: Re: [AccessD] Very Strange Problem with Access > Hi Rocky > > Check - or just go ahead and update/reinstall - the MDAC. > > /gustav > > > > It runs fine on every box its ever been on. But on this one box, when the user exits from frmRoom and the Main Menu is displayed, they get an "Enter Parameter" box prompting for > > Forms!frmRoom!txtClusterID as if the combo box is being requeried. But at this point the form frmRoom is closed. I've stepped through the code and the parameter prompt appears AFTER the .Close. > > > qryBuildingByCluster is only used in one place in the system - as the row source of the Building combo box in frmRoom. We checked references and they're identical to the client's laptop on which > > the program runs fine - can't duplicate the error. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Fri Sep 24 12:34:41 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 24 Sep 2004 19:34:41 +0200 Subject: [AccessD] Very Strange Problem with Access In-Reply-To: <012d01c4a25a$deaf4000$6601a8c0@HAL9002> References: <00ee01c4a251$784958e0$6601a8c0@HAL9002> <1972507185.20040924182846@cactus.dk> <012d01c4a25a$deaf4000$6601a8c0@HAL9002> Message-ID: <336462412.20040924193441@cactus.dk> Hi Rocky Very clever! If you can't move the mountain, go to the mountain. Or here: If you can't move the mountain away, leave the mountain. /gustav > You know Gustav, that might be the problem. The user was talking about MDAC > versions but I don't think that they can modify the user's machine in any > event. It's a military installation. > But I disabled the problem. I tracked it down to any use of that combo box. > If the combo box wasn't accessed while the form was open, the form closed > correctly. So right before the DoCmd.Close I had the user insert > cboBuilding.RowSource = "" and the problem went away. > I'll forward your idea to the user, though. > Thanks again. > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > ----- Original Message ----- > From: "Gustav Brock" > To: "Access Developers discussion and problem solving" > > Sent: Friday, September 24, 2004 9:28 AM > Subject: Re: [AccessD] Very Strange Problem with Access >> Hi Rocky >> >> Check - or just go ahead and update/reinstall - the MDAC. >> >> /gustav >> >> >> > It runs fine on every box its ever been on. But on this one box, when >> > the user exits from frmRoom and the Main Menu is displayed, they get an >> > "Enter Parameter" box prompting for >> > Forms!frmRoom!txtClusterID as if the combo box is being requeried. But >> > at this point the form frmRoom is closed. I've stepped through the code and >> > the parameter prompt appears AFTER the .Close. >> >> > qryBuildingByCluster is only used in one place in the system - as the >> > row source of the Building combo box in frmRoom. We checked references and >> > they're identical to the client's laptop on which >> > the program runs fine - can't duplicate the error. From gustav at cactus.dk Fri Sep 24 12:55:34 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 24 Sep 2004 19:55:34 +0200 Subject: [AccessD] Limiting User Navigation to Forms In-Reply-To: References: Message-ID: <717715894.20040924195534@cactus.dk> Hi Karen Yes, sort of. In the OnOpen event of the form put: Cancel = IsUserAuthorized(Me.Name) Then create a function: Public Function IsUserAuthorized( _ ByVal strForm As String) As Boolean Const cstrMessage As String = _ "You are not authorized to open this form." Const cstrTitle As String = _ "Restricted Form" Dim lngAccessLevel As Long Dim booAccess As Boolean Select Case strForm Case "frmSome", "frmAnother" lngAccessLevel = 3 Case "frmThird" lngAccessLevel = 4 ' etc. ... End Select If GetUserAccessLevel() >= lngAccessLevel Then booAccess = True Else DoCmd.Beep MsgBox cstrMessage, vbInformation, cstrTitle End If IsUserAuthorized = booAccess End Function The function GetUserAccessLevel() retrieves the access level of the current user which you will have to define somewhere else. /gustav > I have about 50 users in 10 different departments. Based on the user > network login id, I want to limit the users ability to open up various > forms - for instance, someone in the QA department would receive a "you > are not authorized to open this form" message box when they try to open > up the AS departments data entry forms. I don't want to have to code in > each form that needs limitations an on open event to evaluate the id's > and let those authorized through. Has anyone built a table to hold > network logins with passwords that are evaluated on form openings? > Karen Nicholson > National Laboratory > Xerox Global Services From pedro at plex.nl Fri Sep 24 16:29:40 2004 From: pedro at plex.nl (Pedro Janssen) Date: Fri, 24 Sep 2004 23:29:40 +0200 Subject: [AccessD] date query Message-ID: <000c01c4a27d$9b424600$f9c581d5@pedro> Hello Group, i have a table [tblmeasure1] and important for the query are two fields: Date and Temperature. I am trying to get avg, min etc. etc from Temperature in certain date periods (Between #...# and #....#. But i keep running into errors. What is the right way to do this? Thanks Pedro Janssen Cytologist From martyconnelly at shaw.ca Fri Sep 24 17:03:40 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 24 Sep 2004 15:03:40 -0700 Subject: [AccessD] Limiting User Navigation to Forms References: Message-ID: <415499BC.9060809@shaw.ca> If you want to limit opening forms by department, I would have a backend table with userid and department Then before opening the form I would check the userid in the table against something like this code to verify against the machines network logon id If you could obtain the network logon password, you would break network security. Depending on the way your network security is setup you might be able to get the network id's group name. This code is a little longer that most posted on the net to obtain the network login id and is more robust. http://vbnet.mvps.org/index.html?code/network/netusergetinfo.htm http://vbnet.mvps.org/code/network/lookupaccountname.htm http://vbnet.mvps.org/index.html?code/network/netwkstagetinfousername.htm Nicholson, Karen wrote: >I have about 50 users in 10 different departments. Based on the user >network login id, I want to limit the users ability to open up various >forms - for instance, someone in the QA department would receive a "you >are not authorized to open this form" message box when they try to open >up the AS departments data entry forms. I don't want to have to code in >each form that needs limitations an on open event to evaluate the id's >and let those authorized through. Has anyone built a table to hold >network logins with passwords that are evaluated on form openings? > > > >Karen Nicholson >National Laboratory >Xerox Global Services > > > > -- Marty Connelly Victoria, B.C. Canada From stuart at lexacorp.com.pg Fri Sep 24 17:51:55 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 25 Sep 2004 08:51:55 +1000 Subject: [AccessD] Query gives invalid operation error In-Reply-To: <1375769556091B4DAABC159F944CA1BB07A1EC@bocnte2k4.boc.chevrontexaco.net> Message-ID: <415531AB.18385.9682C6E@lexacorp.com.pg> On 24 Sep 2004 at 11:16, Kaup, Chester A wrote: > FROM [qry Sandhills Gas] INNER JOIN ([qry Gomez Field Gas] INNER JOIN > ((([qry Ft Stockton Other Fields Gas] INNER JOIN What are these INNER JOINs on? You haven't specified. -- Stuart From KIsmert at TexasSystems.com Fri Sep 24 18:41:02 2004 From: KIsmert at TexasSystems.com (Ken Ismert) Date: Fri, 24 Sep 2004 18:41:02 -0500 Subject: [AccessD] Elegant Solution? In-Reply-To: <2025BB6F17FCB54791F23CD505583328041BB3@starfleet.unknown.local> Message-ID: <002f01c4a28f$f45e4ba0$2a3ca8c0@TEXASSYSTEMS.COM> Vlad, If you're interested, I have developed a class called clsDAOLib that wraps the most common DAO functions. It handles setting up and shutting down the workspace and database automatically for you. It handles parameter queries, and running groups of queries in a transaction. It has full error handling. You can use it as a standalone global object, or locally within another class or subroutine. It isn't fancy, but it is mature, well-tested code that I have had around for years, and have used in Access 2000, Excel and Project. Code samples: * Open a recordset from a query: Set rsTree = gDAO.OpenQueryDef("qryFrmProjBOMTree") * Open a recordset from a parameter query: gDAO.AddQryParm "PMStatusID", lPMStatusID gDAO.AddQryParm "BOMID", lBOMID Set rRs = gDAO.OpenQueryDef("qryBOMPMStatus", dbOpenForwardOnly) * Execute a parameter query and return the records affected: gDAO.AddQryParm "PMReleaseDate", dtPMReleaseDate lCt = gDAO.ExecuteQueryDef("qryBOMPMRelease", dbFailOnError + dbSeeChanges) * Open a recordset from a SQL string: Set rRs = gDAO.OpenSQL(sSQL, dbOpenForwardOnly) * Execute a SQL string: gDAO.ExecuteSQL sSQL, dbFailOnError + dbSeeChanges * Execute a batch of SQL statements within a transaction: With gDAO .AddSQL sSQLCommoditySaveDeletedPart .AddSQL sSQLCommodityPartDelete .AddSQL sSQLRuntimeSaveDeleted .AddSQL sSQLRuntimeDelete .ExecuteSQLBatch Options:=dbFailOnError + dbSeeChanges End With If anyone is interested, please email me offline for the code, and short instructions on use. -Ken -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, September 24, 2004 2:13 AM To: access group Subject: [AccessD] Elegant Solution? Hi Everyone, Does anyone have any code or such that handles the following elegantly: Dim dbs as DAO.Database Dim rst as DAO.Recordset Set dbs etc etc Do whatever here dbs.close dbs = nothing etc etc I am tired of having do the above to open database connections and recordsets in the above manner in every Sub or Function. Surely there's a more elegant method that someone has come up with here you just parse the SQL Statement through or something... Any suggestions or links will be greatly appreciated... Regards Vlad From mikedorism at adelphia.net Fri Sep 24 21:34:00 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Fri, 24 Sep 2004 22:34:00 -0400 Subject: [AccessD] date query In-Reply-To: <000c01c4a27d$9b424600$f9c581d5@pedro> Message-ID: <000001c4a2a8$1d8f1be0$060aa845@hargrove.internal> Your first problem is probably the use of "Date" as a variable when it is a Reserved word. The syntax you are looking for is something like this... SELECT Avg(Temperature) AS AvgTemp FROM tblMeasure1 WHERE [Date] BETWEEN #...# AND #...# Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: Friday, September 24, 2004 5:30 PM To: AccessD at databaseadvisors.com Subject: [AccessD] date query Hello Group, i have a table [tblmeasure1] and important for the query are two fields: Date and Temperature. I am trying to get avg, min etc. etc from Temperature in certain date periods (Between #...# and #....#. But i keep running into errors. What is the right way to do this? Thanks Pedro Janssen Cytologist -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Sep 25 02:15:22 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 25 Sep 2004 09:15:22 +0200 Subject: [AccessD] date query In-Reply-To: <000c01c4a27d$9b424600$f9c581d5@pedro> References: <000c01c4a27d$9b424600$f9c581d5@pedro> Message-ID: <691989590.20040925091522@cactus.dk> Hi Pedro > i have a table [tblmeasure1] and important for the query are two > fields: Date and Temperature. > I am trying to get avg, min etc. etc from Temperature in certain > date periods (Between #...# and #....#. But i keep running into > errors. What is the right way to do this? This is the way. So why not show us your query? /gustav From listmaster at databaseadvisors.com Sat Sep 25 07:02:26 2004 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Sat, 25 Sep 2004 08:02:26 -0400 Subject: [AccessD] Testing Message-ID: <41552612.31413.1510D5@localhost> Testing 1, 2, 3 -- Bryan Carbonnell - listmaster at databaseadvisors.com Nobody can make you feel inferior without your permission. From listmaster at databaseadvisors.com Sat Sep 25 07:11:41 2004 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Sat, 25 Sep 2004 08:11:41 -0400 Subject: [AccessD] Administrivia - Server Back Up Message-ID: <4155283D.12253.1D8604@localhost> Well, the mailserver and list software is back up and running. Hopefully our problems are all cleared up now. If not, please let me know at either listmaster at databaseadvisors.com AND carbonnb at sympatico.ca That way if dba's server is not working, then I will still be able to look at it. Thanks for your understanding and patience. -- Bryan Carbonnell - listmaster at databaseadvisors.com There's a fine line between genius and insanity. I have erased this line. From andy at minstersystems.co.uk Sat Sep 25 08:44:34 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat, 25 Sep 2004 14:44:34 +0100 Subject: [AccessD] Administrivia - Server Back Up In-Reply-To: <4155283D.12253.1D8604@localhost> Message-ID: <000701c4a305$caa288f0$b274d0d5@minster33c3r25> A vote of thanks for Bryan's efforts. -- 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: 25 September 2004 13:12 > To: administrivia at databaseadvisors.com > Subject: [AccessD] Administrivia - Server Back Up > > > Well, the mailserver and list software is back up and running. > > Hopefully our problems are all cleared up now. If not, please let me > know at either listmaster at databaseadvisors.com AND > carbonnb at sympatico.ca > > That way if dba's server is not working, then I will still be able to > look at it. > > Thanks for your understanding and patience. > > -- > Bryan Carbonnell - listmaster at databaseadvisors.com > There's a fine line between genius and insanity. I have erased this > line. > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From jwcolby at colbyconsulting.com Sat Sep 25 08:55:46 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 25 Sep 2004 09:55:46 -0400 Subject: [AccessD] Administrivia - Server Back Up In-Reply-To: <000701c4a305$caa288f0$b274d0d5@minster33c3r25> Message-ID: <006d01c4a307$5e6f0850$e8dafea9@ColbyM6805> Hear Hear! John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Saturday, September 25, 2004 9:45 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Administrivia - Server Back Up A vote of thanks for Bryan's efforts. -- 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: 25 September 2004 13:12 > To: administrivia at databaseadvisors.com > Subject: [AccessD] Administrivia - Server Back Up > > > Well, the mailserver and list software is back up and running. > > Hopefully our problems are all cleared up now. If not, please let me > know at either listmaster at databaseadvisors.com AND > carbonnb at sympatico.ca > > That way if dba's server is not working, then I will still be able to > look at it. > > Thanks for your understanding and patience. > > -- > Bryan Carbonnell - listmaster at databaseadvisors.com > There's a fine line between genius and insanity. I have erased this > line. > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Sat Sep 25 09:12:56 2004 From: john at winhaven.net (John Bartow) Date: Sat, 25 Sep 2004 09:12:56 -0500 Subject: [AccessD] Administrivia - Server Back Up In-Reply-To: <4155283D.12253.1D8604@localhost> Message-ID: Three cheers and a HUGE pat on the back for Bryan! He did this maintenance work in his personal free time! 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 Bryan Carbonnell Sent: Saturday, September 25, 2004 7:12 AM To: administrivia at databaseadvisors.com Subject: [AccessD] Administrivia - Server Back Up Well, the mailserver and list software is back up and running. Hopefully our problems are all cleared up now. If not, please let me know at either listmaster at databaseadvisors.com AND carbonnb at sympatico.ca That way if dba's server is not working, then I will still be able to look at it. Thanks for your understanding and patience. -- Bryan Carbonnell - listmaster at databaseadvisors.com There's a fine line between genius and insanity. I have erased this line. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Paul at PStrauss.net Sat Sep 25 22:05:47 2004 From: Paul at PStrauss.net (Paul Strauss) Date: Sat, 25 Sep 2004 23:05:47 -0400 Subject: [AccessD] Elegant Solution? In-Reply-To: <002f01c4a28f$f45e4ba0$2a3ca8c0@TEXASSYSTEMS.COM> References: <2025BB6F17FCB54791F23CD505583328041BB3@starfleet.unknown.local> <002f01c4a28f$f45e4ba0$2a3ca8c0@TEXASSYSTEMS.COM> Message-ID: <6.1.2.0.2.20040925225505.021f3ab0@mail.pstrauss.net> At 9/24/2004 07:41 PM, you wrote: >Vlad, > >If you're interested, I have developed a class called clsDAOLib that wraps >the most common DAO functions. > >...snip... >If anyone is interested, please email me offline for the code, and short >instructions on use. Looks very interesting, very cool. I'd like to take a look. I also have a few goodies that I'll share with you if you want. I have one class that edits names and addresses to fix the proper capitalization and to change addresses into what the USPS likes to see, e.g. Avenue -> Ave. I've got a great function, that I didn't actually write that properly quotes string for use in SQL strings, e.g. it properly quotes 5'4". One I did write is a function to properly quote dates and times. These all have been testing and working for years. I've got a bunch of other random stuff that I use all the time. I've been doing Access for about 10 years now and one tends to accumulate these things. I'm also working on a class to do an audit trail of any changes to a row. This one may still have some bugs as I've just finished it and it still needs some testing, but it seems to be mostly working. If you want any of this stuff, I'll be glad to send them my "return mail". One thing I'd ask, if you could, but certainly not as a condition: I almost never have the opportunity for anyone to review and comment on my code, so I really don't know what is good, bad, or ugly. If you could comment on it, I love to hear your comments. Regards, Paul Strauss ---------- ? Web Site Design, Graphics, and Hosting (www.RationalHosting.net) ? MS Access Database Custom Applications ? Technical Support and Consulting 718-253-5535 / 917-975-1729 Paul at PStrauss.net From Paul at PStrauss.net Sat Sep 25 22:17:29 2004 From: Paul at PStrauss.net (Paul Strauss) Date: Sat, 25 Sep 2004 23:17:29 -0400 Subject: [AccessD] Limiting User Navigation to Forms In-Reply-To: References: Message-ID: <6.1.2.0.2.20040925231036.021daa00@mail.pstrauss.net> >I have about 50 users in 10 different departments. Based on the user >network login id, I want to limit the users ability to open up various >forms - for instance, someone in the QA department would receive a "you >are not authorized to open this form" message box when they try to open >up the AS departments data entry forms. I don't want to have to code in >each form that needs limitations an on open event to evaluate the id's >and let those authorized through. Has anyone built a table to hold >network logins with passwords that are evaluated on form openings? What I do in this situation is to not even show them the button to open the form. Why let them try to open the form, just to get a nany-nany-b00-boo message? Seriously, if you are trying to keep their mits off a form, the first line of defense is to not even let them know that there is something that they can't do. Showing them that there is something to do, but then blocking them, is bound to look like a challenge to some people. Even if they don't have anything sinister in mind, you still don't want them trying to break your security. Regards, Paul Strauss From william.thompson1 at att.net Sun Sep 26 00:16:38 2004 From: william.thompson1 at att.net (william.thompson1 at att.net) Date: Sun, 26 Sep 2004 05:16:38 +0000 Subject: [AccessD] Acc used to resolve SQL Svr Excel prb Message-ID: <092620040516.18377.415650B50009C02E000047C92160376021CE02019C9F0301089BD2030E0704040799@att.net> List, I have a question about refreshing files that, for various reasons, I'm reluctant to create a job to delete in order to replace the data in them. I'm thinking that Access will be the desired tool to replace/contain data used in a multi-sheet workbook, but am not clear on a few things about SQL Svr refreshes. (The workbook's format and sheets layout has to stay intact). One of the steps in a DTS package is used to run a sql statement against the worksheet - but the sql statement doesn't do anything in this case - it was simply set up to fit into the context of a series of DTS packages for purposes of destructively refreshing sheets within a set of Excel spreadsheets on a file share based on a customized set of strings in DTS. One package replaces the data in each worksheet. Am I correct to assume that within the context of sql server data transfers that 1.) An Excel spreadsheet is updateable but Not insert/deletable. 2.) While the driver is fairly recent, Excel data can be only be pulled by worksheet, not pushed. 3.) Because the requirement that four worksheets stay intact in each Workbook, the destructive refresh imposes a requirement that four Access tables must be used by a macro or some other auto process to reconstruct four worksheets. In my humble yet slightly uncertain opinion. I'm good to go on the Access app used as a container to push/ be pulled, but I'm wondering if I overlooked anything. Temp tables are not the favored method either, so this option would be a last resort. The data has to be somewhat 'linked' to the file that is generated each week. Any comments/suggestions appreciated. What would we do without Excel huh? Bill Thompson From gustav at cactus.dk Sun Sep 26 03:40:35 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 26 Sep 2004 10:40:35 +0200 Subject: [AccessD] Acc used to resolve SQL Svr Excel prb In-Reply-To: <092620040516.18377.415650B50009C02E000047C92160376021CE02019C9F0301089BD2030E0704040799@att.net> References: <092620040516.18377.415650B50009C02E000047C92160376021CE02019C9F0301089BD2030E0704040799@att.net> Message-ID: <1912137323.20040926104035@cactus.dk> Hi William > Am I correct to assume that within the context of sql server data transfers that > 1.) An Excel spreadsheet is updateable but Not insert/deletable. You can update and, if empty rows are present, add records. No deletes. However, you can write a simple erase function looping through the rows and the fields of these clearing these by setting the value to Null. Indeed, for an attached table (see next) this is very easy and fast. > 2.) While the driver is fairly recent, Excel data can be only be > pulled by worksheet, not pushed. Not quite sure what you mean. If you attach a worksheet or - the preferred method - a Named Range, you can read and write data in both Access and Excel. > 3.) Because the requirement that four worksheets stay intact in > each Workbook, the destructive refresh imposes a requirement that > four Access tables must be used by a macro or some other auto > process to reconstruct four worksheets. In my humble yet slightly > uncertain opinion. The fastest way to "refresh" a workbook is simply to delete it completely and create a new copy from a master which is never touched. Also, this ensures that your workbook never gets bloated or corrupted by multiple writings. If you need to keep the old data, just rename the workbook (and move it to an archive folder) instead of deleting it. > I'm good to go on the Access app used as a container to push/ be > pulled, but I'm wondering if I overlooked anything. Temp tables are > not the favored method either, so this option would be a last > resort. The data has to be somewhat 'linked' to the file that is > generated each week. Temp tables can be very useful. It is much faster to manipulate data in a temp Access/Jet table and - when ready - copy the data to the attached Excel tables. Just keep the temp tables in a separate file which you - as for the workbook - can replace by a new and empty copy of a master each week. /gustav From jmoss111 at bellsouth.net Sun Sep 26 04:20:12 2004 From: jmoss111 at bellsouth.net (JMoss) Date: Sun, 26 Sep 2004 04:20:12 -0500 Subject: [AccessD] Acc used to resolve SQL Svr Excel prb In-Reply-To: <092620040516.18377.415650B50009C02E000047C92160376021CE02019C9F0301089BD2030E0704040799@att.net> Message-ID: Why not start a macro and then format the sheets and save the macro, then copy the vba code from the macro into an access module, that lets you recreate the formatting? Then read the data from sql server into recordsets in access and use automation to create the spreadsheet. I am doing this with linked Oracle Financials tables and it works quite well. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of william.thompson1 at att.net Sent: Sunday, September 26, 2004 12:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Acc used to resolve SQL Svr Excel prb List, I have a question about refreshing files that, for various reasons, I'm reluctant to create a job to delete in order to replace the data in them. I'm thinking that Access will be the desired tool to replace/contain data used in a multi-sheet workbook, but am not clear on a few things about SQL Svr refreshes. (The workbook's format and sheets layout has to stay intact). One of the steps in a DTS package is used to run a sql statement against the worksheet - but the sql statement doesn't do anything in this case - it was simply set up to fit into the context of a series of DTS packages for purposes of destructively refreshing sheets within a set of Excel spreadsheets on a file share based on a customized set of strings in DTS. One package replaces the data in each worksheet. Am I correct to assume that within the context of sql server data transfers that 1.) An Excel spreadsheet is updateable but Not insert/deletable. 2.) While the driver is fairly recent, Excel data can be only be pulled by worksheet, not pushed. 3.) Because the requirement that four worksheets stay intact in each Workbook, the destructive refresh imposes a requirement that four Access tables must be used by a macro or some other auto process to reconstruct four worksheets. In my humble yet slightly uncertain opinion. I'm good to go on the Access app used as a container to push/ be pulled, but I'm wondering if I overlooked anything. Temp tables are not the favored method either, so this option would be a last resort. The data has to be somewhat 'linked' to the file that is generated each week. Any comments/suggestions appreciated. What would we do without Excel huh? Bill Thompson -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From william.thompson1 at att.net Sun Sep 26 12:31:41 2004 From: william.thompson1 at att.net (william.thompson1 at att.net) Date: Sun, 26 Sep 2004 17:31:41 +0000 Subject: [AccessD] Acc used to resolve SQL Svr Excel prb Message-ID: <092620041731.27156.4156FCFC000E335B00006A142158766720CE02019C9F0301089BD2030E0704040799@att.net> << clearing these by setting the value to Null >> it would be interesting to see what shortcuts would evolve if a refresh was done this way in Excel. <> I meant to say 'the Excel driver in SQL Server, context of DTS' which is ISAM I think - basically text??. I'll look into that. But anyway, I'm glad to get a second nod regarding how Excel files are updated. I was certain there was no insert / delete, but DTS is too flexible sometimes, and the when the package was written, it was apparently tested. <> SQL Server DTS would be doing this task, and I'm still looking into the shell xp (system stored procedure) that handles this. <> You're right - the Access DB could be attaching after the data is destroyed/refreshed. I appreciate the help, William N. Thompson -------------- Original message from Gustav Brock : -------------- > Hi William > > > Am I correct to assume that within the context of sql server data transfers > that > > > 1.) An Excel spreadsheet is updateable but Not insert/deletable. > > You can update and, if empty rows are present, add records. > No deletes. However, you can write a simple erase function looping > through the rows and the fields of these clearing these by setting the > value to Null. Indeed, for an attached table (see next) this is very > easy and fast. > > > 2.) While the driver is fairly recent, Excel data can be only be > > pulled by worksheet, not pushed. > > Not quite sure what you mean. If you attach a worksheet or - the > preferred method - a Named Range, you can read and write data in both > Access and Excel. > > > 3.) Because the requirement that four worksheets stay intact in > > each Workbook, the destructive refresh imposes a requirement that > > four Access tables must be used by a macro or some other auto > > process to reconstruct four worksheets. In my humble yet slightly > > uncertain opinion. > > The fastest way to "refresh" a workbook is simply to delete it > completely and create a new copy from a master which is never touched. > Also, this ensures that your workbook never gets bloated or corrupted > by multiple writings. If you need to keep the old data, just rename > the workbook (and move it to an archive folder) instead of deleting > it. > > > I'm good to go on the Access app used as a container to push/ be > > pulled, but I'm wondering if I overlooked anything. Temp tables are > > not the favored method either, so this option would be a last > > resort. The data has to be somewhat 'linked' to the file that is > > generated each week. > > Temp tables can be very useful. It is much faster to manipulate data > in a temp Access/Jet table and - when ready - copy the data to the > attached Excel tables. Just keep the temp tables in a separate file > which you - as for the workbook - can replace by a new and empty copy > of a master each week. > > /gustav > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From william.thompson1 at att.net Sun Sep 26 12:48:43 2004 From: william.thompson1 at att.net (william.thompson1 at att.net) Date: Sun, 26 Sep 2004 17:48:43 +0000 Subject: [AccessD] Acc used to resolve SQL Svr Excel prb Message-ID: <092620041748.6326.415700FA000E35C0000018B62158766720CE02019C9F0301089BD2030E0704040799@att.net> Jim, Good point. I'd like to be doing just that, and have an Access app already set up. I'd also like to log some of the process in a little xml file. I've got a bunch of code in several different places that I need to bring together to make it happen. This situation - the SQL Svr DTS package was apparently written some time ago, tested with a not-so-realistic set of data. It was certain to break on 'Delete from Workbook' script in the transform. I was almost sure (now very sure) there was no insert / delete in ISAM, but DTS is too flexible sometimes, and the when the package was written, it was apparently tested. The Access app I'd like to be similar to your situation - flexible and be able to handle any data source - SQL Server, Oracle, Excel, Text, and XML - soon. I imagine it will take some time for DTS packages in a typical Enterprise to be written with this in mind. Oracle RDMS are probably further along in terms of XML. Bill -------------- Original message from "JMoss" : -------------- > Why not start a macro and then format the sheets and save the macro, then > copy the vba code from the macro into an access module, that lets you > recreate the formatting? Then read the data from sql server into recordsets > in access and use automation to create the spreadsheet. I am doing this with > linked Oracle Financials tables and it works quite well. > > Jim > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > william.thompson1 at att.net > Sent: Sunday, September 26, 2004 12:17 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Acc used to resolve SQL Svr Excel prb > > > List, > I have a question about refreshing files that, for various reasons, I'm > reluctant to create a job to delete in order to replace the data in them. > I'm thinking that Access will be the desired tool to replace/contain data > used in a multi-sheet workbook, but am not clear on a few things about SQL > Svr refreshes. (The workbook's format and sheets layout has to stay > intact). > > One of the steps in a DTS package is used to run a sql statement against the > worksheet - but the sql statement doesn't do anything in this case - it was > simply set up to fit into the context of a series of DTS packages for > purposes of destructively refreshing sheets within a set of Excel > spreadsheets on a file share based on a customized set of strings in DTS. > One package replaces the data in each worksheet. > > Am I correct to assume that within the context of sql server data transfers > that > 1.) An Excel spreadsheet is updateable but Not insert/deletable. > 2.) While the driver is fairly recent, Excel data can be only be pulled by > worksheet, not pushed. > 3.) Because the requirement that four worksheets stay intact in each > Workbook, the destructive refresh imposes a requirement that four Access > tables must be used by a macro or some other auto process to reconstruct > four worksheets. In my humble yet slightly uncertain opinion. > > I'm good to go on the Access app used as a container to push/ be pulled, but > I'm wondering if I overlooked anything. Temp tables are not the favored > method either, so this option would be a last resort. The data has to be > somewhat 'linked' to the file that is generated each week. > > Any comments/suggestions appreciated. What would we do without Excel huh? > > Bill Thompson > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From william.thompson1 at att.net Sun Sep 26 13:04:41 2004 From: william.thompson1 at att.net (william.thompson1 at att.net) Date: Sun, 26 Sep 2004 18:04:41 +0000 Subject: [AccessD] Acc used to resolve SQL Svr Excel prb Message-ID: <092620041804.14809.415704B8000BD3D6000039D92158766720CE02019C9F0301089BD2030E0704040799@att.net> oops, I goofed the most important part That should read -- It was certain to break on 'Delete from Worksheet' script in the transform -- (not 'From Workbook' though that would break too!). The crux of the problem was that four worksheets, data created by SQL server, had to stay intact in each workbook, thus the Access app Bill From roz.clarke at donnslaw.co.uk Mon Sep 27 03:07:58 2004 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 27 Sep 2004 09:07:58 +0100 Subject: [AccessD] Administrivia - Server Back Up Message-ID: <61F915314798D311A2F800A0C9C8318805CED50A@dibble.observatory.donnslaw.co.uk> hip hip! -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: 25 September 2004 15:13 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Administrivia - Server Back Up Three cheers and a HUGE pat on the back for Bryan! He did this maintenance work in his personal free time! 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 Bryan Carbonnell Sent: Saturday, September 25, 2004 7:12 AM To: administrivia at databaseadvisors.com Subject: [AccessD] Administrivia - Server Back Up Well, the mailserver and list software is back up and running. Hopefully our problems are all cleared up now. If not, please let me know at either listmaster at databaseadvisors.com AND carbonnb at sympatico.ca That way if dba's server is not working, then I will still be able to look at it. Thanks for your understanding and patience. -- Bryan Carbonnell - listmaster at databaseadvisors.com There's a fine line between genius and insanity. I have erased this line. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From cyx5 at cdc.gov Mon Sep 27 05:33:12 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Mon, 27 Sep 2004 06:33:12 -0400 Subject: [AccessD] Access/SQL Dates Message-ID: I have an Access front-end and am querying an SQL backend. When putting in a select statement in the query, all is fine if I specify a date of say, less than today or Message-ID: <000d01c4a484$f8c20640$060aa845@hargrove.internal> I ran into this problem when I used smalldatetime in the table as the data type instead of datetime. To be honest, I was in a hurry and didn't have time to figure out why it was happening. I just changed from smalldatetime to datetime and the problem went away. I've never used smalldatetime since then. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Monday, September 27, 2004 6:33 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access/SQL Dates I have an Access front-end and am querying an SQL backend. When putting in a select statement in the query, all is fine if I specify a date of say, less than today or Interesting. The SQL backend structure can not be changed as it is proprietary. Yikes. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Monday, September 27, 2004 7:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access/SQL Dates I ran into this problem when I used smalldatetime in the table as the data type instead of datetime. To be honest, I was in a hurry and didn't have time to figure out why it was happening. I just changed from smalldatetime to datetime and the problem went away. I've never used smalldatetime since then. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Monday, September 27, 2004 6:33 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access/SQL Dates I have an Access front-end and am querying an SQL backend. When putting in a select statement in the query, all is fine if I specify a date of say, less than today or Thank you for doing this work Bryan! I hope this does the trick and all wll be well again. Gary Kjos garykjos at hotmail.com >From: "Bryan Carbonnell" >Reply-To: Discussion of Hardware and Software >issues >To: administrivia at databaseadvisors.com >Subject: [dba-Tech] Administrivia - Server Back Up >Date: Sat, 25 Sep 2004 08:11:41 -0400 > >Well, the mailserver and list software is back up and running. > >Hopefully our problems are all cleared up now. If not, please let me >know at either listmaster at databaseadvisors.com AND >carbonnb at sympatico.ca > >That way if dba's server is not working, then I will still be able to >look at it. > >Thanks for your understanding and patience. > >-- >Bryan Carbonnell - listmaster at databaseadvisors.com >There's a fine line between genius and insanity. I have erased this >line. > > >_______________________________________________ >dba-Tech mailing list >dba-Tech at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-tech >Website: http://www.databaseadvisors.com From garykjos at hotmail.com Mon Sep 27 07:36:41 2004 From: garykjos at hotmail.com (Gary Kjos) Date: Mon, 27 Sep 2004 07:36:41 -0500 Subject: [AccessD] Administrivia - Server Back Up Message-ID: Thanks Bryan! Gary Kjos garykjos at hotmail.com >From: "John W. Colby" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: RE: [AccessD] Administrivia - Server Back Up >Date: Sat, 25 Sep 2004 09:55:46 -0400 > >Hear Hear! > >John W. Colby >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Saturday, September 25, 2004 9:45 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Administrivia - Server Back Up > > >A vote of thanks for Bryan's efforts. > >-- 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: 25 September 2004 13:12 > > To: administrivia at databaseadvisors.com > > Subject: [AccessD] Administrivia - Server Back Up > > > > > > Well, the mailserver and list software is back up and running. > > > > Hopefully our problems are all cleared up now. If not, please let me > > know at either listmaster at databaseadvisors.com AND > > carbonnb at sympatico.ca > > > > That way if dba's server is not working, then I will still be able to > > look at it. > > > > Thanks for your understanding and patience. > > > > -- > > Bryan Carbonnell - listmaster at databaseadvisors.com > > There's a fine line between genius and insanity. I have erased this > > line. > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Mon Sep 27 10:18:53 2004 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 27 Sep 2004 11:18:53 -0400 Subject: [AccessD] Access/SQL Dates Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F0471A96E@xlivmbx21.aig.com> Very probably I am wrong as I've not yet had the joy of dealing with SQL server, but is it not the case that the date delimiting character in SQL Server is the percentage symbol (%) not pound or hash (#)? Lambert > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen > Sent: Monday, September 27, 2004 8:19 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Access/SQL Dates > > Interesting. The SQL backend structure can not be changed as it is > proprietary. Yikes. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris > Manning > Sent: Monday, September 27, 2004 7:27 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Access/SQL Dates > > > I ran into this problem when I used smalldatetime in the table as the > data > type instead of datetime. To be honest, I was in a hurry and didn't > have > time to figure out why it was happening. I just changed from > smalldatetime > to datetime and the problem went away. I've never used smalldatetime > since > then. > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, > Karen > Sent: Monday, September 27, 2004 6:33 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Access/SQL Dates > > > I have an Access front-end and am querying an SQL backend. When putting > in > a select statement in the query, all is fine if I specify a date of say, > less than today or date, I get an sql overflow error. The syntaxes I have tried > include: <#9/27/2004# <'9/27/2004' <'20040927'. Any clues? Thanks. > > Karen Nicholson > National Laboratory > Xerox Global Services > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Sep 27 10:43:04 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 27 Sep 2004 08:43:04 -0700 Subject: [AccessD] ADPs in the future Message-ID: All I know is that the State of California and the Federal government are still using Access desktop databases for stuff the programmers don't have time to create and small business still has the need for custom database apps that don't require SQL Server. ;-/ Charlotte Foust -----Original Message----- From: Ken Ismert [mailto:KIsmert at TexasSystems.com] Sent: Friday, September 24, 2004 10:02 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Dan, Unless the next version of Access is a completely .NET centric product, Windows forms on top, VB.NET or C# underneath, and is fully web enabled (in other words the complete rewrite Mary Chipman said they weren't going to do), it will have nothing of interest in it for me. A simple test: if the next version of Access doesn't natively support Microsoft's flagship database, SQL Server 2005, it has been abandoned. I would like to hear more responses regarding the current prospects of Access consulting. Nearly everyone I know locally is either having a tough time getting Access work, or is moving away from Access towards more profitable work. A consensus from this group that there is a burgeoning Access job market in the near future would do more than anything else to dispel my pessimism. And yes, the bright side of the story is that the fundamentals we learn here are applicable to any new data environment we may encounter. -Ken -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Thursday, September 23, 2004 3:35 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Ken, Let's not sink the ship just yet. A new version of Access (12) will soon begin to be discussed. Let's see what it is first. OTOH, the skills that I know I've developed will let learn whatever I need to learn to make my future work! Dan Waters -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Sep 27 10:45:22 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 27 Sep 2004 08:45:22 -0700 Subject: [AccessD] Elegant Solution? Message-ID: The difference is that if you use CurrentDb, you don't have to refresh to see the changes. DBEngine is faster because it doesn't refresh automatically. Redo your test with a refresh after every change and see how they compare. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, September 24, 2004 7:06 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Elegant Solution? Using CurrentDB everywhere is slower. I use: Set rst = DBEngine(0)(0).OpenRecordset(stg,db.....) I did a test once and determined that using the above line is exactly 8 times faster than using: Set rst = CurrentDB.OpenRecordset(stg,db.....) However, you must use CurrentDB for some things, like setting the current database's properties in VBA. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Friday, September 24, 2004 6:19 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Elegant Solution? I thought using currentdb everywhere used extra resources and was a no-no. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Friday, September 24, 2004 3:57 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Elegant Solution? I never do dbs as DAO.Database I always do Set rstTemp as currentdb.openrecordset (bla bla) Dbs can be replaced by currentdb Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS Sent: Friday, September 24, 2004 9:13 AM To: access group Subject: [AccessD] Elegant Solution? Hi Everyone, Does anyone have any code or such that handles the following elegantly: Dim dbs as DAO.Database Dim rst as DAO.Recordset Set dbs etc etc Do whatever here dbs.close dbs = nothing etc etc I am tired of having do the above to open database connections and recordsets in the above manner in every Sub or Function. Surely there's a more elegant method that someone has come up with here you just parse the SQL Statement through or something... Any suggestions or links will be greatly appreciated... Regards Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at adelphia.net Mon Sep 27 10:44:36 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Mon, 27 Sep 2004 11:44:36 -0400 Subject: [AccessD] Access/SQL Dates In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F0471A96E@xlivmbx21.aig.com> Message-ID: <000001c4a4a8$e4c62b70$060aa845@hargrove.internal> You are incorrect. The single quote (') is the correct delimiting character to replace the pound sign (#) used by Access. The percentage symbol (%) is the character to use when doing a LIKE search -- Access used an asterisk (*). Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Monday, September 27, 2004 11:19 AM To: 'Access Developers discussion and problem solving'; 'Nicholson, Karen' Subject: RE: [AccessD] Access/SQL Dates Very probably I am wrong as I've not yet had the joy of dealing with SQL server, but is it not the case that the date delimiting character in SQL Server is the percentage symbol (%) not pound or hash (#)? Lambert From mark.breen at gmail.com Mon Sep 27 10:57:49 2004 From: mark.breen at gmail.com (Mark Breen) Date: Mon, 27 Sep 2004 16:57:49 +0100 Subject: [AccessD] Elegant Solution? In-Reply-To: References: Message-ID: <26a96cce040927085772db8b56@mail.gmail.com> Hello All, Does anyone have a similar class or function for elegantly handling ADO record sets ? Or similar in the .Net environment ? Mark Breen Ireland On Mon, 27 Sep 2004 08:45:22 -0700, Charlotte Foust wrote: > The difference is that if you use CurrentDb, you don't have to refresh > to see the changes. DBEngine is faster because it doesn't refresh > automatically. Redo your test with a refresh after every change and see > how they compare. > > Charlotte Foust > > > > > -----Original Message----- > From: Dan Waters [mailto:dwaters at usinternet.com] > Sent: Friday, September 24, 2004 7:06 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Elegant Solution? > > Using CurrentDB everywhere is slower. > > I use: > Set rst = DBEngine(0)(0).OpenRecordset(stg,db.....) > > I did a test once and determined that using the above line is exactly 8 > times faster than using: Set rst = CurrentDB.OpenRecordset(stg,db.....) > > However, you must use CurrentDB for some things, like setting the > current database's properties in VBA. > > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid > Sent: Friday, September 24, 2004 6:19 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Elegant Solution? > > I thought using currentdb everywhere used extra resources and was a > no-no. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - > IT Helps > Sent: Friday, September 24, 2004 3:57 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Elegant Solution? > > I never do dbs as DAO.Database > > I always do > Set rstTemp as currentdb.openrecordset (bla bla) > > Dbs can be replaced by currentdb > > Erwin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS > Sent: Friday, September 24, 2004 9:13 AM > To: access group > Subject: [AccessD] Elegant Solution? > > Hi Everyone, > > Does anyone have any code or such that handles the following elegantly: > > Dim dbs as DAO.Database > Dim rst as DAO.Recordset > > Set dbs etc etc > > Do whatever here > > dbs.close > dbs = nothing etc etc > > I am tired of having do the above to open database connections and > recordsets in the above manner in every Sub or Function. Surely there's > a more elegant method that someone has come up with here you just parse > the SQL Statement through or something... > > Any suggestions or links will be greatly appreciated... > > Regards > Vlad > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gjgiever at myway.com Mon Sep 27 11:13:08 2004 From: gjgiever at myway.com (Gary J. Giever) Date: Mon, 27 Sep 2004 12:13:08 -0400 (EDT) Subject: [AccessD] No Permission? Message-ID: <20040927161308.6AAE73A72@mprdmxin.myway.com> I have an annoying problem with Access 97 that began when I switched from Windows 98SE to Windows XP Pro. Now when I try to re-link tables, I get this message from the Linked Table Manager: "You do not have access to the folder 'C:\My Documents\Access\In Progress\*.mdb'. See your administrator for access to this folder." Most of the time it lets me re-link the tables anyway, but sometimes it will not. This is confusing since I am the administrator and only user of this computer. I have checked the Security settings under properties for the files and I seem to have permission. Any ideas? Gary J. Giever, M.A. Applications Developer ACCMHS 3285 122nd Avenue PO Drawer 130 Allegan, MI 49010 Gary J. Giever, M.A. Applications Developer ACCMHS 3285 122nd Avenue PO Drawer 130 Allegan, MI 49010 _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From cyx5 at cdc.gov Mon Sep 27 11:13:04 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Mon, 27 Sep 2004 12:13:04 -0400 Subject: [AccessD] ADPs in the future Message-ID: I am working for the CDC at this time. They could not find an Access person in Pittsburgh to do what they needed. ? They want to take this to .net, so I am studying asp.net and vb.net as I develop and fix this in Access. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, September 27, 2004 11:43 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADPs in the future All I know is that the State of California and the Federal government are still using Access desktop databases for stuff the programmers don't have time to create and small business still has the need for custom database apps that don't require SQL Server. ;-/ Charlotte Foust -----Original Message----- From: Ken Ismert [mailto:KIsmert at TexasSystems.com] Sent: Friday, September 24, 2004 10:02 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Dan, Unless the next version of Access is a completely .NET centric product, Windows forms on top, VB.NET or C# underneath, and is fully web enabled (in other words the complete rewrite Mary Chipman said they weren't going to do), it will have nothing of interest in it for me. A simple test: if the next version of Access doesn't natively support Microsoft's flagship database, SQL Server 2005, it has been abandoned. I would like to hear more responses regarding the current prospects of Access consulting. Nearly everyone I know locally is either having a tough time getting Access work, or is moving away from Access towards more profitable work. A consensus from this group that there is a burgeoning Access job market in the near future would do more than anything else to dispel my pessimism. And yes, the bright side of the story is that the fundamentals we learn here are applicable to any new data environment we may encounter. -Ken -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Thursday, September 23, 2004 3:35 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Ken, Let's not sink the ship just yet. A new version of Access (12) will soon begin to be discussed. Let's see what it is first. OTOH, the skills that I know I've developed will let learn whatever I need to learn to make my future work! Dan Waters -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Mon Sep 27 11:27:39 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Mon, 27 Sep 2004 12:27:39 -0400 Subject: [AccessD] Elegant Solution? Message-ID: <08F823FD83787D4BA0B99CA580AD3C744867FF@TTNEXCHCL2.hshhp.com> I have one for VB but it can easily be modded if you're using wrote: > The difference is that if you use CurrentDb, you don't have to refresh > to see the changes. DBEngine is faster because it doesn't refresh > automatically. Redo your test with a refresh after every change and see > how they compare. > > Charlotte Foust > > > > > -----Original Message----- > From: Dan Waters [mailto:dwaters at usinternet.com] > Sent: Friday, September 24, 2004 7:06 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Elegant Solution? > > Using CurrentDB everywhere is slower. > > I use: > Set rst = DBEngine(0)(0).OpenRecordset(stg,db.....) > > I did a test once and determined that using the above line is exactly 8 > times faster than using: Set rst = CurrentDB.OpenRecordset(stg,db.....) > > However, you must use CurrentDB for some things, like setting the > current database's properties in VBA. > > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid > Sent: Friday, September 24, 2004 6:19 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Elegant Solution? > > I thought using currentdb everywhere used extra resources and was a > no-no. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - > IT Helps > Sent: Friday, September 24, 2004 3:57 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Elegant Solution? > > I never do dbs as DAO.Database > > I always do > Set rstTemp as currentdb.openrecordset (bla bla) > > Dbs can be replaced by currentdb > > Erwin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS > Sent: Friday, September 24, 2004 9:13 AM > To: access group > Subject: [AccessD] Elegant Solution? > > Hi Everyone, > > Does anyone have any code or such that handles the following elegantly: > > Dim dbs as DAO.Database > Dim rst as DAO.Recordset > > Set dbs etc etc > > Do whatever here > > dbs.close > dbs = nothing etc etc > > I am tired of having do the above to open database connections and > recordsets in the above manner in every Sub or Function. Surely there's > a more elegant method that someone has come up with here you just parse > the SQL Statement through or something... > > Any suggestions or links will be greatly appreciated... > > Regards > Vlad > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From dwaters at usinternet.com Mon Sep 27 12:35:16 2004 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 27 Sep 2004 12:35:16 -0500 Subject: [AccessD] Elegant Solution? In-Reply-To: <23202672.1096300635849.JavaMail.root@sniper5.usinternet.com> Message-ID: <000201c4a4b8$5a5eb370$de1811d8@danwaters> Charlotte, Thanks for describing this - I did not know that was the difference. With what I'm currently doing I don't need to refresh immediately, but I'll remember this for when I do. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, September 27, 2004 10:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Elegant Solution? The difference is that if you use CurrentDb, you don't have to refresh to see the changes. DBEngine is faster because it doesn't refresh automatically. Redo your test with a refresh after every change and see how they compare. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, September 24, 2004 7:06 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Elegant Solution? Using CurrentDB everywhere is slower. I use: Set rst = DBEngine(0)(0).OpenRecordset(stg,db.....) I did a test once and determined that using the above line is exactly 8 times faster than using: Set rst = CurrentDB.OpenRecordset(stg,db.....) However, you must use CurrentDB for some things, like setting the current database's properties in VBA. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Friday, September 24, 2004 6:19 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Elegant Solution? I thought using currentdb everywhere used extra resources and was a no-no. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Friday, September 24, 2004 3:57 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Elegant Solution? I never do dbs as DAO.Database I always do Set rstTemp as currentdb.openrecordset (bla bla) Dbs can be replaced by currentdb Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS Sent: Friday, September 24, 2004 9:13 AM To: access group Subject: [AccessD] Elegant Solution? Hi Everyone, Does anyone have any code or such that handles the following elegantly: Dim dbs as DAO.Database Dim rst as DAO.Recordset Set dbs etc etc Do whatever here dbs.close dbs = nothing etc etc I am tired of having do the above to open database connections and recordsets in the above manner in every Sub or Function. Surely there's a more elegant method that someone has come up with here you just parse the SQL Statement through or something... Any suggestions or links will be greatly appreciated... Regards Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Sep 27 12:37:34 2004 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 27 Sep 2004 12:37:34 -0500 Subject: [AccessD] ADPs in the future In-Reply-To: <3916622.1096303779545.JavaMail.root@sniper6.usinternet.com> Message-ID: <000301c4a4b8$ac980c40$de1811d8@danwaters> Karen, What was it they wanted to do in Access that they couldn't find anyone to do? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Monday, September 27, 2004 11:13 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADPs in the future I am working for the CDC at this time. They could not find an Access person in Pittsburgh to do what they needed. ? They want to take this to .net, so I am studying asp.net and vb.net as I develop and fix this in Access. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, September 27, 2004 11:43 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADPs in the future All I know is that the State of California and the Federal government are still using Access desktop databases for stuff the programmers don't have time to create and small business still has the need for custom database apps that don't require SQL Server. ;-/ Charlotte Foust -----Original Message----- From: Ken Ismert [mailto:KIsmert at TexasSystems.com] Sent: Friday, September 24, 2004 10:02 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Dan, Unless the next version of Access is a completely .NET centric product, Windows forms on top, VB.NET or C# underneath, and is fully web enabled (in other words the complete rewrite Mary Chipman said they weren't going to do), it will have nothing of interest in it for me. A simple test: if the next version of Access doesn't natively support Microsoft's flagship database, SQL Server 2005, it has been abandoned. I would like to hear more responses regarding the current prospects of Access consulting. Nearly everyone I know locally is either having a tough time getting Access work, or is moving away from Access towards more profitable work. A consensus from this group that there is a burgeoning Access job market in the near future would do more than anything else to dispel my pessimism. And yes, the bright side of the story is that the fundamentals we learn here are applicable to any new data environment we may encounter. -Ken -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Thursday, September 23, 2004 3:35 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Ken, Let's not sink the ship just yet. A new version of Access (12) will soon begin to be discussed. Let's see what it is first. OTOH, the skills that I know I've developed will let learn whatever I need to learn to make my future work! Dan Waters -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Mon Sep 27 13:14:12 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Mon, 27 Sep 2004 14:14:12 -0400 Subject: [AccessD] ADPs in the future Message-ID: The system was originally written by an employee who was not a programmer but was incredibly resourceful in getting the program to work with a million macros. They hired a firm to turn it into a web application and the project failed after about a $300,000 investment. Then they decided to get someone in to make the Access application work better. Once this is up and running and we have an understanding of the tangled web that was woven, then we can up it to the .net environment. Why couldn't they find anyone in Pittsburgh? Looks like most folks have moved up to the .net environment here. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, September 27, 2004 1:38 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Karen, What was it they wanted to do in Access that they couldn't find anyone to do? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Monday, September 27, 2004 11:13 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADPs in the future I am working for the CDC at this time. They could not find an Access person in Pittsburgh to do what they needed. ? They want to take this to .net, so I am studying asp.net and vb.net as I develop and fix this in Access. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, September 27, 2004 11:43 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADPs in the future All I know is that the State of California and the Federal government are still using Access desktop databases for stuff the programmers don't have time to create and small business still has the need for custom database apps that don't require SQL Server. ;-/ Charlotte Foust -----Original Message----- From: Ken Ismert [mailto:KIsmert at TexasSystems.com] Sent: Friday, September 24, 2004 10:02 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Dan, Unless the next version of Access is a completely .NET centric product, Windows forms on top, VB.NET or C# underneath, and is fully web enabled (in other words the complete rewrite Mary Chipman said they weren't going to do), it will have nothing of interest in it for me. A simple test: if the next version of Access doesn't natively support Microsoft's flagship database, SQL Server 2005, it has been abandoned. I would like to hear more responses regarding the current prospects of Access consulting. Nearly everyone I know locally is either having a tough time getting Access work, or is moving away from Access towards more profitable work. A consensus from this group that there is a burgeoning Access job market in the near future would do more than anything else to dispel my pessimism. And yes, the bright side of the story is that the fundamentals we learn here are applicable to any new data environment we may encounter. -Ken -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Thursday, September 23, 2004 3:35 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Ken, Let's not sink the ship just yet. A new version of Access (12) will soon begin to be discussed. Let's see what it is first. OTOH, the skills that I know I've developed will let learn whatever I need to learn to make my future work! Dan Waters -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JColby at dispec.com Mon Sep 27 13:46:28 2004 From: JColby at dispec.com (Colby, John) Date: Mon, 27 Sep 2004 14:46:28 -0400 Subject: [AccessD] No MsgBox allowed Message-ID: <05C61C52D7CAD211A7830008C7DF6F1079BDFA@DISABILITYINS01> I am doing a rewrite on an app that runs unattended and emails (or FTPs) files out to a client. This app absolutely must run, or at least if it fails it has to NOT pop up a message box and halt the process. The process can send many different files, as well as importing data into the database. I want the piece that fails to error. log the error, email a notification of error, and exit so that the next process can attempt to run. The next process may well run just fine. Many of you are familiar with my error handler insertion wizard that inserts error handlers in any function, sub or property, and can do so for an entire module. I have used it forever and have in general been satisfied with it. Until now. It of course creates a default message box displaying a message box for any unhandled errors. Now I need all errors logged to disk, and the error log mailed to a list of email addresses when errors are encountered. Thinking about this immediately raises a slew of questions. I use a framework that sets up a host of functionality. What happens when the failure is so early in the process that it can't even do logging or send an email? How do I know how early that is? My framework has to be rewritten to log errors and email them as well (where possible), since obviously if my framework errors we don't want that hanging the app. OTOH, some errors can be ignored, others should stop the app. If I have classes in the framework used by the app (and obviously I do) how do I get errors in the framework code to log in the app error log? IOW, the framework has a wrapper class to copy files, create directories etc. If that code fails, it can log an error, but it will log to the framework log, not the app log. In a similar vein, does every function return an error code so that anything that can go wrong is checked and logged? If it returns an error code, what if it needs to return a string, i.e. how do you return an error and a value at the same time (I know, pass a parameter - that was just to highlight the issue)? My objective here is not to write a "can't possible crash" thing, but rather to intelligently determine what can be logged and emailed and what is so severe that.. well... it just pops up a message box and someone has to come look for the problem. Those kinds of things should rarely if EVER happen at the application level though. Just because a link for an excel file is bad doesn't mean the next report process will fail, only that THIS report process can't continue. The program I am replacing had the old "pop up an error message" for unhandled errors and it just seems that over time you continually run into new things that couldn't be (or weren't) anticipated. Every month at least the files don't go because the program is sitting with a message box up. Aside from the obvious "Access is not the optimum environment to write such an app", has anyone done stuff like this (in Access) and do you have any thoughts on the issues above or any others I haven't raised? Thinking about this concept gives a whole new appreciation for major apps such as Windows and Access where they should always do something intelligent even in the face of problems not even existing at the time the program was written. Just a few things to get you thinking. John W. Colby The DIS Database Guy From JColby at dispec.com Mon Sep 27 14:25:42 2004 From: JColby at dispec.com (Colby, John) Date: Mon, 27 Sep 2004 15:25:42 -0400 Subject: [AccessD] Err Message-ID: <05C61C52D7CAD211A7830008C7DF6F1079BDFC@DISABILITYINS01> What is the secret to passing the error object into a function. I am calling a function like: Public Function Er(objErr As ErrObject, but when I get inside the function the objErr is a zero and all it's properties are empty. John W. Colby The DIS Database Guy From dwaters at usinternet.com Mon Sep 27 14:43:43 2004 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 27 Sep 2004 14:43:43 -0500 Subject: [AccessD] Err In-Reply-To: <2191843.1096313725173.JavaMail.root@sniper7.usinternet.com> Message-ID: <001a01c4a4ca$4c2dde40$de1811d8@danwaters> John, Immediately after you use an error value the first time, its value is then 'erased' by Access. So to pass an error value or use it more than once, you need to create a variable like: GlngErrorNumber = Err.Number GstgErrorDescription = Err.Description Now you can use your variable as many times as you like. I don't remember where I first read this, but I was stumped for a while too. There was a description of why this happens, but that's lost to old memoryland too. HTH, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John Sent: Monday, September 27, 2004 2:26 PM To: 'AccessD at DatabaseAdvisors.com' Subject: [AccessD] Err What is the secret to passing the error object into a function. I am calling a function like: Public Function Er(objErr As ErrObject, but when I get inside the function the objErr is a zero and all it's properties are empty. John W. Colby The DIS Database Guy -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at adelphia.net Mon Sep 27 15:01:52 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Mon, 27 Sep 2004 16:01:52 -0400 Subject: [AccessD] Err In-Reply-To: <05C61C52D7CAD211A7830008C7DF6F1079BDFC@DISABILITYINS01> Message-ID: <000001c4a4cc$d5d0efa0$060aa845@hargrove.internal> Pass the Error number in and then Raise it to deal with the actual error. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John Sent: Monday, September 27, 2004 3:26 PM To: 'AccessD at DatabaseAdvisors.com' Subject: [AccessD] Err What is the secret to passing the error object into a function. I am calling a function like: Public Function Er(objErr As ErrObject, but when I get inside the function the objErr is a zero and all it's properties are empty. John W. Colby The DIS Database Guy -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davide at dalyn.co.nz Mon Sep 27 14:36:00 2004 From: davide at dalyn.co.nz (David Emerson) Date: Tue, 28 Sep 2004 07:36:00 +1200 Subject: [AccessD] Access/SQL Dates In-Reply-To: <000001c4a4a8$e4c62b70$060aa845@hargrove.internal> References: <1D7828CDB8350747AFE9D69E0E90DA1F0471A96E@xlivmbx21.aig.com> <000001c4a4a8$e4c62b70$060aa845@hargrove.internal> Message-ID: <6.1.2.0.0.20040928073454.019ec670@mail.dalyn.co.nz> Have you tried <'2004-09-24' Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Churton Park Wellington, New Zealand Ph/Fax 0064 4 478-7456 At 28/09/2004, you wrote: >You are incorrect. The single quote (') is the correct delimiting character >to replace the pound sign (#) used by Access. The percentage symbol (%) is >the character to use when doing a LIKE search -- Access used an asterisk >(*). > >Doris Manning >Database Administrator >Hargrove Inc. >www.hargroveinc.com > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert >Sent: Monday, September 27, 2004 11:19 AM >To: 'Access Developers discussion and problem solving'; 'Nicholson, Karen' >Subject: RE: [AccessD] Access/SQL Dates > > >Very probably I am wrong as I've not yet had the joy of dealing with SQL >server, but is it not the case that the date delimiting character in SQL >Server is the percentage symbol (%) not pound or hash (#)? > >Lambert > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Sep 27 16:57:07 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 27 Sep 2004 14:57:07 -0700 Subject: [AccessD] No Permission? References: <20040927161308.6AAE73A72@mprdmxin.myway.com> Message-ID: <41588CB3.6030109@shaw.ca> Are you sure you are logging on as administrator and not another user name? Try this code to indicate your user name at logon http://www.mvps.org/access/api/api0008.htm Generally with a named user login "my documents" folder for user "marty" would look like C:\Documents and Settings\marty\My Documents\Access\ or C:\Documents and Settings\All Users rather than C:\My Documents\Access\ unless you have moved it, somehow You could have a clobbered user profile which I am not sure how to correct. Try this code to see what is happening Sub mydocfolder() Dim MyAppPath As String Dim wshShell As Object Set wshShell = CreateObject("wscript.shell") MyAppPath = wshShell.SpecialFolders("MyDocuments") Set wshShell = Nothing Debug.Print MyAppPath Debug.Print fOSUserName End Sub See this article (it takes a second or two for the right frame to load) http://securityadmin.info/faq.asp#ownership If this is Pro, you need to disable simple file sharing using the Folder Options control panel, and then if you are using an admin account, you can see the security tab. Open Windows Explorer and right-click your "My Documents" folder. Then select the Sharing and Security option and click the security tab. You should see Administrators group, SYSTEM, and owner listed with full control, but likely you won't see owner listed and if owner is not part of the Administrators group, then that explains why you can't access the folder. Click the advanced button and click the owner tab. If the owner is Administrators, then leave it alone, but if the owner is some long string of numbers, you need to click Administrators and the checkbox that says to apply this to all subfolders. Then click OK. Now the folder belongs to a real account (and if you reinstall again, it won't be an unknown account, it will continue to be Administrators group). If owner does not appear in the list of accounts, then add owner and give owner "full control". Make sure that this is applied to all subfolders and files. Reboot to normal mode, logon as owner and try to access the folder again. Gary J. Giever wrote: >I have an annoying problem with Access 97 that began when I switched from Windows 98SE to Windows XP Pro. Now when I try to re-link tables, I get this message from the Linked Table Manager: "You do not have access to the folder 'C:\My Documents\Access\In Progress\*.mdb'. See your administrator for access to this folder." Most of the time it lets me re-link the tables anyway, but sometimes it will not. > >This is confusing since I am the administrator and only user of this computer. I have checked the Security settings under properties for the files and I seem to have permission. Any ideas? > > >Gary J. Giever, M.A. >Applications Developer >ACCMHS >3285 122nd Avenue >PO Drawer 130 >Allegan, MI 49010 > > > >Gary J. Giever, M.A. >Applications Developer >ACCMHS >3285 122nd Avenue >PO Drawer 130 >Allegan, MI 49010 > > >_______________________________________________ >No banners. No pop-ups. No kidding. >Make My Way your home on the Web - http://www.myway.com > > -- Marty Connelly Victoria, B.C. Canada From Chris.Foote at uk.thalesgroup.com Sat Sep 25 08:53:55 2004 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Sat, 25 Sep 2004 14:53:55 +0100 Subject: [AccessD] Administrivia - Server Back Up Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C381@ntscxch1.int.rdel.co.uk> Absolutely! Many thanks for all that you do Bryan! Regards Chris Foote (also at work on a Saturday in the UK) > -----Original Message----- > From: Andy Lacey [mailto:andy at minstersystems.co.uk] > Sent: Saturday, September 25, 2004 2:45 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Administrivia - Server Back Up > > > A vote of thanks for Bryan's efforts. > > -- 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: 25 September 2004 13:12 > > To: administrivia at databaseadvisors.com > > Subject: [AccessD] Administrivia - Server Back Up > > > > > > Well, the mailserver and list software is back up and running. > > > > Hopefully our problems are all cleared up now. If not, > please let me > > know at either listmaster at databaseadvisors.com AND > > carbonnb at sympatico.ca > > > > That way if dba's server is not working, then I will still > be able to > > look at it. > > > > Thanks for your understanding and patience. > > > > -- > > Bryan Carbonnell - listmaster at databaseadvisors.com From Chris.Foote at uk.thalesgroup.com Mon Sep 27 07:21:27 2004 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Mon, 27 Sep 2004 13:21:27 +0100 Subject: [AccessD] Test (please ignore!) Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C389@ntscxch1.int.rdel.co.uk> Test From GregSmith at starband.net Mon Sep 27 14:10:09 2004 From: GregSmith at starband.net (Greg Smith) Date: Mon, 27 Sep 2004 14:10:09 -0500 (CDT) Subject: [AccessD] No Permission? In-Reply-To: <20040927161308.6AAE73A72@mprdmxin.myway.com> References: <20040927161308.6AAE73A72@mprdmxin.myway.com> Message-ID: <2319.216.43.21.235.1096312209.squirrel@cetus.email.starband.net> Gary: I've lived with that for years with Access 97. None of our network guys could figure it out...so I just left it in my "Annoying Access 97 Things" box and learned to live with it. Greg Smith gregsmith at starband.net > I have an annoying problem with Access 97 that began when I switched > from Windows 98SE to Windows XP Pro. Now when I try to re-link tables, > I get this message from the Linked Table Manager: "You do not have > access to the folder 'C:\My Documents\Access\In Progress\*.mdb'. See > your administrator for access to this folder." Most of the time it lets > me re-link the tables anyway, but sometimes it will not. > > This is confusing since I am the administrator and only user of this > computer. I have checked the Security settings under properties for the > files and I seem to have permission. Any ideas? > > > Gary J. Giever, M.A. > Applications Developer > ACCMHS > 3285 122nd Avenue > PO Drawer 130 > Allegan, MI 49010 > > > > Gary J. Giever, M.A. > Applications Developer > ACCMHS > 3285 122nd Avenue > PO Drawer 130 > Allegan, MI 49010 > > > _______________________________________________ > No banners. No pop-ups. No kidding. > Make My Way your home on the Web - http://www.myway.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Mon Sep 27 15:06:49 2004 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Mon, 27 Sep 2004 16:06:49 -0400 Subject: [AccessD] Adding Hyperlink field using DAO Message-ID: <006701c4a4cd$86322260$0a00a8c0@cx470148a> I need to add a hyperlink field to a table using DAO. I tried the following, but received an error. Set fld = tbl.CreateField("EstimateSpreadsheet", dbHyperlinkField) Apparently, I need to create the field as "Memo" and set the attributes to dbHyperlinkField. When adding a field to a table in Design view, I can select data type Hyperlink. Why can't I do this in code? Or can I? I have a "master" database (which I add/update fields in Design view). There are several other databases in which I want to propagate (using DAO) changes from the master. How can I do this? I am using Access 97. Thanks, Barb Ryan From GregWSmith at starband.net Mon Sep 27 15:50:00 2004 From: GregWSmith at starband.net (GregWSmith at starband.net) Date: Mon, 27 Sep 2004 16:50:00 -0400 (EDT) Subject: [AccessD] Test-Do not archive Message-ID: <2694.216.43.21.235.1096318200.squirrel@medusa.email.starband.net> Test only. Greg -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: untitled-2 URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: untitled-3 URL: From carbonnb at sympatico.ca Mon Sep 27 20:25:22 2004 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Mon, 27 Sep 2004 21:25:22 -0400 Subject: [AccessD] No MsgBox allowed In-Reply-To: <05C61C52D7CAD211A7830008C7DF6F1079BDFA@DISABILITYINS01> Message-ID: <41588542.20768.B68441@localhost> On 27 Sep 2004 at 14:46, Colby, John wrote: > importing data into the database. I want the piece that fails to > error. log the error, email a notification of error, and exit so that > the next process can attempt to run. The next process may well run > just fine. > box displaying a message box for any unhandled errors. Now I need all > errors logged to disk, and the error log mailed to a list of email > addresses when errors are encountered. John, Have a look at the error logging module in the BEU. We needed a way to send back any errors in the upgrade so that not only could the developer upgrade the BE remotely, they could also debug it remotely too. > Thinking about this immediately raises a slew of questions. I use a > framework that sets up a host of functionality. What happens when the > failure is so early in the process that it can't even do logging or > send an email? How do I know how early that is? My framework has to > be rewritten to log errors and email them as well (where possible), > since obviously if my framework errors we don't want that hanging the > app. OTOH, some errors can be ignored, others should stop the app. > If I have classes in the framework used by the app (and obviously I > do) how do I get errors in the framework code to log in the app error > log? IOW, the framework has a wrapper class to copy files, create > directories etc. If that code fails, it can log an error, but it will > log to the framework log, not the app log. > Aside from the obvious "Access is not the optimum environment to write > such an app", has anyone done stuff like this (in Access) and do you > have any thoughts on the issues above or any others I haven't raised? > Thinking about this concept gives a whole new appreciation for major > apps such as Windows and Access where they should always do something > intelligent even in the face of problems not even existing at the time > the program was written. In the BEU, one of the very first, if not the absolute first things the BEU does is initialise the ErrorLogging class. That way when ANY error happens, it can be logged. I wrote it to solve a problem that I had with the BEU, how to detail the errors I found, so that Reuben and Andy could fix 'em :), and it was such a logical step to include it in the BEU as a feature. I have also ripped it out of the BEU to include in my most recent project, so that I could handle issues that arise whitout having to run all over the place to figure it out Have a look at it, and hopefully you can integrate something like it into your framework. -- Bryan Carbonnell - carbonnb at sympatico.ca It was difficult to code. So it damn well better be difficult to use. From GregSmith at starband.net Mon Sep 27 09:11:41 2004 From: GregSmith at starband.net (Greg Smith) Date: Mon, 27 Sep 2004 09:11:41 -0500 (CDT) Subject: [AccessD] Administrivia - Server Back Up In-Reply-To: <61F915314798D311A2F800A0C9C8318805CED50A@dibble.observatory.donnslaw.co.uk> References: <61F915314798D311A2F800A0C9C8318805CED50A@dibble.observatory.donnslaw.co.uk> Message-ID: <1470.216.43.21.235.1096294301.squirrel@cetus.email.starband.net> Bryan: Unless this one magically goes through, all my posts are still not getting there...I sent one last night (Sunday) to you at listmaster at databaseadvisors.com but I don't know if that even got to you. I'm cc'ing this one to your other address as well. Below is a copy of the returned message...I don't know if that helps you or not... This one was from Friday's message...haven't gotten anything about last night's message ... but it's not posted to AccessD yet either... Greg Returned message text: The original message was received at Fri, 24 Sep 2004 09:34:39 -0400 from cetus.email.starband.net [148.78.247.27] (may be forged) ----- The following addresses had permanent fatal errors ----- ----- Transcript of session follows ----- 221 2.0.0 databaseadvisors.com closing connection ... Deferred Message could not be delivered for 2 days Message will be deleted from queue From mark.breen at gmail.com Tue Sep 28 05:13:48 2004 From: mark.breen at gmail.com (Mark Breen) Date: Tue, 28 Sep 2004 11:13:48 +0100 Subject: [AccessD] Elegant Solution? In-Reply-To: <08F823FD83787D4BA0B99CA580AD3C744867FF@TTNEXCHCL2.hshhp.com> References: <08F823FD83787D4BA0B99CA580AD3C744867FF@TTNEXCHCL2.hshhp.com> Message-ID: <26a96cce04092803136ce6b2a8@mail.gmail.com> Hello Jim, Actually it was for VB that I really wanted it, but I felt shy about admitting it on AccessD. If you do not mind, I would be intersted in seeing it. I do not mind it being posted on list, I presume most are mildly interested, but if you prefer, you may send it directly. Thanks Jim, Mark Breen Ireland On Mon, 27 Sep 2004 12:27:39 -0400, Jim DeMarco wrote: > I have one for VB but it can easily be modded if you're using > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Breen > Sent: Monday, September 27, 2004 11:58 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Elegant Solution? > > Hello All, > > Does anyone have a similar class or function for elegantly handling > ADO record sets ? > > Or similar in the .Net environment ? > > Mark Breen > Ireland > > On Mon, 27 Sep 2004 08:45:22 -0700, Charlotte Foust > wrote: > > The difference is that if you use CurrentDb, you don't have to refresh > > to see the changes. DBEngine is faster because it doesn't refresh > > automatically. Redo your test with a refresh after every change and see > > how they compare. > > > > Charlotte Foust > > > > > > > > > > -----Original Message----- > > From: Dan Waters [mailto:dwaters at usinternet.com] > > Sent: Friday, September 24, 2004 7:06 AM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Elegant Solution? > > > > Using CurrentDB everywhere is slower. > > > > I use: > > Set rst = DBEngine(0)(0).OpenRecordset(stg,db.....) > > > > I did a test once and determined that using the above line is exactly 8 > > times faster than using: Set rst = CurrentDB.OpenRecordset(stg,db.....) > > > > However, you must use CurrentDB for some things, like setting the > > current database's properties in VBA. > > > > Dan Waters > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid > > Sent: Friday, September 24, 2004 6:19 AM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Elegant Solution? > > > > I thought using currentdb everywhere used extra resources and was a > > no-no. > > > > Bobby > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - > > IT Helps > > Sent: Friday, September 24, 2004 3:57 AM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] Elegant Solution? > > > > I never do dbs as DAO.Database > > > > I always do > > Set rstTemp as currentdb.openrecordset (bla bla) > > > > Dbs can be replaced by currentdb > > > > Erwin > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS > > Sent: Friday, September 24, 2004 9:13 AM > > To: access group > > Subject: [AccessD] Elegant Solution? > > > > Hi Everyone, > > > > Does anyone have any code or such that handles the following elegantly: > > > > Dim dbs as DAO.Database > > Dim rst as DAO.Recordset > > > > Set dbs etc etc > > > > Do whatever here > > > > dbs.close > > dbs = nothing etc etc > > > > I am tired of having do the above to open database connections and > > recordsets in the above manner in every Sub or Function. Surely there's > > a more elegant method that someone has come up with here you just parse > > the SQL Statement through or something... > > > > Any suggestions or links will be greatly appreciated... > > > > Regards > > Vlad > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > *********************************************************************************** > "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > *********************************************************************************** > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gjgiever at myway.com Tue Sep 28 06:05:00 2004 From: gjgiever at myway.com (Gary J. Giever) Date: Tue, 28 Sep 2004 07:05:00 -0400 (EDT) Subject: [AccessD] No Permission? Message-ID: <20040928110500.694DF39FB@mprdmxin.myway.com> I log in as having administrative rights but not as The Administrator. I don't like the XP set up, so I created a new folder on the C drive called My Documents and I ignore the XP My Documents which is buried somewhere. Thanks for the suggestions, I shall look into those issues. Gary J. Giever, M.A. Applications Developer ACCMHS 3285 122nd Avenue PO Drawer 130 Allegan, MI 49010 --- On Mon 09/27, MartyConnelly < martyconnelly at shaw.ca > wrote: From: MartyConnelly [mailto: martyconnelly at shaw.ca] To: accessd at databaseadvisors.com Date: Mon, 27 Sep 2004 14:57:07 -0700 Subject: Re: [AccessD] No Permission? Are you sure you are logging on as administrator and not another user name?

Try this code to indicate your user name at logon
http://www.mvps.org/access/api/api0008.htm

Generally with a named user login "my documents" folder for user "marty"
would look like
C:\Documents and Settings\marty\My Documents\Access\
or
C:\Documents and Settings\All Users

rather than

C:\My Documents\Access\



unless you have moved it, somehow

You could have a clobbered user profile which I am not sure how to correct.

Try this code to see what is happening
Sub mydocfolder()
Dim MyAppPath As String
Dim wshShell As Object
Set wshShell = CreateObject("wscript.shell")
MyAppPath = wshShell.SpecialFolders("MyDocuments")
Set wshShell = Nothing

Debug.Print MyAppPath
Debug.Print fOSUserName
End Sub

See this article (it takes a second or two for the right frame to load)
http://securityadmin.info/faq.asp#ownership


If this is Pro, you need to disable simple file sharing using
the Folder Options control panel, and then if you are using an admin
account, you can see the security tab.

Open Windows Explorer and right-click your "My Documents" folder. Then
select the Sharing and Security option and click the security tab. You
should see Administrators group, SYSTEM, and owner listed with full
control, but likely you won't see owner listed and if owner is not part
of the Administrators group, then that explains why you can't access the
folder.

Click the advanced button and click the owner tab. If the owner is
Administrators, then leave it alone, but if the owner is some long
string of numbers, you need to click Administrators and the checkbox
that says to apply this to all subfolders. Then click OK. Now the folder
belongs to a real account (and if you reinstall again, it won't be an
unknown account, it will continue to be Administrators group).

If owner does not appear in the list of accounts, then add owner and
give owner "full control". Make sure that this is applied to all
subfolders and files.

Reboot to normal mode, logon as owner and try to access the folder
again.


Gary J. Giever wrote:

>I have an annoying problem with Access 97 that began when I switched from Windows 98SE to Windows XP Pro. Now when I try to re-link tables, I get this message from the Linked Table Manager: "You do not have access to the folder 'C:\My Documents\Access\In Progress\*.mdb'. See your administrator for access to this folder." Most of the time it lets me re-link the tables anyway, but sometimes it will not.
>
>This is confusing since I am the administrator and only user of this computer. I have checked the Security settings under properties for the files and I seem to have permission. Any ideas?
>
>
>Gary J. Giever, M.A.
>Applications Developer
>ACCMHS
>3285 122nd Avenue
>PO Drawer 130
>Allegan, MI 49010
>
>
>
>Gary J. Giever, M.A.
>Applications Developer
>ACCMHS
>3285 122nd Avenue
>PO Drawer 130
>Allegan, MI 49010
>
>
>_______________________________________________
>No banners. No pop-ups. No kidding.
>Make My Way your home on the Web - http://www.myway.com
>
>

--
Marty Connelly
Victoria, B.C.
Canada



--
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com
_______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From gjgiever at myway.com Tue Sep 28 05:59:40 2004 From: gjgiever at myway.com (Gary J. Giever) Date: Tue, 28 Sep 2004 06:59:40 -0400 (EDT) Subject: [AccessD] No Permission? Message-ID: <20040928105940.6F55D39B5@mprdmxin.myway.com> That's what I was figuring too. But Marty Connelly came up with some ideas that I shall explore before I give up. Gary J. Giever, M.A. Applications Developer ACCMHS 3285 122nd Avenue PO Drawer 130 Allegan, MI 49010 --- On Mon 09/27, Greg Smith < GregSmith at starband.net > wrote: From: Greg Smith [mailto: GregSmith at starband.net] To: accessd at databaseadvisors.com Date: Mon, 27 Sep 2004 14:10:09 -0500 (CDT) Subject: Re: [AccessD] No Permission? Gary:

I've lived with that for years with Access 97. None of our network guys
could figure it out...so I just left it in my "Annoying Access 97 Things"
box and learned to live with it.

Greg Smith
gregsmith at starband.net

> I have an annoying problem with Access 97 that began when I switched
> from Windows 98SE to Windows XP Pro. Now when I try to re-link tables,
> I get this message from the Linked Table Manager: "You do not have
> access to the folder 'C:\My Documents\Access\In Progress\*.mdb'. See
> your administrator for access to this folder." Most of the time it lets
> me re-link the tables anyway, but sometimes it will not.
>
> This is confusing since I am the administrator and only user of this
> computer. I have checked the Security settings under properties for the
> files and I seem to have permission. Any ideas?
>
>
> Gary J. Giever, M.A.
> Applications Developer
> ACCMHS
> 3285 122nd Avenue
> PO Drawer 130
> Allegan, MI 49010
>
>
>
> Gary J. Giever, M.A.
> Applications Developer
> ACCMHS
> 3285 122nd Avenue
> PO Drawer 130
> Allegan, MI 49010
>
>
> _______________________________________________
> No banners. No pop-ups. No kidding.
> Make My Way your home on the Web - http://www.myway.com
> --
> _______________________________________________
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/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 banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From jwcolby at colbyconsulting.com Tue Sep 28 06:48:49 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 28 Sep 2004 07:48:49 -0400 Subject: [AccessD] Elegant Solution? In-Reply-To: <26a96cce04092803136ce6b2a8@mail.gmail.com> Message-ID: <003d01c4a551$1fdfa120$e8dafea9@ColbyM6805> Mark, Are you using vb6 or .net? John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: Tuesday, September 28, 2004 6:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Elegant Solution? Hello Jim, Actually it was for VB that I really wanted it, but I felt shy about admitting it on AccessD. If you do not mind, I would be intersted in seeing it. I do not mind it being posted on list, I presume most are mildly interested, but if you prefer, you may send it directly. Thanks Jim, Mark Breen Ireland On Mon, 27 Sep 2004 12:27:39 -0400, Jim DeMarco wrote: > I have one for VB but it can easily be modded if you're using > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Breen > Sent: Monday, September 27, 2004 11:58 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Elegant Solution? > > Hello All, > > Does anyone have a similar class or function for elegantly handling > ADO record sets ? > > Or similar in the .Net environment ? > > Mark Breen > Ireland > > On Mon, 27 Sep 2004 08:45:22 -0700, Charlotte Foust > wrote: > > The difference is that if you use CurrentDb, you don't have to > > refresh to see the changes. DBEngine is faster because it doesn't > > refresh automatically. Redo your test with a refresh after every > > change and see how they compare. > > > > Charlotte Foust > > > > > > > > > > -----Original Message----- > > From: Dan Waters [mailto:dwaters at usinternet.com] > > Sent: Friday, September 24, 2004 7:06 AM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Elegant Solution? > > > > Using CurrentDB everywhere is slower. > > > > I use: > > Set rst = DBEngine(0)(0).OpenRecordset(stg,db.....) > > > > I did a test once and determined that using the above line is > > exactly 8 times faster than using: Set rst = > > CurrentDB.OpenRecordset(stg,db.....) > > > > However, you must use CurrentDB for some things, like setting the > > current database's properties in VBA. > > > > Dan Waters > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby > > Heid > > Sent: Friday, September 24, 2004 6:19 AM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Elegant Solution? > > > > I thought using currentdb everywhere used extra resources and was a > > no-no. > > > > Bobby > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin > > Craps - IT Helps > > Sent: Friday, September 24, 2004 3:57 AM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] Elegant Solution? > > > > I never do dbs as DAO.Database > > > > I always do > > Set rstTemp as currentdb.openrecordset (bla bla) > > > > Dbs can be replaced by currentdb > > > > Erwin > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS > > Sent: Friday, September 24, 2004 9:13 AM > > To: access group > > Subject: [AccessD] Elegant Solution? > > > > Hi Everyone, > > > > Does anyone have any code or such that handles the following > > elegantly: > > > > Dim dbs as DAO.Database > > Dim rst as DAO.Recordset > > > > Set dbs etc etc > > > > Do whatever here > > > > dbs.close > > dbs = nothing etc etc > > > > I am tired of having do the above to open database connections and > > recordsets in the above manner in every Sub or Function. Surely > > there's a more elegant method that someone has come up with here you > > just parse the SQL Statement through or something... > > > > Any suggestions or links will be greatly appreciated... > > > > Regards > > Vlad > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > ********************************************************************** > ************* > "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > **************************************************************************** ******* > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mark.breen at gmail.com Tue Sep 28 07:46:58 2004 From: mark.breen at gmail.com (Mark Breen) Date: Tue, 28 Sep 2004 13:46:58 +0100 Subject: [AccessD] Elegant Solution? In-Reply-To: <003d01c4a551$1fdfa120$e8dafea9@ColbyM6805> References: <26a96cce04092803136ce6b2a8@mail.gmail.com> <003d01c4a551$1fdfa120$e8dafea9@ColbyM6805> Message-ID: <26a96cce04092805462fa522d1@mail.gmail.com> Hello John, I am about to start a .Net project, but I have not written a line of it yet, other than playing with some exercises in a book I have on it. It has been my intention, once I start, to read your emails and to search the archives for other ones you may have written on it. How have you gotton on with it? Are you still working with it? In relation to the ADO class, I do not mind which ver it is, I was curious to see what others out there do to handle this issue. I use cut and paste and am very careful about tidying up as I go. It is not that sophisticated, but it works and it prevents concerns about things getting confused when By Ref etc come into play. Also, I wonder about the over head of passing By Val when it is a big rst being passed. Nevertheless, I am interested in a efficient way of openning rst and passing them back without having to do all the work in side each sub routine. How is life, how are you enjoying parenthood ? Mark On Tue, 28 Sep 2004 07:48:49 -0400, John W. Colby wrote: > Mark, > > Are you using vb6 or .net? > > John W. Colby > www.ColbyConsulting.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: Tuesday, September 28, 2004 6:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Elegant Solution? > > Hello Jim, > > Actually it was for VB that I really wanted it, but I felt shy about > admitting it on AccessD. > > If you do not mind, I would be intersted in seeing it. > > I do not mind it being posted on list, I presume most are mildly interested, > but if you prefer, you may send it directly. > > Thanks Jim, > > Mark Breen > Ireland > > On Mon, 27 Sep 2004 12:27:39 -0400, Jim DeMarco > wrote: > > I have one for VB but it can easily be modded if you're using > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Breen > > Sent: Monday, September 27, 2004 11:58 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Elegant Solution? > > > > Hello All, > > > > Does anyone have a similar class or function for elegantly handling > > ADO record sets ? > > > > Or similar in the .Net environment ? > > > > Mark Breen > > Ireland > > > > On Mon, 27 Sep 2004 08:45:22 -0700, Charlotte Foust > > wrote: > > > The difference is that if you use CurrentDb, you don't have to > > > refresh to see the changes. DBEngine is faster because it doesn't > > > refresh automatically. Redo your test with a refresh after every > > > change and see how they compare. > > > > > > Charlotte Foust > > > > > > > > > > > > > > > -----Original Message----- > > > From: Dan Waters [mailto:dwaters at usinternet.com] > > > Sent: Friday, September 24, 2004 7:06 AM > > > To: 'Access Developers discussion and problem solving' > > > Subject: RE: [AccessD] Elegant Solution? > > > > > > Using CurrentDB everywhere is slower. > > > > > > I use: > > > Set rst = DBEngine(0)(0).OpenRecordset(stg,db.....) > > > > > > I did a test once and determined that using the above line is > > > exactly 8 times faster than using: Set rst = > > > CurrentDB.OpenRecordset(stg,db.....) > > > > > > However, you must use CurrentDB for some things, like setting the > > > current database's properties in VBA. > > > > > > Dan Waters > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby > > > Heid > > > Sent: Friday, September 24, 2004 6:19 AM > > > To: 'Access Developers discussion and problem solving' > > > Subject: RE: [AccessD] Elegant Solution? > > > > > > I thought using currentdb everywhere used extra resources and was a > > > no-no. > > > > > > Bobby > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin > > > Craps - IT Helps > > > Sent: Friday, September 24, 2004 3:57 AM > > > To: Access Developers discussion and problem solving > > > Subject: RE: [AccessD] Elegant Solution? > > > > > > I never do dbs as DAO.Database > > > > > > I always do > > > Set rstTemp as currentdb.openrecordset (bla bla) > > > > > > Dbs can be replaced by currentdb > > > > > > Erwin > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS > > > Sent: Friday, September 24, 2004 9:13 AM > > > To: access group > > > Subject: [AccessD] Elegant Solution? > > > > > > Hi Everyone, > > > > > > Does anyone have any code or such that handles the following > > > elegantly: > > > > > > Dim dbs as DAO.Database > > > Dim rst as DAO.Recordset > > > > > > Set dbs etc etc > > > > > > Do whatever here > > > > > > dbs.close > > > dbs = nothing etc etc > > > > > > I am tired of having do the above to open database connections and > > > recordsets in the above manner in every Sub or Function. Surely > > > there's a more elegant method that someone has come up with here you > > > just parse the SQL Statement through or something... > > > > > > Any suggestions or links will be greatly appreciated... > > > > > > Regards > > > Vlad > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > ********************************************************************** > > ************* > > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that is > confidential or privileged. If you are not the intended recipient, you are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail address > noted above or calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > > > **************************************************************************** > ******* > > > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From actebs at actebs.com.au Tue Sep 28 08:32:42 2004 From: actebs at actebs.com.au (ACTEBS) Date: Tue, 28 Sep 2004 23:32:42 +1000 Subject: [AccessD] Elegant Solution? Message-ID: <2025BB6F17FCB54791F23CD50558332803851E@starfleet.unknown.local> Jim, I would love to get a copy... Regards Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Tuesday, 28 September 2004 2:28 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Elegant Solution? I have one for VB but it can easily be modded if you're using wrote: > The difference is that if you use CurrentDb, you don't have to refresh > to see the changes. DBEngine is faster because it doesn't refresh > automatically. Redo your test with a refresh after every change and > see how they compare. > > Charlotte Foust > > > > > -----Original Message----- > From: Dan Waters [mailto:dwaters at usinternet.com] > Sent: Friday, September 24, 2004 7:06 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Elegant Solution? > > Using CurrentDB everywhere is slower. > > I use: > Set rst = DBEngine(0)(0).OpenRecordset(stg,db.....) > > I did a test once and determined that using the above line is exactly > 8 times faster than using: Set rst = > CurrentDB.OpenRecordset(stg,db.....) > > However, you must use CurrentDB for some things, like setting the > current database's properties in VBA. > > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid > Sent: Friday, September 24, 2004 6:19 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Elegant Solution? > > I thought using currentdb everywhere used extra resources and was a > no-no. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps > - IT Helps > Sent: Friday, September 24, 2004 3:57 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Elegant Solution? > > I never do dbs as DAO.Database > > I always do > Set rstTemp as currentdb.openrecordset (bla bla) > > Dbs can be replaced by currentdb > > Erwin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS > Sent: Friday, September 24, 2004 9:13 AM > To: access group > Subject: [AccessD] Elegant Solution? > > Hi Everyone, > > Does anyone have any code or such that handles the following > elegantly: > > Dim dbs as DAO.Database > Dim rst as DAO.Recordset > > Set dbs etc etc > > Do whatever here > > dbs.close > dbs = nothing etc etc > > I am tired of having do the above to open database connections and > recordsets in the above manner in every Sub or Function. Surely > there's a more elegant method that someone has come up with here you > just parse the SQL Statement through or something... > > Any suggestions or links will be greatly appreciated... > > Regards > Vlad > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JColby at dispec.com Tue Sep 28 09:25:42 2004 From: JColby at dispec.com (Colby, John) Date: Tue, 28 Sep 2004 10:25:42 -0400 Subject: [AccessD] Elegant Solution? Message-ID: <05C61C52D7CAD211A7830008C7DF6F1079BDFE@DISABILITYINS01> Parenthood is a gas. I never thought I'd care, I was always a dog person. Fill up the bowl with food and water and leave for the weekend if I wanted. Now..... John W. Colby The DIS Database Guy -----Original Message----- From: Mark Breen [mailto:mark.breen at gmail.com] Sent: Tuesday, September 28, 2004 8:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Elegant Solution? Hello John, I am about to start a .Net project, but I have not written a line of it yet, other than playing with some exercises in a book I have on it. It has been my intention, once I start, to read your emails and to search the archives for other ones you may have written on it. How have you gotton on with it? Are you still working with it? In relation to the ADO class, I do not mind which ver it is, I was curious to see what others out there do to handle this issue. I use cut and paste and am very careful about tidying up as I go. It is not that sophisticated, but it works and it prevents concerns about things getting confused when By Ref etc come into play. Also, I wonder about the over head of passing By Val when it is a big rst being passed. Nevertheless, I am interested in a efficient way of openning rst and passing them back without having to do all the work in side each sub routine. How is life, how are you enjoying parenthood ? Mark On Tue, 28 Sep 2004 07:48:49 -0400, John W. Colby wrote: > Mark, > > Are you using vb6 or .net? > > John W. Colby > www.ColbyConsulting.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: Tuesday, September 28, 2004 6:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Elegant Solution? > > Hello Jim, > > Actually it was for VB that I really wanted it, but I felt shy about > admitting it on AccessD. > > If you do not mind, I would be intersted in seeing it. > > I do not mind it being posted on list, I presume most are mildly interested, > but if you prefer, you may send it directly. > > Thanks Jim, > > Mark Breen > Ireland > > On Mon, 27 Sep 2004 12:27:39 -0400, Jim DeMarco > wrote: > > I have one for VB but it can easily be modded if you're using > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Breen > > Sent: Monday, September 27, 2004 11:58 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Elegant Solution? > > > > Hello All, > > > > Does anyone have a similar class or function for elegantly handling > > ADO record sets ? > > > > Or similar in the .Net environment ? > > > > Mark Breen > > Ireland > > > > On Mon, 27 Sep 2004 08:45:22 -0700, Charlotte Foust > > wrote: > > > The difference is that if you use CurrentDb, you don't have to > > > refresh to see the changes. DBEngine is faster because it doesn't > > > refresh automatically. Redo your test with a refresh after every > > > change and see how they compare. > > > > > > Charlotte Foust > > > > > > > > > > > > > > > -----Original Message----- > > > From: Dan Waters [mailto:dwaters at usinternet.com] > > > Sent: Friday, September 24, 2004 7:06 AM > > > To: 'Access Developers discussion and problem solving' > > > Subject: RE: [AccessD] Elegant Solution? > > > > > > Using CurrentDB everywhere is slower. > > > > > > I use: > > > Set rst = DBEngine(0)(0).OpenRecordset(stg,db.....) > > > > > > I did a test once and determined that using the above line is > > > exactly 8 times faster than using: Set rst = > > > CurrentDB.OpenRecordset(stg,db.....) > > > > > > However, you must use CurrentDB for some things, like setting the > > > current database's properties in VBA. > > > > > > Dan Waters > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby > > > Heid > > > Sent: Friday, September 24, 2004 6:19 AM > > > To: 'Access Developers discussion and problem solving' > > > Subject: RE: [AccessD] Elegant Solution? > > > > > > I thought using currentdb everywhere used extra resources and was a > > > no-no. > > > > > > Bobby > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin > > > Craps - IT Helps > > > Sent: Friday, September 24, 2004 3:57 AM > > > To: Access Developers discussion and problem solving > > > Subject: RE: [AccessD] Elegant Solution? > > > > > > I never do dbs as DAO.Database > > > > > > I always do > > > Set rstTemp as currentdb.openrecordset (bla bla) > > > > > > Dbs can be replaced by currentdb > > > > > > Erwin > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS > > > Sent: Friday, September 24, 2004 9:13 AM > > > To: access group > > > Subject: [AccessD] Elegant Solution? > > > > > > Hi Everyone, > > > > > > Does anyone have any code or such that handles the following > > > elegantly: > > > > > > Dim dbs as DAO.Database > > > Dim rst as DAO.Recordset > > > > > > Set dbs etc etc > > > > > > Do whatever here > > > > > > dbs.close > > > dbs = nothing etc etc > > > > > > I am tired of having do the above to open database connections and > > > recordsets in the above manner in every Sub or Function. Surely > > > there's a more elegant method that someone has come up with here you > > > just parse the SQL Statement through or something... > > > > > > Any suggestions or links will be greatly appreciated... > > > > > > Regards > > > Vlad > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > ********************************************************************** > > ************* > > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that is > confidential or privileged. If you are not the intended recipient, you are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail address > noted above or calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > > > **************************************************************************** > ******* > > > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Sep 28 09:46:31 2004 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 28 Sep 2004 09:46:31 -0500 Subject: [AccessD] Elegant Solution? In-Reply-To: <5412441.1096382688806.JavaMail.root@sniper4.usinternet.com> Message-ID: <000001c4a569$f216dbf0$de1811d8@danwaters> DIS - Does that mean Dad Is Satisfied? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John Sent: Tuesday, September 28, 2004 9:26 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Elegant Solution? Parenthood is a gas. I never thought I'd care, I was always a dog person. Fill up the bowl with food and water and leave for the weekend if I wanted. Now..... John W. Colby The DIS Database Guy -----Original Message----- From: Mark Breen [mailto:mark.breen at gmail.com] Sent: Tuesday, September 28, 2004 8:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Elegant Solution? Hello John, I am about to start a .Net project, but I have not written a line of it yet, other than playing with some exercises in a book I have on it. It has been my intention, once I start, to read your emails and to search the archives for other ones you may have written on it. How have you gotton on with it? Are you still working with it? In relation to the ADO class, I do not mind which ver it is, I was curious to see what others out there do to handle this issue. I use cut and paste and am very careful about tidying up as I go. It is not that sophisticated, but it works and it prevents concerns about things getting confused when By Ref etc come into play. Also, I wonder about the over head of passing By Val when it is a big rst being passed. Nevertheless, I am interested in a efficient way of openning rst and passing them back without having to do all the work in side each sub routine. How is life, how are you enjoying parenthood ? Mark On Tue, 28 Sep 2004 07:48:49 -0400, John W. Colby wrote: > Mark, > > Are you using vb6 or .net? > > John W. Colby > www.ColbyConsulting.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: Tuesday, September 28, 2004 6:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Elegant Solution? > > Hello Jim, > > Actually it was for VB that I really wanted it, but I felt shy about > admitting it on AccessD. > > If you do not mind, I would be intersted in seeing it. > > I do not mind it being posted on list, I presume most are mildly interested, > but if you prefer, you may send it directly. > > Thanks Jim, > > Mark Breen > Ireland > > On Mon, 27 Sep 2004 12:27:39 -0400, Jim DeMarco > wrote: > > I have one for VB but it can easily be modded if you're using > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Breen > > Sent: Monday, September 27, 2004 11:58 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Elegant Solution? > > > > Hello All, > > > > Does anyone have a similar class or function for elegantly handling > > ADO record sets ? > > > > Or similar in the .Net environment ? > > > > Mark Breen > > Ireland > > > > On Mon, 27 Sep 2004 08:45:22 -0700, Charlotte Foust > > wrote: > > > The difference is that if you use CurrentDb, you don't have to > > > refresh to see the changes. DBEngine is faster because it doesn't > > > refresh automatically. Redo your test with a refresh after every > > > change and see how they compare. > > > > > > Charlotte Foust > > > > > > > > > > > > > > > -----Original Message----- > > > From: Dan Waters [mailto:dwaters at usinternet.com] > > > Sent: Friday, September 24, 2004 7:06 AM > > > To: 'Access Developers discussion and problem solving' > > > Subject: RE: [AccessD] Elegant Solution? > > > > > > Using CurrentDB everywhere is slower. > > > > > > I use: > > > Set rst = DBEngine(0)(0).OpenRecordset(stg,db.....) > > > > > > I did a test once and determined that using the above line is > > > exactly 8 times faster than using: Set rst = > > > CurrentDB.OpenRecordset(stg,db.....) > > > > > > However, you must use CurrentDB for some things, like setting the > > > current database's properties in VBA. > > > > > > Dan Waters > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby > > > Heid > > > Sent: Friday, September 24, 2004 6:19 AM > > > To: 'Access Developers discussion and problem solving' > > > Subject: RE: [AccessD] Elegant Solution? > > > > > > I thought using currentdb everywhere used extra resources and was a > > > no-no. > > > > > > Bobby > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin > > > Craps - IT Helps > > > Sent: Friday, September 24, 2004 3:57 AM > > > To: Access Developers discussion and problem solving > > > Subject: RE: [AccessD] Elegant Solution? > > > > > > I never do dbs as DAO.Database > > > > > > I always do > > > Set rstTemp as currentdb.openrecordset (bla bla) > > > > > > Dbs can be replaced by currentdb > > > > > > Erwin > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS > > > Sent: Friday, September 24, 2004 9:13 AM > > > To: access group > > > Subject: [AccessD] Elegant Solution? > > > > > > Hi Everyone, > > > > > > Does anyone have any code or such that handles the following > > > elegantly: > > > > > > Dim dbs as DAO.Database > > > Dim rst as DAO.Recordset > > > > > > Set dbs etc etc > > > > > > Do whatever here > > > > > > dbs.close > > > dbs = nothing etc etc > > > > > > I am tired of having do the above to open database connections and > > > recordsets in the above manner in every Sub or Function. Surely > > > there's a more elegant method that someone has come up with here you > > > just parse the SQL Statement through or something... > > > > > > Any suggestions or links will be greatly appreciated... > > > > > > Regards > > > Vlad > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > ********************************************************************** > > ************* > > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that is > confidential or privileged. If you are not the intended recipient, you are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail address > noted above or calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > > > **************************************************************************** > ******* > > > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JColby at dispec.com Tue Sep 28 10:08:09 2004 From: JColby at dispec.com (Colby, John) Date: Tue, 28 Sep 2004 11:08:09 -0400 Subject: [AccessD] Elegant Solution? Message-ID: <05C61C52D7CAD211A7830008C7DF6F1079BDFF@DISABILITYINS01> You'd be good at the acronym game! ;-) Disability Insurance Specialist. That's my sig for my user at that client (where I am currently working). I put that in when I first got here so that the employees would know who I was when they got an email from me. John W. Colby The DIS Database Guy -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Tuesday, September 28, 2004 10:47 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Elegant Solution? DIS - Does that mean Dad Is Satisfied? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John Sent: Tuesday, September 28, 2004 9:26 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Elegant Solution? Parenthood is a gas. I never thought I'd care, I was always a dog person. Fill up the bowl with food and water and leave for the weekend if I wanted. Now..... John W. Colby The DIS Database Guy -----Original Message----- From: Mark Breen [mailto:mark.breen at gmail.com] Sent: Tuesday, September 28, 2004 8:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Elegant Solution? Hello John, I am about to start a .Net project, but I have not written a line of it yet, other than playing with some exercises in a book I have on it. It has been my intention, once I start, to read your emails and to search the archives for other ones you may have written on it. How have you gotton on with it? Are you still working with it? In relation to the ADO class, I do not mind which ver it is, I was curious to see what others out there do to handle this issue. I use cut and paste and am very careful about tidying up as I go. It is not that sophisticated, but it works and it prevents concerns about things getting confused when By Ref etc come into play. Also, I wonder about the over head of passing By Val when it is a big rst being passed. Nevertheless, I am interested in a efficient way of openning rst and passing them back without having to do all the work in side each sub routine. How is life, how are you enjoying parenthood ? Mark On Tue, 28 Sep 2004 07:48:49 -0400, John W. Colby wrote: > Mark, > > Are you using vb6 or .net? > > John W. Colby > www.ColbyConsulting.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: Tuesday, September 28, 2004 6:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Elegant Solution? > > Hello Jim, > > Actually it was for VB that I really wanted it, but I felt shy about > admitting it on AccessD. > > If you do not mind, I would be intersted in seeing it. > > I do not mind it being posted on list, I presume most are mildly interested, > but if you prefer, you may send it directly. > > Thanks Jim, > > Mark Breen > Ireland > > On Mon, 27 Sep 2004 12:27:39 -0400, Jim DeMarco > wrote: > > I have one for VB but it can easily be modded if you're using > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Breen > > Sent: Monday, September 27, 2004 11:58 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Elegant Solution? > > > > Hello All, > > > > Does anyone have a similar class or function for elegantly handling > > ADO record sets ? > > > > Or similar in the .Net environment ? > > > > Mark Breen > > Ireland > > > > On Mon, 27 Sep 2004 08:45:22 -0700, Charlotte Foust > > wrote: > > > The difference is that if you use CurrentDb, you don't have to > > > refresh to see the changes. DBEngine is faster because it doesn't > > > refresh automatically. Redo your test with a refresh after every > > > change and see how they compare. > > > > > > Charlotte Foust > > > > > > > > > > > > > > > -----Original Message----- > > > From: Dan Waters [mailto:dwaters at usinternet.com] > > > Sent: Friday, September 24, 2004 7:06 AM > > > To: 'Access Developers discussion and problem solving' > > > Subject: RE: [AccessD] Elegant Solution? > > > > > > Using CurrentDB everywhere is slower. > > > > > > I use: > > > Set rst = DBEngine(0)(0).OpenRecordset(stg,db.....) > > > > > > I did a test once and determined that using the above line is > > > exactly 8 times faster than using: Set rst = > > > CurrentDB.OpenRecordset(stg,db.....) > > > > > > However, you must use CurrentDB for some things, like setting the > > > current database's properties in VBA. > > > > > > Dan Waters > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby > > > Heid > > > Sent: Friday, September 24, 2004 6:19 AM > > > To: 'Access Developers discussion and problem solving' > > > Subject: RE: [AccessD] Elegant Solution? > > > > > > I thought using currentdb everywhere used extra resources and was a > > > no-no. > > > > > > Bobby > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin > > > Craps - IT Helps > > > Sent: Friday, September 24, 2004 3:57 AM > > > To: Access Developers discussion and problem solving > > > Subject: RE: [AccessD] Elegant Solution? > > > > > > I never do dbs as DAO.Database > > > > > > I always do > > > Set rstTemp as currentdb.openrecordset (bla bla) > > > > > > Dbs can be replaced by currentdb > > > > > > Erwin > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS > > > Sent: Friday, September 24, 2004 9:13 AM > > > To: access group > > > Subject: [AccessD] Elegant Solution? > > > > > > Hi Everyone, > > > > > > Does anyone have any code or such that handles the following > > > elegantly: > > > > > > Dim dbs as DAO.Database > > > Dim rst as DAO.Recordset > > > > > > Set dbs etc etc > > > > > > Do whatever here > > > > > > dbs.close > > > dbs = nothing etc etc > > > > > > I am tired of having do the above to open database connections and > > > recordsets in the above manner in every Sub or Function. Surely > > > there's a more elegant method that someone has come up with here you > > > just parse the SQL Statement through or something... > > > > > > Any suggestions or links will be greatly appreciated... > > > > > > Regards > > > Vlad > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > ********************************************************************** > > ************* > > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that is > confidential or privileged. If you are not the intended recipient, you are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail address > noted above or calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > > > **************************************************************************** > ******* > > > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Tue Sep 28 10:16:26 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 28 Sep 2004 10:16:26 -0500 Subject: [AccessD] ADPs in the future Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677217FF63@corp-es01.fleetpride.com> Amen. Furthermore, without a strong developer community how does Microsoft expect power users to master Access? It is a copout for them to take the attitude that the future of Access is to be just a power users tool. Jim Hale -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, September 27, 2004 10:43 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADPs in the future All I know is that the State of California and the Federal government are still using Access desktop databases for stuff the programmers don't have time to create and small business still has the need for custom database apps that don't require SQL Server. ;-/ Charlotte Foust -----Original Message----- From: Ken Ismert [mailto:KIsmert at TexasSystems.com] Sent: Friday, September 24, 2004 10:02 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Dan, Unless the next version of Access is a completely .NET centric product, Windows forms on top, VB.NET or C# underneath, and is fully web enabled (in other words the complete rewrite Mary Chipman said they weren't going to do), it will have nothing of interest in it for me. A simple test: if the next version of Access doesn't natively support Microsoft's flagship database, SQL Server 2005, it has been abandoned. I would like to hear more responses regarding the current prospects of Access consulting. Nearly everyone I know locally is either having a tough time getting Access work, or is moving away from Access towards more profitable work. A consensus from this group that there is a burgeoning Access job market in the near future would do more than anything else to dispel my pessimism. And yes, the bright side of the story is that the fundamentals we learn here are applicable to any new data environment we may encounter. -Ken -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Thursday, September 23, 2004 3:35 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Ken, Let's not sink the ship just yet. A new version of Access (12) will soon begin to be discussed. Let's see what it is first. OTOH, the skills that I know I've developed will let learn whatever I need to learn to make my future work! Dan Waters -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Sep 28 10:34:02 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 28 Sep 2004 08:34:02 -0700 Subject: [AccessD] Access/SQL Dates Message-ID: SQL Server uses single quotes around date values. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Monday, September 27, 2004 8:19 AM To: 'Access Developers discussion and problem solving'; 'Nicholson, Karen' Subject: RE: [AccessD] Access/SQL Dates Very probably I am wrong as I've not yet had the joy of dealing with SQL server, but is it not the case that the date delimiting character in SQL Server is the percentage symbol (%) not pound or hash (#)? Lambert > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen > Sent: Monday, September 27, 2004 8:19 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Access/SQL Dates > > Interesting. The SQL backend structure can not be changed as it is > proprietary. Yikes. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & > Doris Manning > Sent: Monday, September 27, 2004 7:27 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Access/SQL Dates > > > I ran into this problem when I used smalldatetime in the table as the > data type instead of datetime. To be honest, I was in a hurry and > didn't have > time to figure out why it was happening. I just changed from > smalldatetime > to datetime and the problem went away. I've never used smalldatetime > since > then. > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, > Karen > Sent: Monday, September 27, 2004 6:33 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Access/SQL Dates > > > I have an Access front-end and am querying an SQL backend. When > putting in a select statement in the query, all is fine if I specify a > date of say, less than today or specify a particular date, I get an sql overflow error. The syntaxes > I have tried > include: <#9/27/2004# <'9/27/2004' <'20040927'. Any clues? Thanks. > > Karen Nicholson > National Laboratory > Xerox Global Services > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ajallen at mail.wvu.edu Tue Sep 28 11:07:42 2004 From: ajallen at mail.wvu.edu (Amanda Rittenhouse) Date: Tue, 28 Sep 2004 12:07:42 -0400 Subject: [AccessD] Splitting Information from One field into Two Message-ID: I can't find my sample code where I update two fields by splitting one. I have a field NAME which contains: last name comma first name Example: Smith, John I want to create two fields: LastName FirstName I want to populate the two fields with the data from NAME. Before the comma is the last name and after the comma is the first name. I've seen the update code to do it but can not locate it now. Please help. * Amanda From cfoust at infostatsystems.com Tue Sep 28 11:17:22 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 28 Sep 2004 09:17:22 -0700 Subject: [AccessD] ADPs in the future Message-ID: Why, Jim! All they have to do is buy a library of MS Press books and follow all the instructions! Charlotte Foust -----Original Message----- From: Hale, Jim [mailto:Jim.Hale at fleetpride.com] Sent: Tuesday, September 28, 2004 8:16 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Amen. Furthermore, without a strong developer community how does Microsoft expect power users to master Access? It is a copout for them to take the attitude that the future of Access is to be just a power users tool. Jim Hale -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, September 27, 2004 10:43 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADPs in the future All I know is that the State of California and the Federal government are still using Access desktop databases for stuff the programmers don't have time to create and small business still has the need for custom database apps that don't require SQL Server. ;-/ Charlotte Foust -----Original Message----- From: Ken Ismert [mailto:KIsmert at TexasSystems.com] Sent: Friday, September 24, 2004 10:02 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Dan, Unless the next version of Access is a completely .NET centric product, Windows forms on top, VB.NET or C# underneath, and is fully web enabled (in other words the complete rewrite Mary Chipman said they weren't going to do), it will have nothing of interest in it for me. A simple test: if the next version of Access doesn't natively support Microsoft's flagship database, SQL Server 2005, it has been abandoned. I would like to hear more responses regarding the current prospects of Access consulting. Nearly everyone I know locally is either having a tough time getting Access work, or is moving away from Access towards more profitable work. A consensus from this group that there is a burgeoning Access job market in the near future would do more than anything else to dispel my pessimism. And yes, the bright side of the story is that the fundamentals we learn here are applicable to any new data environment we may encounter. -Ken -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Thursday, September 23, 2004 3:35 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Ken, Let's not sink the ship just yet. A new version of Access (12) will soon begin to be discussed. Let's see what it is first. OTOH, the skills that I know I've developed will let learn whatever I need to learn to make my future work! Dan Waters -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KIsmert at TexasSystems.com Tue Sep 28 11:27:53 2004 From: KIsmert at TexasSystems.com (Ken Ismert) Date: Tue, 28 Sep 2004 11:27:53 -0500 Subject: [AccessD] No MsgBox allowed In-Reply-To: <05C61C52D7CAD211A7830008C7DF6F1079BDFA@DISABILITYINS01> Message-ID: <00c301c4a578$1afc56e0$2a3ca8c0@TEXASSYSTEMS.COM> John, I faced a similar problem when setting up a datamart application which runs nightly on the server. I needed error logging and notification when a sub-process failed, but the rest of the processes needed to run, if possible. My response was to develop an error logging system with plug-ins to support the various destinations of the logged messages. All the plug-ins support a common interface, IErrorLog, which defines the common properties and methods each must support. So far, I have written plug-ins that will log errors to tables using ADO and DAO, email via CDONTS and MAPI, text files, the console (immediate window) and yes, the message box. What plug-ins get used is defined by an .ini configuration file. For production, errors are routed to tables, CDONTS email and text. For development, another .ini file is used which routes errors to the console and message box. What the loggers do is defined in part by template text files. For the table loggers, these contain SQL statements. For the email, text and console loggers, these have boilerplate text. All template files contain tokens, like and , which are replaced by the matching information when the error is logged. This is all managed by a global error handling object, which keeps an internal record of all errors encountered during execution, and logs errors with all the currently active loggers. It allows the error generating routine to save the current error, or raise it. Calling routines can examine the error results of a call, and skip dependant calls which follow, go on to the next process, or raise the previous error. -Ken -----Original Message----- From: Colby, John [mailto:JColby at dispec.com] Sent: Monday, September 27, 2004 1:46 PM To: 'AccessD at DatabaseAdvisors.com' Subject: [AccessD] No MsgBox allowed I am doing a rewrite on an app that runs unattended and emails (or FTPs) files out to a client. This app absolutely must run, or at least if it fails it has to NOT pop up a message box and halt the process. Aside from the obvious "Access is not the optimum environment to write such an app", has anyone done stuff like this (in Access) and do you have any thoughts on the issues above or any others I haven't raised? John W. Colby The DIS Database Guy From rbgajewski at adelphia.net Tue Sep 28 11:24:57 2004 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Tue, 28 Sep 2004 12:24:57 -0400 Subject: [AccessD] Splitting Information from One field into Two In-Reply-To: Message-ID: Amanda Use the InStr function to locate the comma (or comma and following space) and then use the Left/Mid/Right functions to extract the portions on either side of the comma. Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Amanda Rittenhouse Sent: Tuesday, September 28, 2004 12:08 To: accessd at databaseadvisors.com Subject: [AccessD] Splitting Information from One field into Two I can't find my sample code where I update two fields by splitting one. I have a field NAME which contains: last name comma first name Example: Smith, John I want to create two fields: LastName FirstName I want to populate the two fields with the data from NAME. Before the comma is the last name and after the comma is the first name. I've seen the update code to do it but can not locate it now. Please help. * Amanda -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Tue Sep 28 11:35:18 2004 From: JHewson at karta.com (Jim Hewson) Date: Tue, 28 Sep 2004 11:35:18 -0500 Subject: [AccessD] Splitting Information from One field into Two Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0103E35C@karta-exc-int.Karta.com> Amanda Where Name is the field for the full name. I used a Make Table query. Try this: SELECT tblFullName.Name, Left([Name],InStr([Name],",")-1) AS LastName, Right([Name],Len([Name])-(InStr([Name],",")+1)) AS FirstName INTO tblSplitName FROM tblFullName; HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Amanda Rittenhouse Sent: Tuesday, September 28, 2004 11:08 AM To: accessd at databaseadvisors.com Subject: [AccessD] Splitting Information from One field into Two I can't find my sample code where I update two fields by splitting one. I have a field NAME which contains: last name comma first name Example: Smith, John I want to create two fields: LastName FirstName I want to populate the two fields with the data from NAME. Before the comma is the last name and after the comma is the first name. I've seen the update code to do it but can not locate it now. Please help. * Amanda -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JColby at dispec.com Tue Sep 28 11:59:51 2004 From: JColby at dispec.com (Colby, John) Date: Tue, 28 Sep 2004 12:59:51 -0400 Subject: [AccessD] No MsgBox allowed Message-ID: <05C61C52D7CAD211A7830008C7DF6F1079BE00@DISABILITYINS01> WOW. I am developing an error class for my framework. I may expand it as the needs arise, but atm it logs to a text file in the same location as the app, and sends email to an address list in my sysvars table. I waffled on logging to a table. For this app it probably isn't needed but for a general app where the error logs would end up on a user's desktop machine, logging to table is probably a better answer. I already have a logger class that can log to a table or a file so I could just modify the call to the logger to send it to a table. I liked the text file because it is already in a form that can be attached to email. The class can be "programmed" to send email automatically (any error), and optionally attach the error log to the email, or any individual error handler can cause an email (with subject and message) and optionally send the log file. Having the individual error messages send / attach is obviously tedious so in general I'm guessing that I will have the app just email / send log on any error. I definitely need to get other methods of mail. ATM all my clients use outlook so I just use that but I am going to run into someone who detests Outlook and I'll be forced to look elsewhere. John W. Colby The DIS Database Guy -----Original Message----- From: Ken Ismert [mailto:KIsmert at TexasSystems.com] Sent: Tuesday, September 28, 2004 12:28 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] No MsgBox allowed John, I faced a similar problem when setting up a datamart application which runs nightly on the server. I needed error logging and notification when a sub-process failed, but the rest of the processes needed to run, if possible. My response was to develop an error logging system with plug-ins to support the various destinations of the logged messages. All the plug-ins support a common interface, IErrorLog, which defines the common properties and methods each must support. So far, I have written plug-ins that will log errors to tables using ADO and DAO, email via CDONTS and MAPI, text files, the console (immediate window) and yes, the message box. What plug-ins get used is defined by an .ini configuration file. For production, errors are routed to tables, CDONTS email and text. For development, another .ini file is used which routes errors to the console and message box. What the loggers do is defined in part by template text files. For the table loggers, these contain SQL statements. For the email, text and console loggers, these have boilerplate text. All template files contain tokens, like and , which are replaced by the matching information when the error is logged. This is all managed by a global error handling object, which keeps an internal record of all errors encountered during execution, and logs errors with all the currently active loggers. It allows the error generating routine to save the current error, or raise it. Calling routines can examine the error results of a call, and skip dependant calls which follow, go on to the next process, or raise the previous error. -Ken -----Original Message----- From: Colby, John [mailto:JColby at dispec.com] Sent: Monday, September 27, 2004 1:46 PM To: 'AccessD at DatabaseAdvisors.com' Subject: [AccessD] No MsgBox allowed I am doing a rewrite on an app that runs unattended and emails (or FTPs) files out to a client. This app absolutely must run, or at least if it fails it has to NOT pop up a message box and halt the process. Aside from the obvious "Access is not the optimum environment to write such an app", has anyone done stuff like this (in Access) and do you have any thoughts on the issues above or any others I haven't raised? John W. Colby The DIS Database Guy -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Tue Sep 28 13:58:50 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Tue, 28 Sep 2004 14:58:50 -0400 Subject: [AccessD] Access/SQL Dates Message-ID: Not this puppy! The ODBC driver is from some company called pervasive.com. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, September 28, 2004 11:34 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access/SQL Dates SQL Server uses single quotes around date values. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Monday, September 27, 2004 8:19 AM To: 'Access Developers discussion and problem solving'; 'Nicholson, Karen' Subject: RE: [AccessD] Access/SQL Dates Very probably I am wrong as I've not yet had the joy of dealing with SQL server, but is it not the case that the date delimiting character in SQL Server is the percentage symbol (%) not pound or hash (#)? Lambert > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen > Sent: Monday, September 27, 2004 8:19 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Access/SQL Dates > > Interesting. The SQL backend structure can not be changed as it is > proprietary. Yikes. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & > Doris Manning > Sent: Monday, September 27, 2004 7:27 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Access/SQL Dates > > > I ran into this problem when I used smalldatetime in the table as the > data type instead of datetime. To be honest, I was in a hurry and > didn't have > time to figure out why it was happening. I just changed from > smalldatetime > to datetime and the problem went away. I've never used smalldatetime > since > then. > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, > Karen > Sent: Monday, September 27, 2004 6:33 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Access/SQL Dates > > > I have an Access front-end and am querying an SQL backend. When > putting in a select statement in the query, all is fine if I specify a > date of say, less than today or specify a particular date, I get an sql overflow error. The syntaxes > I have tried > include: <#9/27/2004# <'9/27/2004' <'20040927'. Any clues? Thanks. > > Karen Nicholson > National Laboratory > Xerox Global Services > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From serbach at new.rr.com Tue Sep 28 14:49:36 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Tue, 28 Sep 2004 14:49:36 -0500 Subject: [AccessD] A2K: Exact match in query Message-ID: <20040928144936.1554955827.serbach@new.rr.com> Dear Group, I've scanned through Access help on this and I'm coming up short. I have a query like the following: INSERT INTO Daily ( [Date], [Source Number], [Facility Part #], [Used before disposal], [Unit used], ProductID ) SELECT DailyFID3.Date, DailyFID3.[Source Number], DailyFID3.[Facility Part #], DailyFID3.[Used before disposal], DailyFID3.[Unit used], Product.ProductID FROM DailyFID3 INNER JOIN Product ON DailyFID3.[Facility Part #] = Product.[Facility Part Number]; The query inserts records from the DailyFID3 table into the Daily table. This is an upgrade from a Paradox for Windows application and I'm consolidating and normalizing the data. There are several records in the DailyFID3 table that have a [Facility Part #] of 8605guz. The problem comes here: the Product table has entries for both 8605guz and 8605GUZ. So for every record in DailyFID3 with a part number of 8605guz, Access appends TWO records into the Daily table, each record having a different ProductID. Paradox had no trouble matching the exact capitalization of the [Facility Part #]. Access seems to ignore capitalization; thus I'm getting more records appended than exist in the original table. My question is: how do I get an Access query to pay attention to capitalization? Regards, Steve Erbach Neenah, WI "We cannot make a man worth a gven amount by making it illegal for anyone to offer him less." - Henry Hazlitt From mikedorism at adelphia.net Tue Sep 28 15:47:03 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Tue, 28 Sep 2004 16:47:03 -0400 Subject: [AccessD] A2K: Exact match in query In-Reply-To: <20040928144936.1554955827.serbach@new.rr.com> Message-ID: <000001c4a59c$50433700$060aa845@hargrove.internal> Try using Ucase(DailyFID3.[Facility Part #]) = Ucase(Product.[Facility Part Number]) -- it will force all the alpha characters to upper case. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steven W. Erbach Sent: Tuesday, September 28, 2004 3:50 PM To: Access Developers discussion and problem solving Subject: [AccessD] A2K: Exact match in query Dear Group, I've scanned through Access help on this and I'm coming up short. I have a query like the following: INSERT INTO Daily ( [Date], [Source Number], [Facility Part #], [Used before disposal], [Unit used], ProductID ) SELECT DailyFID3.Date, DailyFID3.[Source Number], DailyFID3.[Facility Part #], DailyFID3.[Used before disposal], DailyFID3.[Unit used], Product.ProductID FROM DailyFID3 INNER JOIN Product ON DailyFID3.[Facility Part #] = Product.[Facility Part Number]; The query inserts records from the DailyFID3 table into the Daily table. This is an upgrade from a Paradox for Windows application and I'm consolidating and normalizing the data. There are several records in the DailyFID3 table that have a [Facility Part #] of 8605guz. The problem comes here: the Product table has entries for both 8605guz and 8605GUZ. So for every record in DailyFID3 with a part number of 8605guz, Access appends TWO records into the Daily table, each record having a different ProductID. Paradox had no trouble matching the exact capitalization of the [Facility Part #]. Access seems to ignore capitalization; thus I'm getting more records appended than exist in the original table. My question is: how do I get an Access query to pay attention to capitalization? Regards, Steve Erbach Neenah, WI "We cannot make a man worth a gven amount by making it illegal for anyone to offer him less." - Henry Hazlitt -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Sep 28 15:56:07 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 28 Sep 2004 13:56:07 -0700 Subject: [AccessD] A2K: Exact match in query Message-ID: Access is not case sensitive by default and the query engine isn't at all, although you can force binary comparisons using InStr with the 0 option to force a binary compare. Are the two productIDs actually for different products? If so, you might want to find one of the values and replace all those with a new ProductID that won't confuse the issue as well. Charlotte Foust -----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: Tuesday, September 28, 2004 12:50 PM To: Access Developers discussion and problem solving Subject: [AccessD] A2K: Exact match in query Dear Group, I've scanned through Access help on this and I'm coming up short. I have a query like the following: INSERT INTO Daily ( [Date], [Source Number], [Facility Part #], [Used before disposal], [Unit used], ProductID ) SELECT DailyFID3.Date, DailyFID3.[Source Number], DailyFID3.[Facility Part #], DailyFID3.[Used before disposal], DailyFID3.[Unit used], Product.ProductID FROM DailyFID3 INNER JOIN Product ON DailyFID3.[Facility Part #] = Product.[Facility Part Number]; The query inserts records from the DailyFID3 table into the Daily table. This is an upgrade from a Paradox for Windows application and I'm consolidating and normalizing the data. There are several records in the DailyFID3 table that have a [Facility Part #] of 8605guz. The problem comes here: the Product table has entries for both 8605guz and 8605GUZ. So for every record in DailyFID3 with a part number of 8605guz, Access appends TWO records into the Daily table, each record having a different ProductID. Paradox had no trouble matching the exact capitalization of the [Facility Part #]. Access seems to ignore capitalization; thus I'm getting more records appended than exist in the original table. My question is: how do I get an Access query to pay attention to capitalization? Regards, Steve Erbach Neenah, WI "We cannot make a man worth a gven amount by making it illegal for anyone to offer him less." - Henry Hazlitt -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shait at mindspring.com Tue Sep 28 16:11:37 2004 From: shait at mindspring.com (Stephen Hait) Date: Tue, 28 Sep 2004 17:11:37 -0400 Subject: [AccessD] A2K: Exact match in query In-Reply-To: <20040928144936.1554955827.serbach@new.rr.com> Message-ID: <41599B49.26315.1958AE1C@localhost> > My question is: how do I get an Access query to pay attention to > capitalization? Access queries are case insensitive. You may be able to use the strComp function, though. Stephen From serbach at new.rr.com Tue Sep 28 16:22:26 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Tue, 28 Sep 2004 16:22:26 -0500 Subject: [AccessD] A2K: Exact match in query In-Reply-To: <000001c4a59c$50433700$060aa845@hargrove.internal> References: <20040928144936.1554955827.serbach@new.rr.com> <000001c4a59c$50433700$060aa845@hargrove.internal> Message-ID: <20040928162226.812392248.serbach@new.rr.com> Doris, >> Try using Ucase(DailyFID3.[Facility Part #]) = Ucase(Product.[Facility Part Number]) -- it will force all the alpha characters to upper case. << Won't this still add two records? Because both occurences of the [Facility Part Number] will be upper case now and there are still two different product numbers? Steve Erbach From serbach at new.rr.com Tue Sep 28 16:24:43 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Tue, 28 Sep 2004 16:24:43 -0500 Subject: [AccessD] A2K: Exact match in query In-Reply-To: References: Message-ID: <20040928162443.439057683.serbach@new.rr.com> Charlotte, >> Access is not case sensitive by default and the query engine isn't at all, although you can force binary comparisons using InStr with the 0 option to force a binary compare. << Ah! That sounds like the ticket. >> Are the two productIDs actually for different products? ?If so, you might want to find one of the values and replace all those with a new ProductID that won't confuse the issue as well. << The customer has to do some inspection of his data before this program is put into production. Yes, the two product IDs represent identical products, just entered sloppily. However, each occurence of the product has different attributes. Only the customer can confirm which is the right one. Thanks, Charlotte. Steve Erbach From paul.hartland at fsmail.net Tue Sep 28 05:32:07 2004 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 28 Sep 2004 12:32:07 +0200 (CEST) Subject: [AccessD] Common Dialog in Access 97 Message-ID: <16860256.1096367527513.JavaMail.www@wwinf3002> To all, I have developed an application in Office XP which uses the Microsoft common dialog control. I converted the application to Access 97, using the convert wizard and when installed on an Access 97 machine the common dialog section does not work, and it's not available in the ActiveX controls, anyone any idea's on how I can get this in Access 97 Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From GregWSmith at starband.net Tue Sep 28 09:37:32 2004 From: GregWSmith at starband.net (GregWSmith at starband.net) Date: Tue, 28 Sep 2004 10:37:32 -0400 (EDT) Subject: [AccessD] Test-Do not archive In-Reply-To: <2694.216.43.21.235.1096318200.squirrel@medusa.email.starband.net> References: <2694.216.43.21.235.1096318200.squirrel@medusa.email.starband.net> Message-ID: <1671.216.43.21.235.1096382252.squirrel@medusa.email.starband.net> Sent at 0938 CDT 09-28-04. > Test only. > > Greg From pjones at btl.net Tue Sep 28 17:39:14 2004 From: pjones at btl.net (Paul M. Jones) Date: Tue, 28 Sep 2004 16:39:14 -0600 Subject: [AccessD] File DSN vs. System DSN In-Reply-To: <20040928162443.439057683.serbach@new.rr.com> References: <20040928162443.439057683.serbach@new.rr.com> Message-ID: <6.1.2.0.2.20040928163625.022957e8@pop.btl.net> I am connecting an MS Access 2000 front end to SQL Server 2000. I have found that it's easier to deploy applications using a File DSN instead of a System DSN. Anyone knows if there's a performance hit or other factors associated with File DSN instead of System DSN? Paul M. Jones Spire Services Ltd. ---------------------------------------------------------------------------------------------- Reality is the murder of a beautiful theory by a gang of ugly facts. Robert L. Glass From jmhla at earthlink.net Tue Sep 28 23:09:41 2004 From: jmhla at earthlink.net (Joe Hecht) Date: Tue, 28 Sep 2004 21:09:41 -0700 Subject: [AccessD] ADPs in the future In-Reply-To: Message-ID: <200409290409.i8T49Zf05625@databaseadvisors.com> Be Nice You Joe Hecht jmhla at earthlink.net 28g -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, September 28, 2004 9:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADPs in the future Why, Jim! All they have to do is buy a library of MS Press books and follow all the instructions! Charlotte Foust -----Original Message----- From: Hale, Jim [mailto:Jim.Hale at fleetpride.com] Sent: Tuesday, September 28, 2004 8:16 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Amen. Furthermore, without a strong developer community how does Microsoft expect power users to master Access? It is a copout for them to take the attitude that the future of Access is to be just a power users tool. Jim Hale -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, September 27, 2004 10:43 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADPs in the future All I know is that the State of California and the Federal government are still using Access desktop databases for stuff the programmers don't have time to create and small business still has the need for custom database apps that don't require SQL Server. ;-/ Charlotte Foust -----Original Message----- From: Ken Ismert [mailto:KIsmert at TexasSystems.com] Sent: Friday, September 24, 2004 10:02 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Dan, Unless the next version of Access is a completely .NET centric product, Windows forms on top, VB.NET or C# underneath, and is fully web enabled (in other words the complete rewrite Mary Chipman said they weren't going to do), it will have nothing of interest in it for me. A simple test: if the next version of Access doesn't natively support Microsoft's flagship database, SQL Server 2005, it has been abandoned. I would like to hear more responses regarding the current prospects of Access consulting. Nearly everyone I know locally is either having a tough time getting Access work, or is moving away from Access towards more profitable work. A consensus from this group that there is a burgeoning Access job market in the near future would do more than anything else to dispel my pessimism. And yes, the bright side of the story is that the fundamentals we learn here are applicable to any new data environment we may encounter. -Ken -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Thursday, September 23, 2004 3:35 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Ken, Let's not sink the ship just yet. A new version of Access (12) will soon begin to be discussed. Let's see what it is first. OTOH, the skills that I know I've developed will let learn whatever I need to learn to make my future work! Dan Waters -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Wed Sep 29 00:05:22 2004 From: michael at ddisolutions.com.au (Michael Maddison) Date: Wed, 29 Sep 2004 15:05:22 +1000 Subject: [AccessD] Common Dialog in Access 97 Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D01011BE1@ddi-01.DDI.local> Don't use the control :-) Use the API's instead. You can find source code all over the WWW. Google VB common dialog code cheers Michael M To all, I have developed an application in Office XP which uses the Microsoft common dialog control. I converted the application to Access 97, using the convert wizard and when installed on an Access 97 machine the common dialog section does not work, and it's not available in the ActiveX controls, anyone any idea's on how I can get this in Access 97 Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Paul.Rogers at SummitMedia.co.uk Wed Sep 29 04:36:10 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Wed, 29 Sep 2004 10:36:10 +0100 Subject: [AccessD] Access form producing a Word document Message-ID: Can an Access form be coded to print a single Word document in which the text is almost always the same, but for about three fields, please? For example, a command button to produce (for the employee whose form it is) birthday cheers, or a wedding congratulations, or to be fired. Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 From gustav at cactus.dk Wed Sep 29 05:01:39 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 29 Sep 2004 12:01:39 +0200 Subject: [AccessD] Common Dialog in Access 97 In-Reply-To: <16860256.1096367527513.JavaMail.www@wwinf3002> References: <16860256.1096367527513.JavaMail.www@wwinf3002> Message-ID: <5710827579.20040929120139@cactus.dk> Hi Paul You need to have exactly the same version of the ocx on the machine. If it is not used for anything else on that machine, you can copy your version. You may need to register it though. If this is not a one-shot install, rewrite your code to use the API. /gustav > To all, > I have developed an application in Office XP which uses the Microsoft common dialog control. I converted the application to Access 97, using the convert wizard and when installed on an Access 97 > machine the common dialog section does not work, and it's not available in the ActiveX controls, anyone any idea's on how I can get this in Access 97 > Paul Hartland From joconnell at indy.rr.com Wed Sep 29 09:30:35 2004 From: joconnell at indy.rr.com (Joseph O'Connell) Date: Wed, 29 Sep 2004 09:30:35 -0500 Subject: [AccessD] Access form producing a Word document Message-ID: <01a301c4a630$e3c9a2e0$6701a8c0@joe> Paul, Create a Word document and instead of typing the text that can change, insert a bookmark using names that are meaningful to you. Save the document. Create a form with 3 text boxes and a command button. The user will enter values into each textbox to be inserted into the Word document. Insert this code for the Click event of the button (insert your own error handling). Dim appWord As Word.Application Dim docWord As Word.Document Dim strFile as String strFile = "insert the complete path to the Word document" Set appWord = New Word.Application Set docWord = appWord.Documents.Add(strFile) docWord.Bookmarks("the name of the first bookmark").Range.Text = Me!txtField1 docWord.Bookmarks("the name of the second bookmark").Range.Text = Me!txtField2 docWord.Bookmarks("the name of the third bookmark").Range.Text = Me!txtField3 appWord.ActiveDocument.PrintOut appWord.ActiveDocument.Close Set appWord = Nothing Set appWord = Nothing strFile = "" Joe O'Connell -----Original Message----- From: Paul Rodgers To: 'Access Developers discussion and problem solving' Date: Wednesday, September 29, 2004 4:43 AM Subject: [AccessD] Access form producing a Word document |Can an Access form be coded to print a single Word document in which the |text is almost always the same, but for about three fields, please? | |For example, a command button to produce (for the employee whose form it is) |birthday cheers, or a wedding congratulations, or to be fired. | |Cheers |paul | |--- |Outgoing mail is certified Virus Free. |Checked by AVG anti-virus system (http://www.grisoft.com). |Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 | | |-- |_______________________________________________ |AccessD mailing list |AccessD at databaseadvisors.com |http://databaseadvisors.com/mailman/listinfo/accessd |Website: http://www.databaseadvisors.com From ajallen at mail.wvu.edu Wed Sep 29 09:39:28 2004 From: ajallen at mail.wvu.edu (Amanda Rittenhouse) Date: Wed, 29 Sep 2004 10:39:28 -0400 Subject: [AccessD] Splitting Information from One field into Two Message-ID: Thank you. That worked perfectly. * Amanda >>> rbgajewski at adelphia.net 9/28/04 12:24:57 PM >>> Amanda Use the InStr function to locate the comma (or comma and following space) and then use the Left/Mid/Right functions to extract the portions on either side of the comma. Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Amanda Rittenhouse Sent: Tuesday, September 28, 2004 12:08 To: accessd at databaseadvisors.com Subject: [AccessD] Splitting Information from One field into Two I can't find my sample code where I update two fields by splitting one. I have a field NAME which contains: last name comma first name Example: Smith, John I want to create two fields: LastName FirstName I want to populate the two fields with the data from NAME. Before the comma is the last name and after the comma is the first name. I've seen the update code to do it but can not locate it now. Please help. * Amanda -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Paul.Rogers at SummitMedia.co.uk Wed Sep 29 10:01:48 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Wed, 29 Sep 2004 16:01:48 +0100 Subject: [AccessD] Access form producing a Word document Message-ID: That looks excellent, Joe. Many, many thanks. All the best paul -----Original Message----- From: Joseph O'Connell [mailto:joconnell at indy.rr.com] Sent: 29 September 2004 15:31 To: Access Developers discussion and problem solving; Paul.Rogers at summitmedia.co.uk Subject: Re: [AccessD] Access form producing a Word document Paul, Create a Word document and instead of typing the text that can change, insert a bookmark using names that are meaningful to you. Save the document. Create a form with 3 text boxes and a command button. The user will enter values into each textbox to be inserted into the Word document. Insert this code for the Click event of the button (insert your own error handling). Dim appWord As Word.Application Dim docWord As Word.Document Dim strFile as String strFile = "insert the complete path to the Word document" Set appWord = New Word.Application Set docWord = appWord.Documents.Add(strFile) docWord.Bookmarks("the name of the first bookmark").Range.Text = Me!txtField1 docWord.Bookmarks("the name of the second bookmark").Range.Text = Me!txtField2 docWord.Bookmarks("the name of the third bookmark").Range.Text = Me!txtField3 appWord.ActiveDocument.PrintOut appWord.ActiveDocument.Close Set appWord = Nothing Set appWord = Nothing strFile = "" Joe O'Connell -----Original Message----- From: Paul Rodgers To: 'Access Developers discussion and problem solving' Date: Wednesday, September 29, 2004 4:43 AM Subject: [AccessD] Access form producing a Word document |Can an Access form be coded to print a single Word document in which the |text is almost always the same, but for about three fields, please? | |For example, a command button to produce (for the employee whose form it is) |birthday cheers, or a wedding congratulations, or to be fired. | |Cheers |paul | |--- |Outgoing mail is certified Virus Free. |Checked by AVG anti-virus system (http://www.grisoft.com). |Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 | | |-- |_______________________________________________ |AccessD mailing list |AccessD at databaseadvisors.com |http://databaseadvisors.com/mailman/listinfo/accessd |Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 From garykjos at hotmail.com Wed Sep 29 10:17:49 2004 From: garykjos at hotmail.com (Gary Kjos) Date: Wed, 29 Sep 2004 10:17:49 -0500 Subject: [AccessD] Splitting Information from One field into Two Message-ID: Hi Amanda, You need an update query with something like LastName:Left([FullName],Instr(1,[FullName],",")-1) FirstNameName:Mid([FullName],Instr(1,[FullName],",")+1) ----------- What these statements do is; Left = Returns a Variant (String) containing a specified number of characters from the left side of a string. InStr = Returns a Variant (Long) specifying the position of the first occurrence of one string within another. Mid = Returns a Variant (String) containing a specified number of characters from a string. ---------------- So the first one grabs everything to the left of the comma and the second one grabs everything to the right of the comma. You are kind of asking for trouble with a field just called NAME in my opinion. Could be reserved things using that term. Gary Kjos garykjos at hotmail.com >From: "Amanda Rittenhouse" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: [AccessD] Splitting Information from One field into Two >Date: Tue, 28 Sep 2004 12:07:42 -0400 > >I can't find my sample code where I update two fields by splitting one. I >have a field NAME which contains: >last name comma first name Example: Smith, John >I want to create two fields: LastName FirstName >I want to populate the two fields with the data from NAME. Before the >comma is the last name and after the comma is the first name. I've seen >the update code to do it but can not locate it now. Please help. > >* Amanda > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Wed Sep 29 11:45:49 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 29 Sep 2004 11:45:49 -0500 Subject: [AccessD] Access form producing a Word document Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677217FF65@corp-es01.fleetpride.com> Wow, I hope you don't hit the wrong button by mistake! ;-) Jim -----Original Message----- From: Paul Rodgers [mailto:Paul.Rogers at SummitMedia.co.uk] Sent: Wednesday, September 29, 2004 4:36 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access form producing a Word document Can an Access form be coded to print a single Word document in which the text is almost always the same, but for about three fields, please? For example, a command button to produce (for the employee whose form it is) birthday cheers, or a wedding congratulations, or to be fired. Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ajallen at mail.wvu.edu Wed Sep 29 14:12:16 2004 From: ajallen at mail.wvu.edu (Amanda Rittenhouse) Date: Wed, 29 Sep 2004 15:12:16 -0400 Subject: [AccessD] Exporting Memo Fields Message-ID: I use the following code to send a query results via email. However, my memo field from the table is converted into a text field and cutting the field at 255 characters. How do I get the query to provide the entire memo field? DoCmd.SendObject acSendQuery,"q_Name", acFormatXLS, , "email to", , "Subject", "email Message", True * Amanda From DWUTKA at marlow.com Wed Sep 29 15:07:19 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 29 Sep 2004 15:07:19 -0500 Subject: [AccessD] Exporting Memo Fields Message-ID: <123701F54509D9119A4F00D0B747349016CFA5@main2.marlow.com> I think the fastest way to fix this is to just build a report for that query, set the memo field's CanGrow property to True, and change your code to send the report, instead of sending a query. When you send the query, it is going to send it like a row in a query, which is going to limit the number of viewable characters to 255. Drew -----Original Message----- From: Amanda Rittenhouse [mailto:ajallen at mail.wvu.edu] Sent: Wednesday, September 29, 2004 2:12 PM To: accessd at databaseadvisors.com Subject: [AccessD] Exporting Memo Fields I use the following code to send a query results via email. However, my memo field from the table is converted into a text field and cutting the field at 255 characters. How do I get the query to provide the entire memo field? DoCmd.SendObject acSendQuery,"q_Name", acFormatXLS, , "email to", , "Subject", "email Message", True * Amanda -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lmrazek at lcm-res.com Wed Sep 29 15:36:03 2004 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Wed, 29 Sep 2004 15:36:03 -0500 Subject: [AccessD] Days of the Week Report In-Reply-To: Message-ID: <200409291635435.SM01212@hplaptop> Hi: I know I'm missing something, but I currently can't get the following to work: 1. tblProductionInfo has the following fields: (ProductionID, DateProduced, KgsProduced, BatchSize, BagsProduced ... Etc.) Basically, I want to be able to display a report with the days of the week at the top (column headings), and the fields (KgsProduced, BatchSize, BagsProduced) as row headings. Thus, it should look something like: Sun Mon Tues Wed Thur Fri Sat KgsProduced 1 3 3 2 2 2 1 BatchSize 1 3 3 2 2 2 1 BagsProduced 1 3 3 2 2 2 1 Totals 3 9 9 6 6 6 3 Can I do this in Access? I'll be using a parameter in the query to select only one calendar week at a time using the DatePart and Year function to filter against user supplied criteria. Any hints would be appreciated ... Haven't worked with Crosstabs in a long time ... I know it has to be easier than I'm making it ! Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 fx. 314-432-3304 From JHewson at karta.com Wed Sep 29 15:54:38 2004 From: JHewson at karta.com (Jim Hewson) Date: Wed, 29 Sep 2004 15:54:38 -0500 Subject: [AccessD] Access form producing a Word document Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0103E36C@karta-exc-int.Karta.com> I can't get this to work. It errors out on the first line with the cryptic: "Compile error: User-defined type not defined" I couldn't find anything in help "Word.Application" I'm using A2K if that makes a difference. Thanks, Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joseph O'Connell Sent: Wednesday, September 29, 2004 9:31 AM To: Access Developers discussion and problem solving; Paul.Rogers at SummitMedia.co.uk Subject: Re: [AccessD] Access form producing a Word document Paul, Create a Word document and instead of typing the text that can change, insert a bookmark using names that are meaningful to you. Save the document. Create a form with 3 text boxes and a command button. The user will enter values into each textbox to be inserted into the Word document. Insert this code for the Click event of the button (insert your own error handling). Dim appWord As Word.Application Dim docWord As Word.Document Dim strFile as String strFile = "insert the complete path to the Word document" Set appWord = New Word.Application Set docWord = appWord.Documents.Add(strFile) docWord.Bookmarks("the name of the first bookmark").Range.Text = Me!txtField1 docWord.Bookmarks("the name of the second bookmark").Range.Text = Me!txtField2 docWord.Bookmarks("the name of the third bookmark").Range.Text = Me!txtField3 appWord.ActiveDocument.PrintOut appWord.ActiveDocument.Close Set appWord = Nothing Set appWord = Nothing strFile = "" Joe O'Connell -----Original Message----- From: Paul Rodgers To: 'Access Developers discussion and problem solving' Date: Wednesday, September 29, 2004 4:43 AM Subject: [AccessD] Access form producing a Word document |Can an Access form be coded to print a single Word document in which the |text is almost always the same, but for about three fields, please? | |For example, a command button to produce (for the employee whose form it is) |birthday cheers, or a wedding congratulations, or to be fired. | |Cheers |paul | |--- |Outgoing mail is certified Virus Free. |Checked by AVG anti-virus system (http://www.grisoft.com). |Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 | | |-- |_______________________________________________ |AccessD mailing list |AccessD at databaseadvisors.com |http://databaseadvisors.com/mailman/listinfo/accessd |Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Wed Sep 29 16:15:36 2004 From: JHewson at karta.com (Jim Hewson) Date: Wed, 29 Sep 2004 16:15:36 -0500 Subject: [AccessD] Access form producing a Word document Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0103E36D@karta-exc-int.Karta.com> I get it... Think references! Doh! Sometimes I feel like a dolt. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Wednesday, September 29, 2004 3:55 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access form producing a Word document I can't get this to work. It errors out on the first line with the cryptic: "Compile error: User-defined type not defined" I couldn't find anything in help "Word.Application" I'm using A2K if that makes a difference. Thanks, Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joseph O'Connell Sent: Wednesday, September 29, 2004 9:31 AM To: Access Developers discussion and problem solving; Paul.Rogers at SummitMedia.co.uk Subject: Re: [AccessD] Access form producing a Word document Paul, Create a Word document and instead of typing the text that can change, insert a bookmark using names that are meaningful to you. Save the document. Create a form with 3 text boxes and a command button. The user will enter values into each textbox to be inserted into the Word document. Insert this code for the Click event of the button (insert your own error handling). Dim appWord As Word.Application Dim docWord As Word.Document Dim strFile as String strFile = "insert the complete path to the Word document" Set appWord = New Word.Application Set docWord = appWord.Documents.Add(strFile) docWord.Bookmarks("the name of the first bookmark").Range.Text = Me!txtField1 docWord.Bookmarks("the name of the second bookmark").Range.Text = Me!txtField2 docWord.Bookmarks("the name of the third bookmark").Range.Text = Me!txtField3 appWord.ActiveDocument.PrintOut appWord.ActiveDocument.Close Set appWord = Nothing Set appWord = Nothing strFile = "" Joe O'Connell -----Original Message----- From: Paul Rodgers To: 'Access Developers discussion and problem solving' Date: Wednesday, September 29, 2004 4:43 AM Subject: [AccessD] Access form producing a Word document |Can an Access form be coded to print a single Word document in which the |text is almost always the same, but for about three fields, please? | |For example, a command button to produce (for the employee whose form it is) |birthday cheers, or a wedding congratulations, or to be fired. | |Cheers |paul | |--- |Outgoing mail is certified Virus Free. |Checked by AVG anti-virus system (http://www.grisoft.com). |Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 | | |-- |_______________________________________________ |AccessD mailing list |AccessD at databaseadvisors.com |http://databaseadvisors.com/mailman/listinfo/accessd |Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Wed Sep 29 05:11:28 2004 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 29 Sep 2004 12:11:28 +0200 (CEST) Subject: [AccessD] Common Dialog in Access 97 Message-ID: <199913.1096452688580.JavaMail.www@wwinf3003> Thanks for everyone's help on this, I went the API route in the end. Message date : Sep 29 2004, 11:05 AM >From : "Gustav Brock" To : "Access Developers discussion and problem solving" Copy to : Subject : Re: [AccessD] Common Dialog in Access 97 Hi Paul You need to have exactly the same version of the ocx on the machine. If it is not used for anything else on that machine, you can copy your version. You may need to register it though. If this is not a one-shot install, rewrite your code to use the API. /gustav > To all, > I have developed an application in Office XP which uses the Microsoft common dialog control. I converted the application to Access 97, using the convert wizard and when installed on an Access 97 > machine the common dialog section does not work, and it's not available in the ActiveX controls, anyone any idea's on how I can get this in Access 97 > Paul Hartland -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From pedro at plex.nl Thu Sep 30 11:49:45 2004 From: pedro at plex.nl (pedro at plex.nl) Date: Thu, 30 Sep 2004 11:49:45 (MET DST) Subject: [AccessD] print structure Message-ID: <200409300949.i8U9nj9S020105@mailhostC.plex.net> Hello group, is there a way to print out the structure of a database. With this i mean all fields, type's and properties of the table's, forms etc. Thanks Pedro Janssen From ssharkins at bellsouth.net Thu Sep 30 06:23:43 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 30 Sep 2004 07:23:43 -0400 Subject: [AccessD] print structure References: <200409300949.i8U9nj9S020105@mailhostC.plex.net> Message-ID: <014701c4a6e1$c90559c0$9865fea9@BILLONE> Use the Documenter feature -- Tools, Database Utilities -- it's simple to use. Susan H. > Hello group, > > is there a way to print out the structure of a database. With this i mean all fields, type's and properties of the table's, forms etc. > From paul.hartland at fsmail.net Thu Sep 30 07:18:46 2004 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 30 Sep 2004 14:18:46 +0200 (CEST) Subject: [AccessD] Exporting Using Code Message-ID: <22306874.1096546726997.JavaMail.www@wwinf3004> I have the following code to export a query into csv file, strExcelName = "G3-DE-DJL-25-" & Format(dtStart, "dd-mm-yyyy") & ".csv" strSQL = "SELECT * INTO " & _ "[Text;Database=\\Genesis\Genesis$\Excel_Worksheets\Email\" & strExcelName & "] " & _ "FROM qryDailyJobListingForTimer " & _ "WHERE (tblBooking.JobDate >= #" & dtStart & "# AND tblBooking.JobDate <= #" & dtFinish & "#) OR " & _ "(tblBooking.JobDate < #" & dtStart & "# AND tblBooking.BkgDate >= #" & dtStart & "# AND tblBooking.BkgDate <=#" & dtFinish & "#)" however when I run it using dbConn.Execute strSQL I get the following error: Run Time Error ?-2147467259 (80004005)?: ?qryDailyJobListingForTimer? is not a valid name. Make sure that it does not include invalid characters or punctuation and that it is not too long I am running this from Visual Basic, the dbConn is the connection to the correct database, I just can?t seem to get it to work, any ideas anyone ? Thanks in advance for any help. Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From actebs at actebs.com.au Thu Sep 30 08:06:36 2004 From: actebs at actebs.com.au (ACTEBS) Date: Thu, 30 Sep 2004 23:06:36 +1000 Subject: [AccessD] Arthur's Treeview Message-ID: <2025BB6F17FCB54791F23CD505583328041BB6@starfleet.unknown.local> Hi everyone, I am mucking around with Arthur's Tree view control using DAO. What I can't figure out is how you get the ID of the item selected within the treeview itself so I can use it to filter a recordset. For example: Level 1 = ProductCategory eg Dairy Level 2 = Product eg Goats Milk I want to be able to get the ProductCategoryID as I am only able to get the ProductCategoryText out at the moment in Level 1. This also applies to the Level 2 where I'd prefer to obtain the ProductID rather than the ProductDescription. Obviously I don't want the user to see these values... Any help much appreciated... Vlad From mikedorism at adelphia.net Thu Sep 30 08:35:57 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Thu, 30 Sep 2004 09:35:57 -0400 Subject: [AccessD] Arthur's Treeview In-Reply-To: <2025BB6F17FCB54791F23CD505583328041BB6@starfleet.unknown.local> Message-ID: <000001c4a6f2$6aefe6a0$060aa845@hargrove.internal> I store that information in the Node's Tag property. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS Sent: Thursday, September 30, 2004 9:07 AM To: access group Subject: [AccessD] Arthur's Treeview Hi everyone, I am mucking around with Arthur's Tree view control using DAO. What I can't figure out is how you get the ID of the item selected within the treeview itself so I can use it to filter a recordset. For example: Level 1 = ProductCategory eg Dairy Level 2 = Product eg Goats Milk I want to be able to get the ProductCategoryID as I am only able to get the ProductCategoryText out at the moment in Level 1. This also applies to the Level 2 where I'd prefer to obtain the ProductID rather than the ProductDescription. Obviously I don't want the user to see these values... Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JColby at dispec.com Thu Sep 30 08:40:01 2004 From: JColby at dispec.com (Colby, John) Date: Thu, 30 Sep 2004 09:40:01 -0400 Subject: [AccessD] Flattening out a child table Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF8EE@DISABILITYINS01> I have a data export that I need to do. An "Advise to Pay" (ATP) tells the insurer to pay on a claim, how much and for how long. Part of that information will be Offsets to the payment. Pay this amount gross, but deduct this amount and this amount and this amount. The offsets consist of a code (type of offset), offset from date, offset to date and amount of the offset. Since the offsets are in a child table to ATP, any advise to pay can have from zero to unlimited offsets. I am taking this data - Claim, claimant, ATP and Offset - and inserting it into a single record where there are repeating fields (denormalized obviously) for things like the offsets. The export format gives me 16 sets of fields (code / from date / to date / amount) into which I can insert up to 16 offsets, which realistically is more than I need. My question is, can this be done only in SQL or am I going to need to build a temporary table to put this in and run a program to pull the data from the offset records and jam it into sequential offset "slots" in the temp table? I can't for the life of me envision SQL able to flatten out n to 16 offsets into repeating field groups in this manner. For one record, yea, for N ATP records... It seems this is a crosstab kind of thing but my brain just isn't kicking out the solution this AM. John W. Colby The DIS Database Guy From Alun.Garraway at otto.de Thu Sep 30 09:02:51 2004 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Thu, 30 Sep 2004 16:02:51 +0200 Subject: [AccessD] Arthur's Treeview Message-ID: Hi Vlad, I use the Node.Key to store that info. here's some test code hth alun Private Sub tvwSpot_ON_NodeClick(ByVal Node As Object) Dim strLeval As String With Node strLeval = Left(.Key, 2) Select Case strLeval Case "WG" MsgBox "this is leval 1 " & .Key Case "AR" MsgBox "this is leval 2 " & Right(.Key, 6) Case Else MsgBox "nothing! " & .Key End Select End With End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Thursday, September 30, 2004 3:07 PM To: access group Subject: [AccessD] Arthur's Treeview Hi everyone, I am mucking around with Arthur's Tree view control using DAO. What I can't figure out is how you get the ID of the item selected within the treeview itself so I can use it to filter a recordset. For example: Level 1 = ProductCategory eg Dairy Level 2 = Product eg Goats Milk I want to be able to get the ProductCategoryID as I am only able to get the ProductCategoryText out at the moment in Level 1. This also applies to the Level 2 where I'd prefer to obtain the ProductID rather than the ProductDescription. Obviously I don't want the user to see these values... Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From GregSmith at starband.net Thu Sep 30 09:19:52 2004 From: GregSmith at starband.net (Greg Smith) Date: Thu, 30 Sep 2004 09:19:52 -0500 (CDT) Subject: [AccessD] Test - Posts not delivered. In-Reply-To: <2025BB6F17FCB54791F23CD505583328041BB6@starfleet.unknown.local> References: <2025BB6F17FCB54791F23CD505583328041BB6@starfleet.unknown.local> Message-ID: <1586.216.43.21.235.1096553992.squirrel@cetus.email.starband.net> Bryan: Most of my posts are still being 'undelivered'. They bounce back, as this one will from databaseadvisors.com (makes no difference whether it's to listmaster or accessD), and are at first marked 'warning...could not...deliver...just a warning', then about a day later I'll get the message that it couldn't deliver it and it was trashed. I even signed up a second account to accessD from starband (temporary email address ... maybe...), but it's getting the same thing. I have NO server-side filtering on either account, so it's not being blocked by anything I have here. Is there something in the header of my emails that is being captured or blocked by databaseadvisors.com? I feel a lot like the tail trying to wag the dog...as I have no control over how Starband sends emails, but if you could find out what's causing the issue, and it's a Starband issue, I sure would let them know! Thanks. Greg Smith From Mike.W.Gowey at doc.state.or.us Thu Sep 30 09:21:32 2004 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Thu, 30 Sep 2004 08:21:32 -0600 Subject: [AccessD] Calling and filling in an Outlook Form Message-ID: <05EBB8A3BEB95B4F8216BE4EF4860778042AFFB6@srciml1.ds.doc.state.or.us> Hi Everyone, Before I go off and spend a lot of time on this I wanted to ask if anyone has ever called an Outlook form and filled it in with data from an Access table and than send the Outlook form???? Any information on this would be greatly appreciated. Thanks, Mike Gowey MCSA, A+, LME, NET+ Team Leader - SRCI Information Systems & Services From GregSmith at starband.net Thu Sep 30 09:56:18 2004 From: GregSmith at starband.net (Greg Smith) Date: Thu, 30 Sep 2004 09:56:18 -0500 (CDT) Subject: [AccessD] Test - Posts not delivered. In-Reply-To: <1586.216.43.21.235.1096553992.squirrel@cetus.email.starband.net> References: <2025BB6F17FCB54791F23CD505583328041BB6@starfleet.unknown.local> <1586.216.43.21.235.1096553992.squirrel@cetus.email.starband.net> Message-ID: <1726.216.43.21.235.1096556178.squirrel@cetus.email.starband.net> Oh FINE. NOW it posts 'em right away. Sigh. Make me look like an idiot. I really don't need any help in THAT department... Greg > Bryan: > > Most of my posts are still being 'undelivered'. They bounce back, as > this one will from databaseadvisors.com (makes no difference whether > it's to listmaster or accessD), and are at first marked 'warning...could > not...deliver...just a warning', then about a day later I'll get the > message that it couldn't deliver it and it was trashed. > > I even signed up a second account to accessD from starband (temporary > email address ... maybe...), but it's getting the same thing. I have NO > server-side filtering on either account, so it's not being blocked by > anything I have here. > > Is there something in the header of my emails that is being captured or > blocked by databaseadvisors.com? > > I feel a lot like the tail trying to wag the dog...as I have no control > over how Starband sends emails, but if you could find out what's causing > the issue, and it's a Starband issue, I sure would let them know! > > Thanks. > > Greg Smith > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From actebs at actebs.com.au Thu Sep 30 09:58:58 2004 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 1 Oct 2004 00:58:58 +1000 Subject: [AccessD] Arthur's Treeview Message-ID: <2025BB6F17FCB54791F23CD50558332803852B@starfleet.unknown.local> Alun, You're a superstar... Thanx Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Garraway, Alun Sent: Friday, 1 October 2004 12:03 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Arthur's Treeview Hi Vlad, I use the Node.Key to store that info. here's some test code hth alun Private Sub tvwSpot_ON_NodeClick(ByVal Node As Object) Dim strLeval As String With Node strLeval = Left(.Key, 2) Select Case strLeval Case "WG" MsgBox "this is leval 1 " & .Key Case "AR" MsgBox "this is leval 2 " & Right(.Key, 6) Case Else MsgBox "nothing! " & .Key End Select End With End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Thursday, September 30, 2004 3:07 PM To: access group Subject: [AccessD] Arthur's Treeview Hi everyone, I am mucking around with Arthur's Tree view control using DAO. What I can't figure out is how you get the ID of the item selected within the treeview itself so I can use it to filter a recordset. For example: Level 1 = ProductCategory eg Dairy Level 2 = Product eg Goats Milk I want to be able to get the ProductCategoryID as I am only able to get the ProductCategoryText out at the moment in Level 1. This also applies to the Level 2 where I'd prefer to obtain the ProductID rather than the ProductDescription. Obviously I don't want the user to see these values... Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Sep 30 10:26:34 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 30 Sep 2004 08:26:34 -0700 Subject: [AccessD] Test - Posts not delivered. Message-ID: LOL Wipe the egg off your face and keep posting!! ;-} Charlotte Foust -----Original Message----- From: Greg Smith [mailto:GregSmith at starband.net] Sent: Thursday, September 30, 2004 7:56 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Test - Posts not delivered. Oh FINE. NOW it posts 'em right away. Sigh. Make me look like an idiot. I really don't need any help in THAT department... Greg > Bryan: > > Most of my posts are still being 'undelivered'. They bounce back, as > this one will from databaseadvisors.com (makes no difference whether > it's to listmaster or accessD), and are at first marked > 'warning...could not...deliver...just a warning', then about a day > later I'll get the message that it couldn't deliver it and it was > trashed. > > I even signed up a second account to accessD from starband (temporary > email address ... maybe...), but it's getting the same thing. I have > NO server-side filtering on either account, so it's not being blocked > by anything I have here. > > Is there something in the header of my emails that is being captured > or blocked by databaseadvisors.com? > > I feel a lot like the tail trying to wag the dog...as I have no > control over how Starband sends emails, but if you could find out > what's causing the issue, and it's a Starband issue, I sure would let > them know! > > Thanks. > > Greg Smith > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JColby at dispec.com Thu Sep 30 10:45:21 2004 From: JColby at dispec.com (Colby, John) Date: Thu, 30 Sep 2004 11:45:21 -0400 Subject: [AccessD] Test - Posts not delivered. Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF8F0@DISABILITYINS01> Hey, we ARE having problems with the list, no egg wiping needed. My son leaves the egg on all day (and boy does it embarrass mom). John W. Colby The DIS Database Guy -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, September 30, 2004 11:27 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Test - Posts not delivered. LOL Wipe the egg off your face and keep posting!! ;-} Charlotte Foust -----Original Message----- From: Greg Smith [mailto:GregSmith at starband.net] Sent: Thursday, September 30, 2004 7:56 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Test - Posts not delivered. Oh FINE. NOW it posts 'em right away. Sigh. Make me look like an idiot. I really don't need any help in THAT department... Greg > Bryan: > > Most of my posts are still being 'undelivered'. They bounce back, as > this one will from databaseadvisors.com (makes no difference whether > it's to listmaster or accessD), and are at first marked > 'warning...could not...deliver...just a warning', then about a day > later I'll get the message that it couldn't deliver it and it was > trashed. > > I even signed up a second account to accessD from starband (temporary > email address ... maybe...), but it's getting the same thing. I have > NO server-side filtering on either account, so it's not being blocked > by anything I have here. > > Is there something in the header of my emails that is being captured > or blocked by databaseadvisors.com? > > I feel a lot like the tail trying to wag the dog...as I have no > control over how Starband sends emails, but if you could find out > what's causing the issue, and it's a Starband issue, I sure would let > them know! > > Thanks. > > Greg Smith > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Sep 30 11:01:02 2004 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 30 Sep 2004 12:01:02 -0400 Subject: [AccessD] Test - Posts not delivered. In-Reply-To: <05C61C52D7CAD211A7830008C7DF6F10CBF8F0@DISABILITYINS01> References: <05C61C52D7CAD211A7830008C7DF6F10CBF8F0@DISABILITYINS01> Message-ID: On Thu, 30 Sep 2004 11:45:21 -0400, Colby, John wrote: > Hey, we ARE having problems with the list, no egg wiping needed. My son > leaves the egg on all day (and boy does it embarrass mom). Were!! I *think* the problems disappeared 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 paul.hartland at fsmail.net Thu Sep 30 11:05:09 2004 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 30 Sep 2004 18:05:09 +0200 (CEST) Subject: [AccessD] Menu/Toolbar Switching Functions on/Off Message-ID: <5084615.1096560309103.JavaMail.www@wwinf3003> To All, If no text is selected in my textbox, I don't want the copy or cut functions to be available on my toolbar/menu. Likewise if the clipboard is empty I don't want to Paste to be available. I'm thinking that on the keypress/mousemove/any activity events of my textbox I could put in the appropriate code to enable and disable the relevant options. But this seems a bit messy to me. Is this the correct way to go about doing this or does anyone know of a better way? Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From bheid at appdevgrp.com Thu Sep 30 11:18:07 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 30 Sep 2004 12:18:07 -0400 Subject: [AccessD] Menu/Toolbar Switching Functions on/Off In-Reply-To: <916187228923D311A6FE00A0CC3FAA309B502E@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB89F@ADGSERVER> I am unable to bring up Access at the moment, but isn't this done automatically? I tried it with this e-mail and it is automatic. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Thursday, September 30, 2004 12:05 PM To: accessd Subject: [AccessD] Menu/Toolbar Switching Functions on/Off To All, If no text is selected in my textbox, I don't want the copy or cut functions to be available on my toolbar/menu. Likewise if the clipboard is empty I don't want to Paste to be available. I'm thinking that on the keypress/mousemove/any activity events of my textbox I could put in the appropriate code to enable and disable the relevant options. But this seems a bit messy to me. Is this the correct way to go about doing this or does anyone know of a better way? Paul Hartland From cfoust at infostatsystems.com Thu Sep 30 11:20:28 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 30 Sep 2004 09:20:28 -0700 Subject: [AccessD] Test - Posts not delivered. Message-ID: >>boy does it embarrass mom She just hasn't been doing it long enough to realize that little boys are made that way. They could find dirt in a space bubble and tidy is a brand of toilet cleanser! Charlotte Foust -----Original Message----- From: Colby, John [mailto:JColby at dispec.com] Sent: Thursday, September 30, 2004 8:45 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Test - Posts not delivered. Hey, we ARE having problems with the list, no egg wiping needed. My son leaves the egg on all day (and boy does it embarrass mom). John W. Colby The DIS Database Guy -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, September 30, 2004 11:27 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Test - Posts not delivered. LOL Wipe the egg off your face and keep posting!! ;-} Charlotte Foust -----Original Message----- From: Greg Smith [mailto:GregSmith at starband.net] Sent: Thursday, September 30, 2004 7:56 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Test - Posts not delivered. Oh FINE. NOW it posts 'em right away. Sigh. Make me look like an idiot. I really don't need any help in THAT department... Greg > Bryan: > > Most of my posts are still being 'undelivered'. They bounce back, as > this one will from databaseadvisors.com (makes no difference whether > it's to listmaster or accessD), and are at first marked > 'warning...could not...deliver...just a warning', then about a day > later I'll get the message that it couldn't deliver it and it was > trashed. > > I even signed up a second account to accessD from starband (temporary > email address ... maybe...), but it's getting the same thing. I have > NO server-side filtering on either account, so it's not being blocked > by anything I have here. > > Is there something in the header of my emails that is being captured > or blocked by databaseadvisors.com? > > I feel a lot like the tail trying to wag the dog...as I have no > control over how Starband sends emails, but if you could find out > what's causing the issue, and it's a Starband issue, I sure would let > them know! > > Thanks. > > Greg Smith > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JColby at dispec.com Thu Sep 30 11:21:21 2004 From: JColby at dispec.com (Colby, John) Date: Thu, 30 Sep 2004 12:21:21 -0400 Subject: [AccessD] Menu/Toolbar Switching Functions on/Off Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF8F1@DISABILITYINS01> Boy, you know he's out of things to do when... But seriously, whenever you do figure it out, that is definitely a framework kinda thing so that is there in all text boxes everywhere. John W. Colby The DIS Database Guy -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Thursday, September 30, 2004 12:05 PM To: accessd Subject: [AccessD] Menu/Toolbar Switching Functions on/Off To All, If no text is selected in my textbox, I don't want the copy or cut functions to be available on my toolbar/menu. Likewise if the clipboard is empty I don't want to Paste to be available. I'm thinking that on the keypress/mousemove/any activity events of my textbox I could put in the appropriate code to enable and disable the relevant options. But this seems a bit messy to me. Is this the correct way to go about doing this or does anyone know of a better way? Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at touchtelindia.net Thu Sep 30 13:00:46 2004 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Thu, 30 Sep 2004 23:30:46 +0530 Subject: [AccessD] Days of the Week Report References: <200409291635435.SM01212@hplaptop> Message-ID: <009601c4a717$93b510e0$c71865cb@winxp> Larry, You need a crosstab query as the record source for your report. However, your existing table design is not amenable to creation of the final query in a single shot. Under the circumstances, two alternatives can be considered. (1) Modify the table design. 1.1 If too much data has not already been filled in, the table design can be modified so as to replace the existing number type fields (KgsProduced, BatchSize, BagsProduced, -- etc), by just two fields, i.e. Item (text type) and Output (number type). 1.2 For each date, there will be separate records for KgsProduced, BatchSize, BagsProduced etc (all in the column named Item) and corresponding numbers will be entered in the column named Output. 1.3 With this arrangement, creation of crosstab query is straightforward, using Item as Row-Heading, WeekdayName as Column-Heading and Output as Value. (2) Managing with existing table structure. 2.1 If you feel compelled to stick to the existing table design, you have to create individual crosstab queries for KgsProduced, BatchSize, BagsProduced etc, inserting Item as independent alias, to serve as row heading. 2.2 All crosstab queries created as per 2.1 above, are then to be combined into a union query to serve as record source for the intended report. 2.3 As an illustration, SQL for crosstab query pertaining to BagsProduced, is given below. Other queries (for KgsProduced, BatchSize -- etc) can be built on similar lines. You should now be in a position to proceed ahead with the alternative best suited to your specific situation. If you are stuck for any reason (even after trying for the next few days), just let me know. Regards, A.D.Tejpal -------------- ===================================== TRANSFORM Sum(tblProductionInfo.BagsProduced) AS [OutPut] SELECT "BagsProduced" AS Item FROM tblProductionInfo GROUP BY "BagsProduced" PIVOT WeekdayName(Weekday([DateProduced]),True) In ("Sun","Mon","Tue","Wed","Thu","Fri","Sat"); ===================================== ----- Original Message ----- From: Lawrence Mrazek To: 'Access Developers discussion and problem solving' Sent: Thursday, September 30, 2004 02:06 Subject: [AccessD] Days of the Week Report Hi: I know I'm missing something, but I currently can't get the following to work: 1. tblProductionInfo has the following fields: (ProductionID, DateProduced, KgsProduced, BatchSize, BagsProduced ... Etc.) Basically, I want to be able to display a report with the days of the week at the top (column headings), and the fields (KgsProduced, BatchSize, BagsProduced) as row headings. Thus, it should look something like: Sun Mon Tues Wed Thur Fri Sat KgsProduced 1 3 3 2 2 2 1 BatchSize 1 3 3 2 2 2 1 BagsProduced 1 3 3 2 2 2 1 Totals 3 9 9 6 6 6 3 Can I do this in Access? I'll be using a parameter in the query to select only one calendar week at a time using the DatePart and Year function to filter against user supplied criteria. Any hints would be appreciated ... Haven't worked with Crosstabs in a long time ... I know it has to be easier than I'm making it ! Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 fx. 314-432-3304 From pedro at plex.nl Thu Sep 30 14:46:03 2004 From: pedro at plex.nl (Pedro Janssen) Date: Thu, 30 Sep 2004 21:46:03 +0200 Subject: [AccessD] print structure References: <200409300949.i8U9nj9S020105@mailhostC.plex.net> <014701c4a6e1$c90559c0$9865fea9@BILLONE> Message-ID: <008601c4a736$51180de0$f3c581d5@pedro> Hello Susan, thanks for sharing. I didn't know this option at all. It's very usefull. Pedro Janssen ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Thursday, September 30, 2004 1:23 PM Subject: Re: [AccessD] print structure > Use the Documenter feature -- Tools, Database Utilities -- it's simple to > use. > > Susan H. > > > > Hello group, > > > > is there a way to print out the structure of a database. With this i mean > all fields, type's and properties of the table's, forms etc. > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Thu Sep 30 15:01:39 2004 From: pedro at plex.nl (Pedro Janssen) Date: Thu, 30 Sep 2004 22:01:39 +0200 Subject: [AccessD] date query References: <000c01c4a27d$9b424600$f9c581d5@pedro> <691989590.20040925091522@cactus.dk> Message-ID: <008701c4a736$51891f30$f3c581d5@pedro> Hello Mike, Doris and Gustav, Mike and Doris you were right. The fieldname Date gave me the trouble. Gustav, sometimes i don't trust myself to show a query that isn't working. Because i expect that the solution is simple, i sometimes think "what do the other members of the group will think of such an easy question". I am not a developer and use access for easy working with patient data. I often don't have the time to concentrate total on a query or code. I know this is a bad excuse and that the best way to learn is taking time and confront myself with my mistakes. But time time time. I am glad that you folks exist and help with all the access problems. Thanks i will try to make more time. Greetings Pedro Janssen ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Saturday, September 25, 2004 9:15 AM Subject: Re: [AccessD] date query > Hi Pedro > > > i have a table [tblmeasure1] and important for the query are two > > fields: Date and Temperature. > > > I am trying to get avg, min etc. etc from Temperature in certain > > date periods (Between #...# and #....#. But i keep running into > > errors. What is the right way to do this? > > This is the way. So why not show us your query? > > /gustav > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Thu Sep 30 17:20:20 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 01 Oct 2004 08:20:20 +1000 Subject: [AccessD] Flattening out a child table In-Reply-To: <05C61C52D7CAD211A7830008C7DF6F10CBF8EE@DISABILITYINS01> Message-ID: <415D1344.6819.71FB458@lexacorp.com.pg> On 30 Sep 2004 at 9:40, Colby, John wrote: > I have a data export that I need to do. An "Advise to Pay" (ATP) tells the > insurer to pay on a claim, how much and for how long. Part of that > information will be Offsets to the payment. Pay this amount gross, but > deduct this amount and this amount and this amount. The offsets consist of > a code (type of offset), offset from date, offset to date and amount of the > offset. Since the offsets are in a child table to ATP, any advise to pay > can have from zero to unlimited offsets. > > I am taking this data - Claim, claimant, ATP and Offset - and inserting it > into a single record where there are repeating fields (denormalized > obviously) for things like the offsets. The export format gives me 16 sets > of fields (code / from date / to date / amount) into which I can insert up > to 16 offsets, which realistically is more than I need. > > My question is, can this be done only in SQL or am I going to need to build > a temporary table to put this in and run a program to pull the data from the > offset records and jam it into sequential offset "slots" in the temp table? > I can't for the life of me envision SQL able to flatten out n to 16 offsets > into repeating field groups in this manner. For one record, yea, for N ATP > records... It seems this is a crosstab kind of thing but my brain just > isn't kicking out the solution this AM. > Trouble with crosstabs is you can only have one Value field and you are looking at four. I would probably do this in code. Build a function which pulls the offsets for a specific claim from a recordset and structures the output appropriately. Depending on what you are exporting to, you can possibly then just write the data directly to your export file without building any temp table. -- Stuart From GregSmith at starband.net Wed Sep 29 14:08:10 2004 From: GregSmith at starband.net (Greg Smith) Date: Wed, 29 Sep 2004 14:08:10 -0500 (CDT) Subject: [AccessD] Test for today... In-Reply-To: References: Message-ID: <2210.216.43.21.235.1096484890.squirrel@cetus.email.starband.net> Test for Wednesday, 9-29-04 @ 1410 cdt Greg From john at winhaven.net Thu Sep 30 21:18:24 2004 From: john at winhaven.net (John Bartow) Date: Thu, 30 Sep 2004 21:18:24 -0500 Subject: [AccessD] Test for today... In-Reply-To: <2210.216.43.21.235.1096484890.squirrel@cetus.email.starband.net> Message-ID: OK at 21:09 CST -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Greg Smith Sent: Wednesday, September 29, 2004 2:08 PM To: accessd at databaseadvisors.com Subject: [AccessD] Test for today... Test for Wednesday, 9-29-04 @ 1410 cdt Greg -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lmrazek at lcm-res.com Thu Sep 30 22:05:27 2004 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Thu, 30 Sep 2004 22:05:27 -0500 Subject: [AccessD] Days of the Week Report In-Reply-To: <009601c4a717$93b510e0$c71865cb@winxp> Message-ID: <200409302305300.SM01420@hplaptop> Thanks A.D. This was a big help! Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 fx. 314-432-3304 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.Tejpal Sent: Thursday, September 30, 2004 1:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Days of the Week Report Larry, You need a crosstab query as the record source for your report. However, your existing table design is not amenable to creation of the final query in a single shot. Under the circumstances, two alternatives can be considered. (1) Modify the table design. 1.1 If too much data has not already been filled in, the table design can be modified so as to replace the existing number type fields (KgsProduced, BatchSize, BagsProduced, -- etc), by just two fields, i.e. Item (text type) and Output (number type). 1.2 For each date, there will be separate records for KgsProduced, BatchSize, BagsProduced etc (all in the column named Item) and corresponding numbers will be entered in the column named Output. 1.3 With this arrangement, creation of crosstab query is straightforward, using Item as Row-Heading, WeekdayName as Column-Heading and Output as Value. (2) Managing with existing table structure. 2.1 If you feel compelled to stick to the existing table design, you have to create individual crosstab queries for KgsProduced, BatchSize, BagsProduced etc, inserting Item as independent alias, to serve as row heading. 2.2 All crosstab queries created as per 2.1 above, are then to be combined into a union query to serve as record source for the intended report. 2.3 As an illustration, SQL for crosstab query pertaining to BagsProduced, is given below. Other queries (for KgsProduced, BatchSize -- etc) can be built on similar lines. You should now be in a position to proceed ahead with the alternative best suited to your specific situation. If you are stuck for any reason (even after trying for the next few days), just let me know. Regards, A.D.Tejpal -------------- ===================================== TRANSFORM Sum(tblProductionInfo.BagsProduced) AS [OutPut] SELECT "BagsProduced" AS Item FROM tblProductionInfo GROUP BY "BagsProduced" PIVOT WeekdayName(Weekday([DateProduced]),True) In ("Sun","Mon","Tue","Wed","Thu","Fri","Sat"); ===================================== ----- Original Message ----- From: Lawrence Mrazek To: 'Access Developers discussion and problem solving' Sent: Thursday, September 30, 2004 02:06 Subject: [AccessD] Days of the Week Report Hi: I know I'm missing something, but I currently can't get the following to work: 1. tblProductionInfo has the following fields: (ProductionID, DateProduced, KgsProduced, BatchSize, BagsProduced ... Etc.) Basically, I want to be able to display a report with the days of the week at the top (column headings), and the fields (KgsProduced, BatchSize, BagsProduced) as row headings. Thus, it should look something like: Sun Mon Tues Wed Thur Fri Sat KgsProduced 1 3 3 2 2 2 1 BatchSize 1 3 3 2 2 2 1 BagsProduced 1 3 3 2 2 2 1 Totals 3 9 9 6 6 6 3 Can I do this in Access? I'll be using a parameter in the query to select only one calendar week at a time using the DatePart and Year function to filter against user supplied criteria. Any hints would be appreciated ... Haven't worked with Crosstabs in a long time ... I know it has to be easier than I'm making it ! Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 fx. 314-432-3304 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From GregSmith at starband.net Tue Sep 28 08:08:32 2004 From: GregSmith at starband.net (Greg Smith) Date: Tue, 28 Sep 2004 08:08:32 -0500 (CDT) Subject: [AccessD] Test Only In-Reply-To: <1470.216.43.21.235.1096294301.squirrel@cetus.email.starband.net> References: <61F915314798D311A2F800A0C9C8318805CED50A@dibble.observatory.donnslaw.co.uk> <1470.216.43.21.235.1096294301.squirrel@cetus.email.starband.net> Message-ID: <1330.216.43.21.235.1096376912.squirrel@cetus.email.starband.net> Test only..Sorry about all these... Greg From Erwin.Craps at ithelps.be Wed Sep 1 01:14:44 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Wed, 1 Sep 2004 08:14:44 +0200 Subject: [AccessD] A2K:Determine OS and version via VBA - Solved thanksGustav and Stuart Message-ID: <46B976F2B698FF46A4FE7636509B22DF0ADB51@stekelbes.ithelps.local> It is advised to put the MDE on the local computer of the client, so all network users use their own MDE file. Thats always good for several reasons already discusses in the mailing list, but I want to point out that there are some weirder things with Access 2003 references than we are used with 2K. References some times need to be disabled and re-enabled before the apllications works. In case you have different Access versions running in the same site, a MDE file on the user local computer is a must due to these references. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Wednesday, September 01, 2004 5:25 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K:Determine OS and version via VBA - Solved thanksGustav and Stuart Gustav and Stuart Many thanks to you both Both sets of code Work like a charm Many thanks to you both Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, 31 August 2004 9:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K:Determine OS and version via VBA Hi Darren > I used to have a little code jewel from the list tucked away in my own > personal little archive that would allow me to determine the OS in > VBA- But alas since the death of the laptop my personal stash has gone > So....Anyone got any code to determine the OS and version? We use this module: Option Compare Database Option Explicit ' Major Minor ' OS Platform Version Version Build ' ' Windows 95 1 4 0 ' Windows 98 1 4 10 1998 ' Windows 98SE 1 4 10 2222 ' Windows ME 1 4 90 3000 ' NT 3.51 2 3 51 ' NT 2 4 0 1381 ' 2000 2 5 0 ' XP 2 5 1 2600 ' Server 2003 2 5 2 ' Code based on MS API documentation. ' 2004-07-02. Assembled by Cactus Data ApS, CPH. Private Const VER_PLATFORM_WIN32s As Long = 0 ' Win32s on Windows 3.1x. Private Const VER_PLATFORM_WIN32_WINDOWS As Long = 1 ' Windows 95, Windows 98, Windows ME. Private Const VER_PLATFORM_WIN32_NT As Long = 2 ' Windows NT, Windows 2000, Windows XP, Windows Server 2003. Private Const clngCSDVersion As Long = 128 Private Type OSVERSIONINFO dwOSVersionInfoSize As Long dwMajorVersion As Long dwMinorVersion As Long dwBuildNumber As Long dwPlatformId As Long szCSDVersion As String * clngCSDVersion End Type Private Declare Function GetVersionEx Lib "kernel32" Alias "GetVersionExA" ( _ ByRef lpVersionInformation As OSVERSIONINFO) _ As Long Public Function GetVersion() As String ' Retrieves version of current Windows OS. ' Returns version as full string. ' ' 2004-07-02. Cactus Data ApS, CPH. Dim OSV As OSVERSIONINFO Dim strVersion As String OSV.dwOSVersionInfoSize = Len(OSV) OSV.szCSDVersion = Space$(clngCSDVersion) GetVersionEx OSV With OSV ' Service Pack info string. Debug.Print .szCSDVersion Select Case .dwPlatformId Case VER_PLATFORM_WIN32s ' Win32s on Windows 3.1x. strVersion = "Windows 3.1" Case VER_PLATFORM_WIN32_WINDOWS ' Windows 95, Windows 98, Select Case .dwMinorVersion ' Windows ME. Case 0 strVersion = "Windows 95" Case 10 If (.dwBuildNumber And &HFFFF&) = 2222 Then strVersion = "Windows 98SE" Else strVersion = "Windows 98" End If Case 90 strVersion = "Windows ME" End Select Case VER_PLATFORM_WIN32_NT ' Windows NT, Windows 2000, Windows XP, Select Case .dwMajorVersion ' Windows Server 2003. Case 3 strVersion = "Windows NT 3.51" Case 4 strVersion = "Windows NT 4.0" Case 5 Select Case .dwMinorVersion Case 0 strVersion = "Windows 2000" Case 1 strVersion = "Windows XP" Case 2 strVersion = "Windows Server 2003" End Select End Select Case Else strVersion = "Unknown" End Select End With GetVersion = strVersion End Function Public Function IsWinXP() As Boolean ' Checks current Windows OS. ' Returns True if OS is Win XP or Server 2003. ' ' 2004-07-07. Cactus Data ApS, CPH. Dim OSV As OSVERSIONINFO Dim booVersion As Boolean OSV.dwOSVersionInfoSize = Len(OSV) GetVersionEx OSV With OSV Select Case .dwPlatformId Case VER_PLATFORM_WIN32_NT ' Windows NT, Windows 2000, Windows XP, Select Case .dwMajorVersion ' Windows Server 2003. Case 5 Select Case .dwMinorVersion Case 0 ' strVersion = "Windows 2000" Case 1 ' strVersion = "Windows XP" booVersion = True Case 2 ' strVersion = "Windows Server 2003" booVersion = True End Select End Select End Select End With IsWinXP = booVersion End Function Have fun! /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Wed Sep 1 02:56:08 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Wed, 1 Sep 2004 09:56:08 +0200 Subject: [AccessD] A2K:Determine OS and version via VBA - SolvedthanksGustav and Stuart Message-ID: <46B976F2B698FF46A4FE7636509B22DF0ADB52@stekelbes.ithelps.local> Ignore my previous message, it was intended for another issue.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Wednesday, September 01, 2004 8:15 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K:Determine OS and version via VBA - SolvedthanksGustav and Stuart It is advised to put the MDE on the local computer of the client, so all network users use their own MDE file. Thats always good for several reasons already discusses in the mailing list, but I want to point out that there are some weirder things with Access 2003 references than we are used with 2K. References some times need to be disabled and re-enabled before the apllications works. In case you have different Access versions running in the same site, a MDE file on the user local computer is a must due to these references. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Wednesday, September 01, 2004 5:25 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K:Determine OS and version via VBA - Solved thanksGustav and Stuart Gustav and Stuart Many thanks to you both Both sets of code Work like a charm Many thanks to you both Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, 31 August 2004 9:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K:Determine OS and version via VBA Hi Darren > I used to have a little code jewel from the list tucked away in my own > personal little archive that would allow me to determine the OS in > VBA- But alas since the death of the laptop my personal stash has gone > So....Anyone got any code to determine the OS and version? We use this module: Option Compare Database Option Explicit ' Major Minor ' OS Platform Version Version Build ' ' Windows 95 1 4 0 ' Windows 98 1 4 10 1998 ' Windows 98SE 1 4 10 2222 ' Windows ME 1 4 90 3000 ' NT 3.51 2 3 51 ' NT 2 4 0 1381 ' 2000 2 5 0 ' XP 2 5 1 2600 ' Server 2003 2 5 2 ' Code based on MS API documentation. ' 2004-07-02. Assembled by Cactus Data ApS, CPH. Private Const VER_PLATFORM_WIN32s As Long = 0 ' Win32s on Windows 3.1x. Private Const VER_PLATFORM_WIN32_WINDOWS As Long = 1 ' Windows 95, Windows 98, Windows ME. Private Const VER_PLATFORM_WIN32_NT As Long = 2 ' Windows NT, Windows 2000, Windows XP, Windows Server 2003. Private Const clngCSDVersion As Long = 128 Private Type OSVERSIONINFO dwOSVersionInfoSize As Long dwMajorVersion As Long dwMinorVersion As Long dwBuildNumber As Long dwPlatformId As Long szCSDVersion As String * clngCSDVersion End Type Private Declare Function GetVersionEx Lib "kernel32" Alias "GetVersionExA" ( _ ByRef lpVersionInformation As OSVERSIONINFO) _ As Long Public Function GetVersion() As String ' Retrieves version of current Windows OS. ' Returns version as full string. ' ' 2004-07-02. Cactus Data ApS, CPH. Dim OSV As OSVERSIONINFO Dim strVersion As String OSV.dwOSVersionInfoSize = Len(OSV) OSV.szCSDVersion = Space$(clngCSDVersion) GetVersionEx OSV With OSV ' Service Pack info string. Debug.Print .szCSDVersion Select Case .dwPlatformId Case VER_PLATFORM_WIN32s ' Win32s on Windows 3.1x. strVersion = "Windows 3.1" Case VER_PLATFORM_WIN32_WINDOWS ' Windows 95, Windows 98, Select Case .dwMinorVersion ' Windows ME. Case 0 strVersion = "Windows 95" Case 10 If (.dwBuildNumber And &HFFFF&) = 2222 Then strVersion = "Windows 98SE" Else strVersion = "Windows 98" End If Case 90 strVersion = "Windows ME" End Select Case VER_PLATFORM_WIN32_NT ' Windows NT, Windows 2000, Windows XP, Select Case .dwMajorVersion ' Windows Server 2003. Case 3 strVersion = "Windows NT 3.51" Case 4 strVersion = "Windows NT 4.0" Case 5 Select Case .dwMinorVersion Case 0 strVersion = "Windows 2000" Case 1 strVersion = "Windows XP" Case 2 strVersion = "Windows Server 2003" End Select End Select Case Else strVersion = "Unknown" End Select End With GetVersion = strVersion End Function Public Function IsWinXP() As Boolean ' Checks current Windows OS. ' Returns True if OS is Win XP or Server 2003. ' ' 2004-07-07. Cactus Data ApS, CPH. Dim OSV As OSVERSIONINFO Dim booVersion As Boolean OSV.dwOSVersionInfoSize = Len(OSV) GetVersionEx OSV With OSV Select Case .dwPlatformId Case VER_PLATFORM_WIN32_NT ' Windows NT, Windows 2000, Windows XP, Select Case .dwMajorVersion ' Windows Server 2003. Case 5 Select Case .dwMinorVersion Case 0 ' strVersion = "Windows 2000" Case 1 ' strVersion = "Windows XP" booVersion = True Case 2 ' strVersion = "Windows Server 2003" booVersion = True End Select End Select End Select End With IsWinXP = booVersion End Function Have fun! /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Wed Sep 1 02:56:20 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Wed, 1 Sep 2004 09:56:20 +0200 Subject: [AccessD] Will an A2K MDE run unde A2003? Message-ID: <46B976F2B698FF46A4FE7636509B22DF0ADB53@stekelbes.ithelps.local> It is advised to put the MDE on the local computer of the client, so all network users use their own MDE file. Thats always good for several reasons already discusses in the mailing list, but I want to point out that there are some weirder things with Access 2003 references than we are used with 2K. References some times need to be disabled and re-enabled before the apllications works. In case you have different Access versions running in the same site, a MDE file on the user local computer is a must due to these references. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, September 01, 2004 5:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Will an A2K MDE run unde A2003? For my market having Access is quite common. So it's not really an issue. I've got Wise and could, I suppose, get the Sagekey script for A2K. But that's already 2 versions behind the latest. I understand that A2003 has a pretty decent deployment facility. Yes? If this prospect wants the software and it will only run in A2003 I'll get A2003, and then I'll have a chance to test the deployment features. Rocky ----- Original Message ----- From: "Francisco Tapia" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 31, 2004 5:03 PM Subject: Re: [AccessD] Will an A2K MDE run unde A2003? > I am curious as to why you don't deploy it w/ a runtime?, I mean you > don't have it as opensource to allow the customer to work w/ the app. > > On Tue, 31 Aug 2004 16:40:07 -0700, Rocky Smolin - Beach Access > Software wrote: > > Dear List: > > > > I have to call a guy tomorrow morning and tell him whether my software will work in Access 2003. I compile it into an MDE under Access 2000. I know that MDE will run under Access 2002. Will the MDE run in 2003? > > > > I also have Access 2002 which I could use to make an MDE. Would an MDE compiled under Access 2002 run under Access 2003? > > > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Sep 1 01:44:59 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 31 Aug 2004 23:44:59 -0700 Subject: [AccessD] Slightly OT: HTTPS question In-Reply-To: <08F823FD83787D4BA0B99CA580AD3C74089AF3@TTNEXCHCL2.hshhp.com> Message-ID: Hi Jim: I do not know wether this is an issue with you but a client was having some problems with their version of IE. It turned out to be a proxy issue and nothing to do with the browser. Their proxy client was not properly setup or was not installed. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Monday, August 30, 2004 10:32 AM To: AccessD (E-mail) Subject: [AccessD] Slightly OT: HTTPS question List, Does anyone know if IE 5xx has any issues with accessing https sites? I'm pretty sure I can get them on my home PC but I've got a laptop here at the office that serves up "page not found" errors on two of our sites (one a web app, the other a Citrix server). Thanks, Jim DeMarco Director Application Development Hudson Health Plan Tarrytown, NY **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Sep 1 01:48:48 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 31 Aug 2004 23:48:48 -0700 Subject: [AccessD] Will an A2K MDE run unde A2003? References: <001701c48fb3$d92f7320$6601a8c0@HAL9002> <00f801c48fd6$6f473f10$6601a8c0@HAL9002> Message-ID: <413570D0.8010209@shaw.ca> SageKey has an MSI deployment script for Access 2003. $400 It also removes the need for a digital certificate. which might prove to be a problem or just a nuisance with Access 2000 MDE running under 2003. I guess you will find out. Rocky Smolin - Beach Access Software wrote: >For my market having Access is quite common. So it's not really an issue. >I've got Wise and could, I suppose, get the Sagekey script for A2K. But >that's already 2 versions behind the latest. > >I understand that A2003 has a pretty decent deployment facility. Yes? > >If this prospect wants the software and it will only run in A2003 I'll get >A2003, and then I'll have a chance to test the deployment features. > >Rocky > >----- Original Message ----- >From: "Francisco Tapia" >To: "Access Developers discussion and problem solving" > >Sent: Tuesday, August 31, 2004 5:03 PM >Subject: Re: [AccessD] Will an A2K MDE run unde A2003? > > > > >>I am curious as to why you don't deploy it w/ a runtime?, I mean you >>don't have it as opensource to allow the customer to work w/ the app. >> >>On Tue, 31 Aug 2004 16:40:07 -0700, Rocky Smolin - Beach Access >>Software wrote: >> >> >>>Dear List: >>> >>>I have to call a guy tomorrow morning and tell him whether my software >>> >>> >will work in Access 2003. I compile it into an MDE under Access 2000. I >know that MDE will run under Access 2002. Will the MDE run in 2003? > > >>>I also have Access 2002 which I could use to make an MDE. Would an MDE >>> >>> >compiled under Access 2002 run under Access 2003? > > >>-- >>-Francisco >>-- >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From andy at minstersystems.co.uk Wed Sep 1 05:26:30 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 1 Sep 2004 11:26:30 +0100 Subject: [AccessD] Prompt after Form loads In-Reply-To: Message-ID: <000501c4900e$25b38380$b274d0d5@minster33c3r25> Francisco I'd go with your OnTimer idea. I think all of the other obvious events will fire before the form is fully displayed. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Francisco Tapia > Sent: 31 August 2004 23:32 > To: Access Developers discussion and problem solving > Subject: [AccessD] Prompt after Form loads > > > I have a form which autoloads data to some unbound controls. > I have a need to prompt the user if he wants to overwrite > some fields w/ defaults. However since the "IF" is in the > form_load event it prompts before the form is fully loaded, > thus the user can't make an informed decision. > > Any idea how to do this? on timer, then disable it? > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From gustav at cactus.dk Wed Sep 1 05:34:56 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 1 Sep 2004 12:34:56 +0200 Subject: [AccessD] Prompt after Form loads In-Reply-To: <000501c4900e$25b38380$b274d0d5@minster33c3r25> References: <000501c4900e$25b38380$b274d0d5@minster33c3r25> Message-ID: <4314961823.20040901123456@cactus.dk> Hi Andy and Francisco I would suggest OnCurrent. To prevent multiple prompts, set a static flag: Static booIsPrompted As Boolean If booIsPrompted = False Then ' Ask if you user wish to load data. booIsPrompted = True End If /gustav > Francisco > I'd go with your OnTimer idea. I think all of the other obvious events will > fire before the form is fully displayed. > -- Andy Lacey > http://www.minstersystems.co.uk >> I have a form which autoloads data to some unbound controls. >> I have a need to prompt the user if he wants to overwrite >> some fields w/ defaults. However since the "IF" is in the >> form_load event it prompts before the form is fully loaded, >> thus the user can't make an informed decision. From Jdemarco at hudsonhealthplan.org Wed Sep 1 07:08:24 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Wed, 1 Sep 2004 08:08:24 -0400 Subject: [AccessD] Slightly OT: HTTPS question Message-ID: <08F823FD83787D4BA0B99CA580AD3C74089B12@TTNEXCHCL2.hshhp.com> Interesting. How would I check this out? Thanks, Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Wednesday, September 01, 2004 2:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Slightly OT: HTTPS question Hi Jim: I do not know wether this is an issue with you but a client was having some problems with their version of IE. It turned out to be a proxy issue and nothing to do with the browser. Their proxy client was not properly setup or was not installed. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Monday, August 30, 2004 10:32 AM To: AccessD (E-mail) Subject: [AccessD] Slightly OT: HTTPS question List, Does anyone know if IE 5xx has any issues with accessing https sites? I'm pretty sure I can get them on my home PC but I've got a laptop here at the office that serves up "page not found" errors on two of our sites (one a web app, the other a Citrix server). Thanks, Jim DeMarco Director Application Development Hudson Health Plan Tarrytown, NY **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From cyx5 at cdc.gov Wed Sep 1 07:18:57 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Wed, 1 Sep 2004 08:18:57 -0400 Subject: [AccessD] Get User Name Message-ID: It is great to be back on the list and working with Access again. It has been a while. I am looking for the user defined function to grab the network user name or id. I have inherited an Access 2002/SQL 2000 back-end database run completely by macros with a pretty bad password scenario. This should keep me busy for a while. Karen Nicholson National Laboratory Xerox Global Services From bheid at appdevgrp.com Wed Sep 1 07:33:40 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 1 Sep 2004 08:33:40 -0400 Subject: [AccessD] Get User Name In-Reply-To: <916187228923D311A6FE00A0CC3FAA30962AAD@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB7AD@ADGSERVER> Hi Karen, I use this (note that I did not write this): Private Declare Function GetUserName Lib "advapi32.dll" Alias _ "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long ' Returns the network login name or 'Admin' if api call fails Public Function GetOSUserName() As String Dim lngLen As Long Dim lngX As Long Dim strUserName As String On Error GoTo Proc_Err strUserName = String$(254, 0) lngLen = 255 lngX = GetUserName(strUserName, lngLen) If lngX <> 0 Then GetOSUserName = Left$(strUserName, lngLen - 1) Else GetOSUserName = "ADMIN" End If Proc_Exit: Exit Function Proc_Err: MsgBox Err.Number & " - " & Err.Description, vbExclamation + vbOKOnly , "GetOSUserName" Resume Proc_Exit End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Wednesday, September 01, 2004 8:19 AM To: accessd at databaseadvisors.com Subject: [AccessD] Get User Name It is great to be back on the list and working with Access again. It has been a while. I am looking for the user defined function to grab the network user name or id. I have inherited an Access 2002/SQL 2000 back-end database run completely by macros with a pretty bad password scenario. This should keep me busy for a while. Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Sep 1 07:35:01 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 01 Sep 2004 22:35:01 +1000 Subject: [AccessD] Get User Name In-Reply-To: Message-ID: <41364E95.3834.4E48C09@lexacorp.com.pg> On 1 Sep 2004 at 8:18, Nicholson, Karen wrote: > It is great to be back on the list and working with Access again. It > has been a while. I am looking for the user defined function to grab > the network user name or id. I have inherited an Access 2002/SQL 2000 > back-end database run completely by macros with a pretty bad password > scenario. This should keep me busy for a while. > Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long Function UserName() As String Dim strUName As String Dim lngResponse As Long UNAME = Space$(32) lngResponse = GetUserName(strUName, 32) strUName = Trim$(strUName) UserName = Left$(strUName, Len(strUName) - 1) 'strip Chr$(0) from end of name End Function -- Stuart From carbonnb at gmail.com Wed Sep 1 07:57:06 2004 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 1 Sep 2004 08:57:06 -0400 Subject: [AccessD] Get User Name In-Reply-To: References: Message-ID: On Wed, 1 Sep 2004 08:18:57 -0400, Nicholson, Karen wrote: > It is great to be back on the list and working with Access again. It > has been a while. I am looking for the user defined function to grab > the network user name or id. I have inherited an Access 2002/SQL 2000 > back-end database run completely by macros with a pretty bad password > scenario. This should keep me busy for a while. The functions that Bobby and Stuart posted are fine for a windows network, but if you are on a Novell network this will get you the NovellID '*+ Module API declarations Private Declare Function NWCallsInit Lib "calwin32" _ (reserved1 As Byte, reserved2 As Byte) As Long Private Declare Function NWDSCreateContextHandle Lib "netwin32" _ (newHandle As Long) As Long Private Declare Function NWDSWhoAmI Lib "netwin32" _ (ByVal context As Long, ByVal objectName As String) As Long Private Declare Function NWDSFreeContext Lib "netwin32" _ (ByVal context As Long) As Long '*- Module API declarations Function fGetNovellUserName() As String '-------------------------------------------------------------------------- '.Purpose : To get Novell User Name '.Author : Bryan Carbonnell '.Date : 3-May-2002 '.Called by : frmUser Form_Open Event '.Calls : NWCallsInit - API '. NWDSCreateContextHandle - API '. NWDSFreeContext - API '.Revised : 3-May-2002 - Original '-------------------------------------------------------------------------- On Error GoTo fGetNovellUserName_Error Dim lngContextCode As Long Dim lngContext As Long Dim strMyName As String ' allocate space for user name On Error GoTo fGetNovellUserName_Error strMyName = Space(255) ' initialize NetWare client lngContextCode = NWCallsInit(0, 0) If lngContextCode <> 0 Then 'NW Client cannot be initialised, so we can't get the User Name fGetNovellUserName = "NWCallsInit() - Cannot initialize" Else ' a context is req'd for all NDS functions lngContextCode = NWDSCreateContextHandle(lngContext) If lngContextCode = 0 Then 'We have a valid Context, so we can do stuff ' now, get my name lngContextCode = NWDSWhoAmI(lngContext, strMyName) 'Change to return username If lngContextCode = 0 Then strMyName = Left(strMyName, (InStr(strMyName, Chr(0)) - 1)) strMyName = Mid(strMyName, 4) fGetNovellUserName = strMyName End If ' clean-up lngContextCode = NWDSFreeContext(lngContext) End If End If Exit_fGetNovellUserName: On Error GoTo 0 Exit Function 'Error Handler fGetNovellUserName_Error: 'Display Error Message MsgBox "Error " & Err.Number & " (" & Err.Description & _ ") in procedure " & .ProcedureName & " of " & .ModuleName 'Exit the procedure properly Resume Exit_fGetNovellUserName 'For Debugging Resume End Function -- 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 markamatte at hotmail.com Wed Sep 1 08:29:40 2004 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 01 Sep 2004 13:29:40 +0000 Subject: [AccessD] Every 100th record Message-ID: Arthur, First...congrats on the new contract...second...for this contract...do the queries you are optimizing need to be real time... or can they be on data prior to today(or what is the acceptable lag time)? Just curious... Thanks, Mark >From: "Arthur Fuller" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: RE: [AccessD] Every 100th record >Date: Tue, 31 Aug 2004 19:32:55 -0400 > >Just to put things in perspective, JC, the first client of the people >who developed MySQL had 60M rows in their principal table. There are >lots of apps way bigger than that. I once had a client that was adding >10M rows per month to the table of concern (this was an app recording >seismic activity from several hundred meters). I must caution you that >you should not use the term VLDB as loosely as you have been using it. >You don't know the meaning of VLDB -- not yet at least. You're beginning >to appreciate the turf, however. Once I bid on a project that had 100M >rows each containing a graphic file. Not to say that size is everything, >but IMO VLDB comprises at least a TB, and often many hundreds of TBs. > >I just got a contract with a company using MySQL whose test database's >most important table comprises 100M rows. They expect their clients to >have 10* as many rows. My job is to optimize the queries. Fortunately, I >can assume any hardware I deem necessary to do it. They are after >sub-second retrieves against 1B rows, with maybe 1000 users. Life's a >beach and then you drown. I don't know if I can deliver what they want, >but what I can deliver is benchmarks against the various DBs that I'm >comfortable with -- SQL 2000, Oracle, MySQL and DB/2. I figure that if >none of them can do it, I'm off the hook :) > >The difficult part of this new assignment is that there's no way I can >duplicate the hardware resources required to emulate the required >system, so I have to assume that the benchmarks on my local system will >hold up in a load-leveling 100-server environment -- at least until I >have something worthy of installing and then test it in that >environment. > >I sympathize and empathize with your situation, JC. It's amazing how >many of our tried-and-true solutions go right out the window when you >escalate the number of rows to 100M -- and then factor in multiple >joins. Stuff that looks spectacular with only 1M rows suddenly sucks >big-time when applied to 100M rows. > >Arthur > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby >Sent: Tuesday, August 31, 2004 7:13 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Every 100th record > > >Paul, > >In fact I am trying to make this run on my home system which is part of >the problem. This week I am playing "stay-at-home dad" as my wife >starts the chhool year this week and has all those 1st week teacher >meetings / training. > >I have never come even close to a db this size and it has definitely >been a learning experience. Here's hoping I survive. > >John W. Colby >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Rodgers >Sent: Tuesday, August 31, 2004 3:49 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Every 100th record > > >65 million! What an amazing world you work it. Is there ever time in the >week to pop home for an hour? >Cheers paul > >-----Original Message----- >From: John W. Colby [mailto:jwcolby at colbyconsulting.com] >Sent: 27 August 2004 16:39 >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Every 100th record > > >Gustav, > >I am working on a SQL Server database of about 65 million records. We >need to pull a subset of those for doing counts of data in specific >fields. Trying to do that analysis on the entire 65 million records just >won't work at least in anything close to realtime. Thus we literally >want to pull every Nth record. If we pulled every 100th record into a >table that would give a sampling of 650K records to run this analysis >on. That still won't be lightning fast but at least doable. > >John W. Colby >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: Friday, August 27, 2004 11:22 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Every 100th record > > >Hi John > > > > Does anyone have a strategy for pulling every Nth record? My client > > wants to pull every 100th record into a dataset for analysis, to speed > > > things up I am guessing. > >To speed up what? Analysis on a sample only and not on the full set? > >If so, you could select by "Random Between 1 To 100" = 1. > >/gustav > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >--- >Incoming mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/2004 > > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/2004 > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Sep 1 08:52:11 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 1 Sep 2004 15:52:11 +0200 Subject: [AccessD] Time zones (was: internationalization) In-Reply-To: <11525103216.20040714155748@cactus.dk> References: <2F8793082E00D4119A1700B0D0216BF8017A1F98@main2.marlow.com> <32007103843568110723d0567@global.net.pg> <11525103216.20040714155748@cactus.dk> Message-ID: <19626796821.20040901155211@cactus.dk> Hi all I just saw that Helen has published the part two of this horror code and checked if anything had been changed - but no. Just in case you should be involved in time zones, I will just say: look everywhere else. But how do you US people deal with time zones? In Europe we seldom do (the countries are too small) but you have to shift between Pacific and Mountain etc. all day, except for local compannies, of course. /gustav > Hi all > This topic popped up in all its glory in the recent issue of "Woody's > Access Watch" where Helen Feddema is goofing around trying to parse > date/time strings to figure out time zones. Of course, this dirty > deroute is paved with traps so it doesn't work outside the US where > other regional settings are used. > Just in case anyone should have a need for dealing with time zones, > here are a couple of functions we use. You'll quickly notice that > essentially it is nothing more than a little clean up and one single > line of code: > datRemote = DateAdd("n", lngBias, datLocal) > If you have nothing to do Friday you may wish to browse Helen's demo: > ftp://ftp.helenfeddema.com/pub/accarch121.zip > > Public Function TimeZoneBiasDiff( _ > ByVal lngLocalTimeBias As Long, _ > ByVal lngRemoteTimeBias As Long) _ > As Long > ' Calculates the difference in minutes between two time zones, > ' typically the local time zone and a remote time zone. > ' Both time zones must be expressed by their bias relative to > ' UTC (Coordinated Universal Time) which is measured in minutes. > ' > ' 2000-05-30. Cactus Data ApS, CPH. > ' Minimum amount of minutes for a time zone bias. > Const clngTimeZoneBiasMin As Long = 15 > Dim lngTimeZoneBiasDiff As Long > ' Round off time zone bias by minimum time zone difference. > lngLocalTimeBias = lngLocalTimeBias \ clngTimeZoneBiasMin > lngLocalTimeBias = lngLocalTimeBias * clngTimeZoneBiasMin > lngRemoteTimeBias = lngRemoteTimeBias \ clngTimeZoneBiasMin > lngRemoteTimeBias = lngRemoteTimeBias * clngTimeZoneBiasMin > ' Calculate difference in time zone bias. > lngTimeZoneBiasDiff = lngRemoteTimeBias - lngLocalTimeBias > TimeZoneBiasDiff = lngTimeZoneBiasDiff > End Function > Public Function DateAddTimeZoneDiff( _ > ByVal datLocal As Date, _ > ByVal lngLocalBias, _ > ByVal lngRemoteBias) _ > As Date > ' Calculates the date/time of datLocal in a remote time zone. > ' The difference in minutes will be the difference between the > ' local time zone bias and the remote time zone bias where the > ' bias are relative to UTC. > ' > ' Examples: > ' > ' datRemote = DateAddTimeZoneDiff(Now(), 60, -600) > ' will return datRemote as eleven hours behind local time. > ' > ' datRemote = DateAddTimeZoneDiff(Now(), -600, 60) > ' will return datRemote as eleven hours ahead of local time. > ' > ' 2000-05-30. Cactus Data ApS, CPH. > Dim datRemote As Date > Dim lngBias As Long > ' Get difference (in minutes) in time zone bias. > lngBias = TimeZoneBiasDiff(lngLocalBias, lngRemoteBias) > ' Calculate remote date/time. > datRemote = DateAdd("n", lngBias, datLocal) > DateAddTimeZoneDiff = datRemote > End Function > > Also, note "GMT" has been considered obsolete for years and has for > every serious use been replaced with UTC. > /gustav >> On 27 Nov 2002 at 15:45, Gustav Brock wrote: >>> Hi Drew >>> >>> > Thanks. Next version I'll incorporate that. >>> >>> OK. >>> >>> > Time zones are pretty easy. In fact, all of this date stuff is too. The >>> > only real monster is Arizona, which decreed to ignore daylight savings time. >>> >>> So how DO you deal with the time zones? >>> >>> I have seen no options in Access for this contrary to Oracle which can >>> record date/time including the time zone. >>> >>> My thought was to use a byte field with a shifted value similar to how >>> MySQL can store a year value in a byte field ... >>> >> You could get the Bias member of the Time_Zone_Information structure >> retrieved with the GetTimeZoneInformation API function and either >> apply it to the time in question or store it in another field as a >> long (or integer if space is critical) >> >> Stuart From kaupca at chevrontexaco.com Wed Sep 1 09:10:40 2004 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Wed, 1 Sep 2004 09:10:40 -0500 Subject: [AccessD] Subform problem with detail section Message-ID: <1375769556091B4DAABC159F944CA1BB0B046A@bocnte2k4.boc.chevrontexaco.net> I have a subform on a main form. If I set the recordset type property to snapshot I can see the records from the record source table but cannot add records. If I set the recordset type to dynaset the detail section of the subreport disappears. I believe dynaset will allow records to be added but an invisible detail section is of no help. What do I have set wrong? Thanks Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7414 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From cyx5 at cdc.gov Wed Sep 1 09:18:23 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Wed, 1 Sep 2004 10:18:23 -0400 Subject: [AccessD] Order By in Subform Message-ID: Syntax, syntax. The prior programmer used a pound sign in the subform name. I am trying to place on 'on click' event procedure to sort the subform by the task number field. I am getting a syntax error with this code: Me.[frmSortTask#].Form.OrderBy = "TaskNumber" Me.[frmSortTask#].Form.OrderByOn = True Any ideas? Karen Nicholson National Laboratory Xerox Global Services From bchacc at san.rr.com Wed Sep 1 09:55:46 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 1 Sep 2004 07:55:46 -0700 Subject: [AccessD] Order By in Subform References: Message-ID: <010401c49033$c34e7fd0$6601a8c0@HAL9002> Karen: I think doing a global replace on the name would be the quickest way. Do you have Find and Replace, Speed Ferret or some other third party add-in? I use Find and Replace and that would change all the references even in the object names. HTH Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "Nicholson, Karen" To: Sent: Wednesday, September 01, 2004 7:18 AM Subject: [AccessD] Order By in Subform Syntax, syntax. The prior programmer used a pound sign in the subform name. I am trying to place on 'on click' event procedure to sort the subform by the task number field. I am getting a syntax error with this code: Me.[frmSortTask#].Form.OrderBy = "TaskNumber" Me.[frmSortTask#].Form.OrderByOn = True Any ideas? Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Wed Sep 1 10:03:48 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Wed, 1 Sep 2004 11:03:48 -0400 Subject: [AccessD] Order By in Subform Message-ID: Got it. Overthinking, I suppose. This works: Me.OrderBy = "tasknumber" Me.OrderByOn = True Any objections? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Wednesday, September 01, 2004 10:18 AM To: accessd at databaseadvisors.com Subject: [AccessD] Order By in Subform Syntax, syntax. The prior programmer used a pound sign in the subform name. I am trying to place on 'on click' event procedure to sort the subform by the task number field. I am getting a syntax error with this code: Me.[frmSortTask#].Form.OrderBy = "TaskNumber" Me.[frmSortTask#].Form.OrderByOn = True Any ideas? Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Wed Sep 1 10:35:54 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 08:35:54 -0700 Subject: [AccessD] Prompt after Form loads In-Reply-To: <4314961823.20040901123456@cactus.dk> References: <000501c4900e$25b38380$b274d0d5@minster33c3r25> <4314961823.20040901123456@cactus.dk> Message-ID: I will try this option Gustav, thanks :D. btw, Rocky... What I meant by autoload was that in the Form_Load event I have code that loads data to the form. because it was in the form_load event, the prompt was occuring before the user had a chance to see the form. On Wed, 1 Sep 2004 12:34:56 +0200, Gustav Brock wrote: > Hi Andy and Francisco > > I would suggest OnCurrent. > To prevent multiple prompts, set a static flag: > > Static booIsPrompted As Boolean > > If booIsPrompted = False Then > ' Ask if you user wish to load data. > > booIsPrompted = True > End If -- -Francisco From cfoust at infostatsystems.com Wed Sep 1 10:36:42 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 1 Sep 2004 08:36:42 -0700 Subject: [AccessD] Time zones (was: internationalization) Message-ID: We don't generally deal with it except in our heads. I've never had to address it in an application, although probably I would use an offset to UTC as well. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, September 01, 2004 6:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Time zones (was: internationalization) Hi all I just saw that Helen has published the part two of this horror code and checked if anything had been changed - but no. Just in case you should be involved in time zones, I will just say: look everywhere else. But how do you US people deal with time zones? In Europe we seldom do (the countries are too small) but you have to shift between Pacific and Mountain etc. all day, except for local compannies, of course. /gustav > Hi all > This topic popped up in all its glory in the recent issue of "Woody's > Access Watch" where Helen Feddema is goofing around trying to parse > date/time strings to figure out time zones. Of course, this dirty > deroute is paved with traps so it doesn't work outside the US where > other regional settings are used. > Just in case anyone should have a need for dealing with time zones, > here are a couple of functions we use. You'll quickly notice that > essentially it is nothing more than a little clean up and one single > line of code: > datRemote = DateAdd("n", lngBias, datLocal) > If you have nothing to do Friday you may wish to browse Helen's demo: > ftp://ftp.helenfeddema.com/pub/accarch121.zip > > Public Function TimeZoneBiasDiff( _ > ByVal lngLocalTimeBias As Long, _ > ByVal lngRemoteTimeBias As Long) _ > As Long > ' Calculates the difference in minutes between two time zones, ' > typically the local time zone and a remote time zone. ' Both time > zones must be expressed by their bias relative to ' UTC (Coordinated > Universal Time) which is measured in minutes. ' > ' 2000-05-30. Cactus Data ApS, CPH. > ' Minimum amount of minutes for a time zone bias. > Const clngTimeZoneBiasMin As Long = 15 > Dim lngTimeZoneBiasDiff As Long > ' Round off time zone bias by minimum time zone difference. > lngLocalTimeBias = lngLocalTimeBias \ clngTimeZoneBiasMin > lngLocalTimeBias = lngLocalTimeBias * clngTimeZoneBiasMin > lngRemoteTimeBias = lngRemoteTimeBias \ clngTimeZoneBiasMin > lngRemoteTimeBias = lngRemoteTimeBias * clngTimeZoneBiasMin > ' Calculate difference in time zone bias. > lngTimeZoneBiasDiff = lngRemoteTimeBias - lngLocalTimeBias > TimeZoneBiasDiff = lngTimeZoneBiasDiff > End Function > Public Function DateAddTimeZoneDiff( _ > ByVal datLocal As Date, _ > ByVal lngLocalBias, _ > ByVal lngRemoteBias) _ > As Date > ' Calculates the date/time of datLocal in a remote time zone. ' The > difference in minutes will be the difference between the ' local time > zone bias and the remote time zone bias where the ' bias are relative > to UTC. ' > ' Examples: > ' > ' datRemote = DateAddTimeZoneDiff(Now(), 60, -600) > ' will return datRemote as eleven hours behind local time. > ' > ' datRemote = DateAddTimeZoneDiff(Now(), -600, 60) > ' will return datRemote as eleven hours ahead of local time. > ' > ' 2000-05-30. Cactus Data ApS, CPH. > Dim datRemote As Date > Dim lngBias As Long > ' Get difference (in minutes) in time zone bias. > lngBias = TimeZoneBiasDiff(lngLocalBias, lngRemoteBias) > ' Calculate remote date/time. > datRemote = DateAdd("n", lngBias, datLocal) > DateAddTimeZoneDiff = datRemote > End Function > > Also, note "GMT" has been considered obsolete for years and has for > every serious use been replaced with UTC. > /gustav >> On 27 Nov 2002 at 15:45, Gustav Brock wrote: >>> Hi Drew >>> >>> > Thanks. Next version I'll incorporate that. >>> >>> OK. >>> >>> > Time zones are pretty easy. In fact, all of this date stuff is >>> > too. The only real monster is Arizona, which decreed to ignore >>> > daylight savings time. >>> >>> So how DO you deal with the time zones? >>> >>> I have seen no options in Access for this contrary to Oracle which >>> can record date/time including the time zone. >>> >>> My thought was to use a byte field with a shifted value similar to >>> how MySQL can store a year value in a byte field ... >>> >> You could get the Bias member of the Time_Zone_Information structure >> retrieved with the GetTimeZoneInformation API function and either >> apply it to the time in question or store it in another field as a >> long (or integer if space is critical) >> >> Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Wed Sep 1 10:41:20 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 08:41:20 -0700 Subject: [AccessD] Prompt after Form loads In-Reply-To: References: <000501c4900e$25b38380$b274d0d5@minster33c3r25> <4314961823.20040901123456@cactus.dk> Message-ID: Just tried it and the OnCurrent event also fires before the form is loaded :(, gonna try the OnTimmer... On Wed, 1 Sep 2004 08:35:54 -0700, Francisco Tapia wrote: > I will try this option Gustav, thanks :D. > > btw, Rocky... What I meant by autoload was that in the Form_Load event > I have code that loads data to the form. because it was in the > form_load event, the prompt was occuring before the user had a chance > to see the form. > > On Wed, 1 Sep 2004 12:34:56 +0200, Gustav Brock wrote: > > Hi Andy and Francisco > > > > I would suggest OnCurrent. > > To prevent multiple prompts, set a static flag: > > > > Static booIsPrompted As Boolean > > > > If booIsPrompted = False Then > > ' Ask if you user wish to load data. > > > > booIsPrompted = True > > End If > > -- > -Francisco > -- -Francisco From gustav at cactus.dk Wed Sep 1 10:54:01 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 1 Sep 2004 17:54:01 +0200 Subject: [AccessD] Time zones (was: internationalization) In-Reply-To: References: Message-ID: <10834106562.20040901175401@cactus.dk> Hi Charlotte Really? But "nation wide" corporations exist - and the dates of Honolulu and Miami can be a date apart for many hours? /gustav > We don't generally deal with it except in our heads. I've never had to > address it in an application, although probably I would use an offset to > UTC as well. From gustav at cactus.dk Wed Sep 1 10:56:04 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 1 Sep 2004 17:56:04 +0200 Subject: [AccessD] Prompt after Form loads In-Reply-To: References: <000501c4900e$25b38380$b274d0d5@minster33c3r25> <4314961823.20040901123456@cactus.dk> Message-ID: <9234229188.20040901175604@cactus.dk> Hi Francisco Yes, that's right ... But replace the Boolean with a counter: one, two ... /gustav > Just tried it and the OnCurrent event also fires before the form is > loaded :(, gonna try the OnTimmer... > On Wed, 1 Sep 2004 08:35:54 -0700, Francisco Tapia wrote: >> I will try this option Gustav, thanks :D. >> >> btw, Rocky... What I meant by autoload was that in the Form_Load event >> I have code that loads data to the form. because it was in the >> form_load event, the prompt was occuring before the user had a chance >> to see the form. >> >> On Wed, 1 Sep 2004 12:34:56 +0200, Gustav Brock wrote: >> > Hi Andy and Francisco >> > >> > I would suggest OnCurrent. >> > To prevent multiple prompts, set a static flag: >> > >> > Static booIsPrompted As Boolean >> > >> > If booIsPrompted = False Then >> > ' Ask if you user wish to load data. >> > >> > booIsPrompted = True >> > End If From cfoust at infostatsystems.com Wed Sep 1 11:11:44 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 1 Sep 2004 09:11:44 -0700 Subject: [AccessD] Time zones (was: internationalization) Message-ID: World wide corporations exist too. We generally look at the clock to see whether we can reach one of our clients in the North Sea or Yemen or Canada or South America. What are you envisioning? In our business, the relative times aren't relevant, only the local time is important, so we don't have to worry about it. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, September 01, 2004 8:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Time zones (was: internationalization) Hi Charlotte Really? But "nation wide" corporations exist - and the dates of Honolulu and Miami can be a date apart for many hours? /gustav > We don't generally deal with it except in our heads. I've never had > to address it in an application, although probably I would use an > offset to UTC as well. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Wed Sep 1 11:28:51 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 09:28:51 -0700 Subject: [AccessD] Prompt after Form loads In-Reply-To: References: <000501c4900e$25b38380$b274d0d5@minster33c3r25> <4314961823.20040901123456@cactus.dk> Message-ID: On Timmer w/ a static variable is what I ended up using (plus after it fires I shoot the timer interval to 2hrs (more than enough time) so it hopefully won't fire again until after their session is done. On Wed, 1 Sep 2004 08:41:20 -0700, Francisco Tapia wrote: > Just tried it and the OnCurrent event also fires before the form is > loaded :(, gonna try the OnTimmer... > > > > On Wed, 1 Sep 2004 08:35:54 -0700, Francisco Tapia wrote: > > I will try this option Gustav, thanks :D. > > > > btw, Rocky... What I meant by autoload was that in the Form_Load event > > I have code that loads data to the form. because it was in the > > form_load event, the prompt was occuring before the user had a chance > > to see the form. > > > > On Wed, 1 Sep 2004 12:34:56 +0200, Gustav Brock wrote: > > > Hi Andy and Francisco > > > > > > I would suggest OnCurrent. > > > To prevent multiple prompts, set a static flag: > > > > > > Static booIsPrompted As Boolean > > > > > > If booIsPrompted = False Then > > > ' Ask if you user wish to load data. > > > > > > booIsPrompted = True > > > End If > > > > -- > > -Francisco > > > > > -- > -Francisco > -- -Francisco From fhtapia at gmail.com Wed Sep 1 11:32:23 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 09:32:23 -0700 Subject: [AccessD] Time zones (was: internationalization) In-Reply-To: References: Message-ID: Here is an issue that I never quite took into consideration: In a (now in production) database all times are stored as UTC, however to display I AM using an Offset of the local time, however if i were to query an "OLDER" timeframe that was outside the scope of the daylights savigns, then my math would be incorrect right? How would you manage that? would it be wise to wrap the date inside a function that could distinguish the daylights savings w/ non for the local area? This way the dates not shift between daylights and non-daylights savings schedules. On Wed, 1 Sep 2004 09:11:44 -0700, Charlotte Foust wrote: > World wide corporations exist too. We generally look at the clock to > see whether we can reach one of our clients in the North Sea or Yemen or > Canada or South America. What are you envisioning? In our business, > the relative times aren't relevant, only the local time is important, so > we don't have to worry about it. > > Charlotte Foust > > > > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, September 01, 2004 8:54 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Time zones (was: internationalization) > > Hi Charlotte > > Really? But "nation wide" corporations exist - and the dates of Honolulu > and Miami can be a date apart for many hours? > > /gustav > > > We don't generally deal with it except in our heads. I've never had > > to address it in an application, although probably I would use an > > offset to UTC as well. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From gustav at cactus.dk Wed Sep 1 11:48:39 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 1 Sep 2004 18:48:39 +0200 Subject: [AccessD] Time zones (was: internationalization) In-Reply-To: References: Message-ID: <2337384085.20040901184839@cactus.dk> Hi Francisco Well, to Charlotte this seems to be no problem, but it was considerations as those you describe I was thinking of. So far my thoughts would be to store date/time as UTC time, then do the conversion (shift) later to whatever time zone you may need. But what is your question really? Daylight savings is just another twist to time zone issues. And remember, some time zones are offset by 30 or even 15 minutes only. Did you see my code previously posted (2004-07-14)? /gustav > Here is an issue that I never quite took into consideration: In a > (now in production) database all times are stored as UTC, however to > display I AM using an Offset of the local time, however if i were to > query an "OLDER" timeframe that was outside the scope of the daylights > savigns, then my math would be incorrect right? > How would you manage that? would it be wise to wrap the date inside a > function that could distinguish the daylights savings w/ non for the > local area? This way the dates not shift between daylights and > non-daylights savings schedules. > On Wed, 1 Sep 2004 09:11:44 -0700, Charlotte Foust > wrote: >> World wide corporations exist too. We generally look at the clock to >> see whether we can reach one of our clients in the North Sea or Yemen or >> Canada or South America. What are you envisioning? In our business, >> the relative times aren't relevant, only the local time is important, so >> we don't have to worry about it. >> >> Charlotte Foust >> >> >> -----Original Message----- >> From: Gustav Brock [mailto:gustav at cactus.dk] >> Sent: Wednesday, September 01, 2004 8:54 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Time zones (was: internationalization) >> >> Hi Charlotte >> >> Really? But "nation wide" corporations exist - and the dates of Honolulu >> and Miami can be a date apart for many hours? >> >> /gustav >> >> > We don't generally deal with it except in our heads. I've never had >> > to address it in an application, although probably I would use an >> > offset to UTC as well. From fhtapia at gmail.com Wed Sep 1 11:56:49 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 09:56:49 -0700 Subject: [AccessD] Prompt after Form loads In-Reply-To: <9234229188.20040901175604@cactus.dk> References: <000501c4900e$25b38380$b274d0d5@minster33c3r25> <4314961823.20040901123456@cactus.dk> <9234229188.20040901175604@cactus.dk> Message-ID: Why a counter? On Wed, 1 Sep 2004 17:56:04 +0200, Gustav Brock wrote: > Hi Francisco > > Yes, that's right ... > But replace the Boolean with a counter: one, two ... > -- -Francisco From fhtapia at gmail.com Wed Sep 1 12:08:26 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 10:08:26 -0700 Subject: [AccessD] Subform problem with detail section In-Reply-To: <1375769556091B4DAABC159F944CA1BB0B046A@bocnte2k4.boc.chevrontexaco.net> References: <1375769556091B4DAABC159F944CA1BB0B046A@bocnte2k4.boc.chevrontexaco.net> Message-ID: Sounds like you enabled the subform for dataentry, which Will NOT show your records, only new records can be added when in this mode. This mode is useful for adding new records but not if you're trying to edit/add for that I suggest you visit your form properties under the data tab, disable data entry. On Wed, 1 Sep 2004 09:10:40 -0500, Kaup, Chester A wrote: > I have a subform on a main form. If I set the recordset type property to > snapshot I can see the records from the record source table but cannot > add records. If I set the recordset type to dynaset the detail section > of the subreport disappears. I believe dynaset will allow records to be > added but an invisible detail section is of no help. What do I have set > wrong? Thanks -- -Francisco From gustav at cactus.dk Wed Sep 1 12:11:43 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 1 Sep 2004 19:11:43 +0200 Subject: [AccessD] Prompt after Form loads In-Reply-To: References: <000501c4900e$25b38380$b274d0d5@minster33c3r25> <4314961823.20040901123456@cactus.dk> <9234229188.20040901175604@cactus.dk> Message-ID: <15538768786.20040901191143@cactus.dk> Hi Francisco > Why a counter? Form loads => 1 Form hits current first time => 2 So: If lngCounter = 2 then End If lngCounter = lngCounter + 1 /gustav >> But replace the Boolean with a counter: one, two ... From CMackin at Quiznos.com Wed Sep 1 12:25:15 2004 From: CMackin at Quiznos.com (Mackin, Christopher) Date: Wed, 1 Sep 2004 11:25:15 -0600 Subject: [AccessD] Prompt after Form loads Message-ID: Why not set the timerinterval to zero so it's guaranteed to not fire again? -Chris Mackin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco Tapia Sent: Wednesday, September 01, 2004 10:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Prompt after Form loads On Timmer w/ a static variable is what I ended up using (plus after it fires I shoot the timer interval to 2hrs (more than enough time) so it hopefully won't fire again until after their session is done. On Wed, 1 Sep 2004 08:41:20 -0700, Francisco Tapia wrote: > Just tried it and the OnCurrent event also fires before the form is > loaded :(, gonna try the OnTimmer... > > > > On Wed, 1 Sep 2004 08:35:54 -0700, Francisco Tapia wrote: > > I will try this option Gustav, thanks :D. > > > > btw, Rocky... What I meant by autoload was that in the Form_Load event > > I have code that loads data to the form. because it was in the > > form_load event, the prompt was occuring before the user had a chance > > to see the form. > > > > On Wed, 1 Sep 2004 12:34:56 +0200, Gustav Brock wrote: > > > Hi Andy and Francisco > > > > > > I would suggest OnCurrent. > > > To prevent multiple prompts, set a static flag: > > > > > > Static booIsPrompted As Boolean > > > > > > If booIsPrompted = False Then > > > ' Ask if you user wish to load data. > > > > > > booIsPrompted = True > > > End If > > > > -- > > -Francisco > > > > > -- > -Francisco > -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kaupca at chevrontexaco.com Wed Sep 1 12:33:30 2004 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Wed, 1 Sep 2004 12:33:30 -0500 Subject: [AccessD] Subform problem with detail section Message-ID: <1375769556091B4DAABC159F944CA1BB07A193@bocnte2k4.boc.chevrontexaco.net> Guess I did not make it clear. I only want to be able to add new records not see the existing records. The problem is that none of the list boxes or text boxes in the detail section show up to enter data into. Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7414 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Wednesday, September 01, 2004 12:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Subform problem with detail section Sounds like you enabled the subform for dataentry, which Will NOT show your records, only new records can be added when in this mode. This mode is useful for adding new records but not if you're trying to edit/add for that I suggest you visit your form properties under the data tab, disable data entry. On Wed, 1 Sep 2004 09:10:40 -0500, Kaup, Chester A wrote: > I have a subform on a main form. If I set the recordset type property > to snapshot I can see the records from the record source table but > cannot add records. If I set the recordset type to dynaset the detail > section of the subreport disappears. I believe dynaset will allow > records to be added but an invisible detail section is of no help. > What do I have set wrong? Thanks -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Sep 1 12:34:03 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 1 Sep 2004 19:34:03 +0200 Subject: [AccessD] Prompt after Form loads In-Reply-To: <15538768786.20040901191143@cactus.dk> References: <000501c4900e$25b38380$b274d0d5@minster33c3r25> <4314961823.20040901123456@cactus.dk> <9234229188.20040901175604@cactus.dk> <15538768786.20040901191143@cactus.dk> Message-ID: <1640108342.20040901193403@cactus.dk> Hi Francisco Sorry, should of course be: If lngCounter = 1 then End If lngCounter = lngCounter + 1 or lngCounter = lngCounter + 1 If lngCounter = 2 then End If /gustav >> Why a counter? > Form loads => 1 > Form hits current first time => 2 > So: > If lngCounter = 2 then > > End If > lngCounter = lngCounter + 1 > /gustav >>> But replace the Boolean with a counter: one, two ... From fhtapia at gmail.com Wed Sep 1 12:39:01 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 10:39:01 -0700 Subject: [AccessD] Time zones (was: internationalization) In-Reply-To: <2337384085.20040901184839@cactus.dk> References: <2337384085.20040901184839@cactus.dk> Message-ID: No, but after a quick archive search I found it, thanks :D thanks Gustav, so to be clear, if I have a record from daylights savings time, and I query it in NON-Daylights saving time, this code will keep the record at it's accurate time, meaning if It was processed in the summer (GMT-8) at 4pm, and I query the record in the Winter will the record show up processed at 4pm or 3pm?, the UTC time stored in the db doesn't change, but when they query it, will. Thanks, On Wed, 1 Sep 2004 18:48:39 +0200, Gustav Brock wrote: > Hi Francisco > > Well, to Charlotte this seems to be no problem, but it was > considerations as those you describe I was thinking of. > > So far my thoughts would be to store date/time as UTC time, then do > the conversion (shift) later to whatever time zone you may need. > But what is your question really? Daylight savings is just another > twist to time zone issues. And remember, some time zones are offset by > 30 or even 15 minutes only. > > Did you see my code previously posted (2004-07-14)? > -- -Francisco From fhtapia at gmail.com Wed Sep 1 12:41:17 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 10:41:17 -0700 Subject: [AccessD] Prompt after Form loads In-Reply-To: References: Message-ID: AH! :D, thanks On Wed, 1 Sep 2004 11:25:15 -0600, Mackin, Christopher wrote: > Why not set the timerinterval to zero so it's guaranteed to not fire again? > > -Chris Mackin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco > Tapia > Sent: Wednesday, September 01, 2004 10:29 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Prompt after Form loads > > On Timmer w/ a static variable is what I ended up using (plus after it > fires I shoot the timer interval to 2hrs (more than enough time) so > it hopefully won't fire again until after their session is done. > > On Wed, 1 Sep 2004 08:41:20 -0700, Francisco Tapia wrote: > > Just tried it and the OnCurrent event also fires before the form is > > loaded :(, gonna try the OnTimmer... -- -Francisco From fhtapia at gmail.com Wed Sep 1 12:45:49 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 10:45:49 -0700 Subject: [AccessD] Prompt after Form loads In-Reply-To: <15538768786.20040901191143@cactus.dk> References: <000501c4900e$25b38380$b274d0d5@minster33c3r25> <4314961823.20040901123456@cactus.dk> <9234229188.20040901175604@cactus.dk> <15538768786.20040901191143@cactus.dk> Message-ID: just the same I did it as a boolean static so Static blnINIT As Boolean IF blnINIT = FALSE then blnINIT = TRUE Endif On Wed, 1 Sep 2004 19:11:43 +0200, Gustav Brock wrote: > Hi Francisco > > > Why a counter? > > Form loads => 1 > Form hits current first time => 2 > > So: > > If lngCounter = 2 then > > End If > lngCounter = lngCounter + 1 > > /gustav > > >> But replace the Boolean with a counter: one, two ... > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From fhtapia at gmail.com Wed Sep 1 12:48:17 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 10:48:17 -0700 Subject: [AccessD] Subform problem with detail section In-Reply-To: <1375769556091B4DAABC159F944CA1BB07A193@bocnte2k4.boc.chevrontexaco.net> References: <1375769556091B4DAABC159F944CA1BB07A193@bocnte2k4.boc.chevrontexaco.net> Message-ID: So then, is the Data Entry option enabled?, is the table you're adding records to you have a Primary Key ID? On Wed, 1 Sep 2004 12:33:30 -0500, Kaup, Chester A wrote: > Guess I did not make it clear. I only want to be able to add new records > not see the existing records. The problem is that none of the list boxes > or text boxes in the detail section show up to enter data into. -- -Francisco From adtp at touchtelindia.net Wed Sep 1 12:57:30 2004 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Wed, 1 Sep 2004 23:27:30 +0530 Subject: [AccessD] Prompt after Form loads References: <000501c4900e$25b38380$b274d0d5@minster33c3r25><4314961823.20040 901123456@cactus.dk> Message-ID: <00c001c4904d$5dc1f3d0$571865cb@winxp> Francisco, As far as practicable, it is considered desirable to avoid activation of form's timer. Following course of action is suggested. Use a plain temporary form (it need not have any controls at all) to open the main form (named F_Main). Put the code given below in Open event of this form. Now, whenever you open the the temporary form, the main form will be displayed normally along with the prompt - as desired. (In the meanwhile the temporary form will close by itself - the user will not become aware of it). Regards, A.D.Tejpal -------------- ================================ Private Sub Form_Open(Cancel As Integer) DoCmd.OpenForm "F_Main" MsgBox "Pl Check The Values" Cancel = 1 End Sub ================================ ----- Original Message ----- From: Francisco Tapia To: Access Developers discussion and problem solving Sent: Wednesday, September 01, 2004 21:58 Subject: Re: [AccessD] Prompt after Form loads On Timmer w/ a static variable is what I ended up using (plus after it fires I shoot the timer interval to 2hrs (more than enough time) so it hopefully won't fire again until after their session is done. On Wed, 1 Sep 2004 08:41:20 -0700, Francisco Tapia wrote: > Just tried it and the OnCurrent event also fires before the form is > loaded :(, gonna try the OnTimmer... > > > > On Wed, 1 Sep 2004 08:35:54 -0700, Francisco Tapia wrote: > > I will try this option Gustav, thanks :D. > > > > btw, Rocky... What I meant by autoload was that in the Form_Load event > > I have code that loads data to the form. because it was in the > > form_load event, the prompt was occuring before the user had a chance > > to see the form. > > > > On Wed, 1 Sep 2004 12:34:56 +0200, Gustav Brock wrote: > > > Hi Andy and Francisco > > > > > > I would suggest OnCurrent. > > > To prevent multiple prompts, set a static flag: > > > > > > Static booIsPrompted As Boolean > > > > > > If booIsPrompted = False Then > > > ' Ask if you user wish to load data. > > > > > > booIsPrompted = True > > > End If > > > > -- > > -Francisco > > > > > -- > -Francisco > -- -Francisco From gustav at cactus.dk Wed Sep 1 12:59:41 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 1 Sep 2004 19:59:41 +0200 Subject: [AccessD] Prompt after Form loads In-Reply-To: References: <000501c4900e$25b38380$b274d0d5@minster33c3r25> <4314961823.20040901123456@cactus.dk> <9234229188.20040901175604@cactus.dk> <15538768786.20040901191143@cactus.dk> Message-ID: <141646033.20040901195941@cactus.dk> Hi Francisco It's not quite the same. The counter counts to one, then runs your code. No Timer fiddling. /gustav > just the same I did it as a boolean static > so > Static blnINIT As Boolean > IF blnINIT = FALSE then > > blnINIT = TRUE > Endif > On Wed, 1 Sep 2004 19:11:43 +0200, Gustav Brock wrote: >> Hi Francisco >> >> > Why a counter? >> >> Form loads => 1 >> Form hits current first time => 2 >> >> So: >> >> If lngCounter = 2 then >> >> End If >> lngCounter = lngCounter + 1 >> >> /gustav >> >> >> But replace the Boolean with a counter: one, two ... From Jdemarco at hudsonhealthplan.org Wed Sep 1 13:11:50 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Wed, 1 Sep 2004 14:11:50 -0400 Subject: [AccessD] Prompt after Form loads Message-ID: <08F823FD83787D4BA0B99CA580AD3C74089B22@TTNEXCHCL2.hshhp.com> A.D. I don't know that I've ever used form's timer but why is it considered desirable to avoid? Thanks, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of A.D.Tejpal Sent: Wednesday, September 01, 2004 1:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Prompt after Form loads Francisco, As far as practicable, it is considered desirable to avoid activation of form's timer. Following course of action is suggested. Use a plain temporary form (it need not have any controls at all) to open the main form (named F_Main). Put the code given below in Open event of this form. Now, whenever you open the the temporary form, the main form will be displayed normally along with the prompt - as desired. (In the meanwhile the temporary form will close by itself - the user will not become aware of it). Regards, A.D.Tejpal -------------- ================================ Private Sub Form_Open(Cancel As Integer) DoCmd.OpenForm "F_Main" MsgBox "Pl Check The Values" Cancel = 1 End Sub ================================ ----- Original Message ----- From: Francisco Tapia To: Access Developers discussion and problem solving Sent: Wednesday, September 01, 2004 21:58 Subject: Re: [AccessD] Prompt after Form loads On Timmer w/ a static variable is what I ended up using (plus after it fires I shoot the timer interval to 2hrs (more than enough time) so it hopefully won't fire again until after their session is done. On Wed, 1 Sep 2004 08:41:20 -0700, Francisco Tapia wrote: > Just tried it and the OnCurrent event also fires before the form is > loaded :(, gonna try the OnTimmer... > > > > On Wed, 1 Sep 2004 08:35:54 -0700, Francisco Tapia wrote: > > I will try this option Gustav, thanks :D. > > > > btw, Rocky... What I meant by autoload was that in the Form_Load event > > I have code that loads data to the form. because it was in the > > form_load event, the prompt was occuring before the user had a chance > > to see the form. > > > > On Wed, 1 Sep 2004 12:34:56 +0200, Gustav Brock wrote: > > > Hi Andy and Francisco > > > > > > I would suggest OnCurrent. > > > To prevent multiple prompts, set a static flag: > > > > > > Static booIsPrompted As Boolean > > > > > > If booIsPrompted = False Then > > > ' Ask if you user wish to load data. > > > > > > booIsPrompted = True > > > End If > > > > -- > > -Francisco > > > > > -- > -Francisco > -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From ppeters1 at cce.umn.edu Wed Sep 1 13:18:34 2004 From: ppeters1 at cce.umn.edu (Polly R Peterson) Date: Wed, 1 Sep 2004 13:18:34 -0500 Subject: [AccessD] FW: Preparing Access Applications for Office 2003 Conversion Message-ID: If any of you have experience/advice on this issue we would appreciate your input. Thanks in advance! -Polly P. ________________________________________________________________________ ___________________ PROBLEM: Converting from Office XP to Office 2003 raises security warning messages in Access .ADP applications that are delivered to users via a standard image. CONVERSION SECURITY ISSUE: When testing our .adp applications in an Office 2003 test environment, we find the following results: * When macro security is set to high applications basically do not function. * When macro security is set to medium, a security warning appears at startup: "This file may not be safe if it contains code that was intended to harm your computer. Do you want to open the file or cancel the operation?" If you select 'open' then the application appears to function normally * When macro security is set to low: Everything appears to function normally. OUR PROPOSED SOLUTION: Microsoft recommends setting Macro Security to medium or high in Access applications. After reading several articles, I'm leaning toward the following solution: Set Access macro security to medium and disable the security warning. >From what I've read, it's possible for an administrator to do this via Certificate Server on Windows 2000/2003 Server. The administrator could create a digital signature that would be valid across the domain. This digital signature certificate would essentially turn off the error message you see if macro security settings are at medium. QUESTIONS 1. How can we best adopt Microsoft's security recommendations and avoid this error message? 2. Does our solution seem sensible? Has anyone actually done this before? Are their details I'm overlooking? How have others dealt with this conversion? 3. Where can we see what security level we are currently using in Access 2002? The Tools, Macro, Security path isn't an option in 2002 and I can't find much on Macro security in that environment. SPECS: We're currently running Office XP, Access 2002, MS Jet 4.0 sp 8 (4.0.8618.0), Security Level: ? We're Migrating to Office 2003, Access 2003, MS Jet 4.0 sp 8 (4.0.8618.0), Security Level Medium From cfoust at infostatsystems.com Wed Sep 1 13:21:43 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 1 Sep 2004 11:21:43 -0700 Subject: [AccessD] Prompt after Form loads Message-ID: I've used them under protest, but they tend to cause screen flickers and various other odd behavior and they fight with other form events. The form timer isn't implemented very well in Access, unlike the timer controls you can use in VB. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hudsonhealthplan.org] Sent: Wednesday, September 01, 2004 11:12 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Prompt after Form loads A.D. I don't know that I've ever used form's timer but why is it considered desirable to avoid? Thanks, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of A.D.Tejpal Sent: Wednesday, September 01, 2004 1:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Prompt after Form loads Francisco, As far as practicable, it is considered desirable to avoid activation of form's timer. Following course of action is suggested. Use a plain temporary form (it need not have any controls at all) to open the main form (named F_Main). Put the code given below in Open event of this form. Now, whenever you open the the temporary form, the main form will be displayed normally along with the prompt - as desired. (In the meanwhile the temporary form will close by itself - the user will not become aware of it). Regards, A.D.Tejpal -------------- ================================ Private Sub Form_Open(Cancel As Integer) DoCmd.OpenForm "F_Main" MsgBox "Pl Check The Values" Cancel = 1 End Sub ================================ ----- Original Message ----- From: Francisco Tapia To: Access Developers discussion and problem solving Sent: Wednesday, September 01, 2004 21:58 Subject: Re: [AccessD] Prompt after Form loads On Timmer w/ a static variable is what I ended up using (plus after it fires I shoot the timer interval to 2hrs (more than enough time) so it hopefully won't fire again until after their session is done. On Wed, 1 Sep 2004 08:41:20 -0700, Francisco Tapia wrote: > Just tried it and the OnCurrent event also fires before the form is > loaded :(, gonna try the OnTimmer... > > > > On Wed, 1 Sep 2004 08:35:54 -0700, Francisco Tapia wrote: > > I will try this option Gustav, thanks :D. > > > > btw, Rocky... What I meant by autoload was that in the Form_Load event > > I have code that loads data to the form. because it was in the > > form_load event, the prompt was occuring before the user had a chance > > to see the form. > > > > On Wed, 1 Sep 2004 12:34:56 +0200, Gustav Brock wrote: > > > Hi Andy and Francisco > > > > > > I would suggest OnCurrent. > > > To prevent multiple prompts, set a static flag: > > > > > > Static booIsPrompted As Boolean > > > > > > If booIsPrompted = False Then > > > ' Ask if you user wish to load data. > > > > > > booIsPrompted = True > > > End If > > > > -- > > -Francisco > > > > > -- > -Francisco > -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kaupca at chevrontexaco.com Wed Sep 1 13:26:29 2004 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Wed, 1 Sep 2004 13:26:29 -0500 Subject: [AccessD] Subform problem with detail section Message-ID: <1375769556091B4DAABC159F944CA1BB07A194@bocnte2k4.boc.chevrontexaco.net> So then, is the Data Entry option enabled?, YES is the table you're adding records to you have a Primary Key ID? NO What confuses me is the form works fine as a regular form but does not work correctly when added to another form as a subform. Thanks for the assistance. Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7414 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Wednesday, September 01, 2004 12:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Subform problem with detail section So then, is the Data Entry option enabled?, is the table you're adding records to you have a Primary Key ID? On Wed, 1 Sep 2004 12:33:30 -0500, Kaup, Chester A wrote: > Guess I did not make it clear. I only want to be able to add new > records not see the existing records. The problem is that none of the > list boxes or text boxes in the detail section show up to enter data > into. -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Wed Sep 1 13:35:29 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 11:35:29 -0700 Subject: [AccessD] Prompt after Form loads In-Reply-To: References: Message-ID: Agreed, I use them as a very last solution. They do CAUSE flickers, and they interrupt other process as well. Such as adverse behavoirs when using a combo bx and you find that your dropdown doesn't stay dropped, because the timer continues to fire off in the background :D On Wed, 1 Sep 2004 11:21:43 -0700, Charlotte Foust wrote: > I've used them under protest, but they tend to cause screen flickers and > various other odd behavior and they fight with other form events. The > form timer isn't implemented very well in Access, unlike the timer > controls you can use in VB. > > Charlotte Foust -- -Francisco From gustav at cactus.dk Wed Sep 1 13:33:42 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 1 Sep 2004 20:33:42 +0200 Subject: [AccessD] Time zones (was: internationalization) In-Reply-To: References: <2337384085.20040901184839@cactus.dk> Message-ID: <2443687429.20040901203342@cactus.dk> Hi Francisco > No, but after a quick archive search I found it, thanks :D Fine. > thanks Gustav, so to be clear, if I have a record from daylights > savings time, and I query it in NON-Daylights saving time, this code > will keep the record at it's accurate time, meaning > if It was processed in the summer (GMT-8) at 4pm, and I query the > record in the Winter will the record show up processed at 4pm or 3pm?, > the UTC time stored in the db doesn't change, but when they query it, > will. Access doesn't record any time zone or daylight savings info so "a time is a time" as is when stored. For your example, there would be a difference if measured by the hour but normally you count by the day. If you need precise hour (or really: minute count) you would need to either store the time zone info in another field or convert the local time to UTC, and then, whenever you need to read the data, either regard any time as local or convert it from UTC to local. This is at least how I see it. Perhaps Charlotte can suggest a simpler approach? /gustav >> Well, to Charlotte this seems to be no problem, but it was >> considerations as those you describe I was thinking of. >> >> So far my thoughts would be to store date/time as UTC time, then do >> the conversion (shift) later to whatever time zone you may need. >> But what is your question really? Daylight savings is just another >> twist to time zone issues. And remember, some time zones are offset by >> 30 or even 15 minutes only. >> >> Did you see my code previously posted (2004-07-14)? From artful at rogers.com Wed Sep 1 13:37:07 2004 From: artful at rogers.com (Arthur Fuller) Date: Wed, 1 Sep 2004 14:37:07 -0400 Subject: [AccessD] BoY() and EoY() functions Message-ID: <045701c49052$afd8b730$6501a8c0@rock> I was positive that I had written these, but can't seem to find them. BoY() accepts a date and returns the beginning of the year. EoY() accepts a date and returns the end of the year. They must accept any international system settings and return the desired dates in the same format. Anyone have them handy? TIA, Arthur From fhtapia at gmail.com Wed Sep 1 13:47:01 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 11:47:01 -0700 Subject: [AccessD] Subform problem with detail section In-Reply-To: <1375769556091B4DAABC159F944CA1BB07A194@bocnte2k4.boc.chevrontexaco.net> References: <1375769556091B4DAABC159F944CA1BB07A194@bocnte2k4.boc.chevrontexaco.net> Message-ID: It is my opinion, that you should have a PKID of some sort for table you are adding records, if not a Surrogate Key, then at the very least a Natural Key. either is bether than NO key :D On Wed, 1 Sep 2004 13:26:29 -0500, Kaup, Chester A wrote: > So then, is the Data Entry option enabled?, YES > is the table you're adding records to you have a Primary Key ID? NO > > What confuses me is the form works fine as a regular form but does not > work correctly when added to another form as a subform. > > Thanks for the assistance. -- -Francisco From gustav at cactus.dk Wed Sep 1 13:43:57 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 1 Sep 2004 20:43:57 +0200 Subject: [AccessD] FW: Preparing Access Applications for Office 2003 Conversion In-Reply-To: References: Message-ID: <9944302002.20040901204357@cactus.dk> Hi Polly Look up in the archive of April: Access 2003 Digital Certificate /gustav > If any of you have experience/advice on this issue we would appreciate > your input. Thanks in advance! > -Polly P. > ________________________________________________________________________ > ___________________ > PROBLEM: > Converting from Office XP to Office 2003 raises security warning > messages in Access .ADP applications that are delivered to users via a > standard image. > CONVERSION SECURITY ISSUE: > When testing our .adp applications in an Office 2003 test environment, > we find the following results: > * When macro security is set to high applications basically do not > function. > * When macro security is set to medium, a security warning appears > at startup: > "This file may not be safe if it contains code that was intended to harm > your computer. Do you want to open the file or cancel the operation?" > If you select 'open' then the application appears to function normally > * When macro security is set to low: Everything appears to > function normally. > OUR PROPOSED SOLUTION: > Microsoft recommends setting Macro Security to medium or high in Access > applications. After reading several articles, I'm leaning toward the > following solution: > Set Access macro security to medium and disable the security warning. >>From what I've read, it's possible for an administrator to do this via > Certificate Server on Windows 2000/2003 Server. The administrator could > create a digital signature that would be valid across the domain. This > digital signature certificate would essentially turn off the error > message you see if macro security settings are at medium. > QUESTIONS > 1. How can we best adopt Microsoft's security recommendations and > avoid this error message? > 2. Does our solution seem sensible? Has anyone actually done this > before? Are their details I'm overlooking? How have others dealt with > this conversion? > 3. Where can we see what security level we are currently using in > Access 2002? The Tools, Macro, Security path isn't an option in 2002 > and I can't find much on Macro security in that environment. > SPECS: > We're currently running Office XP, Access 2002, MS Jet 4.0 sp 8 > (4.0.8618.0), Security Level: ? > We're Migrating to Office 2003, Access 2003, MS Jet 4.0 sp 8 > (4.0.8618.0), Security Level Medium From gustav at cactus.dk Wed Sep 1 13:48:39 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 1 Sep 2004 20:48:39 +0200 Subject: [AccessD] BoY() and EoY() functions In-Reply-To: <045701c49052$afd8b730$6501a8c0@rock> References: <045701c49052$afd8b730$6501a8c0@rock> Message-ID: <18444584619.20040901204839@cactus.dk> Hi Arthur BoY() is DateSerial(Year(datDate), 1, 1) EoY() is DateSerial(Year(datDate) + 1, 1, 0) They should really returns date/time values. The format is up to you. /gustav > I was positive that I had written these, but can't seem to find them. > BoY() accepts a date and returns the beginning of the year. EoY() > accepts a date and returns the end of the year. They must accept any > international system settings and return the desired dates in the same > format. From gustav at cactus.dk Wed Sep 1 13:53:36 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 1 Sep 2004 20:53:36 +0200 Subject: [AccessD] Prompt after Form loads In-Reply-To: References: Message-ID: <8444881516.20040901205336@cactus.dk> Hi Francisco > Agreed, I use them as a very last solution. They do CAUSE flickers, > and they interrupt other process as well. Such as adverse behavoirs > when using a combo bx and you find that your dropdown doesn't stay > dropped, because the timer continues to fire off in the background :D Except in this case ... did you try the counter solution? Works excellent here. /gustav > On Wed, 1 Sep 2004 11:21:43 -0700, Charlotte Foust > wrote: >> I've used them under protest, but they tend to cause screen flickers and >> various other odd behavior and they fight with other form events. The >> form timer isn't implemented very well in Access, unlike the timer >> controls you can use in VB. >> >> Charlotte Foust From fhtapia at gmail.com Wed Sep 1 14:03:52 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 12:03:52 -0700 Subject: [AccessD] Prompt after Form loads In-Reply-To: <141646033.20040901195941@cactus.dk> References: <000501c4900e$25b38380$b274d0d5@minster33c3r25> <4314961823.20040901123456@cactus.dk> <9234229188.20040901175604@cactus.dk> <15538768786.20040901191143@cactus.dk> <141646033.20040901195941@cactus.dk> Message-ID: I know but if I use the OnCurrent Event, it fires before the form is even drawn up on the screen, I have code in the Form_Load event, and added a simple "TEST" messagebox to the OnCurrent Event, and found that it does not FIRE after the form is visible, instead the user will be prompted IF they want to OverRide data w/ Defaults before they can read the data, the Timmer control helps to avoid this.... :( The code in the Form_Load Event opens recordsets to load into the primary form, calls a subform and listbox to load. When it ends, I'd figure that the form would display but it does not. OnCurrent and OnActivate also fire before the form is visible... so it appears that the only solution is to leave this on the OnTimer event. On Wed, 1 Sep 2004 19:59:41 +0200, Gustav Brock wrote: > Hi Francisco > > It's not quite the same. > The counter counts to one, then runs your code. > No Timer fiddling. > > /gustav > > > > > > just the same I did it as a boolean static > > > so > > Static blnINIT As Boolean > > IF blnINIT = FALSE then > > > > blnINIT = TRUE > > Endif > > > On Wed, 1 Sep 2004 19:11:43 +0200, Gustav Brock wrote: > >> Hi Francisco > >> > >> > Why a counter? > >> > >> Form loads => 1 > >> Form hits current first time => 2 > >> > >> So: > >> > >> If lngCounter = 2 then > >> > >> End If > >> lngCounter = lngCounter + 1 > >> > >> /gustav > >> > >> >> But replace the Boolean with a counter: one, two ... > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From kaupca at chevrontexaco.com Wed Sep 1 14:43:21 2004 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Wed, 1 Sep 2004 14:43:21 -0500 Subject: [AccessD] Subform problem with detail section Message-ID: <1375769556091B4DAABC159F944CA1BB07A195@bocnte2k4.boc.chevrontexaco.net> Added the primary key but text boxes and list boxes in the detail section do not display. Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7414 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Wednesday, September 01, 2004 1:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Subform problem with detail section It is my opinion, that you should have a PKID of some sort for table you are adding records, if not a Surrogate Key, then at the very least a Natural Key. either is bether than NO key :D On Wed, 1 Sep 2004 13:26:29 -0500, Kaup, Chester A wrote: > So then, is the Data Entry option enabled?, YES > is the table you're adding records to you have a Primary Key ID? NO > > What confuses me is the form works fine as a regular form but does not > work correctly when added to another form as a subform. > > Thanks for the assistance. -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Wed Sep 1 16:14:42 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 14:14:42 -0700 Subject: [AccessD] Prompt after Form loads In-Reply-To: <8444881516.20040901205336@cactus.dk> References: <8444881516.20040901205336@cactus.dk> Message-ID: I tried the counter solution, and it fires before the form is "visible" On Wed, 1 Sep 2004 20:53:36 +0200, Gustav Brock wrote: > Hi Francisco > > > Agreed, I use them as a very last solution. They do CAUSE flickers, > > and they interrupt other process as well. Such as adverse behavoirs > > when using a combo bx and you find that your dropdown doesn't stay > > dropped, because the timer continues to fire off in the background :D > > Except in this case ... did you try the counter solution? > Works excellent here. -- -Francisco From fhtapia at gmail.com Wed Sep 1 16:17:08 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 14:17:08 -0700 Subject: [AccessD] Prompt after Form loads In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F02D0888E@xlivmbx21.aig.com> References: <1D7828CDB8350747AFE9D69E0E90DA1F02D0888E@xlivmbx21.aig.com> Message-ID: I have tried this as well, and I do get the "Hello" Message box, however the user would have to click off the form and then back on before they saw this message.... :|. remember my production form does this: Form Open -> set some object classes, Form Load -> open recordsets load fields Form Timer -> after 1ms, check if key data fields match defaults. Access 2000 (ADP) On Wed, 1 Sep 2004 16:57:50 -0400 , Heenan, Lambert wrote: > The Activate event should do the trick, you just need to keep tack of how > many times it fires. I just tried this out with a form/subform setup, and > the following code seems to work just fine > > Private Sub Form_Activate() > Static lngLoaded As Long > lngLoaded = lngLoaded + 1 > DoEvents > If lngLoaded > 1 Then MsgBox "Hello " > End Sub > > The DoEvents does not seem to be necessary, but I thought I'd put it in > anyway. > > What I found was that the entire form and subform was displayed with the > exception of some controls on the form which have statements like this... > > =Count([cFaceAmount]) > > ... in their control source property. > -- -Francisco From Mark.Mitsules at ngc.com Wed Sep 1 16:42:05 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Wed, 1 Sep 2004 17:42:05 -0400 Subject: [AccessD] Access & AutoCAD Message-ID: Has anyone tackled this combination? There is ONE example in the AutoCAD samples folder. There is ONE book that I found regarding database connectivity (circa 1999). ...and a DISTINCT lack of web-based material as far as I can tell:( I would be most appreciative for pointers towards any of the following: recent books (AutoCAD 2002 or later), web-based tutorials, web-based examples, personal examples, cave paintings...anything. Thanks in advance for any/all information. Mark Conversely, I am willing to pay $40 to anyone willing to take the AutoCAD help files and develop a booklet within the next 2 weeks, including a table of contents, that will allow me to chronologically work my way through a project. From martyconnelly at shaw.ca Wed Sep 1 15:09:25 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 01 Sep 2004 13:09:25 -0700 Subject: [AccessD] FW: Preparing Access Applications for Office 2003 Conversion References: Message-ID: <41362C75.4010302@shaw.ca> I have handled it by turning security off in registry keys. Your net admin could handle this system wide. HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Access\Security\Level If the value is 1, then the macro security of Access 2003 is set to low. If the value is 2, then the macro security of Access 2003 is set to medium. If the value is 3, then the macro security of Access 2003 is set to high. Not sure if certmgr.exe to create certificate from Win2003 has to be created for each new version of the ADP which could be a pain if doing a lot of mods. See my post Re: [AccessD] Access 2003, Runtime, and Built-in Security Aug 2 2004 You can check this registry key in code below Not sure about Access 2002 version=10 If Application.Version >= 11 Then 'set it Application.AutomationSecurity = 1 ' msoAutomationSecurityLow 'or read it debug.print "Security level=" & Application.AutomationSecurity End If Polly R Peterson wrote: >If any of you have experience/advice on this issue we would appreciate >your input. Thanks in advance! >-Polly P. >________________________________________________________________________ >___________________ > > >PROBLEM: >Converting from Office XP to Office 2003 raises security warning >messages in Access .ADP applications that are delivered to users via a >standard image. > > >CONVERSION SECURITY ISSUE: >When testing our .adp applications in an Office 2003 test environment, >we find the following results: > >* When macro security is set to high applications basically do not >function. >* When macro security is set to medium, a security warning appears >at startup: > >"This file may not be safe if it contains code that was intended to harm >your computer. Do you want to open the file or cancel the operation?" > >If you select 'open' then the application appears to function normally > >* When macro security is set to low: Everything appears to >function normally. > > >OUR PROPOSED SOLUTION: >Microsoft recommends setting Macro Security to medium or high in Access >applications. After reading several articles, I'm leaning toward the >following solution: >Set Access macro security to medium and disable the security warning. >>From what I've read, it's possible for an administrator to do this via >Certificate Server on Windows 2000/2003 Server. The administrator could >create a digital signature that would be valid across the domain. This >digital signature certificate would essentially turn off the error >message you see if macro security settings are at medium. > > >QUESTIONS >1. How can we best adopt Microsoft's security recommendations and >avoid this error message? >2. Does our solution seem sensible? Has anyone actually done this >before? Are their details I'm overlooking? How have others dealt with >this conversion? >3. Where can we see what security level we are currently using in >Access 2002? The Tools, Macro, Security path isn't an option in 2002 >and I can't find much on Macro security in that environment. > > > >SPECS: >We're currently running Office XP, Access 2002, MS Jet 4.0 sp 8 >(4.0.8618.0), Security Level: ? > >We're Migrating to Office 2003, Access 2003, MS Jet 4.0 sp 8 >(4.0.8618.0), Security Level Medium > > -- Marty Connelly Victoria, B.C. Canada From bchacc at san.rr.com Wed Sep 1 17:24:02 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 1 Sep 2004 15:24:02 -0700 Subject: [AccessD] Will an A2K MDE run unde A2003? References: <001701c48fb3$d92f7320$6601a8c0@HAL9002> <00f801c48fd6$6f473f10$6601a8c0@HAL9002> <413570D0.8010209@shaw.ca> Message-ID: <024201c49072$628680f0$6601a8c0@HAL9002> If I have to get Access 2003 do you know anything about how good the deployment feature is? Regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 31, 2004 11:48 PM Subject: Re: [AccessD] Will an A2K MDE run unde A2003? > SageKey has an MSI deployment script for Access 2003. $400 It also > removes the need for a digital certificate. > which might prove to be a problem or just a nuisance with Access 2000 > MDE running under 2003. > I guess you will find out. > > Rocky Smolin - Beach Access Software wrote: > > >For my market having Access is quite common. So it's not really an issue. > >I've got Wise and could, I suppose, get the Sagekey script for A2K. But > >that's already 2 versions behind the latest. > > > >I understand that A2003 has a pretty decent deployment facility. Yes? > > > >If this prospect wants the software and it will only run in A2003 I'll get > >A2003, and then I'll have a chance to test the deployment features. > > > >Rocky > > > >----- Original Message ----- > >From: "Francisco Tapia" > >To: "Access Developers discussion and problem solving" > > > >Sent: Tuesday, August 31, 2004 5:03 PM > >Subject: Re: [AccessD] Will an A2K MDE run unde A2003? > > > > > > > > > >>I am curious as to why you don't deploy it w/ a runtime?, I mean you > >>don't have it as opensource to allow the customer to work w/ the app. > >> > >>On Tue, 31 Aug 2004 16:40:07 -0700, Rocky Smolin - Beach Access > >>Software wrote: > >> > >> > >>>Dear List: > >>> > >>>I have to call a guy tomorrow morning and tell him whether my software > >>> > >>> > >will work in Access 2003. I compile it into an MDE under Access 2000. I > >know that MDE will run under Access 2002. Will the MDE run in 2003? > > > > > >>>I also have Access 2002 which I could use to make an MDE. Would an MDE > >>> > >>> > >compiled under Access 2002 run under Access 2003? > > > > > >>-- > >>-Francisco > >>-- > >>_______________________________________________ > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >> > >> > >> > > > > > > > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Sep 1 19:18:23 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 1 Sep 2004 20:18:23 -0400 Subject: [AccessD] Every 100th record In-Reply-To: Message-ID: <002801c49082$5f78ff90$80b3fea9@ColbyM6805> And for the record, by the time I index this database it will be well over a terabyte. If I end up merging in their other databases it will be several terabytes. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Tuesday, August 31, 2004 8:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Every 100th record For the record I think it was me who applied the term VLDB to his db :D. Even thow I've been my dept's DBA for the last 3 years, I have not run into any company database that touches the Millions of records, the only tables that I have that contain a near enough number of consequential tables, (auditing) On Tue, 31 Aug 2004 19:32:55 -0400, Arthur Fuller wrote: > Just to put things in perspective, JC, the first client of the people > who developed MySQL had 60M rows in their principal table. There are > lots of apps way bigger than that. I once had a client that was adding > 10M rows per month to the table of concern (this was an app recording > seismic activity from several hundred meters). I must caution you that > you should not use the term VLDB as loosely as you have been using it. > You don't know the meaning of VLDB -- not yet at least. You're > beginning to appreciate the turf, however. Once I bid on a project > that had 100M rows each containing a graphic file. Not to say that > size is everything, but IMO VLDB comprises at least a TB, and often > many hundreds of TBs. -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Sep 1 19:20:03 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 1 Sep 2004 20:20:03 -0400 Subject: [AccessD] Firefox opens two windows In-Reply-To: Message-ID: <002901c49082$979f6350$80b3fea9@ColbyM6805> Can anyone point me to why suddenly FireFox is opening TWO browser windows whenever I open any link, as in an email or such? More importantly, how to fix it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Tuesday, August 31, 2004 8:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Every 100th record For the record I think it was me who applied the term VLDB to his db :D. Even thow I've been my dept's DBA for the last 3 years, I have not run into any company database that touches the Millions of records, the only tables that I have that contain a near enough number of consequential tables, (auditing) On Tue, 31 Aug 2004 19:32:55 -0400, Arthur Fuller wrote: > Just to put things in perspective, JC, the first client of the people > who developed MySQL had 60M rows in their principal table. There are > lots of apps way bigger than that. I once had a client that was adding > 10M rows per month to the table of concern (this was an app recording > seismic activity from several hundred meters). I must caution you that > you should not use the term VLDB as loosely as you have been using it. > You don't know the meaning of VLDB -- not yet at least. You're > beginning to appreciate the turf, however. Once I bid on a project > that had 100M rows each containing a graphic file. Not to say that > size is everything, but IMO VLDB comprises at least a TB, and often > many hundreds of TBs. -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Sep 1 20:29:53 2004 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 1 Sep 2004 20:29:53 -0500 Subject: [AccessD] Firefox opens two windows In-Reply-To: <29479305.1094086527041.JavaMail.root@sniper12.usinternet.com> Message-ID: <000401c4908c$5953ecb0$de1811d8@danwaters> John, I had this same problem a while back. I went to the FireFox site and found a link to their user group. I did a search using some appropriate phrase, and did find a reference to the problem. Someone had found the specific problem and posted a patch. I installed it and firefox has worked well since. This was the name of the patch: firefox_bug_246078_rev3.reg Best of luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, September 01, 2004 7:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Firefox opens two windows Can anyone point me to why suddenly FireFox is opening TWO browser windows whenever I open any link, as in an email or such? More importantly, how to fix it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Tuesday, August 31, 2004 8:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Every 100th record For the record I think it was me who applied the term VLDB to his db :D. Even thow I've been my dept's DBA for the last 3 years, I have not run into any company database that touches the Millions of records, the only tables that I have that contain a near enough number of consequential tables, (auditing) On Tue, 31 Aug 2004 19:32:55 -0400, Arthur Fuller wrote: > Just to put things in perspective, JC, the first client of the people > who developed MySQL had 60M rows in their principal table. There are > lots of apps way bigger than that. I once had a client that was adding > 10M rows per month to the table of concern (this was an app recording > seismic activity from several hundred meters). I must caution you that > you should not use the term VLDB as loosely as you have been using it. > You don't know the meaning of VLDB -- not yet at least. You're > beginning to appreciate the turf, however. Once I bid on a project > that had 100M rows each containing a graphic file. Not to say that > size is everything, but IMO VLDB comprises at least a TB, and often > many hundreds of TBs. -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Wed Sep 1 21:06:21 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 19:06:21 -0700 Subject: [AccessD] Firefox opens two windows In-Reply-To: <002901c49082$979f6350$80b3fea9@ColbyM6805> References: <002901c49082$979f6350$80b3fea9@ColbyM6805> Message-ID: which version of firefox?, I'm running 9.3 and have not seen this problem. On Wed, 1 Sep 2004 20:20:03 -0400, John W. Colby wrote: > Can anyone point me to why suddenly FireFox is opening TWO browser windows > whenever I open any link, as in an email or such? More importantly, how to > fix it. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia > Sent: Tuesday, August 31, 2004 8:02 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Every 100th record > > For the record I think it was me who applied the term VLDB to his db :D. > Even thow I've been my dept's DBA for the last 3 years, I have not run into > any company database that touches the Millions of records, the only tables > that I have that contain a near enough number of consequential tables, > (auditing) > > On Tue, 31 Aug 2004 19:32:55 -0400, Arthur Fuller wrote: > > Just to put things in perspective, JC, the first client of the people > > who developed MySQL had 60M rows in their principal table. There are > > lots of apps way bigger than that. I once had a client that was adding > > 10M rows per month to the table of concern (this was an app recording > > seismic activity from several hundred meters). I must caution you that > > you should not use the term VLDB as loosely as you have been using it. > > You don't know the meaning of VLDB -- not yet at least. You're > > beginning to appreciate the turf, however. Once I bid on a project > > that had 100M rows each containing a graphic file. Not to say that > > size is everything, but IMO VLDB comprises at least a TB, and often > > many hundreds of TBs. > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From jwcolby at colbyconsulting.com Wed Sep 1 21:18:35 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 1 Sep 2004 22:18:35 -0400 Subject: [AccessD] Firefox opens two windows In-Reply-To: <000401c4908c$5953ecb0$de1811d8@danwaters> Message-ID: <002a01c49093$2abf2a20$80b3fea9@ColbyM6805> Works great,thanks! John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, September 01, 2004 9:30 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Firefox opens two windows John, I had this same problem a while back. I went to the FireFox site and found a link to their user group. I did a search using some appropriate phrase, and did find a reference to the problem. Someone had found the specific problem and posted a patch. I installed it and firefox has worked well since. This was the name of the patch: firefox_bug_246078_rev3.reg Best of luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, September 01, 2004 7:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Firefox opens two windows Can anyone point me to why suddenly FireFox is opening TWO browser windows whenever I open any link, as in an email or such? More importantly, how to fix it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Tuesday, August 31, 2004 8:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Every 100th record For the record I think it was me who applied the term VLDB to his db :D. Even thow I've been my dept's DBA for the last 3 years, I have not run into any company database that touches the Millions of records, the only tables that I have that contain a near enough number of consequential tables, (auditing) On Tue, 31 Aug 2004 19:32:55 -0400, Arthur Fuller wrote: > Just to put things in perspective, JC, the first client of the people > who developed MySQL had 60M rows in their principal table. There are > lots of apps way bigger than that. I once had a client that was adding > 10M rows per month to the table of concern (this was an app recording > seismic activity from several hundred meters). I must caution you that > you should not use the term VLDB as loosely as you have been using it. > You don't know the meaning of VLDB -- not yet at least. You're > beginning to appreciate the turf, however. Once I bid on a project > that had 100M rows each containing a graphic file. Not to say that > size is everything, but IMO VLDB comprises at least a TB, and often > many hundreds of TBs. -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davide at dalyn.co.nz Wed Sep 1 21:26:42 2004 From: davide at dalyn.co.nz (David Emerson) Date: Thu, 02 Sep 2004 14:26:42 +1200 Subject: [AccessD] TransferText Causing System Crash In-Reply-To: <5.2.0.9.0.20040901065033.00b2c0b0@mail.dalyn.co.nz> References: Message-ID: <5.2.0.9.0.20040902142408.00baf360@mail.dalyn.co.nz> Solution has been found! It seemed to be something to do with the shortcut!!! I recreated the shortcut and the crashing stopped. I don't know why the shortcut would affect things (why would only 2 commands out of an entire library cause it to cash?) David At 1/09/2004, you wrote: >Thanks for the suggestion. All the file names have the extension included. > >David > >At 31/08/2004, you wrote: >>Hi >> >> >>My similar experience with Access(97) running under XP (with Office XP >>installed) when exporting text data was that if the export text filename >>did not have an file extension e.g. MyDownloadFile, Access would hang. >>Exporting to MyDownloadFile.txt would solve the issue. May or may not >>be relevant here (I was using Acc 97 but it was the XP OS (or Office XP) >>that seemed to be the issue here). >> >>Richard >> >>-----Original Message----- >>From: David Emerson [mailto:davide at dalyn.co.nz] >>Sent: 30 August 2004 06:26 >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] TransferText Causing System Crash >> >>That solved most of the problem. Now the commands work on the server. >> >>However, it is used as a terminal server. Although it runs fine when >>using >>the program direct on the computer, if anyone connects to a terminal >>server >>session they still get the same crashing. >> >>Any pointers on this one!! >> >>David >> >>At 27/08/2004, you wrote: >> >Oh and one other thing to check that you have installed >> >Overview of Office XP Service Pack 3 for Access 2002 Runtime. Note this >>is >> >in addition to normal SP3 >> >http://support.microsoft.com/default.aspx?scid=kb;en-us;834693&Product= >>acc >> > >> >MartyConnelly wrote: >> > >> >>Well it looks like different Office XP service packs on the machines, >>XP >> >>SP-3 on your development machine. >> >>Are you doing a full new runtime install on the server, or just >>passing >> >>over the adp file to the server with changes.? >> >>This could lead to problems. >> >> >> >>David Emerson wrote: >> >> >> >>>Group, >> >>> >> >>>I have an AXP ade/SQL2000 runtime setup running on Windows 2003 >> >>>Server. When I use the DoCmd.TransferSpreadsheet or >>DoCmd.TransferText >> >>>commands my database crashes (Unexpected error in MSAccess.exe). >> >>> >> >>>Examples are - >> >>> >> >>>DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel7, >> >>>strTableName, strFullName >> >>>DoCmd.TransferSpreadsheet acImport, , "dbo.ttmpTOURawData", >>strFullName, >> >>>False >> >>>DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel97, >> >>>"dbo.ttmpSwitchNewIn", Me!txtSwitchFile, True >> >>>DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel97, >> >>>"dbo.ttmpTemporary", Me!txtDataFile >> >>>DoCmd.TransferText acExportDelim, , "dbo.ttmpAgedDebtorDDebitExp", >> >>>strFullName >> >>>DoCmd.TransferText acExportDelim, , "dbo.ttmpExportMerge", >> >>>DLookup("RootFolder", "tblCompany") & "\Merge\CustMerge.TXT", True >> >>>DoCmd.TransferText acExportDelim, , "dbo.ttmpSwitchNewOut", >> >>>DLookup("RootFolder", "tblCompany") & "\Switch\CustSwitch.TXT", True >> >>>DoCmd.TransferText acImportDelim, , "dbo.ttmpTOURawData", >>strFullName, False >> >>> >> >>>The commands work on my development machine (WXP Professional with >> >>>Office 97 and Office XP). >> >>> >> >>>I have tried uninstalling and reinstalling the runtime application. >> >>> >> >>>Other commands in the Access library seem to work ok. The version of >> >> >>>the olb (C:\Program Files\Microsoft OfficeXP\Office10\msacc.olb) on >>my >> >>>machine is 10.0.6308.0. The runtime machine (C:\Program >>Files\Microsoft >> >>>Access Runtime\Office10\msacc.olb) has version 10.0.2627.1. >> >>> >> >>>Any clues why the transfer commands might be causing problems? >> >>> >> >>> >> >>>Regards >> >>> >> >>>David Emerson >> >>>Dalyn Software Ltd >> >>>25 Cunliffe St, Churton Park >> >>>Wellington, New Zealand >> >>>Ph/Fax (04) 478-7456 >> >>>Mobile 027-280-9348 > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From jmoss111 at bellsouth.net Wed Sep 1 21:30:35 2004 From: jmoss111 at bellsouth.net (JMoss) Date: Wed, 1 Sep 2004 21:30:35 -0500 Subject: [AccessD] Every 100th record In-Reply-To: <000d01c48fba$264f5980$80b3fea9@ColbyM6805> Message-ID: John, I can't help but think that you could lose as much as 10 - 15 % of the volume of this database by doing some type of dedup and / or householding process. I wonder about the logic of mixing lists of different types in one database. It seems to me that the customer wouldn't want to mail an offer to someone from a sports list to someone who got added to a list because they had purchased knitting supplies or some similar type item. The database marketing firm that I worked with kept separate databases. Merging different types of customers into a mail blast seems like a blast or shotgun approach, or someone just selling a lot of addresses in a very non methodical manner. Do you get enough of a performance boost from a 64 bit processor running a 32 bit OS or application to make it worth while? I would think that multiple 32 bit cpu's would be the ticket for 32 bit apps. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, August 31, 2004 7:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Every 100th record In fact the client has another database that has 125 million addresses, another that has 14 million more people, and another that handles all their sports mailings. They would like to merge them all. I just bought a 3ghz socket 754 Athlon 64 which I am loading with Win2K and SQL Server tonight. I can only pray that this gives me SOMETHING in the way of a speedup against my old AMD Athlon 2500. I have to examine my options, down to splitting up the database and having different machines process pieces. I also have to learn to tune SQL Server. Since I am starting from "know absolutely nothing" it shouldn't be too hard to get better results over time. ;-) John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, August 31, 2004 7:33 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Every 100th record Just to put things in perspective, JC, the first client of the people who developed MySQL had 60M rows in their principal table. There are lots of apps way bigger than that. I once had a client that was adding 10M rows per month to the table of concern (this was an app recording seismic activity from several hundred meters). I must caution you that you should not use the term VLDB as loosely as you have been using it. You don't know the meaning of VLDB -- not yet at least. You're beginning to appreciate the turf, however. Once I bid on a project that had 100M rows each containing a graphic file. Not to say that size is everything, but IMO VLDB comprises at least a TB, and often many hundreds of TBs. I just got a contract with a company using MySQL whose test database's most important table comprises 100M rows. They expect their clients to have 10* as many rows. My job is to optimize the queries. Fortunately, I can assume any hardware I deem necessary to do it. They are after sub-second retrieves against 1B rows, with maybe 1000 users. Life's a beach and then you drown. I don't know if I can deliver what they want, but what I can deliver is benchmarks against the various DBs that I'm comfortable with -- SQL 2000, Oracle, MySQL and DB/2. I figure that if none of them can do it, I'm off the hook :) The difficult part of this new assignment is that there's no way I can duplicate the hardware resources required to emulate the required system, so I have to assume that the benchmarks on my local system will hold up in a load-leveling 100-server environment -- at least until I have something worthy of installing and then test it in that environment. I sympathize and empathize with your situation, JC. It's amazing how many of our tried-and-true solutions go right out the window when you escalate the number of rows to 100M -- and then factor in multiple joins. Stuff that looks spectacular with only 1M rows suddenly sucks big-time when applied to 100M rows. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 31, 2004 7:13 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Every 100th record Paul, In fact I am trying to make this run on my home system which is part of the problem. This week I am playing "stay-at-home dad" as my wife starts the chhool year this week and has all those 1st week teacher meetings / training. I have never come even close to a db this size and it has definitely been a learning experience. Here's hoping I survive. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Rodgers Sent: Tuesday, August 31, 2004 3:49 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Every 100th record 65 million! What an amazing world you work it. Is there ever time in the week to pop home for an hour? Cheers paul -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Wed Sep 1 22:36:44 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Wed, 1 Sep 2004 23:36:44 -0400 Subject: [AccessD] Rotating Excel In-Reply-To: <001101c48fc0$747cdf50$80b3fea9@ColbyM6805> Message-ID: <000201c4909e$14a42230$0201a8c0@COA3> Excel has a Transpose command, which would do what you are asking once in the worksheet ... BUT ... It also has a 255 column limit. How about an ADO recordset ... Loop the fields, write the names to table? hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 31, 2004 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Rotating Excel I need to export data from this big database into Excel. The objective = is to get the FIELD NAMES out with data from about 100 records. I then = need to rotate excel such that the field names are down the left side and the = data for each record runs down vertically, the data for any given field runs across horizontally. Can anyone tell me how to rotate the spreadsheet = such that the field names are down the left side? I assume that the export MUST go out with the field names across the top row, and the data below that. =20 Can anyone tell me how to get the entire 600+ fields out in a single = export? When I try to use dts it works but complains (fails) if I try and export more than about 240 fields. It LOOKS LIKE perhaps the length of the = field names in the first row is confusing Excel. It is telling me I am = exceeding the 1000 column limit (or some such) What I really want to do is export all the columns (about 600) with the field names in the top row, then rotate the whole shootin match. Any assistance on any of this is greatly appreciated. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Sep 1 22:52:17 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 1 Sep 2004 23:52:17 -0400 Subject: [AccessD] Every 100th record In-Reply-To: Message-ID: <002c01c490a0$40f98d00$80b3fea9@ColbyM6805> Jim, I think the merge idea is simply to maximize the sheer number of names in the database. From what they are saying, they get info on various people over time and need to update those people. Perhaps a poll on car buying, or smoking, or whatever. If those fields don't already exist in the "big table" they add new ones to hold the info. Thus from that perspective "sports" is just another interest, no different from hunting or fishing or gun ownership. As for the 64 bit processor helping with 32 bit apps, nope, not at all - however it certainly doesn't slow 32 bit apps down. However I understand that a 64 bit version of Windows 2003 and SQL Server are available. I purchased the Action Pack which AFAICT contains these things. I am hoping that the 64 bit versions may give some tangible benefit. If not, at least I have a current generation motherboard / processor with current generation SATA, gbit LAN etc. I purchased the MSI K8 Neo Platinum motherboard which appears to be a pretty solid system. It provides all the raid 0/1/10 your heard could desire, can directly manipulate 4 SATA drives and 4 IDE drives and can combine these drives in any order into RAID arrays. These machines have gbit LAN built in, coming right off the NVIDIA core (not across the PCI bus). I am putting in a 5 port gbit switch so they can talk to each other at top speed. I have acknowledged TOTAL ignorance about the ins and outs of SQL Server but I am learning as fast as I can. My reading indicates that SQL Server can distribute a database across entirely different machines. Again how this is done I haven't a clue but in order to find out (and test it) I need two machines. I will shortly have two of these A64 machines to experiment with. If this can indeed be done and the results are good, I can take it from there. I will keep the group informed of my findings. If I can get this all to work I stand to have a good solid client and a lot of work. If I can't I stand to have a totally overpowered (but NICE) dev machine and a lot more SQL Server knowledge than I currently possess. In fact my Insurance Call Center client needs to go to SQL Server as well so this will hopefully help me there as well. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of JMoss Sent: Wednesday, September 01, 2004 10:31 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Every 100th record John, I can't help but think that you could lose as much as 10 - 15 % of the volume of this database by doing some type of dedup and / or householding process. I wonder about the logic of mixing lists of different types in one database. It seems to me that the customer wouldn't want to mail an offer to someone from a sports list to someone who got added to a list because they had purchased knitting supplies or some similar type item. The database marketing firm that I worked with kept separate databases. Merging different types of customers into a mail blast seems like a blast or shotgun approach, or someone just selling a lot of addresses in a very non methodical manner. Do you get enough of a performance boost from a 64 bit processor running a 32 bit OS or application to make it worth while? I would think that multiple 32 bit cpu's would be the ticket for 32 bit apps. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, August 31, 2004 7:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Every 100th record In fact the client has another database that has 125 million addresses, another that has 14 million more people, and another that handles all their sports mailings. They would like to merge them all. I just bought a 3ghz socket 754 Athlon 64 which I am loading with Win2K and SQL Server tonight. I can only pray that this gives me SOMETHING in the way of a speedup against my old AMD Athlon 2500. I have to examine my options, down to splitting up the database and having different machines process pieces. I also have to learn to tune SQL Server. Since I am starting from "know absolutely nothing" it shouldn't be too hard to get better results over time. ;-) John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, August 31, 2004 7:33 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Every 100th record Just to put things in perspective, JC, the first client of the people who developed MySQL had 60M rows in their principal table. There are lots of apps way bigger than that. I once had a client that was adding 10M rows per month to the table of concern (this was an app recording seismic activity from several hundred meters). I must caution you that you should not use the term VLDB as loosely as you have been using it. You don't know the meaning of VLDB -- not yet at least. You're beginning to appreciate the turf, however. Once I bid on a project that had 100M rows each containing a graphic file. Not to say that size is everything, but IMO VLDB comprises at least a TB, and often many hundreds of TBs. I just got a contract with a company using MySQL whose test database's most important table comprises 100M rows. They expect their clients to have 10* as many rows. My job is to optimize the queries. Fortunately, I can assume any hardware I deem necessary to do it. They are after sub-second retrieves against 1B rows, with maybe 1000 users. Life's a beach and then you drown. I don't know if I can deliver what they want, but what I can deliver is benchmarks against the various DBs that I'm comfortable with -- SQL 2000, Oracle, MySQL and DB/2. I figure that if none of them can do it, I'm off the hook :) The difficult part of this new assignment is that there's no way I can duplicate the hardware resources required to emulate the required system, so I have to assume that the benchmarks on my local system will hold up in a load-leveling 100-server environment -- at least until I have something worthy of installing and then test it in that environment. I sympathize and empathize with your situation, JC. It's amazing how many of our tried-and-true solutions go right out the window when you escalate the number of rows to 100M -- and then factor in multiple joins. Stuff that looks spectacular with only 1M rows suddenly sucks big-time when applied to 100M rows. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 31, 2004 7:13 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Every 100th record Paul, In fact I am trying to make this run on my home system which is part of the problem. This week I am playing "stay-at-home dad" as my wife starts the chhool year this week and has all those 1st week teacher meetings / training. I have never come even close to a db this size and it has definitely been a learning experience. Here's hoping I survive. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Rodgers Sent: Tuesday, August 31, 2004 3:49 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Every 100th record 65 million! What an amazing world you work it. Is there ever time in the week to pop home for an hour? Cheers paul -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Sep 1 21:54:54 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed, 01 Sep 2004 19:54:54 -0700 Subject: [AccessD] Rotating Excel In-Reply-To: <001101c48fc0$747cdf50$80b3fea9@ColbyM6805> Message-ID: Hi John: I believe there is a 1000 column and 65000 row limit to an excel spreadsheet. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, August 31, 2004 6:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Rotating Excel I need to export data from this big database into Excel. The objective = is to get the FIELD NAMES out with data from about 100 records. I then = need to rotate excel such that the field names are down the left side and the = data for each record runs down vertically, the data for any given field runs across horizontally. Can anyone tell me how to rotate the spreadsheet = such that the field names are down the left side? I assume that the export MUST go out with the field names across the top row, and the data below that. =20 Can anyone tell me how to get the entire 600+ fields out in a single = export? When I try to use dts it works but complains (fails) if I try and export more than about 240 fields. It LOOKS LIKE perhaps the length of the = field names in the first row is confusing Excel. It is telling me I am = exceeding the 1000 column limit (or some such) What I really want to do is export all the columns (about 600) with the field names in the top row, then rotate the whole shootin match. Any assistance on any of this is greatly appreciated. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Sep 1 23:09:24 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 2 Sep 2004 00:09:24 -0400 Subject: [AccessD] Rotating Excel In-Reply-To: <000201c4909e$14a42230$0201a8c0@COA3> Message-ID: <002d01c490a2$a5d4e0b0$80b3fea9@ColbyM6805> I may end up doing a little program. I was hoping for something built in. Let me look at the transpose thingie. Thanks, John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin (Developer at UltraDNT) Sent: Wednesday, September 01, 2004 11:37 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Rotating Excel Excel has a Transpose command, which would do what you are asking once in the worksheet ... BUT ... It also has a 255 column limit. How about an ADO recordset ... Loop the fields, write the names to table? hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 31, 2004 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Rotating Excel I need to export data from this big database into Excel. The objective = is to get the FIELD NAMES out with data from about 100 records. I then = need to rotate excel such that the field names are down the left side and the = data for each record runs down vertically, the data for any given field runs across horizontally. Can anyone tell me how to rotate the spreadsheet = such that the field names are down the left side? I assume that the export MUST go out with the field names across the top row, and the data below that. =20 Can anyone tell me how to get the entire 600+ fields out in a single = export? When I try to use dts it works but complains (fails) if I try and export more than about 240 fields. It LOOKS LIKE perhaps the length of the = field names in the first row is confusing Excel. It is telling me I am = exceeding the 1000 column limit (or some such) What I really want to do is export all the columns (about 600) with the field names in the top row, then rotate the whole shootin match. Any assistance on any of this is greatly appreciated. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Wed Sep 1 23:15:54 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Sep 2004 21:15:54 -0700 Subject: [AccessD] OT: Online storage In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8031BB312@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF8031BB312@main2.marlow.com> Message-ID: it is peculiar to me that you would upload to some online storage place, I would suggest a cheap alternative, ghost + external DVD writter "cheap" DVD r media. (btw, Acronis sucks, just so you knwo not to go a 'cheap' way out) On Mon, 30 Aug 2004 09:51:12 -0500, dwutka at marlow.com wrote: > If you are just talking about data...what kind of space requirement are you > talking? I have about 10 gigs free on my servers data drive, if you want to > just store data. Of course, unless you have screaming upload speed a gig or > two is going to take a day or two. (At 1.5 meg up, to my house, it took > about 45 minutes to transfer a 380 meg file). > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Sunday, August 29, 2004 7:28 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] OT: Online storage > > We're moving in a few days and I don't have the facilities to back up both > of the systems I work on -- I usually just back up from one to the other. > Can anyone suggest an online service where I could upload both systems, just > in case something happens during the move? > > Since this is so off topic, I guess you should reply off list. > > Also, I'll be unsubbing for a few days -- anyone needing me can reach me off > list at ssharkins at bellsouth.net -- but it might take a few days for me to > get back to you. > > Thanks everyone. > > Susan H. > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From gustav at cactus.dk Thu Sep 2 03:10:59 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 2 Sep 2004 10:10:59 +0200 Subject: [AccessD] Determine current page number of report in preview Message-ID: <225449706.20040902101059@cactus.dk> Hi all (Drew?) How do you catch the current page in preview? Access caches pages while you are browsing forward. Fine, but if the user moves (browses) backwards, the Page property stays on the highest number even though the preview displays the correct lower page number. I guess the only chance would be to catch the current page number from the status line of the preview window but I don't know if that is possible. /gustav From gustav at cactus.dk Thu Sep 2 03:35:14 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 2 Sep 2004 10:35:14 +0200 Subject: [AccessD] Prompt after Form loads In-Reply-To: References: <8444881516.20040901205336@cactus.dk> Message-ID: <1896904147.20040902103514@cactus.dk> Hi Francisco > I tried the counter solution, and it fires before the form is "visible" You are right, missed that, but here is how to do this without the Timer: First, create this function in the subform: Private Function ShowAtOpen() Static booOpened As Boolean If booOpened = False Then ' Replace with your code. MsgBox "Load?", vbQuestion, "Francisco" ' Run only once. booOpened = True End If End Function Now, create a textbox in the subform, make it not Visible, and bind it like this: =ShowAtOpen() This will pop the code when the form and the sub have been rendered including controls bound to the recordsource of the form. The only limitation I can see is, that other controls bound to an expression (=something()) may have their values retrieved after the firing of ShowAtOpen. /gustav > On Wed, 1 Sep 2004 20:53:36 +0200, Gustav Brock wrote: >> Hi Francisco >> >> > Agreed, I use them as a very last solution. They do CAUSE flickers, >> > and they interrupt other process as well. Such as adverse behavoirs >> > when using a combo bx and you find that your dropdown doesn't stay >> > dropped, because the timer continues to fire off in the background :D >> >> Except in this case ... did you try the counter solution? >> Works excellent here. From HollisVJ at pgdp.usec.com Thu Sep 2 07:39:04 2004 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 02 Sep 2004 07:39:04 -0500 Subject: [AccessD] Required Field in Function Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0F53BAE5@cntexchange.pgdp.usec.com> I have a function (code below) that is used to append data from a linked Excel file (xlsBPS). The Excel file is linked to the database as a table. There is a column in the Excel file named AssetID - this is a required field in the database. Yesterday when the user ran the append code the AssetID was blank in one of the records in the xlsBPS file. This caused all the records to move up one. For example: Record 1: AssetID = Description: This one Record 2: AssetID = ABC Description: My Name The results after the append code ran were: Record 1: AssetID = ABC Description: This one What can I add to the function to check for null fields to ensure the AssetID is completed, if not, the code does not run? I tried adding a check (where I added the ***** in the code, but I receive the error, RunTime 424, Object Required. Virginia _____________________________________________________________________ Function AppendBPS() 'Appends new data from xlsBPS to tblFailure, tblSystemMain, and tblFailureTimeSelected. Beep Title = "Append new BPS data from Excel" ' Work Order table import. Msg = "Your are about to modify data in this database." Msg = Msg & " Do you want to continue?" DgDef = vbQuestion + vbYesNo + vbDefaultButton1 ' Describe dialog box. Response = MsgBox(Msg, DgDef, Title) ' Get user response. If Response = vbYes Then ' Evaluate response ******** If IsNull(xlsBPS.AssetID) Then ******************************* ******* MsgBox "Asset ID must be completed before downloading" ******** Cancel = True ******* End If DoCmd.SetWarnings False DoCmd.Echo False, "Appending Data" DoCmd.Hourglass True 'Append data to tables DoCmd.OpenQuery "qry_AppendBPS_tblSystemMain", acNormal, acEdit 'Open append query for tblSystemMain DoCmd.OpenQuery "qry_AppendBPS_tblFailures", acNormal, acEdit 'Open append query for tblFailures DoCmd.OpenQuery "qry_AppendBPS_tblFailureTimeSelected", acNormal, acEdit 'Open append query for tblFailureTimeSelected DoCmd.Echo False, "Appending new data" DoCmd.Echo True DoCmd.Hourglass False Beep MsgBox "All done!" DoCmd.SetWarnings True DoCmd.OpenForm "frmSystemFailure", acNormal, "qryStatusPending", , acFormEdit, acWindowNormal 'DoCmd.Quit Else ' You chose No or pressed Enter. End If End Function From chizotz at mchsi.com Thu Sep 2 07:50:22 2004 From: chizotz at mchsi.com (Ron Allen) Date: Thu, 2 Sep 2004 07:50:22 -0500 Subject: [AccessD] FW: photo editing In-Reply-To: <001401c48e9e$128ffde0$80b3fea9@ColbyM6805> References: <001401c48e9e$128ffde0$80b3fea9@ColbyM6805> Message-ID: <657746720.20040902075022@mchsi.com> Hello John and Janice, Paint Shop Pro, www.jasc.com, is a great image editor that is very reasonably priced. It does most everything that Photoshop can do at only a fraction of the cost. PSP can definitely save .tif files, and you can measure in inches rather than pixels. I've done both these things in PSP myself. HTH, Ron Monday, August 30, 2004, 9:31:37 AM, you wrote: JWC> My sister in law is looking for photo editing stuff. If anyone knows of any JWC> that fits the description in the message below my sig could you reply JWC> directly to me off line or directly to Janice. JWC> Thanks, JWC> John W. Colby JWC> www.ColbyConsulting.com JWC> -----Original Message----- JWC> From: JMcK110 at aol.com [mailto:JMcK110 at aol.com] JWC> Sent: Monday, August 30, 2004 9:00 AM JWC> To: jwcolby at colbyconsulting.com JWC> Subject: photo editing JWC> John: JWC> For your type of computer, are you familiar with any non-professional JWC> software(not Photoshop) that lets you save photos as tiffs and measure JWC> photos in JWC> inches rather than pixels? JWC> Client is using Microsfot Photo Editor and having lots of trouble with it? JWC> Don't do any research on this question. I know you're busy. I'm just JWC> looking for off the top of your head answer. JWC> Janice From andy at minstersystems.co.uk Thu Sep 2 08:02:32 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 2 Sep 2004 14:02:32 +0100 Subject: [AccessD] Required Field in Function Message-ID: <20040902130230.0B87724E2D7@smtp.nildram.co.uk> Virginia Your test may well be ok but all you're doinmg is setting Cancel=True; you still carry on and execute the queries. The query execution needs to be on an Else so that it does not run if the IsNull test is True. Setting Cancel=True does not stop subsequent code. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: Access Developers discussion and problem solving To: accessD at databaseadvisors.com Subject: [AccessD] Required Field in Function Date: 02/09/04 12:45 > > I have a function (code below) that is used to append data from a linked > Excel file (xlsBPS). The Excel file is linked to the database as a table. > There is a column in the Excel file named AssetID - this is a required field > in the database. Yesterday when the user ran the append code the AssetID was > blank in one of the records in the xlsBPS file. This caused all the records > to move up one. For example: > > > > Record 1: AssetID = > > Description: This one > > > > Record 2: AssetID = ABC > > Description: My Name > > > > The results after the append code ran were: > > > > Record 1: AssetID = ABC > > Description: This one > > > > What can I add to the function to check for null fields to ensure the > AssetID is completed, if not, the code does not run? I tried adding a check > (where I added the ***** in the code, but I receive the error, RunTime 424, > Object Required. > > > > Virginia > > _____________________________________________________________________ > > Function AppendBPS() > > 'Appends new data from xlsBPS to tblFailure, tblSystemMain, and > tblFailureTimeSelected. > > > > Beep > > > > Title = "Append new BPS data from Excel" > > ' Work Order table import. > > Msg = "Your are about to modify data in this database." > > Msg = Msg & " Do you want to continue?" > > DgDef = vbQuestion + vbYesNo + vbDefaultButton1 ' Describe dialog > box. > > Response = MsgBox(Msg, DgDef, Title) ' Get user response. > > If Response = vbYes Then ' Evaluate response > > > > ******** If IsNull(xlsBPS.AssetID) Then > ******************************* > > ******* MsgBox "Asset ID must be completed before downloading" > > ******** Cancel = True > > ******* End If > > > > DoCmd.SetWarnings False > > > > DoCmd.Echo False, "Appending Data" > > DoCmd.Hourglass True > > > > 'Append data to tables > > DoCmd.OpenQuery "qry_AppendBPS_tblSystemMain", acNormal, acEdit > 'Open append query for tblSystemMain > > DoCmd.OpenQuery "qry_AppendBPS_tblFailures", acNormal, acEdit 'Open > append query for tblFailures > > DoCmd.OpenQuery "qry_AppendBPS_tblFailureTimeSelected", acNormal, > acEdit 'Open append query for tblFailureTimeSelected > > DoCmd.Echo False, "Appending new data" > > > > DoCmd.Echo True > > DoCmd.Hourglass False > > > > Beep > > > > MsgBox "All done!" > > DoCmd.SetWarnings True > > DoCmd.OpenForm "frmSystemFailure", acNormal, "qryStatusPending", , > acFormEdit, acWindowNormal > > 'DoCmd.Quit > > > > Else > > ' You chose No or pressed Enter. > > End If > > > > End Function > > -- > _______________________________________________ > 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 HollisVJ at pgdp.usec.com Thu Sep 2 08:28:14 2004 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 02 Sep 2004 08:28:14 -0500 Subject: [AccessD] Required Field in Function Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0F53BAFE@cntexchange.pgdp.usec.com> I removed the Cancel = True, added "Else" after the MsgBox, and moved the End If to the bottom of the code. But I still receive the RunTime Error 424 Object Required on the If IsNull ... code. Am I missing something else? What would stop the code from running and what is causing the error? If IsNull(xlsBPS.AssetID) Then MsgBox "Asset ID must be completed before downloading" Else ....... End If End If Virginia ________________________________________________________ Virginia Your test may well be ok but all you're doinmg is setting Cancel=True; you still carry on and execute the queries. The query execution needs to be on an Else so that it does not run if the IsNull test is True. Setting Cancel=True does not stop subsequent code. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: Access Developers discussion and problem solving > To: accessD at databaseadvisors.com > Subject: [AccessD] Required Field in Function Date: 02/09/04 12:45 I have a function (code below) that is used to append data from a linked Excel file (xlsBPS). The Excel file is linked to the database as a table. There is a column in the Excel file named AssetID - this is a required field in the database. Yesterday when the user ran the append code the AssetID was blank in one of the records in the xlsBPS file. This caused all the records to move up one. For example: Record 1: AssetID = Description: This one Record 2: AssetID = ABC Description: My Name The results after the append code ran were: Record 1: AssetID = ABC Description: This one What can I add to the function to check for null fields to ensure the AssetID is completed, if not, the code does not run? I tried adding a check (where I added the ***** in the code, but I receive the error, RunTime 424, Object Required. Virginia ____________________________________________________________________ Function AppendBPS() 'Appends new data from xlsBPS to tblFailure, tblSystemMain, and tblFailureTimeSelected. Beep Title = "Append new BPS data from Excel" ' Work Order table import. Msg = "Your are about to modify data in this database." Msg = Msg & " Do you want to continue?" DgDef = vbQuestion + vbYesNo + vbDefaultButton1 ' Describe dialog box. Response = MsgBox(Msg, DgDef, Title) ' Get user response. If Response = vbYes Then ' Evaluate response ******** If IsNull(xlsBPS.AssetID) Then ******************************* ******* MsgBox "Asset ID must be completed before downloading" ******** Cancel = True ******* End If DoCmd.SetWarnings False DoCmd.Echo False, "Appending Data" DoCmd.Hourglass True 'Append data to tables DoCmd.OpenQuery "qry_AppendBPS_tblSystemMain", acNormal, acEdit 'Open append query for tblSystemMain DoCmd.OpenQuery "qry_AppendBPS_tblFailures", acNormal, acEdit 'Open append query for tblFailures DoCmd.OpenQuery "qry_AppendBPS_tblFailureTimeSelected",acNormal, acEdit 'Open append query for tblFailureTimeSelected DoCmd.Echo False, "Appending new data" DoCmd.Echo True DoCmd.Hourglass False Beep MsgBox "All done!" DoCmd.SetWarnings True DoCmd.OpenForm "frmSystemFailure", acNormal, "qryStatusPending", , acFormEdit, acWindowNormal Else ' You chose No or pressed Enter. End If End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Thu Sep 2 08:48:33 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Thu, 2 Sep 2004 15:48:33 +0200 Subject: [AccessD] A2K3 Import does not work Message-ID: <46B976F2B698FF46A4FE7636509B22DF0ADB68@stekelbes.ithelps.local> In Access 2003 to import a txt file (CSV) File >Import > change to TXT file > select file and open Nothing happens. I just come back to the database window. No error, no import, no nothing!! Same thing in A2K2 (XP) works fine.... Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From cyx5 at cdc.gov Thu Sep 2 09:08:41 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Thu, 2 Sep 2004 10:08:41 -0400 Subject: [AccessD] Form Resizing Itself Message-ID: I don't think I have worked in A2K (XP). The funkiest thing is happening. I have a frmMainSwitchboard that opens, I do a DoCmd.Maximize in the on open event. If I click on a button to open up another form, leaving frmMainSwitchboard open, when I return to frmMainSwitchboard it shrinks in size to center itself on the screen. I have all the centering stuff turned off. There is no code that touches this form from the second code. What the? Any ideas, this should be a simple one. Karen Nicholson National Laboratory Xerox Global Services From Jim.Hale at FleetPride.com Thu Sep 2 09:18:33 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 2 Sep 2004 09:18:33 -0500 Subject: [AccessD] Rotating Excel Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677217FEB7@corp-es01.fleetpride.com> For Excel 2000 the limit is: Worksheet size 65,536 rows by 256 columns Jim Hale -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Wednesday, September 01, 2004 9:55 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Rotating Excel Hi John: I believe there is a 1000 column and 65000 row limit to an excel spreadsheet. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, August 31, 2004 6:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Rotating Excel I need to export data from this big database into Excel. The objective = is to get the FIELD NAMES out with data from about 100 records. I then = need to rotate excel such that the field names are down the left side and the = data for each record runs down vertically, the data for any given field runs across horizontally. Can anyone tell me how to rotate the spreadsheet = such that the field names are down the left side? I assume that the export MUST go out with the field names across the top row, and the data below that. =20 Can anyone tell me how to get the entire 600+ fields out in a single = export? When I try to use dts it works but complains (fails) if I try and export more than about 240 fields. It LOOKS LIKE perhaps the length of the = field names in the first row is confusing Excel. It is telling me I am = exceeding the 1000 column limit (or some such) What I really want to do is export all the columns (about 600) with the field names in the top row, then rotate the whole shootin match. Any assistance on any of this is greatly appreciated. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Thu Sep 2 09:33:46 2004 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Thu, 2 Sep 2004 10:33:46 -0400 Subject: [AccessD] Form Resizing Itself References: Message-ID: <035a01c490f9$db486df0$6401a8c0@default> ----- Original Message ----- From: "Nicholson, Karen" To: Sent: Thursday, September 02, 2004 10:08 AM Subject: [AccessD] Form Resizing Itself I don't think I have worked in A2K (XP). The funkiest thing is happening. I have a frmMainSwitchboard that opens, I do a DoCmd.Maximize in the on open event. If I click on a button to open up another form, leaving frmMainSwitchboard open, when I return to frmMainSwitchboard it shrinks in size to center itself on the screen. I have all the centering stuff turned off. There is no code that touches this form from the second code. What the? Any ideas, this should be a simple one. Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ Hi Karen, Fancy meeting you here! In the Events of Activate and On Got Focus put your DoCmd.Maximize also. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From chizotz at mchsi.com Thu Sep 2 09:45:06 2004 From: chizotz at mchsi.com (chizotz at mchsi.com) Date: Thu, 02 Sep 2004 14:45:06 +0000 Subject: [AccessD] Form Resizing Itself Message-ID: <090220041445.13043.28e4@mchsi.com> Set the border to a fixed type, that should take care of it. > I don't think I have worked in A2K (XP). The funkiest thing is > happening. I have a frmMainSwitchboard that opens, I do a > DoCmd.Maximize in the on open event. If I click on a button to open up > another form, leaving frmMainSwitchboard open, when I return to > frmMainSwitchboard it shrinks in size to center itself on the screen. I > have all the centering stuff turned off. There is no code that touches > this form from the second code. What the? Any ideas, this should be a > simple one. > > Karen Nicholson > National Laboratory > Xerox Global Services > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Sep 2 09:45:17 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Thu, 2 Sep 2004 09:45:17 -0500 Subject: [AccessD] FW: photo editing Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB326@main2.marlow.com> All NT based machines (as far as I know) come with Imaging. It's sort of like paint, but can save as .TIFF files. It also measures in inches (or you can change what you units you want). Should be directly under Accessories in the program menu. FYI, I opened a .gif in it, but it wouldn't let me 'edit' anything until I saved it as a TIFF (or another format). Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, August 30, 2004 9:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FW: photo editing My sister in law is looking for photo editing stuff. If anyone knows of any that fits the description in the message below my sig could you reply directly to me off line or directly to Janice. Thanks, John W. Colby www.ColbyConsulting.com -----Original Message----- From: JMcK110 at aol.com [mailto:JMcK110 at aol.com] Sent: Monday, August 30, 2004 9:00 AM To: jwcolby at colbyconsulting.com Subject: photo editing John: For your type of computer, are you familiar with any non-professional software(not Photoshop) that lets you save photos as tiffs and measure photos in inches rather than pixels? Client is using Microsfot Photo Editor and having lots of trouble with it? Don't do any research on this question. I know you're busy. I'm just looking for off the top of your head answer. Janice -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Thu Sep 2 10:11:27 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 2 Sep 2004 10:11:27 -0500 Subject: [AccessD] Required Field in Function Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677217FEB8@corp-es01.fleetpride.com> Maintaining the integrity of data Linked to Excel spreadsheets is often problematic, since the Excel "databases" are subject to manipulation by the user (ie. blank cells, changing column headings, inserting rows, text instead of numbers, etc. One way I reduce these problems is by having a hidden sheet that is linked to the data input cells/sheets. This sheet can have a "validation" field (column) with an excel formula that tests for conditions such as all fields being filled, no text where numbers should be, etc. If the "record" fails the test the formula result can be whatever code you wish. Since you can create your own specialized Excel formula these validation routines can be quite elaborate. When you are reading these Excel "records" into the Access database you can test for these codes and handle the record appropriately. Just a thought. Jim Hale -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, September 02, 2004 8:28 AM To: accessd at databaseadvisors.com Subject: [AccessD] Required Field in Function I removed the Cancel = True, added "Else" after the MsgBox, and moved the End If to the bottom of the code. But I still receive the RunTime Error 424 Object Required on the If IsNull ... code. Am I missing something else? What would stop the code from running and what is causing the error? If IsNull(xlsBPS.AssetID) Then MsgBox "Asset ID must be completed before downloading" Else ....... End If End If Virginia ________________________________________________________ Virginia Your test may well be ok but all you're doinmg is setting Cancel=True; you still carry on and execute the queries. The query execution needs to be on an Else so that it does not run if the IsNull test is True. Setting Cancel=True does not stop subsequent code. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: Access Developers discussion and problem solving > To: accessD at databaseadvisors.com > Subject: [AccessD] Required Field in Function Date: 02/09/04 12:45 I have a function (code below) that is used to append data from a linked Excel file (xlsBPS). The Excel file is linked to the database as a table. There is a column in the Excel file named AssetID - this is a required field in the database. Yesterday when the user ran the append code the AssetID was blank in one of the records in the xlsBPS file. This caused all the records to move up one. For example: Record 1: AssetID = Description: This one Record 2: AssetID = ABC Description: My Name The results after the append code ran were: Record 1: AssetID = ABC Description: This one What can I add to the function to check for null fields to ensure the AssetID is completed, if not, the code does not run? I tried adding a check (where I added the ***** in the code, but I receive the error, RunTime 424, Object Required. Virginia ____________________________________________________________________ Function AppendBPS() 'Appends new data from xlsBPS to tblFailure, tblSystemMain, and tblFailureTimeSelected. Beep Title = "Append new BPS data from Excel" ' Work Order table import. Msg = "Your are about to modify data in this database." Msg = Msg & " Do you want to continue?" DgDef = vbQuestion + vbYesNo + vbDefaultButton1 ' Describe dialog box. Response = MsgBox(Msg, DgDef, Title) ' Get user response. If Response = vbYes Then ' Evaluate response ******** If IsNull(xlsBPS.AssetID) Then ******************************* ******* MsgBox "Asset ID must be completed before downloading" ******** Cancel = True ******* End If DoCmd.SetWarnings False DoCmd.Echo False, "Appending Data" DoCmd.Hourglass True 'Append data to tables DoCmd.OpenQuery "qry_AppendBPS_tblSystemMain", acNormal, acEdit 'Open append query for tblSystemMain DoCmd.OpenQuery "qry_AppendBPS_tblFailures", acNormal, acEdit 'Open append query for tblFailures DoCmd.OpenQuery "qry_AppendBPS_tblFailureTimeSelected",acNormal, acEdit 'Open append query for tblFailureTimeSelected DoCmd.Echo False, "Appending new data" DoCmd.Echo True DoCmd.Hourglass False Beep MsgBox "All done!" DoCmd.SetWarnings True DoCmd.OpenForm "frmSystemFailure", acNormal, "qryStatusPending", , acFormEdit, acWindowNormal Else ' You chose No or pressed Enter. End If End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Thu Sep 2 10:12:08 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Thu, 2 Sep 2004 17:12:08 +0200 Subject: [AccessD] Reader for .MSG files. Message-ID: <46B976F2B698FF46A4FE7636509B22DF0ADB6A@stekelbes.ithelps.local> Does a simple reader software exist to read, exported from Outlook, .MSG files? To read the MSG file without having outlook. Opening a attachement in that MSG file must also be posible. Erwin Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From cyx5 at cdc.gov Thu Sep 2 10:00:41 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Thu, 2 Sep 2004 11:00:41 -0400 Subject: [AccessD] Form Resizing Itself Message-ID: I set the border to thin and the same thing happened. Putting the docmd.maximize on the activate works, but I get the dreaded screen flicker. Why does Access decide to go ahead and shrink a form size when another form is opened? Aughghghg. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of chizotz at mchsi.com Sent: Thursday, September 02, 2004 10:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form Resizing Itself Set the border to a fixed type, that should take care of it. > I don't think I have worked in A2K (XP). The funkiest thing is > happening. I have a frmMainSwitchboard that opens, I do a > DoCmd.Maximize in the on open event. If I click on a button to open up > another form, leaving frmMainSwitchboard open, when I return to > frmMainSwitchboard it shrinks in size to center itself on the screen. I > have all the centering stuff turned off. There is no code that touches > this form from the second code. What the? Any ideas, this should be a > simple one. > > Karen Nicholson > National Laboratory > Xerox Global Services > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Sep 2 10:42:16 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Sep 2004 08:42:16 -0700 Subject: [AccessD] Required Field in Function Message-ID: Have you declared xlsBPS as an Excel worksheet or is it an attached Excel "table"? I would suspect the referencing xlsBPS.AssetID is giving you the problem. Charlotte Foust -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, September 02, 2004 6:28 AM To: accessd at databaseadvisors.com Subject: [AccessD] Required Field in Function I removed the Cancel = True, added "Else" after the MsgBox, and moved the End If to the bottom of the code. But I still receive the RunTime Error 424 Object Required on the If IsNull ... code. Am I missing something else? What would stop the code from running and what is causing the error? If IsNull(xlsBPS.AssetID) Then MsgBox "Asset ID must be completed before downloading" Else ....... End If End If Virginia ________________________________________________________ Virginia Your test may well be ok but all you're doinmg is setting Cancel=True; you still carry on and execute the queries. The query execution needs to be on an Else so that it does not run if the IsNull test is True. Setting Cancel=True does not stop subsequent code. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: Access Developers discussion and problem solving > To: accessD at databaseadvisors.com > Subject: [AccessD] Required Field in Function Date: 02/09/04 12:45 I have a function (code below) that is used to append data from a linked Excel file (xlsBPS). The Excel file is linked to the database as a table. There is a column in the Excel file named AssetID - this is a required field in the database. Yesterday when the user ran the append code the AssetID was blank in one of the records in the xlsBPS file. This caused all the records to move up one. For example: Record 1: AssetID = Description: This one Record 2: AssetID = ABC Description: My Name The results after the append code ran were: Record 1: AssetID = ABC Description: This one What can I add to the function to check for null fields to ensure the AssetID is completed, if not, the code does not run? I tried adding a check (where I added the ***** in the code, but I receive the error, RunTime 424, Object Required. Virginia ____________________________________________________________________ Function AppendBPS() 'Appends new data from xlsBPS to tblFailure, tblSystemMain, and tblFailureTimeSelected. Beep Title = "Append new BPS data from Excel" ' Work Order table import. Msg = "Your are about to modify data in this database." Msg = Msg & " Do you want to continue?" DgDef = vbQuestion + vbYesNo + vbDefaultButton1 ' Describe dialog box. Response = MsgBox(Msg, DgDef, Title) ' Get user response. If Response = vbYes Then ' Evaluate response ******** If IsNull(xlsBPS.AssetID) Then ******************************* ******* MsgBox "Asset ID must be completed before downloading" ******** Cancel = True ******* End If DoCmd.SetWarnings False DoCmd.Echo False, "Appending Data" DoCmd.Hourglass True 'Append data to tables DoCmd.OpenQuery "qry_AppendBPS_tblSystemMain", acNormal, acEdit 'Open append query for tblSystemMain DoCmd.OpenQuery "qry_AppendBPS_tblFailures", acNormal, acEdit 'Open append query for tblFailures DoCmd.OpenQuery "qry_AppendBPS_tblFailureTimeSelected",acNormal, acEdit 'Open append query for tblFailureTimeSelected DoCmd.Echo False, "Appending new data" DoCmd.Echo True DoCmd.Hourglass False Beep MsgBox "All done!" DoCmd.SetWarnings True DoCmd.OpenForm "frmSystemFailure", acNormal, "qryStatusPending", , acFormEdit, acWindowNormal Else ' You chose No or pressed Enter. End If End Function _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Thu Sep 2 10:46:56 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 2 Sep 2004 08:46:56 -0700 Subject: [AccessD] JIT Forms? In-Reply-To: <001701c48f82$95d45ea0$80b3fea9@ColbyM6805> References: <001701c48f82$95d45ea0$80b3fea9@ColbyM6805> Message-ID: so the idea is to open the form up in design first add the fields? is that right? thanks, On Tue, 31 Aug 2004 13:47:27 -0400, John W. Colby wrote: > You can do that but only in design view. > > John W. Colby > www.ColbyConsulting.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia > Sent: Tuesday, August 31, 2004 11:46 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] JIT Forms? > > Anyone have a link, or advice on creating controls JIT? > > Access2000 / ADP > I have an unbound form, that I'd like to pass a recordset to and thus be > able to on-the-fly create controls that match the recordset... any ideas? > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From HollisVJ at pgdp.usec.com Thu Sep 2 10:47:38 2004 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 02 Sep 2004 10:47:38 -0500 Subject: [AccessD] Required Field in Function Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0F53BB39@cntexchange.pgdp.usec.com> The strangest thing is happening. I created a query with the linked Excel table xlsBPS and set the criteria to show AssetID = IsNull. I added the DCount to the function and ran it. What is strange, when I first created the query and ran the query, it showed which record contained the Null AssetID. After running the append code, it does not show this record - the query is blank. I don't understand why it isn't picking up the Null AssetID record anymore. If I look on the spreadsheet or open the linked table, that field is Null. Since the query does not show any records containing Null AssetIDs anymore (even though there is a null record) it runs the append code. I also tried having the query open so the user can enter the missing data. I found out if you enter data into the linked Excel table, it corrupts the spreadsheet file and gives an error message about not being in a correct file format. -----Original Message----- From: Nancy Lytle [mailto:nlytle at swales.com] Sent: Thursday, September 02, 2004 9:59 AM To: Hollis,Virginia Subject: RE: [AccessD] Required Field in Function I've done similiar things. Anything to control what the user can and can't do. If the query is being run from a form and you don't want user in the actual tables then run the IsNull query then open a form you created based on that query, once thta have completed that you can have them close or update the recordset and rerun the IsNull and if it returns 0 records the run the append query. Heres some pseudo code If DCount("*", "qryIsNull) >0 then Open frmDataEntry Else Run AppendQuery End if On Open of frmDataEntry frmDataEntry.recordsourcetype = "table/query" frmDataEntry.recordsource = "qryIsNull" On Close frmDataEntry Refresh the form to catch all newly entered data If DCount("*", "qryIsNull) >0 then "there are still items to correct" Return them to finish entering Else Run AppendQuery End if Nancy -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, September 02, 2004 10:45 AM To: Nancy Lytle Subject: RE: [AccessD] Required Field in Function That is fine replying directly, thanks. That sounds like a good idea; it would show the user exactly what is wrong too. I will try to play around with that idea. Have you ever tried it? Va. -----Original Message----- From: Nancy Lytle [mailto:nlytle at swales.com] Sent: Thursday, September 02, 2004 9:41 AM To: HollisVJ at pgdp.usec.com Subject: Re: [AccessD] Required Field in Function I couldn't reply on the list so here goes: I may be off base here but why not have an IsNotNull Criteria in the append, then a second query to pop up a form for all those where the field is null? Or do the reverse, have it pop up with all the null fields, require them to be filled in before the append query can run. ----- Original Message ----- From: "Hollis,Virginia" To: Sent: Thursday, September 02, 2004 9:28 AM Subject: [AccessD] Required Field in Function > I removed the Cancel = True, added "Else" after the MsgBox, and moved the > End If to the bottom of the code. But I still receive the RunTime Error 424 > Object Required on the If IsNull ... code. Am I missing something else? What > would stop the code from running and what is causing the error? > > If IsNull(xlsBPS.AssetID) Then > MsgBox "Asset ID must be completed before downloading" > Else > ....... > End If > End If > > Virginia > ________________________________________________________ > Virginia > Your test may well be ok but all you're doinmg is setting Cancel=True; you > still carry on and execute the queries. The query execution needs to be on > an Else so that it does not run if the IsNull test is True. Setting > Cancel=True does not stop subsequent code. > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > --------- Original Message -------- > From: Access Developers discussion and problem solving > > > To: accessD at databaseadvisors.com > databaseadvisors.com > > > Subject: [AccessD] Required Field in Function > Date: 02/09/04 12:45 > > > I have a function (code below) that is used to append data from a linked > Excel file (xlsBPS). The Excel file is linked to the database as a table. > There is a column in the Excel file named AssetID - this is a required > field in the database. Yesterday when the user ran the append code the > AssetID was blank in one of the records in the xlsBPS file. This caused all > the records to move up one. For example: > > Record 1: AssetID = > Description: This one > > Record 2: AssetID = ABC > Description: My Name > > The results after the append code ran were: > > Record 1: AssetID = ABC > Description: This one > > What can I add to the function to check for null fields to ensure the > AssetID is completed, if not, the code does not run? I tried adding a check > (where I added the ***** in the code, but I receive the error, RunTime 424, > Object Required. > > Virginia > ____________________________________________________________________ > > Function AppendBPS() > > 'Appends new data from xlsBPS to tblFailure, tblSystemMain, and > tblFailureTimeSelected. > > Beep > > Title = "Append new BPS data from Excel" > > ' Work Order table import. > > Msg = "Your are about to modify data in this database." > Msg = Msg & " Do you want to continue?" > DgDef = vbQuestion + vbYesNo + vbDefaultButton1 ' Describe dialog > box. > > Response = MsgBox(Msg, DgDef, Title) ' Get user response. > If Response = vbYes Then ' Evaluate response > > ******** If IsNull(xlsBPS.AssetID) Then > ******************************* > ******* MsgBox "Asset ID must be completed before > downloading" > ******** Cancel = True > ******* End If > > DoCmd.SetWarnings False > > DoCmd.Echo False, "Appending Data" > > DoCmd.Hourglass True > > 'Append data to tables > > DoCmd.OpenQuery "qry_AppendBPS_tblSystemMain", acNormal, > acEdit > 'Open append query for tblSystemMain > > DoCmd.OpenQuery "qry_AppendBPS_tblFailures", acNormal, > acEdit 'Open append query for tblFailures > DoCmd.OpenQuery > "qry_AppendBPS_tblFailureTimeSelected",acNormal, acEdit 'Open > append query for tblFailureTimeSelected > DoCmd.Echo False, "Appending new data" > > DoCmd.Echo True > DoCmd.Hourglass False > > Beep > > MsgBox "All done!" > > DoCmd.SetWarnings True > > DoCmd.OpenForm "frmSystemFailure", acNormal, > "qryStatusPending", , acFormEdit, acWindowNormal > > Else > > ' You chose No or pressed Enter. > > End If > > End Function > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From HollisVJ at pgdp.usec.com Thu Sep 2 10:48:35 2004 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 02 Sep 2004 10:48:35 -0500 Subject: [AccessD] Required Field in Function Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0F53BB3A@cntexchange.pgdp.usec.com> The xlsBPS is an attached Excel table. It is linked to the Excel spreadsheet. Virginia _______________________ Have you declared xlsBPS as an Excel worksheet or is it an attached Excel "table"? I would suspect the referencing xlsBPS.AssetID is giving you the problem. Charlotte Foust From HollisVJ at pgdp.usec.com Thu Sep 2 10:49:48 2004 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 02 Sep 2004 10:49:48 -0500 Subject: [AccessD] Required Field in Function Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0F53BB3B@cntexchange.pgdp.usec.com> This is what I added: If DCount("*", "qryBPSNull") > 0 Then MsgBox "Asset ID must be entered" Else Append code..... -----Original Message----- From: Hollis,Virginia Sent: Thursday, September 02, 2004 10:48 AM To: 'nlytle at swales.com'; 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Required Field in Function The strangest thing is happening. I created a query with the linked Excel table xlsBPS and set the criteria to show AssetID = IsNull. I added the DCount to the function and ran it. What is strange, when I first created the query and ran the query, it showed which record contained the Null AssetID. After running the append code, it does not show this record - the query is blank. I don't understand why it isn't picking up the Null AssetID record anymore. If I look on the spreadsheet or open the linked table, that field is Null. Since the query does not show any records containing Null AssetIDs anymore (even though there is a null record) it runs the append code. I also tried having the query open so the user can enter the missing data. I found out if you enter data into the linked Excel table, it corrupts the spreadsheet file and gives an error message about not being in a correct file format. -----Original Message----- From: Nancy Lytle [mailto:nlytle at swales.com] Sent: Thursday, September 02, 2004 9:59 AM To: Hollis,Virginia Subject: RE: [AccessD] Required Field in Function I've done similiar things. Anything to control what the user can and can't do. If the query is being run from a form and you don't want user in the actual tables then run the IsNull query then open a form you created based on that query, once thta have completed that you can have them close or update the recordset and rerun the IsNull and if it returns 0 records the run the append query. Heres some pseudo code If DCount("*", "qryIsNull) >0 then Open frmDataEntry Else Run AppendQuery End if On Open of frmDataEntry frmDataEntry.recordsourcetype = "table/query" frmDataEntry.recordsource = "qryIsNull" On Close frmDataEntry Refresh the form to catch all newly entered data If DCount("*", "qryIsNull) >0 then "there are still items to correct" Return them to finish entering Else Run AppendQuery End if Nancy -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, September 02, 2004 10:45 AM To: Nancy Lytle Subject: RE: [AccessD] Required Field in Function That is fine replying directly, thanks. That sounds like a good idea; it would show the user exactly what is wrong too. I will try to play around with that idea. Have you ever tried it? Va. -----Original Message----- From: Nancy Lytle [mailto:nlytle at swales.com] Sent: Thursday, September 02, 2004 9:41 AM To: HollisVJ at pgdp.usec.com Subject: Re: [AccessD] Required Field in Function I couldn't reply on the list so here goes: I may be off base here but why not have an IsNotNull Criteria in the append, then a second query to pop up a form for all those where the field is null? Or do the reverse, have it pop up with all the null fields, require them to be filled in before the append query can run. ----- Original Message ----- From: "Hollis,Virginia" To: Sent: Thursday, September 02, 2004 9:28 AM Subject: [AccessD] Required Field in Function > I removed the Cancel = True, added "Else" after the MsgBox, and moved the > End If to the bottom of the code. But I still receive the RunTime Error 424 > Object Required on the If IsNull ... code. Am I missing something else? What > would stop the code from running and what is causing the error? > > If IsNull(xlsBPS.AssetID) Then > MsgBox "Asset ID must be completed before downloading" > Else > ....... > End If > End If > > Virginia > ________________________________________________________ > Virginia > Your test may well be ok but all you're doinmg is setting Cancel=True; you > still carry on and execute the queries. The query execution needs to be on > an Else so that it does not run if the IsNull test is True. Setting > Cancel=True does not stop subsequent code. > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > --------- Original Message -------- > From: Access Developers discussion and problem solving > > > To: accessD at databaseadvisors.com > databaseadvisors.com > > > Subject: [AccessD] Required Field in Function > Date: 02/09/04 12:45 > > > I have a function (code below) that is used to append data from a linked > Excel file (xlsBPS). The Excel file is linked to the database as a table. > There is a column in the Excel file named AssetID - this is a required > field in the database. Yesterday when the user ran the append code the > AssetID was blank in one of the records in the xlsBPS file. This caused all > the records to move up one. For example: > > Record 1: AssetID = > Description: This one > > Record 2: AssetID = ABC > Description: My Name > > The results after the append code ran were: > > Record 1: AssetID = ABC > Description: This one > > What can I add to the function to check for null fields to ensure the > AssetID is completed, if not, the code does not run? I tried adding a check > (where I added the ***** in the code, but I receive the error, RunTime 424, > Object Required. > > Virginia > ____________________________________________________________________ > > Function AppendBPS() > > 'Appends new data from xlsBPS to tblFailure, tblSystemMain, and > tblFailureTimeSelected. > > Beep > > Title = "Append new BPS data from Excel" > > ' Work Order table import. > > Msg = "Your are about to modify data in this database." > Msg = Msg & " Do you want to continue?" > DgDef = vbQuestion + vbYesNo + vbDefaultButton1 ' Describe dialog > box. > > Response = MsgBox(Msg, DgDef, Title) ' Get user response. > If Response = vbYes Then ' Evaluate response > > ******** If IsNull(xlsBPS.AssetID) Then > ******************************* > ******* MsgBox "Asset ID must be completed before > downloading" > ******** Cancel = True > ******* End If > > DoCmd.SetWarnings False > > DoCmd.Echo False, "Appending Data" > > DoCmd.Hourglass True > > 'Append data to tables > > DoCmd.OpenQuery "qry_AppendBPS_tblSystemMain", acNormal, > acEdit > 'Open append query for tblSystemMain > > DoCmd.OpenQuery "qry_AppendBPS_tblFailures", acNormal, > acEdit 'Open append query for tblFailures > DoCmd.OpenQuery > "qry_AppendBPS_tblFailureTimeSelected",acNormal, acEdit 'Open > append query for tblFailureTimeSelected > DoCmd.Echo False, "Appending new data" > > DoCmd.Echo True > DoCmd.Hourglass False > > Beep > > MsgBox "All done!" > > DoCmd.SetWarnings True > > DoCmd.OpenForm "frmSystemFailure", acNormal, > "qryStatusPending", , acFormEdit, acWindowNormal > > Else > > ' You chose No or pressed Enter. > > End If > > End Function > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Sep 2 10:57:07 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Sep 2004 08:57:07 -0700 Subject: [AccessD] Required Field in Function Message-ID: Try testing for a zero length as well. Charlotte Foust -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, September 02, 2004 8:48 AM To: nlytle at swales.com; accessd at databaseadvisors.com Subject: RE: [AccessD] Required Field in Function The strangest thing is happening. I created a query with the linked Excel table xlsBPS and set the criteria to show AssetID = IsNull. I added the DCount to the function and ran it. What is strange, when I first created the query and ran the query, it showed which record contained the Null AssetID. After running the append code, it does not show this record - the query is blank. I don't understand why it isn't picking up the Null AssetID record anymore. If I look on the spreadsheet or open the linked table, that field is Null. Since the query does not show any records containing Null AssetIDs anymore (even though there is a null record) it runs the append code. I also tried having the query open so the user can enter the missing data. I found out if you enter data into the linked Excel table, it corrupts the spreadsheet file and gives an error message about not being in a correct file format. -----Original Message----- From: Nancy Lytle [mailto:nlytle at swales.com] Sent: Thursday, September 02, 2004 9:59 AM To: Hollis,Virginia Subject: RE: [AccessD] Required Field in Function I've done similiar things. Anything to control what the user can and can't do. If the query is being run from a form and you don't want user in the actual tables then run the IsNull query then open a form you created based on that query, once thta have completed that you can have them close or update the recordset and rerun the IsNull and if it returns 0 records the run the append query. Heres some pseudo code If DCount("*", "qryIsNull) >0 then Open frmDataEntry Else Run AppendQuery End if On Open of frmDataEntry frmDataEntry.recordsourcetype = "table/query" frmDataEntry.recordsource = "qryIsNull" On Close frmDataEntry Refresh the form to catch all newly entered data If DCount("*", "qryIsNull) >0 then "there are still items to correct" Return them to finish entering Else Run AppendQuery End if Nancy -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, September 02, 2004 10:45 AM To: Nancy Lytle Subject: RE: [AccessD] Required Field in Function That is fine replying directly, thanks. That sounds like a good idea; it would show the user exactly what is wrong too. I will try to play around with that idea. Have you ever tried it? Va. -----Original Message----- From: Nancy Lytle [mailto:nlytle at swales.com] Sent: Thursday, September 02, 2004 9:41 AM To: HollisVJ at pgdp.usec.com Subject: Re: [AccessD] Required Field in Function I couldn't reply on the list so here goes: I may be off base here but why not have an IsNotNull Criteria in the append, then a second query to pop up a form for all those where the field is null? Or do the reverse, have it pop up with all the null fields, require them to be filled in before the append query can run. ----- Original Message ----- From: "Hollis,Virginia" To: Sent: Thursday, September 02, 2004 9:28 AM Subject: [AccessD] Required Field in Function > I removed the Cancel = True, added "Else" after the MsgBox, and moved > the End If to the bottom of the code. But I still receive the RunTime > Error 424 > Object Required on the If IsNull ... code. Am I missing something > else? What > would stop the code from running and what is causing the error? > > If IsNull(xlsBPS.AssetID) Then > MsgBox "Asset ID must be completed before downloading" Else > ....... > End If > End If > > Virginia ________________________________________________________ > Virginia > Your test may well be ok but all you're doinmg is setting Cancel=True; you > still carry on and execute the queries. The query execution needs to be on > an Else so that it does not run if the IsNull test is True. Setting > Cancel=True does not stop subsequent code. > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > --------- Original Message -------- > From: Access Developers discussion and problem solving databaseadvisors.com > > > To: accessD at databaseadvisors.com > databaseadvisors.com > > > Subject: [AccessD] Required Field in Function > Date: 02/09/04 12:45 > > > I have a function (code below) that is used to append data from a > linked Excel file (xlsBPS). The Excel file is linked to the database > as a table. There is a column in the Excel file named AssetID - this > is a required field in the database. Yesterday when the user ran the > append code the AssetID was blank in one of the records in the xlsBPS > file. This caused all > the records to move up one. For example: > > Record 1: AssetID = > Description: This one > > Record 2: AssetID = ABC > Description: My Name > > The results after the append code ran were: > > Record 1: AssetID = ABC > Description: This one > > What can I add to the function to check for null fields to ensure the > AssetID is completed, if not, the code does not run? I tried adding a check > (where I added the ***** in the code, but I receive the error, RunTime 424, > Object Required. > > Virginia > ____________________________________________________________________ > > Function AppendBPS() > > 'Appends new data from xlsBPS to tblFailure, tblSystemMain, and > tblFailureTimeSelected. > > Beep > > Title = "Append new BPS data from Excel" > > ' Work Order table import. > > Msg = "Your are about to modify data in this database." > Msg = Msg & " Do you want to continue?" > DgDef = vbQuestion + vbYesNo + vbDefaultButton1 ' Describe dialog > box. > > Response = MsgBox(Msg, DgDef, Title) ' Get user response. > If Response = vbYes Then ' Evaluate response > > ******** If IsNull(xlsBPS.AssetID) Then > ******************************* > ******* MsgBox "Asset ID must be completed before > downloading" > ******** Cancel = True > ******* End If > > DoCmd.SetWarnings False > > DoCmd.Echo False, "Appending Data" > > DoCmd.Hourglass True > > 'Append data to tables > > DoCmd.OpenQuery "qry_AppendBPS_tblSystemMain", acNormal, > acEdit > 'Open append query for tblSystemMain > > DoCmd.OpenQuery "qry_AppendBPS_tblFailures", > acNormal, acEdit 'Open append query for tblFailures > DoCmd.OpenQuery > "qry_AppendBPS_tblFailureTimeSelected",acNormal, acEdit > 'Open append query for tblFailureTimeSelected > DoCmd.Echo False, "Appending new data" > > DoCmd.Echo True > DoCmd.Hourglass False > > Beep > > MsgBox "All done!" > > DoCmd.SetWarnings True > > DoCmd.OpenForm "frmSystemFailure", acNormal, > "qryStatusPending", , acFormEdit, acWindowNormal > > Else > > ' You chose No or pressed Enter. > > End If > > End Function > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Sep 2 10:54:01 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 2 Sep 2004 17:54:01 +0200 Subject: [AccessD] Reader for .MSG files. In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF0ADB6A@stekelbes.ithelps.local> References: <46B976F2B698FF46A4FE7636509B22DF0ADB6A@stekelbes.ithelps.local> Message-ID: <17233231223.20040902175401@cactus.dk> Hi Erwin "The Bat!" from RitLabs can import msg and eml files. /gustav > Does a simple reader software exist to read, exported from Outlook, .MSG > files? > To read the MSG file without having outlook. > Opening a attachement in that MSG file must also be posible. From dwaters at usinternet.com Thu Sep 2 11:05:22 2004 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 2 Sep 2004 11:05:22 -0500 Subject: [AccessD] Firefox opens two windows In-Reply-To: <25115780.1094091514866.JavaMail.root@sniper5.usinternet.com> Message-ID: <000d01c49106$a718fb00$de1811d8@danwaters> Hi Francisco, I patched version 9.2 so I would guess that 9.3 doesn't have that problem. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Wednesday, September 01, 2004 9:06 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Firefox opens two windows which version of firefox?, I'm running 9.3 and have not seen this problem. On Wed, 1 Sep 2004 20:20:03 -0400, John W. Colby wrote: > Can anyone point me to why suddenly FireFox is opening TWO browser windows > whenever I open any link, as in an email or such? More importantly, how to > fix it. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia > Sent: Tuesday, August 31, 2004 8:02 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Every 100th record > > For the record I think it was me who applied the term VLDB to his db :D. > Even thow I've been my dept's DBA for the last 3 years, I have not run into > any company database that touches the Millions of records, the only tables > that I have that contain a near enough number of consequential tables, > (auditing) > > On Tue, 31 Aug 2004 19:32:55 -0400, Arthur Fuller wrote: > > Just to put things in perspective, JC, the first client of the people > > who developed MySQL had 60M rows in their principal table. There are > > lots of apps way bigger than that. I once had a client that was adding > > 10M rows per month to the table of concern (this was an app recording > > seismic activity from several hundred meters). I must caution you that > > you should not use the term VLDB as loosely as you have been using it. > > You don't know the meaning of VLDB -- not yet at least. You're > > beginning to appreciate the turf, however. Once I bid on a project > > that had 100M rows each containing a graphic file. Not to say that > > size is everything, but IMO VLDB comprises at least a TB, and often > > many hundreds of TBs. > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Thu Sep 2 11:09:19 2004 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 2 Sep 2004 11:09:19 -0500 Subject: [AccessD] FW: photo editing In-Reply-To: <18804565.1094138878520.JavaMail.root@sniper12.usinternet.com> Message-ID: <000e01c49107$33fc2e20$de1811d8@danwaters> Drew, I believe you are talking about Kodak Imaging, which was a nice program. It was available in W2K, but not in WXP. I read somewhere that Kodak and MS has a falling out. I searched MS for information, and was directed to a link which was a third party who provided similar software for about $100/seat. Rats! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Thursday, September 02, 2004 9:45 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] FW: photo editing All NT based machines (as far as I know) come with Imaging. It's sort of like paint, but can save as .TIFF files. It also measures in inches (or you can change what you units you want). Should be directly under Accessories in the program menu. FYI, I opened a .gif in it, but it wouldn't let me 'edit' anything until I saved it as a TIFF (or another format). Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, August 30, 2004 9:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FW: photo editing My sister in law is looking for photo editing stuff. If anyone knows of any that fits the description in the message below my sig could you reply directly to me off line or directly to Janice. Thanks, John W. Colby www.ColbyConsulting.com -----Original Message----- From: JMcK110 at aol.com [mailto:JMcK110 at aol.com] Sent: Monday, August 30, 2004 9:00 AM To: jwcolby at colbyconsulting.com Subject: photo editing John: For your type of computer, are you familiar with any non-professional software(not Photoshop) that lets you save photos as tiffs and measure photos in inches rather than pixels? Client is using Microsfot Photo Editor and having lots of trouble with it? Don't do any research on this question. I know you're busy. I'm just looking for off the top of your head answer. Janice -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Thu Sep 2 11:21:55 2004 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 2 Sep 2004 12:21:55 -0400 Subject: [AccessD] Reader for .MSG files. Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F02D08898@xlivmbx21.aig.com> Did a quick Google search and came up with this... http://www.thebeatlesforever.com/processtext/abcoutlk.html > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT > Helps > Sent: Thursday, September 02, 2004 11:12 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Reader for .MSG files. > > Does a simple reader software exist to read, exported from Outlook, .MSG > files? > To read the MSG file without having outlook. > Opening a attachement in that MSG file must also be posible. > > Erwin > > > > > > Erwin Craps > > Zaakvoerder > > www.ithelps.be/jonathan > > > > This E-mail is confidential, may be legally privileged, and is for the > intended recipient only. Access, disclosure, copying, distribution, or > reliance on any of it by anyone else is prohibited and may be a criminal > offence. Please delete if obtained in error and E-mail confirmation to > the sender. > > IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg > > www.ithelps.be * www.boxoffice.be > * www.stadleuven.be > > > IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven > > IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: > Info at ithelps.be > > Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: > Staff at boxoffice.be > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Thu Sep 2 12:04:12 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Thu, 2 Sep 2004 13:04:12 -0400 Subject: [AccessD] Access & AutoCAD Message-ID: ...so I'm guessing I'm the only one in this unique position:((( Mark -----Original Message----- From: Mitsules, Mark Sent: Wednesday, September 01, 2004 5:42 PM To: [AccessD] Subject: [AccessD] Access & AutoCAD Has anyone tackled this combination? There is ONE example in the AutoCAD samples folder. There is ONE book that I found regarding database connectivity (circa 1999). ...and a DISTINCT lack of web-based material as far as I can tell:( I would be most appreciative for pointers towards any of the following: recent books (AutoCAD 2002 or later), web-based tutorials, web-based examples, personal examples, cave paintings...anything. Thanks in advance for any/all information. Mark Conversely, I am willing to pay $40 to anyone willing to take the AutoCAD help files and develop a booklet within the next 2 weeks, including a table of contents, that will allow me to chronologically work my way through a project. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Sep 2 12:30:29 2004 From: john at winhaven.net (John Bartow) Date: Thu, 2 Sep 2004 12:30:29 -0500 Subject: [AccessD] Access & AutoCAD In-Reply-To: Message-ID: Mark, Are you trying to use automation between the two or are you trying to use access as a database for Autocad Attributes? John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 02, 2004 12:04 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access & AutoCAD ...so I'm guessing I'm the only one in this unique position:((( Mark -----Original Message----- From: Mitsules, Mark Sent: Wednesday, September 01, 2004 5:42 PM To: [AccessD] Subject: [AccessD] Access & AutoCAD Has anyone tackled this combination? There is ONE example in the AutoCAD samples folder. There is ONE book that I found regarding database connectivity (circa 1999). ...and a DISTINCT lack of web-based material as far as I can tell:( I would be most appreciative for pointers towards any of the following: recent books (AutoCAD 2002 or later), web-based tutorials, web-based examples, personal examples, cave paintings...anything. Thanks in advance for any/all information. Mark Conversely, I am willing to pay $40 to anyone willing to take the AutoCAD help files and develop a booklet within the next 2 weeks, including a table of contents, that will allow me to chronologically work my way through a project. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sep 2 12:50:59 2004 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 02 Sep 2004 17:50:59 +0000 Subject: [AccessD] Form Resizing Itself Message-ID: I might be mistaken...but I thought if you had multple foms/windows open in Access...and you closed one...the next one to get focus would have the same setting(maximized/restored) as the one that closed...unless you handle it in the events. An easy way to show this...open 2 seperate forms...and maximize each of them...navigating them by using the toolbar/window button. Even maximize the db window...if you close 1...then the next window that has focus will still be maximized...but if you were to click the restore button on the form that had focus...it would restore ALL open forms. I know this happens in A97 and A2K...not sure about xp...and not sure if this behavior is controlled by a setting...or just the way things are. Thanks, Mark A. Matte >From: "Nicholson, Karen" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] Form Resizing Itself >Date: Thu, 2 Sep 2004 11:00:41 -0400 > >I set the border to thin and the same thing happened. Putting the >docmd.maximize on the activate works, but I get the dreaded screen >flicker. Why does Access decide to go ahead and shrink a form size when >another form is opened? Aughghghg. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >chizotz at mchsi.com >Sent: Thursday, September 02, 2004 10:45 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Form Resizing Itself > > >Set the border to a fixed type, that should take care of it. > > > I don't think I have worked in A2K (XP). The funkiest thing is > > happening. I have a frmMainSwitchboard that opens, I do a > > DoCmd.Maximize in the on open event. If I click on a button to open >up > > another form, leaving frmMainSwitchboard open, when I return to > > frmMainSwitchboard it shrinks in size to center itself on the screen. >I > > have all the centering stuff turned off. There is no code that >touches > > this form from the second code. What the? Any ideas, this should be >a > > simple one. > > > > Karen Nicholson > > National Laboratory > > Xerox Global Services > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Thu Sep 2 12:51:28 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Thu, 2 Sep 2004 13:51:28 -0400 Subject: [AccessD] Access & AutoCAD Message-ID: Both. First project is our departmental floor plan which will include ALL of the attributes for personnel and equipment. Later projects will build BOM drawings in AutoCAD dynamically. Concurrently with those, I would like to develop an automation process which monitors a network folder, and when a new drawing is placed there, automatically extract certain drawing attributes, log them into a database, and create a .dwf format version for intranet publication. Mark -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Thursday, September 02, 2004 1:30 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access & AutoCAD Mark, Are you trying to use automation between the two or are you trying to use access as a database for Autocad Attributes? John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 02, 2004 12:04 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access & AutoCAD ...so I'm guessing I'm the only one in this unique position:((( Mark -----Original Message----- From: Mitsules, Mark Sent: Wednesday, September 01, 2004 5:42 PM To: [AccessD] Subject: [AccessD] Access & AutoCAD Has anyone tackled this combination? There is ONE example in the AutoCAD samples folder. There is ONE book that I found regarding database connectivity (circa 1999). ...and a DISTINCT lack of web-based material as far as I can tell:( I would be most appreciative for pointers towards any of the following: recent books (AutoCAD 2002 or later), web-based tutorials, web-based examples, personal examples, cave paintings...anything. Thanks in advance for any/all information. Mark Conversely, I am willing to pay $40 to anyone willing to take the AutoCAD help files and develop a booklet within the next 2 weeks, including a table of contents, that will allow me to chronologically work my way through a project. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sep 2 12:58:05 2004 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 02 Sep 2004 17:58:05 +0000 Subject: [AccessD] Required Field in Function Message-ID: Just a thought...but could you code the db to import the excel file 'as is' each time...and then prompt your user to fill the nulls locally? Thanks, Mark A. Matte >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] Required Field in Function >Date: Thu, 2 Sep 2004 08:57:07 -0700 > >Try testing for a zero length as well. > >Charlotte Foust > > >-----Original Message----- >From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] >Sent: Thursday, September 02, 2004 8:48 AM >To: nlytle at swales.com; accessd at databaseadvisors.com >Subject: RE: [AccessD] Required Field in Function > > >The strangest thing is happening. > >I created a query with the linked Excel table xlsBPS and set the >criteria to show AssetID = IsNull. I added the DCount to the function >and ran it. > >What is strange, when I first created the query and ran the query, it >showed which record contained the Null AssetID. After running the append >code, it does not show this record - the query is blank. I don't >understand why it isn't picking up the Null AssetID record anymore. If I >look on the spreadsheet or open the linked table, that field is Null. > >Since the query does not show any records containing Null AssetIDs >anymore (even though there is a null record) it runs the append code. > >I also tried having the query open so the user can enter the missing >data. I found out if you enter data into the linked Excel table, it >corrupts the spreadsheet file and gives an error message about not being >in a correct file format. > >-----Original Message----- >From: Nancy Lytle [mailto:nlytle at swales.com] >Sent: Thursday, September 02, 2004 9:59 AM >To: Hollis,Virginia >Subject: RE: [AccessD] Required Field in Function > >I've done similiar things. Anything to control what the user can and >can't do. If the query is being run from a form and you don't want user >in the actual tables then run the IsNull query then open a form you >created based on that query, once thta have completed that you can have >them close or update the recordset and rerun the IsNull and if it >returns 0 records the run the append query. > > >Heres some pseudo code > >If DCount("*", "qryIsNull) >0 then >Open frmDataEntry >Else >Run AppendQuery >End if > >On Open of frmDataEntry >frmDataEntry.recordsourcetype = "table/query" frmDataEntry.recordsource >= "qryIsNull" > >On Close frmDataEntry >Refresh the form to catch all newly entered data >If DCount("*", "qryIsNull) >0 then >"there are still items to correct" >Return them to finish entering >Else >Run AppendQuery >End if > >Nancy > >-----Original Message----- >From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] >Sent: Thursday, September 02, 2004 10:45 AM >To: Nancy Lytle >Subject: RE: [AccessD] Required Field in Function > > >That is fine replying directly, thanks. > >That sounds like a good idea; it would show the user exactly what is >wrong too. I will try to play around with that idea. Have you ever tried >it? > >Va. > >-----Original Message----- >From: Nancy Lytle [mailto:nlytle at swales.com] >Sent: Thursday, September 02, 2004 9:41 AM >To: HollisVJ at pgdp.usec.com >Subject: Re: [AccessD] Required Field in Function > >I couldn't reply on the list so here goes: >I may be off base here but why not have an IsNotNull Criteria in the >append, then a second query to pop up a form for all those where the >field is null? Or do the reverse, have it pop up with all the null >fields, require them to be filled in before the append query can run. >----- Original Message ----- >From: "Hollis,Virginia" >To: >Sent: Thursday, September 02, 2004 9:28 AM >Subject: [AccessD] Required Field in Function > > > > I removed the Cancel = True, added "Else" after the MsgBox, and moved > > the End If to the bottom of the code. But I still receive the RunTime > > Error >424 > > Object Required on the If IsNull ... code. Am I missing something > > else? >What > > would stop the code from running and what is causing the error? > > > > If IsNull(xlsBPS.AssetID) Then > > MsgBox "Asset ID must be completed before downloading" Else > > ....... > > End If > > End If > > > > Virginia ________________________________________________________ > > Virginia > > Your test may well be ok but all you're doinmg is setting Cancel=True; >you > > still carry on and execute the queries. The query execution needs to >be on > > an Else so that it does not run if the IsNull test is True. Setting > > Cancel=True does not stop subsequent code. > > > > -- > > Andy Lacey > > http://www.minstersystems.co.uk > > > > > > > > --------- Original Message -------- > > From: Access Developers discussion and problem solving > databaseadvisors.com > > > > > To: accessD at databaseadvisors.com > > > databaseadvisors.com > > > > > > Subject: [AccessD] Required Field in Function > > Date: 02/09/04 12:45 > > > > > > I have a function (code below) that is used to append data from a > > linked Excel file (xlsBPS). The Excel file is linked to the database > > as a table. There is a column in the Excel file named AssetID - this > > is a required field in the database. Yesterday when the user ran the > > append code the AssetID was blank in one of the records in the xlsBPS > > file. This caused >all > > the records to move up one. For example: > > > > Record 1: AssetID = > > Description: This one > > > > Record 2: AssetID = ABC > > Description: My Name > > > > The results after the append code ran were: > > > > Record 1: AssetID = ABC > > Description: This one > > > > What can I add to the function to check for null fields to ensure the > > AssetID is completed, if not, the code does not run? I tried adding a >check > > (where I added the ***** in the code, but I receive the error, RunTime >424, > > Object Required. > > > > Virginia > > ____________________________________________________________________ > > > > Function AppendBPS() > > > > 'Appends new data from xlsBPS to tblFailure, tblSystemMain, and > > tblFailureTimeSelected. > > > > Beep > > > > Title = "Append new BPS data from Excel" > > > > ' Work Order table import. > > > > Msg = "Your are about to modify data in this database." > > Msg = Msg & " Do you want to continue?" > > DgDef = vbQuestion + vbYesNo + vbDefaultButton1 ' Describe >dialog > > box. > > > > Response = MsgBox(Msg, DgDef, Title) ' Get user response. > > If Response = vbYes Then ' Evaluate response > > > > ******** If IsNull(xlsBPS.AssetID) Then > > ******************************* > > ******* MsgBox "Asset ID must be completed before > > downloading" > > ******** Cancel = True > > ******* End If > > > > DoCmd.SetWarnings False > > > > DoCmd.Echo False, "Appending Data" > > > > DoCmd.Hourglass True > > > > 'Append data to tables > > > > DoCmd.OpenQuery "qry_AppendBPS_tblSystemMain", >acNormal, > > acEdit > > 'Open append query for tblSystemMain > > > > DoCmd.OpenQuery "qry_AppendBPS_tblFailures", > > acNormal, acEdit 'Open append query for tblFailures > > DoCmd.OpenQuery > > "qry_AppendBPS_tblFailureTimeSelected",acNormal, acEdit > > 'Open append query for tblFailureTimeSelected > > DoCmd.Echo False, "Appending new data" > > > > DoCmd.Echo True > > DoCmd.Hourglass False > > > > Beep > > > > MsgBox "All done!" > > > > DoCmd.SetWarnings True > > > > DoCmd.OpenForm "frmSystemFailure", acNormal, > > "qryStatusPending", , acFormEdit, acWindowNormal > > > > Else > > > > ' You chose No or pressed Enter. > > > > End If > > > > End Function > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From James at fcidms.com Thu Sep 2 13:53:52 2004 From: James at fcidms.com (James Barash) Date: Thu, 2 Sep 2004 14:53:52 -0400 Subject: [AccessD] Rotating Excel In-Reply-To: <001101c48fc0$747cdf50$80b3fea9@ColbyM6805> Message-ID: <200409021853.OAA04105@kittybird.bcentralhost.com> John: Excel has a absolute maximum of 256 columns (1 byte of addressing) so you cannot directly export any more than that. You are also limited to 65,536 rows but that shouldn't be an issue. While you could export and transpose 256 columns at a time, you are probably better off doing the whole thing in code: create an excel sheet with 101 columns of text, extract the field names and write them to the first column, then extract and write the 100 rows to the rest of the columns. I have some code that does something like this I've used to create cross-tab reports in excel if you'd like. James Barash -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 31, 2004 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Rotating Excel I need to export data from this big database into Excel. The objective = is to get the FIELD NAMES out with data from about 100 records. I then = need to rotate excel such that the field names are down the left side and the = data for each record runs down vertically, the data for any given field runs across horizontally. Can anyone tell me how to rotate the spreadsheet = such that the field names are down the left side? I assume that the export MUST go out with the field names across the top row, and the data below that. =20 Can anyone tell me how to get the entire 600+ fields out in a single = export? When I try to use dts it works but complains (fails) if I try and export more than about 240 fields. It LOOKS LIKE perhaps the length of the = field names in the first row is confusing Excel. It is telling me I am = exceeding the 1000 column limit (or some such) What I really want to do is export all the columns (about 600) with the field names in the top row, then rotate the whole shootin match. Any assistance on any of this is greatly appreciated. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Thu Sep 2 14:17:16 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 2 Sep 2004 14:17:16 -0500 Subject: [AccessD] Rotating Excel Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677217FEBA@corp-es01.fleetpride.com> One way to do it would be to create a pivot table with the column heading field on the left. It could be created from within Excel linking to the Access table or from within Access using code. Jim Hale -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 31, 2004 8:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Rotating Excel I need to export data from this big database into Excel. The objective = is to get the FIELD NAMES out with data from about 100 records. I then = need to rotate excel such that the field names are down the left side and the = data for each record runs down vertically, the data for any given field runs across horizontally. Can anyone tell me how to rotate the spreadsheet = such that the field names are down the left side? I assume that the export MUST go out with the field names across the top row, and the data below that. =20 Can anyone tell me how to get the entire 600+ fields out in a single = export? When I try to use dts it works but complains (fails) if I try and export more than about 240 fields. It LOOKS LIKE perhaps the length of the = field names in the first row is confusing Excel. It is telling me I am = exceeding the 1000 column limit (or some such) What I really want to do is export all the columns (about 600) with the field names in the top row, then rotate the whole shootin match. Any assistance on any of this is greatly appreciated. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Thu Sep 2 14:53:31 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Thu, 2 Sep 2004 14:53:31 -0500 Subject: [AccessD] FW: photo editing Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB328@main2.marlow.com> I think your right. I know it was in NT 4.0, and I know it's on W2k, didn't know it wasn't on XP. That stinks. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Thursday, September 02, 2004 11:09 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] FW: photo editing Drew, I believe you are talking about Kodak Imaging, which was a nice program. It was available in W2K, but not in WXP. I read somewhere that Kodak and MS has a falling out. I searched MS for information, and was directed to a link which was a third party who provided similar software for about $100/seat. Rats! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Thursday, September 02, 2004 9:45 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] FW: photo editing All NT based machines (as far as I know) come with Imaging. It's sort of like paint, but can save as .TIFF files. It also measures in inches (or you can change what you units you want). Should be directly under Accessories in the program menu. FYI, I opened a .gif in it, but it wouldn't let me 'edit' anything until I saved it as a TIFF (or another format). Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, August 30, 2004 9:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FW: photo editing My sister in law is looking for photo editing stuff. If anyone knows of any that fits the description in the message below my sig could you reply directly to me off line or directly to Janice. Thanks, John W. Colby www.ColbyConsulting.com -----Original Message----- From: JMcK110 at aol.com [mailto:JMcK110 at aol.com] Sent: Monday, August 30, 2004 9:00 AM To: jwcolby at colbyconsulting.com Subject: photo editing John: For your type of computer, are you familiar with any non-professional software(not Photoshop) that lets you save photos as tiffs and measure photos in inches rather than pixels? Client is using Microsfot Photo Editor and having lots of trouble with it? Don't do any research on this question. I know you're busy. I'm just looking for off the top of your head answer. Janice -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sep 2 16:22:39 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 02 Sep 2004 14:22:39 -0700 Subject: [AccessD] The Very very big DB In-Reply-To: <002c01c490a0$40f98d00$80b3fea9@ColbyM6805> Message-ID: Hi John: I have sent along your problem(s) to a friend who has some extensive work in various SQL DBS to see if he had any comments. He found the whole scenario very intriguing and then sent this email: With the OLAP layout, are we looking at a central table with basic person info (pivot table) surrounded by a bunch of "fact tables", as follows? /* the "pivot" table */ person person_id person_name (maybe a few more fundamental attributes) /* the "fact" tables (possibly hundreds of these) */ address person_id street city zip_code etc. education person_id highest_level_reached specialty etc. etc. (ad nauseum) Or, is our friend planning to put it all in one table with 600 columns? Either way, I would be interested in trying the following, which is close to what I was doing in Calgary. I am not quite sure how well the server will handle it, but it does offer some advantages: /* pivot table */ person person_id person_name info_tags info_tag /* primary key, e.g., "address", "phone number", "edu_highest_level" etc. */ info_description /* a long description for the tag */ is_required /* whether this is a required or optional tag */ info_class /* text, number, money etc (for use with validation and display stuff) */ etc. /* fact table */ person_info person_id /* foreign key -> person */ info_tag /* foreign key -> info_tags */ info /* the actual info, stored as a general type (I forget what this is called in SQL server) */ Notice a few things about this design: - There is only one fact table. This is both a blessing and a curse. The blessing: - It can be sparsely populated; only the attributes that apply to a given person need be filled in. No nulls to deal with. - New tags can be added on the fly, because they are simply metadata. - very simple to understand the schema, and to query for any combination of tags your heart desires. - a max of three indexes required on the fact table; one of these can be a clustered index. The curse: - the table is humungous: potentially, 60 million x 600 = 36 billion records. This will make for some pretty slow index builds, and painfully slow table scans. The key to success will be queries that avoid table scans. BTW, the potential benefits of using Cache to do this would be many: the resulting data compression and much easier index management, along with a big increase in speed. Very easy distribution across multiple physical databases and processors. As for the cost, it depends on the number of access seats that are required. I was surprised at how reasonably priced these guys are. In many situations, they are way cheaper than SQL server. When we spoke to them, we were going to get licences at $US200 per seat. There enterprise licence was $US500 / seat. This included full networking of multiple databases - much easier to do than with SQL server. At the end of the day, especially if you consider the hardware and screwing-around costs, much cheaper than SQL server... Hope this provides some useful information. Jim From martyconnelly at shaw.ca Thu Sep 2 19:10:07 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 02 Sep 2004 17:10:07 -0700 Subject: [AccessD] A2K3 Import does not work References: <46B976F2B698FF46A4FE7636509B22DF0ADB68@stekelbes.ithelps.local> Message-ID: <4137B65F.4010408@shaw.ca> Works fine for me with either csv or txt extension Are you sure you are highlighting filename before clicking import It even works if you doubleclick on filename. Maybe text driver is not installed. Erwin Craps - IT Helps wrote: >In Access 2003 to import a txt file (CSV) > >File >Import > change to TXT file > select file and open >Nothing happens. I just come back to the database window. >No error, no import, no nothing!! > >Same thing in A2K2 (XP) works fine.... > > > > > >Erwin Craps > >Zaakvoerder > >www.ithelps.be/jonathan > > > >This E-mail is confidential, may be legally privileged, and is for the >intended recipient only. Access, disclosure, copying, distribution, or >reliance on any of it by anyone else is prohibited and may be a criminal >offence. Please delete if obtained in error and E-mail confirmation to >the sender. > >IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg > >www.ithelps.be * www.boxoffice.be > * www.stadleuven.be > > >IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven > >IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: >Info at ithelps.be > >Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: >Staff at boxoffice.be > > > > -- Marty Connelly Victoria, B.C. Canada From john at winhaven.net Thu Sep 2 23:01:10 2004 From: john at winhaven.net (John Bartow) Date: Thu, 2 Sep 2004 23:01:10 -0500 Subject: [AccessD] Access & AutoCAD In-Reply-To: Message-ID: Mark, I'm assuming, you are probably being driven by another department which already has or has decided to use AutoCad. If not have you considered doing this with Visio? I've seen similar building/equipment projects done iwth Visio automation. Sorry I can't be of any help on this - the scope of it is far beyond my experience with AutoCad. What I do know is that this will project take a lot of enthusiam, time, endurance and patience - Good Luck! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 02, 2004 12:51 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access & AutoCAD Both. First project is our departmental floor plan which will include ALL of the attributes for personnel and equipment. Later projects will build BOM drawings in AutoCAD dynamically. Concurrently with those, I would like to develop an automation process which monitors a network folder, and when a new drawing is placed there, automatically extract certain drawing attributes, log them into a database, and create a .dwf format version for intranet publication. Mark -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Thursday, September 02, 2004 1:30 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access & AutoCAD Mark, Are you trying to use automation between the two or are you trying to use access as a database for Autocad Attributes? John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 02, 2004 12:04 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access & AutoCAD ...so I'm guessing I'm the only one in this unique position:((( Mark -----Original Message----- From: Mitsules, Mark Sent: Wednesday, September 01, 2004 5:42 PM To: [AccessD] Subject: [AccessD] Access & AutoCAD Has anyone tackled this combination? There is ONE example in the AutoCAD samples folder. There is ONE book that I found regarding database connectivity (circa 1999). ...and a DISTINCT lack of web-based material as far as I can tell:( I would be most appreciative for pointers towards any of the following: recent books (AutoCAD 2002 or later), web-based tutorials, web-based examples, personal examples, cave paintings...anything. Thanks in advance for any/all information. Mark Conversely, I am willing to pay $40 to anyone willing to take the AutoCAD help files and develop a booklet within the next 2 weeks, including a table of contents, that will allow me to chronologically work my way through a project. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Fri Sep 3 01:40:09 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Fri, 3 Sep 2004 08:40:09 +0200 Subject: [AccessD] Reader for .MSG files. Message-ID: <46B976F2B698FF46A4FE7636509B22DF0ADB6F@stekelbes.ithelps.local> Well thats an E-mail client... The problem is that the company is not allowed to install another E-mail client than Notes. And it really must be a simple viewer like The Access Snapshot viewer (for example). Just by doubleclicking on the .MSG file the content must displayed and the Excel file in the .MSG file can be opened directly like in outlook... But thx anyway Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, September 02, 2004 5:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Reader for .MSG files. Hi Erwin "The Bat!" from RitLabs can import msg and eml files. /gustav > Does a simple reader software exist to read, exported from Outlook, > .MSG files? > To read the MSG file without having outlook. > Opening a attachement in that MSG file must also be posible. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Thu Sep 2 10:11:34 2004 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 2 Sep 2004 11:11:34 -0400 Subject: [AccessD] Form Resizing Itself Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F02D08894@xlivmbx21.aig.com> This happens in all versions of access and indeed all MDI applications. If you want to keep the first form maximized either issue a DomCmd.Mazimize in the form's Activate event or open the other forms in pop-up mode. Lambert > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen > Sent: Thursday, September 02, 2004 10:09 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Form Resizing Itself > > I don't think I have worked in A2K (XP). The funkiest thing is > happening. I have a frmMainSwitchboard that opens, I do a > DoCmd.Maximize in the on open event. If I click on a button to open up > another form, leaving frmMainSwitchboard open, when I return to > frmMainSwitchboard it shrinks in size to center itself on the screen. I > have all the centering stuff turned off. There is no code that touches > this form from the second code. What the? Any ideas, this should be a > simple one. > > Karen Nicholson > National Laboratory > Xerox Global Services > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From thevigil at kabelfoon.nl Fri Sep 3 03:32:44 2004 From: thevigil at kabelfoon.nl (Bert-Jan Brinkhuis) Date: Fri, 3 Sep 2004 10:32:44 +0200 Subject: [AccessD] Columns with composite data References: <9C382E065F54AE48BC3AA7925DCBB01C0103E29C@karta-exc-int.Karta.com> Message-ID: <00d601c49190$9c7a5ec0$3f412d3e@jester> Hi Jim, you have probably tried this, but you didn't mention it (and i didn't test if it is working for you!) but have you tried a page footer? Or maybe a group footer? HTH Bert-Jan ----- Original Message ----- From: "Jim Hewson" To: "AccessD" Sent: Tuesday, August 31, 2004 5:15 PM Subject: [AccessD] Columns with composite data Just curious if anyone has done this before. I created a report with four columns. The columns run down, then across. The fourth column of page 3 is about half way down the page in length. Is it possible to use the remainder of the column space for a composite data? E.g. total number of records or something similar. If put in the Report footer, a new page is generated. I currently put such information in the Report Header. Thanks, Jim ---------------------------------------------------------------------------- ---- > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Erwin.Craps at ithelps.be Fri Sep 3 04:38:34 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Fri, 3 Sep 2004 11:38:34 +0200 Subject: [AccessD] A2K3 Import does not work Message-ID: <46B976F2B698FF46A4FE7636509B22DF0ADB73@stekelbes.ithelps.local> Yeah I'm sure. Select file, click open. The first time I see in the status bar "preparing import wizards" (translated from dutch) very fast disapearing and nothing happens, I'm back in the database window. XLS files don't work neither. MDB works, dont know for others type. I do have A2K, A2K2 and A2K3 on my computer... Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, September 03, 2004 2:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K3 Import does not work Works fine for me with either csv or txt extension Are you sure you are highlighting filename before clicking import It even works if you doubleclick on filename. Maybe text driver is not installed. Erwin Craps - IT Helps wrote: >In Access 2003 to import a txt file (CSV) > >File >Import > change to TXT file > select file and open Nothing >happens. I just come back to the database window. >No error, no import, no nothing!! > >Same thing in A2K2 (XP) works fine.... > > > > > >Erwin Craps > >Zaakvoerder > >www.ithelps.be/jonathan > > > >This E-mail is confidential, may be legally privileged, and is for the >intended recipient only. Access, disclosure, copying, distribution, or >reliance on any of it by anyone else is prohibited and may be a >criminal offence. Please delete if obtained in error and E-mail >confirmation to the sender. > >IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg > >www.ithelps.be * www.boxoffice.be > * www.stadleuven.be > > >IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven > >IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: >Info at ithelps.be > >Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: >Staff at boxoffice.be > > > > -- Marty Connelly Victoria, B.C. Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Fri Sep 3 06:09:05 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 3 Sep 2004 07:09:05 -0400 Subject: [AccessD] Form Resizing Itself Message-ID: I do issue a docmd.maximize on both the on open and activate for the first switchboard form. When a button is clicked to open the next form, also in maximized state, the switchboard resizes itself, so when I return it is small - until I put the on activate maximize. I don't like the momentary flicker that occurs as the first form re-maximizes. But, I suppose that is life? I don't remember Access doing this before. It has been about a year and a half since I worked in Access, though. And I am so happy to be back having fun. Spent a year and a half doing SQL development. This database is front end Access and back end SQL. Someday to be upped to VB.net/ASP.net after I get the design fixed, which should take a few months. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, September 02, 2004 11:12 AM To: 'Access Developers discussion and problem solving'; Nicholson, Karen Subject: RE: [AccessD] Form Resizing Itself This happens in all versions of access and indeed all MDI applications. If you want to keep the first form maximized either issue a DomCmd.Mazimize in the form's Activate event or open the other forms in pop-up mode. Lambert > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen > Sent: Thursday, September 02, 2004 10:09 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Form Resizing Itself > > I don't think I have worked in A2K (XP). The funkiest thing is > happening. I have a frmMainSwitchboard that opens, I do a > DoCmd.Maximize in the on open event. If I click on a button to open up > another form, leaving frmMainSwitchboard open, when I return to > frmMainSwitchboard it shrinks in size to center itself on the screen. I > have all the centering stuff turned off. There is no code that touches > this form from the second code. What the? Any ideas, this should be a > simple one. > > Karen Nicholson > National Laboratory > Xerox Global Services > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From awithing at twcny.rr.com Fri Sep 3 06:43:22 2004 From: awithing at twcny.rr.com (augusta withington) Date: Fri, 3 Sep 2004 07:43:22 -0400 Subject: [AccessD] Access & AutoCAD In-Reply-To: Message-ID: <200409031145.i83BjLZw015552@ms-smtp-01.nyroc.rr.com> I remember researching this same question for a client - they wanted to take the drawings they had for the local schools and integrate with a database each room, how lightbulbs, exits -Facilities Management-. . .etc. It was a NYS requirement. There is a different product that AutoDesk makes that addresses this. I think that it is called MapGIde. What also works is ARCView and Microstation. Hth Augusta -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, September 03, 2004 12:01 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access & AutoCAD Mark, I'm assuming, you are probably being driven by another department which already has or has decided to use AutoCad. If not have you considered doing this with Visio? I've seen similar building/equipment projects done iwth Visio automation. Sorry I can't be of any help on this - the scope of it is far beyond my experience with AutoCad. What I do know is that this will project take a lot of enthusiam, time, endurance and patience - Good Luck! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 02, 2004 12:51 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access & AutoCAD Both. First project is our departmental floor plan which will include ALL of the attributes for personnel and equipment. Later projects will build BOM drawings in AutoCAD dynamically. Concurrently with those, I would like to develop an automation process which monitors a network folder, and when a new drawing is placed there, automatically extract certain drawing attributes, log them into a database, and create a .dwf format version for intranet publication. Mark -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Thursday, September 02, 2004 1:30 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access & AutoCAD Mark, Are you trying to use automation between the two or are you trying to use access as a database for Autocad Attributes? John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 02, 2004 12:04 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access & AutoCAD ...so I'm guessing I'm the only one in this unique position:((( Mark -----Original Message----- From: Mitsules, Mark Sent: Wednesday, September 01, 2004 5:42 PM To: [AccessD] Subject: [AccessD] Access & AutoCAD Has anyone tackled this combination? There is ONE example in the AutoCAD samples folder. There is ONE book that I found regarding database connectivity (circa 1999). ...and a DISTINCT lack of web-based material as far as I can tell:( I would be most appreciative for pointers towards any of the following: recent books (AutoCAD 2002 or later), web-based tutorials, web-based examples, personal examples, cave paintings...anything. Thanks in advance for any/all information. Mark Conversely, I am willing to pay $40 to anyone willing to take the AutoCAD help files and develop a booklet within the next 2 weeks, including a table of contents, that will allow me to chronologically work my way through a project. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Fri Sep 3 08:09:53 2004 From: JHewson at karta.com (Jim Hewson) Date: Fri, 3 Sep 2004 08:09:53 -0500 Subject: [AccessD] Columns with composite data Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0103E2D5@karta-exc-int.Karta.com> Bert-Jan, I tried both. The page footer gave me "#error" on each page. The group footer gave me a total for each record. But... that got me to thinking -- after your email, I might add. In the query, I created a field ( CNT: IIf(IsNull(LastName),1,0) ) so all the results would be the same. I then created the group footer using the name of the new field. It worked! I now have the Total at the bottom of the last column. Thanks. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bert-Jan Brinkhuis Sent: Friday, September 03, 2004 3:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Columns with composite data Hi Jim, you have probably tried this, but you didn't mention it (and i didn't test if it is working for you!) but have you tried a page footer? Or maybe a group footer? HTH Bert-Jan ----- Original Message ----- From: "Jim Hewson" To: "AccessD" Sent: Tuesday, August 31, 2004 5:15 PM Subject: [AccessD] Columns with composite data Just curious if anyone has done this before. I created a report with four columns. The columns run down, then across. The fourth column of page 3 is about half way down the page in length. Is it possible to use the remainder of the column space for a composite data? E.g. total number of records or something similar. If put in the Report footer, a new page is generated. I currently put such information in the Report Header. Thanks, Jim ---------------------------------------------------------------------------- ---- > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Sep 3 10:24:29 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 3 Sep 2004 17:24:29 +0200 Subject: [AccessD] Remote Desktop Connection Client 1.0.2 for Mac OS X In-Reply-To: <6826407592.20040827181338@cactus.dk> References: <6826407592.20040827181338@cactus.dk> Message-ID: <15718612102.20040903172429@cactus.dk> Hi all No comments on this? Looks like an easy way to bring your app to the desktop of a Mac user. /gustav > Anyone having experiences with this, running Access or anything else? > http://www.microsoft.com/mac/downloads.aspx?pid=download&location=/mac/DOWNLOAD/MISC/RDC.xml&secid=80&ssid=9&flgnosysreq=False > If connecting to a Terminal Server what are the licensing for this > for, say, 10 users? What that be a Windows 2003 server with 10 CALs? From john at winhaven.net Fri Sep 3 10:46:39 2004 From: john at winhaven.net (John Bartow) Date: Fri, 3 Sep 2004 10:46:39 -0500 Subject: [AccessD] Access & AutoCAD In-Reply-To: <200409031145.i83BjLZw015552@ms-smtp-01.nyroc.rr.com> Message-ID: Hi Augusta Good point - there are a number of Facility Mgt packages (that ride on top of Microstation and or Autocad) that would probably do this out of the box. We used quite a few add-ons for engineering, surveying, plat mapping, hydrography, etc. All functions that you could build yourself but the time would have been more than the cost of the packages. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of augusta withington Sent: Friday, September 03, 2004 6:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access & AutoCAD I remember researching this same question for a client - they wanted to take the drawings they had for the local schools and integrate with a database each room, how lightbulbs, exits -Facilities Management-. . .etc. It was a NYS requirement. There is a different product that AutoDesk makes that addresses this. I think that it is called MapGIde. What also works is ARCView and Microstation. Hth Augusta -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, September 03, 2004 12:01 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access & AutoCAD Mark, I'm assuming, you are probably being driven by another department which already has or has decided to use AutoCad. If not have you considered doing this with Visio? I've seen similar building/equipment projects done iwth Visio automation. Sorry I can't be of any help on this - the scope of it is far beyond my experience with AutoCad. What I do know is that this will project take a lot of enthusiam, time, endurance and patience - Good Luck! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 02, 2004 12:51 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access & AutoCAD Both. First project is our departmental floor plan which will include ALL of the attributes for personnel and equipment. Later projects will build BOM drawings in AutoCAD dynamically. Concurrently with those, I would like to develop an automation process which monitors a network folder, and when a new drawing is placed there, automatically extract certain drawing attributes, log them into a database, and create a .dwf format version for intranet publication. Mark -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Thursday, September 02, 2004 1:30 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access & AutoCAD Mark, Are you trying to use automation between the two or are you trying to use access as a database for Autocad Attributes? John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 02, 2004 12:04 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access & AutoCAD ...so I'm guessing I'm the only one in this unique position:((( Mark -----Original Message----- From: Mitsules, Mark Sent: Wednesday, September 01, 2004 5:42 PM To: [AccessD] Subject: [AccessD] Access & AutoCAD Has anyone tackled this combination? There is ONE example in the AutoCAD samples folder. There is ONE book that I found regarding database connectivity (circa 1999). ...and a DISTINCT lack of web-based material as far as I can tell:( I would be most appreciative for pointers towards any of the following: recent books (AutoCAD 2002 or later), web-based tutorials, web-based examples, personal examples, cave paintings...anything. Thanks in advance for any/all information. Mark Conversely, I am willing to pay $40 to anyone willing to take the AutoCAD help files and develop a booklet within the next 2 weeks, including a table of contents, that will allow me to chronologically work my way through a project. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 at PStrauss.net Fri Sep 3 12:52:41 2004 From: Paul at PStrauss.net (Paul Strauss) Date: Fri, 03 Sep 2004 13:52:41 -0400 Subject: [AccessD] Form Resizing Itself In-Reply-To: References: Message-ID: <6.1.2.0.2.20040903134839.02239418@mail.pstrauss.net> At 9/3/2004 07:09 AM, you wrote: >I do issue a docmd.maximize on both the on open and activate for the >first switchboard form. When a button is clicked to open the next form, >also in maximized state, the switchboard resizes itself, so when I >return it is small - until I put the on activate maximize. I don't like >the momentary flicker that occurs as the first form re-maximizes. But, >I suppose that is life? ...snip Try enclosing the DoCmd.Maximize in Echo Off/Echo On. This sometimes helps this kind of problem. Regards, Paul Strauss From cyx5 at cdc.gov Fri Sep 3 14:15:48 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 3 Sep 2004 15:15:48 -0400 Subject: [AccessD] VB Menus - Creating Function for Actions? Message-ID: I am coding my custom menus for many forms. From what I have read, it seems that in order to process an .OnAction, one needs to create a function that can be reference inside of, for instance: .Caption = "Tracking Sheet - Approval Applications" .OnAction = "fnOpenTrackingSystemCL" Do I really need to create functions to execute something as simple as: DoCmd.OpenForm "frmTrackingSystemCL", acNormal DoCmd.Maximize (which is in the function fnOpenTrackingSystemCL) Show below is my code for the menu item; there are a few modules associated with this code to make it work, but this is the bulk of it: Sub CreateNewMenuB() Dim strMenuNameB As String Dim cmdNewMenuB As CommandBar Dim cctlFormMenuB As CommandBarControl Dim cctlExitMenuB As CommandBarControl strMenuNameB = "ClosedProjectsMenu" 'If strMenuName exists then deleted it. Commandbars have unique names. 'See global section for fIsCreated If fIsCreated(strMenuNameB) Then Application.CommandBars(strMenuNameB).Delete End If 'Create a new Commandbar as MenuType Set cmdNewMenuB = Application.CommandBars.Add(strMenuNameB, msoBarTop, True, False) With cmdNewMenuB 'Set commandbar protection to no protection so users can change it .Protection = msoBarNoProtection 'Show new menu .Visible = True End With 'Creating Form menu Set cctlFormMenuB = cmdNewMenuB.Controls.Add(msoControlPopup) cctlFormMenuB.Caption = "&File" 'Creating Exit menu under File Set cctlExitMenuB = cctlFormMenuB.Controls.Add(msoControlButton) With cctlExitMenuB .Caption = "R&eturn" .OnAction = "fnQuitApp" .Caption = "Tracking Sheet - Approval Applications" .OnAction = "fnOpenTrackingSystemCL" End With End Sub Karen Nicholson National Laboratory Xerox Global Services From jwcolby at colbyconsulting.com Fri Sep 3 14:31:58 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 03 Sep 2004 15:31:58 -0400 Subject: [AccessD] JIT Forms? In-Reply-To: Message-ID: <000001c491ec$b123a870$80b3fea9@ColbyM6805> Well... The thing to understand is that a control is nothing more than VB code. You can export a form to text and see the vb code used to create it. Thus when you add a control to a form you are literally adding code to the form's module except that you are doing so via the design wizard. You can add code to the module directly, but it has to be in design view. I have never done this, but I know the concept. I have done manipulation of code in the modules before. I would advise looking at the form's vba to see what you need to do. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Thursday, September 02, 2004 11:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT Forms? so the idea is to open the form up in design first add the fields? is that right? thanks, On Tue, 31 Aug 2004 13:47:27 -0400, John W. Colby wrote: > You can do that but only in design view. > > John W. Colby > www.ColbyConsulting.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Tuesday, August 31, 2004 11:46 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] JIT Forms? > > Anyone have a link, or advice on creating controls JIT? > > Access2000 / ADP > I have an unbound form, that I'd like to pass a recordset to and thus > be able to on-the-fly create controls that match the recordset... any > ideas? > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Sep 3 15:00:00 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 3 Sep 2004 13:00:00 -0700 Subject: [AccessD] VB Menus - Creating Function for Actions? Message-ID: Yes. You need to create either functions or macros for custom actions in the menubars. Charlotte -----Original Message----- From: Nicholson, Karen [mailto:cyx5 at cdc.gov] Sent: Friday, September 03, 2004 12:16 PM To: accessd at databaseadvisors.com Subject: [AccessD] VB Menus - Creating Function for Actions? I am coding my custom menus for many forms. From what I have read, it seems that in order to process an .OnAction, one needs to create a function that can be reference inside of, for instance: .Caption = "Tracking Sheet - Approval Applications" .OnAction = "fnOpenTrackingSystemCL" Do I really need to create functions to execute something as simple as: DoCmd.OpenForm "frmTrackingSystemCL", acNormal DoCmd.Maximize (which is in the function fnOpenTrackingSystemCL) Show below is my code for the menu item; there are a few modules associated with this code to make it work, but this is the bulk of it: Sub CreateNewMenuB() Dim strMenuNameB As String Dim cmdNewMenuB As CommandBar Dim cctlFormMenuB As CommandBarControl Dim cctlExitMenuB As CommandBarControl strMenuNameB = "ClosedProjectsMenu" 'If strMenuName exists then deleted it. Commandbars have unique names. 'See global section for fIsCreated If fIsCreated(strMenuNameB) Then Application.CommandBars(strMenuNameB).Delete End If 'Create a new Commandbar as MenuType Set cmdNewMenuB = Application.CommandBars.Add(strMenuNameB, msoBarTop, True, False) With cmdNewMenuB 'Set commandbar protection to no protection so users can change it .Protection = msoBarNoProtection 'Show new menu .Visible = True End With 'Creating Form menu Set cctlFormMenuB = cmdNewMenuB.Controls.Add(msoControlPopup) cctlFormMenuB.Caption = "&File" 'Creating Exit menu under File Set cctlExitMenuB = cctlFormMenuB.Controls.Add(msoControlButton) With cctlExitMenuB .Caption = "R&eturn" .OnAction = "fnQuitApp" .Caption = "Tracking Sheet - Approval Applications" .OnAction = "fnOpenTrackingSystemCL" End With End Sub Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Sep 3 15:03:17 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 3 Sep 2004 13:03:17 -0700 Subject: [AccessD] JIT Forms? Message-ID: Look at the Application.CreateControl method for creating controls from code. If you want code behind that control, you need to add that to the form's module and set the control's named event to "[event procedure]" to connect them. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, September 03, 2004 12:32 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] JIT Forms? Well... The thing to understand is that a control is nothing more than VB code. You can export a form to text and see the vb code used to create it. Thus when you add a control to a form you are literally adding code to the form's module except that you are doing so via the design wizard. You can add code to the module directly, but it has to be in design view. I have never done this, but I know the concept. I have done manipulation of code in the modules before. I would advise looking at the form's vba to see what you need to do. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Thursday, September 02, 2004 11:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT Forms? so the idea is to open the form up in design first add the fields? is that right? thanks, On Tue, 31 Aug 2004 13:47:27 -0400, John W. Colby wrote: > You can do that but only in design view. > > John W. Colby > www.ColbyConsulting.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Tuesday, August 31, 2004 11:46 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] JIT Forms? > > Anyone have a link, or advice on creating controls JIT? > > Access2000 / ADP > I have an unbound form, that I'd like to pass a recordset to and thus > be able to on-the-fly create controls that match the recordset... any > ideas? > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Sep 3 15:00:00 2004 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 3 Sep 2004 15:00:00 -0500 Subject: [AccessD] VB Menus - Creating Function for Actions? In-Reply-To: <14123085.1094239780007.JavaMail.root@sniper7.usinternet.com> Message-ID: <001b01c491f0$9875c4d0$de1811d8@danwaters> Hello Karen, I've only done this once with custom menus, but I did use an argument in the Function. For example, OnAction is =StatusChange("Green") There are three items on the menu, Red, Yellow, and Green. They each call the same Function, but the action is dictated by the argument. In the Function, set up a Select Case scenario, and you've gone from three functions to one. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Friday, September 03, 2004 2:16 PM To: accessd at databaseadvisors.com Subject: [AccessD] VB Menus - Creating Function for Actions? I am coding my custom menus for many forms. From what I have read, it seems that in order to process an .OnAction, one needs to create a function that can be reference inside of, for instance: .Caption = "Tracking Sheet - Approval Applications" .OnAction = "fnOpenTrackingSystemCL" Do I really need to create functions to execute something as simple as: DoCmd.OpenForm "frmTrackingSystemCL", acNormal DoCmd.Maximize (which is in the function fnOpenTrackingSystemCL) Show below is my code for the menu item; there are a few modules associated with this code to make it work, but this is the bulk of it: Sub CreateNewMenuB() Dim strMenuNameB As String Dim cmdNewMenuB As CommandBar Dim cctlFormMenuB As CommandBarControl Dim cctlExitMenuB As CommandBarControl strMenuNameB = "ClosedProjectsMenu" 'If strMenuName exists then deleted it. Commandbars have unique names. 'See global section for fIsCreated If fIsCreated(strMenuNameB) Then Application.CommandBars(strMenuNameB).Delete End If 'Create a new Commandbar as MenuType Set cmdNewMenuB = Application.CommandBars.Add(strMenuNameB, msoBarTop, True, False) With cmdNewMenuB 'Set commandbar protection to no protection so users can change it .Protection = msoBarNoProtection 'Show new menu .Visible = True End With 'Creating Form menu Set cctlFormMenuB = cmdNewMenuB.Controls.Add(msoControlPopup) cctlFormMenuB.Caption = "&File" 'Creating Exit menu under File Set cctlExitMenuB = cctlFormMenuB.Controls.Add(msoControlButton) With cctlExitMenuB .Caption = "R&eturn" .OnAction = "fnQuitApp" .Caption = "Tracking Sheet - Approval Applications" .OnAction = "fnOpenTrackingSystemCL" End With End Sub Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at adelphia.net Fri Sep 3 15:07:53 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Fri, 3 Sep 2004 16:07:53 -0400 Subject: [AccessD] VB Menus - Creating Function for Actions? In-Reply-To: Message-ID: <000001c491f1$b2cfdf90$cb0ba845@hargrove.internal> I'm afraid so. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Friday, September 03, 2004 3:16 PM To: accessd at databaseadvisors.com Subject: [AccessD] VB Menus - Creating Function for Actions? I am coding my custom menus for many forms. From what I have read, it seems that in order to process an .OnAction, one needs to create a function that can be reference inside of, for instance: .Caption = "Tracking Sheet - Approval Applications" .OnAction = "fnOpenTrackingSystemCL" Do I really need to create functions to execute something as simple as: DoCmd.OpenForm "frmTrackingSystemCL", acNormal DoCmd.Maximize (which is in the function fnOpenTrackingSystemCL) Show below is my code for the menu item; there are a few modules associated with this code to make it work, but this is the bulk of it: Sub CreateNewMenuB() Dim strMenuNameB As String Dim cmdNewMenuB As CommandBar Dim cctlFormMenuB As CommandBarControl Dim cctlExitMenuB As CommandBarControl strMenuNameB = "ClosedProjectsMenu" 'If strMenuName exists then deleted it. Commandbars have unique names. 'See global section for fIsCreated If fIsCreated(strMenuNameB) Then Application.CommandBars(strMenuNameB).Delete End If 'Create a new Commandbar as MenuType Set cmdNewMenuB = Application.CommandBars.Add(strMenuNameB, msoBarTop, True, False) With cmdNewMenuB 'Set commandbar protection to no protection so users can change it .Protection = msoBarNoProtection 'Show new menu .Visible = True End With 'Creating Form menu Set cctlFormMenuB = cmdNewMenuB.Controls.Add(msoControlPopup) cctlFormMenuB.Caption = "&File" 'Creating Exit menu under File Set cctlExitMenuB = cctlFormMenuB.Controls.Add(msoControlButton) With cctlExitMenuB .Caption = "R&eturn" .OnAction = "fnQuitApp" .Caption = "Tracking Sheet - Approval Applications" .OnAction = "fnOpenTrackingSystemCL" End With End Sub Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Fri Sep 3 16:04:53 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Fri, 3 Sep 2004 14:04:53 -0700 Subject: [AccessD] JIT Forms? In-Reply-To: References: Message-ID: Thanks for the tip... I suppose this is something could not be done in an MDE/ADE environment if it requires that the form be opened in Design view... On Fri, 3 Sep 2004 13:03:17 -0700, Charlotte Foust wrote: > Look at the Application.CreateControl method for creating controls from > code. If you want code behind that control, you need to add that to the > form's module and set the control's named event to "[event procedure]" > to connect them. > > Charlotte Foust > > > > > -----Original Message----- > From: John W. Colby [mailto:jwcolby at colbyconsulting.com] > Sent: Friday, September 03, 2004 12:32 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] JIT Forms? > > Well... The thing to understand is that a control is nothing more than > VB code. You can export a form to text and see the vb code used to > create it. Thus when you add a control to a form you are literally > adding code to the form's module except that you are doing so via the > design wizard. You can add code to the module directly, but it has to > be in design view. > > I have never done this, but I know the concept. I have done > manipulation of code in the modules before. I would advise looking at > the form's vba to see what you need to do. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Thursday, September 02, 2004 11:47 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] JIT Forms? > > so the idea is to open the form up in design first add the fields? is > that right? > > thanks, > > On Tue, 31 Aug 2004 13:47:27 -0400, John W. Colby > wrote: > > You can do that but only in design view. > > > > John W. Colby > > www.ColbyConsulting.com > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > > Tapia > > Sent: Tuesday, August 31, 2004 11:46 AM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] JIT Forms? > > > > Anyone have a link, or advice on creating controls JIT? > > > > Access2000 / ADP > > I have an unbound form, that I'd like to pass a recordset to and thus > > be able to on-the-fly create controls that match the recordset... any > > ideas? > > > > -- > > -Francisco > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From jwcolby at colbyconsulting.com Fri Sep 3 16:12:32 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 03 Sep 2004 17:12:32 -0400 Subject: [AccessD] JIT Forms? In-Reply-To: Message-ID: <000301c491fa$be80cc60$80b3fea9@ColbyM6805> Charlotte, Do you know if this works at runtime or only at design time? John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, September 03, 2004 4:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] JIT Forms? Look at the Application.CreateControl method for creating controls from code. If you want code behind that control, you need to add that to the form's module and set the control's named event to "[event procedure]" to connect them. Charlotte Foust From Lambert.Heenan at aig.com Wed Sep 1 15:57:50 2004 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Wed, 1 Sep 2004 16:57:50 -0400 Subject: [AccessD] Prompt after Form loads Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F02D0888E@xlivmbx21.aig.com> The Activate event should do the trick, you just need to keep tack of how many times it fires. I just tried this out with a form/subform setup, and the following code seems to work just fine Private Sub Form_Activate() Static lngLoaded As Long lngLoaded = lngLoaded + 1 DoEvents If lngLoaded > 1 Then MsgBox "Hello " End Sub The DoEvents does not seem to be necessary, but I thought I'd put it in anyway. What I found was that the entire form and subform was displayed with the exception of some controls on the form which have statements like this... =Count([cFaceAmount]) ... in their control source property. This was Access 97 Lambert > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia > Sent: Wednesday, September 01, 2004 3:04 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Prompt after Form loads > > I know but if I use the OnCurrent Event, it fires before the form is > even drawn up on the screen, I have code in the Form_Load event, and > added a simple "TEST" messagebox to the OnCurrent Event, and found > that it does not FIRE after the form is visible, instead the user will > be prompted IF they want to OverRide data w/ Defaults before they can > read the data, the Timmer control helps to avoid this.... :( > > The code in the Form_Load Event opens recordsets to load into the > primary form, calls a subform and listbox to load. When it ends, I'd > figure that the form would display but it does not. OnCurrent and > OnActivate also fire before the form is visible... so it appears that > the only solution is to leave this on the OnTimer event. > > On Wed, 1 Sep 2004 19:59:41 +0200, Gustav Brock wrote: > > Hi Francisco > > > > It's not quite the same. > > The counter counts to one, then runs your code. > > No Timer fiddling. > > > > /gustav > > > > > > > > > > > just the same I did it as a boolean static > > > > > so > > > Static blnINIT As Boolean > > > IF blnINIT = FALSE then > > > > > > blnINIT = TRUE > > > Endif > > > > > On Wed, 1 Sep 2004 19:11:43 +0200, Gustav Brock > wrote: > > >> Hi Francisco > > >> > > >> > Why a counter? > > >> > > >> Form loads => 1 > > >> Form hits current first time => 2 > > >> > > >> So: > > >> > > >> If lngCounter = 2 then > > >> > > >> End If > > >> lngCounter = lngCounter + 1 > > >> > > >> /gustav > > >> > > >> >> But replace the Boolean with a counter: one, two ... > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Fri Sep 3 19:05:51 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 04 Sep 2004 10:05:51 +1000 Subject: [AccessD] Reader for .MSG files. In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF0ADB6F@stekelbes.ithelps.local> Message-ID: <4139937F.2086.1CF024@lexacorp.com.pg> On 3 Sep 2004 at 8:40, Erwin Craps - IT Helps wrote: > And it really must be a simple viewer like The Access Snapshot viewer > (for example). > Just by doubleclicking on the .MSG file the content must displayed and > the Excel file in the .MSG file can be opened directly like in > outlook... > Take a look at http://www.priasoft.com/products_msg_v.asp "MSG File Viewer is a convenient application for opening MSG files and reading, printing, or viewing the attachments within. MSG Viewer also has a lightning fast search utility to allow you to find MSG files that meet specific attributes and then open them in the Viewer." -- Stuart From cfoust at infostatsystems.com Fri Sep 3 19:09:00 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 3 Sep 2004 17:09:00 -0700 Subject: [AccessD] JIT Forms? Message-ID: Nope. I've used it in a development environment to build survey forms, but I can't imagine a way to do it in an MDE/ADE. Charlotte Foust -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Friday, September 03, 2004 2:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT Forms? Thanks for the tip... I suppose this is something could not be done in an MDE/ADE environment if it requires that the form be opened in Design view... On Fri, 3 Sep 2004 13:03:17 -0700, Charlotte Foust wrote: > Look at the Application.CreateControl method for creating controls > from code. If you want code behind that control, you need to add that > to the form's module and set the control's named event to "[event > procedure]" to connect them. > > Charlotte Foust > > > > > -----Original Message----- > From: John W. Colby [mailto:jwcolby at colbyconsulting.com] > Sent: Friday, September 03, 2004 12:32 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] JIT Forms? > > Well... The thing to understand is that a control is nothing more than > VB code. You can export a form to text and see the vb code used to > create it. Thus when you add a control to a form you are literally > adding code to the form's module except that you are doing so via the > design wizard. You can add code to the module directly, but it has to > be in design view. > > I have never done this, but I know the concept. I have done > manipulation of code in the modules before. I would advise looking at > the form's vba to see what you need to do. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Thursday, September 02, 2004 11:47 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] JIT Forms? > > so the idea is to open the form up in design first add the fields? is > that right? > > thanks, > > On Tue, 31 Aug 2004 13:47:27 -0400, John W. Colby > wrote: > > You can do that but only in design view. > > > > John W. Colby > > www.ColbyConsulting.com > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > > Tapia > > Sent: Tuesday, August 31, 2004 11:46 AM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] JIT Forms? > > > > Anyone have a link, or advice on creating controls JIT? > > > > Access2000 / ADP > > I have an unbound form, that I'd like to pass a recordset to and > > thus be able to on-the-fly create controls that match the > > recordset... any ideas? > > > > -- > > -Francisco > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Sep 3 19:09:59 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 3 Sep 2004 17:09:59 -0700 Subject: [AccessD] JIT Forms? Message-ID: I've only used it at design time, so I can't say. I don't suppose it's all that different from changing the paper size at run time. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, September 03, 2004 2:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] JIT Forms? Charlotte, Do you know if this works at runtime or only at design time? John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, September 03, 2004 4:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] JIT Forms? Look at the Application.CreateControl method for creating controls from code. If you want code behind that control, you need to add that to the form's module and set the control's named event to "[event procedure]" to connect them. 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 Fri Sep 3 20:18:05 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 03 Sep 2004 21:18:05 -0400 Subject: [AccessD] OT: 200g hd for $60 After rebate. Message-ID: <000001c4921d$0c9f9b70$80b3fea9@ColbyM6805> http://shop1.outpost.com/product/4008252 John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Fri Sep 3 21:14:40 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 03 Sep 2004 22:14:40 -0400 Subject: [AccessD] XP SP2 Applied Message-ID: <000101c49224$f2ecf530$80b3fea9@ColbyM6805> My Emachines M6805 laptop just applied the XP SP2 with no apparent problems. Had to turn off Windows firewall (again) after the install. John W. Colby www.ColbyConsulting.com From fhtapia at gmail.com Fri Sep 3 22:55:54 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Fri, 3 Sep 2004 20:55:54 -0700 Subject: [AccessD] OT: 200g hd for $60 After rebate. In-Reply-To: <000001c4921d$0c9f9b70$80b3fea9@ColbyM6805> References: <000001c4921d$0c9f9b70$80b3fea9@ColbyM6805> Message-ID: smoking deal!!!! On Fri, 03 Sep 2004 21:18:05 -0400, John W. Colby wrote: > > http://shop1.outpost.com/product/4008252 > > John W. Colby > www.ColbyConsulting.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From Lambert.Heenan at aig.com Wed Sep 1 12:04:09 2004 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Wed, 1 Sep 2004 13:04:09 -0400 Subject: [AccessD] Prompt after Form loads Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F02D0888A@xlivmbx21.aig.com> If you want to be *sure* that the timer event will not fire again then set the timer interval to zero. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia > Sent: Wednesday, September 01, 2004 12:29 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Prompt after Form loads > > On Timmer w/ a static variable is what I ended up using (plus after it > fires I shoot the timer interval to 2hrs (more than enough time) so > it hopefully won't fire again until after their session is done. > > On Wed, 1 Sep 2004 08:41:20 -0700, Francisco Tapia > wrote: > > Just tried it and the OnCurrent event also fires before the form is > > loaded :(, gonna try the OnTimmer... > > > > > > > > On Wed, 1 Sep 2004 08:35:54 -0700, Francisco Tapia > wrote: > > > I will try this option Gustav, thanks :D. > > > > > > btw, Rocky... What I meant by autoload was that in the Form_Load event > > > I have code that loads data to the form. because it was in the > > > form_load event, the prompt was occuring before the user had a chance > > > to see the form. > > > > > > On Wed, 1 Sep 2004 12:34:56 +0200, Gustav Brock > wrote: > > > > Hi Andy and Francisco > > > > > > > > I would suggest OnCurrent. > > > > To prevent multiple prompts, set a static flag: > > > > > > > > Static booIsPrompted As Boolean > > > > > > > > If booIsPrompted = False Then > > > > ' Ask if you user wish to load data. > > > > > > > > booIsPrompted = True > > > > End If > > > > > > -- > > > -Francisco > > > > > > > > > -- > > -Francisco > > > > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From fhtapia at gmail.com Sat Sep 4 00:13:16 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Fri, 3 Sep 2004 22:13:16 -0700 Subject: [AccessD] XP SP2 Applied In-Reply-To: <000101c49224$f2ecf530$80b3fea9@ColbyM6805> References: <000101c49224$f2ecf530$80b3fea9@ColbyM6805> Message-ID: kudos... I always forget to mention to people tho, that in many cases it's always best to turn off all services in order to upgrade the SP just nice... I have a utility that was written by an NT admin Michael Espinola, I use this script (TARS.cmd) for every SP upgrade I need to apply to either Windows 2000 and now XP, since then all SP updates have gone smoothly. if anyone needs a copy of this file, email me off list and I can send it on it's way :) On Fri, 03 Sep 2004 22:14:40 -0400, John W. Colby wrote: > My Emachines M6805 laptop just applied the XP SP2 with no apparent problems. > Had to turn off Windows firewall (again) after the install. > > John W. Colby > www.ColbyConsulting.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From fhtapia at gmail.com Sat Sep 4 01:53:30 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Fri, 3 Sep 2004 23:53:30 -0700 Subject: [AccessD] A2K ideas on Order Entry Message-ID: Brainstorming here: I have a parent form which houses important order entry information such as Billto/Shipto, PO#, SO#, and Notes... along with that I have a listbox (but have been working on a readonly subform datasheet view). Users currently go into a popup window box to add new lineitems to this order. However... I'd like to control where the popup box hovers over... meaning allowing for the subform to be viewable while the popup form is on the screen. This allows ME to refresh the subform to display the newly entered items. now currently while in the popup mode, I've made it so that as soon as one line entry is complete, the form display clears out to allow another entry, and thus all the data entry guy has to do is key in the new qty etc. for his order. but once he is done, I use a keypreview to capture the ESC key to allow them to get out. I thought about what if they could just hit ENTER and when the QTY field is null it should kick him out, but I get a bizzar error on the .OnExit event of the Qty Field. thus I can't exit the form while it's processing or something like that.... any ideas?.. (yeah I realize that its' 12:00am PST but that's when the mind is wandering :D) thanks, -- -Francisco From accessd at shaw.ca Sat Sep 4 00:38:35 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri, 03 Sep 2004 22:38:35 -0700 Subject: [AccessD] XP SP2 Applied In-Reply-To: Message-ID: Hi Francisco: I am not sure what your utility does but if any thing can aid my pending upgrades for XP, it will be very welcomed. Please send a copy off-line at your nearest convenience. TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco Tapia Sent: Friday, September 03, 2004 10:13 PM To: Access Developers discussion and problem solving; Discussion of Hardware and Software issues Subject: Re: [AccessD] XP SP2 Applied kudos... I always forget to mention to people tho, that in many cases it's always best to turn off all services in order to upgrade the SP just nice... I have a utility that was written by an NT admin Michael Espinola, I use this script (TARS.cmd) for every SP upgrade I need to apply to either Windows 2000 and now XP, since then all SP updates have gone smoothly. if anyone needs a copy of this file, email me off list and I can send it on it's way :) On Fri, 03 Sep 2004 22:14:40 -0400, John W. Colby wrote: > My Emachines M6805 laptop just applied the XP SP2 with no apparent problems. > Had to turn off Windows firewall (again) after the install. > > John W. Colby > www.ColbyConsulting.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Sat Sep 4 04:06:41 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat, 4 Sep 2004 10:06:41 +0100 Subject: [AccessD] Form Resizing Itself In-Reply-To: <6.1.2.0.2.20040903134839.02239418@mail.pstrauss.net> Message-ID: <000101c4925e$7e727d30$b274d0d5@minster33c3r25> Karen Try issuing a DoCmd.Maximize before you even open the first form. I find maxmizing the app makes everything behave better thereafter. I do reissue the Max in my menu's OnActivate though as suggested. -- Andy Lacey http://www.minstersystems.co.uk From kost36 at otenet.gr Sat Sep 4 06:03:16 2004 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Sat, 4 Sep 2004 14:03:16 +0300 Subject: [AccessD] Protecting a subform with password References: Message-ID: <001b01c4926e$c8fba790$0100a8c0@KOST36> Hi group, On a main form I use a button which opens a subform. Is it possible to protect the subform asking a password before? Thank's kostas From Paul.Rogers at SummitMedia.co.uk Fri Sep 3 09:01:04 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Fri, 3 Sep 2004 15:01:04 +0100 Subject: [AccessD] Open a form from a different db Message-ID: I need to open a form from another database. I just can't find it in my books. Anyone done this simple thing recently please? Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/2004 From fhtapia at gmail.com Sat Sep 4 10:50:44 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Sat, 4 Sep 2004 08:50:44 -0700 Subject: [AccessD] XP SP2 Applied In-Reply-To: References: Message-ID: it's a .CMD aka bat file, it cycles through your pc's services turning off everything TCP/IP, A/V, FireWall, and anything else that may be running in the background. After you run it your pc would be disconnected from the network, so you should have a copy of the SP update either on the local disk or on CD. Then you can run the SP update, what I've found is that SP installs have never worked so smooth. On Fri, 03 Sep 2004 22:38:35 -0700, Jim Lawrence (AccessD) wrote: > Hi Francisco: > > I am not sure what your utility does but if any thing can aid my pending > upgrades for XP, it will be very welcomed. > > Please send a copy off-line at your nearest convenience. > > TIA > Jim > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco > Tapia > Sent: Friday, September 03, 2004 10:13 PM > To: Access Developers discussion and problem solving; Discussion of > Hardware and Software issues > Subject: Re: [AccessD] XP SP2 Applied > > kudos... I always forget to mention to people tho, that in many cases > it's always best to turn off all services in order to upgrade the SP > just nice... I have a utility that was written by an NT admin Michael > Espinola, I use this script (TARS.cmd) for every SP upgrade I need to > apply to either Windows 2000 and now XP, since then all SP updates > have gone smoothly. if anyone needs a copy of this file, email me off > list and I can send it on it's way :) > > On Fri, 03 Sep 2004 22:14:40 -0400, John W. Colby > wrote: > > My Emachines M6805 laptop just applied the XP SP2 with no apparent > problems. > > Had to turn off Windows firewall (again) after the install. > > > > John W. Colby > > www.ColbyConsulting.com > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From jwcolby at colbyconsulting.com Sat Sep 4 12:17:07 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 04 Sep 2004 13:17:07 -0400 Subject: [AccessD] Can you Raid Message-ID: <000501c492a3$04f7f4e0$80b3fea9@ColbyM6805> Does anyone know if you can use Windows built-in raid capability to set up a raid 1 (mirror) then break the raid and move the mirror to another identical machine as the boot drive? I have a pair of MSI k8n Neo motherboards that I purchased. I have a pair of 80 gb samsung drives in one machine that I have just finished setting up. I need to create an image of that setup and move that image to the other machine. John W. Colby www.ColbyConsulting.com From fhtapia at gmail.com Sat Sep 4 10:58:35 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Sat, 4 Sep 2004 08:58:35 -0700 Subject: [AccessD] Protecting a subform with password In-Reply-To: <001b01c4926e$c8fba790$0100a8c0@KOST36> References: <001b01c4926e$c8fba790$0100a8c0@KOST36> Message-ID: You can build a pwd form where the user can enter this info and upon successful entry allow access to the subform, but I suspect that this kind of deployment will eventually grow tiresome. Typically I create groups, and assing new users to groups... If going w/ full Access Security then of course this makes a ton of sense, but if even if you're going the route of something lightweight, you can hardcode forms to allow only members of rolled-your-own groups. I think it was John Colby who had a sample of a "light weight" security. I think that's what you're looking for. On Sat, 4 Sep 2004 14:03:16 +0300, Kostas Konstantinidis wrote: > Hi group, > > On a main form I use a button which opens a subform. > Is it possible to protect the subform asking a password before? > > Thank's > kostas -- -Francisco From fhtapia at gmail.com Sat Sep 4 11:04:53 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Sat, 4 Sep 2004 09:04:53 -0700 Subject: [AccessD] Remote Desktop Connection Client 1.0.2 for Mac OS X In-Reply-To: <15718612102.20040903172429@cactus.dk> References: <6826407592.20040827181338@cactus.dk> <15718612102.20040903172429@cactus.dk> Message-ID: I currently do not have a need for Mac desktop connectivity... but for all my Windoze system I use UltraVNC, and for Other platforms I use RealVNC. you can google for either... On Fri, 3 Sep 2004 17:24:29 +0200, Gustav Brock wrote: > Hi all > > No comments on this? > Looks like an easy way to bring your app to the desktop of a Mac user. > > /gustav > > > Anyone having experiences with this, running Access or anything else? > > > http://www.microsoft.com/mac/downloads.aspx?pid=download&location=/mac/DOWNLOAD/MISC/RDC.xml&secid=80&ssid=9&flgnosysreq=False > > > If connecting to a Terminal Server what are the licensing for this > > for, say, 10 users? What that be a Windows 2003 server with 10 CALs? > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From jwcolby at colbyconsulting.com Sat Sep 4 12:45:49 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 04 Sep 2004 13:45:49 -0400 Subject: [AccessD] Open a form from a different db In-Reply-To: Message-ID: <000601c492a7$07d5eab0$80b3fea9@ColbyM6805> Paul, One way to do this is to reference the database (set a reference to it), then build a function in the database that opens a form. Now call that function, passing the name of the form to open. Be aware however that if the form is bound it will try to bind to a table in that database, so if your intention is to use that form to display data in the current db you will need to late bind the form. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Rodgers Sent: Friday, September 03, 2004 10:01 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Open a form from a different db I need to open a form from another database. I just can't find it in my books. Anyone done this simple thing recently please? Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/2004 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Sat Sep 4 11:07:51 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Sat, 4 Sep 2004 09:07:51 -0700 Subject: [AccessD] Subform problem with detail section In-Reply-To: <1375769556091B4DAABC159F944CA1BB07A195@bocnte2k4.boc.chevrontexaco.net> References: AcSQVlX8vyoP4CC3TE6pKB/3cipfdgABX7eA <1375769556091B4DAABC159F944CA1BB07A195@bocnte2k4.boc.chevrontexaco.net> Message-ID: Finally... You should have a Linked ID between the Parent Form and the Subform. Typically something like tbl_Orders Field: PKOrderID tbl_SubformTable Field: FKOrderID, PKID the Linked ID would be the OrderID. Checking the properties of the subform, you should see the linked table field to be the OrderID On Wed, 1 Sep 2004 14:43:21 -0500, Kaup, Chester A wrote: > Added the primary key but text boxes and list boxes in the detail > section do not display. > > Chester Kaup > Information Management Technician > IT-MidContinent/MidContinent Business Unit > CTN 8-687-7415 > Outside 432-687-7414 > > No trees were killed in the sending of this message. However a large > number of electrons were terribly inconvenienced. > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Wednesday, September 01, 2004 1:47 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Subform problem with detail section > > It is my opinion, that you should have a PKID of some sort for table you > are adding records, if not a Surrogate Key, then at the very least a > Natural Key. either is bether than NO key :D > > On Wed, 1 Sep 2004 13:26:29 -0500, Kaup, Chester A > wrote: > > So then, is the Data Entry option enabled?, YES > > is the table you're adding records to you have a Primary Key ID? NO > > > > What confuses me is the form works fine as a regular form but does not > > > work correctly when added to another form as a subform. > > > > Thanks for the assistance. > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From fhtapia at gmail.com Sat Sep 4 11:08:30 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Sat, 4 Sep 2004 09:08:30 -0700 Subject: [AccessD] Prompt after Form loads In-Reply-To: <1896904147.20040902103514@cactus.dk> References: <8444881516.20040901205336@cactus.dk> <1896904147.20040902103514@cactus.dk> Message-ID: I will try this solution later... thanks :D On Thu, 2 Sep 2004 10:35:14 +0200, Gustav Brock wrote: > Hi Francisco > > > I tried the counter solution, and it fires before the form is "visible" > > You are right, missed that, but here is how to do this without the > Timer: > > First, create this function in the subform: > > Private Function ShowAtOpen() > > Static booOpened As Boolean > > If booOpened = False Then > ' Replace with your code. > MsgBox "Load?", vbQuestion, "Francisco" > ' Run only once. > booOpened = True > End If > > End Function > > Now, create a textbox in the subform, make it not Visible, and bind it > like this: > > =ShowAtOpen() > > This will pop the code when the form and the sub have been rendered > including controls bound to the recordsource of the form. The only > limitation I can see is, that other controls bound to an expression > (=something()) may have their values retrieved after the firing of > ShowAtOpen. > > /gustav > > > > On Wed, 1 Sep 2004 20:53:36 +0200, Gustav Brock wrote: > >> Hi Francisco > >> > >> > Agreed, I use them as a very last solution. They do CAUSE flickers, > >> > and they interrupt other process as well. Such as adverse behavoirs > >> > when using a combo bx and you find that your dropdown doesn't stay > >> > dropped, because the timer continues to fire off in the background :D > >> > >> Except in this case ... did you try the counter solution? > >> Works excellent here. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From bchacc at san.rr.com Sat Sep 4 12:56:13 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 4 Sep 2004 10:56:13 -0700 Subject: [AccessD] Fw: Action Pack versus Partner Program Message-ID: <008901c492a8$77e4f070$6601a8c0@HAL9002> > Any opinions on the Action Pack versus the Partner program? > > TIA > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > > ----- Original Message ----- > From: "Dixon" > To: "Rocky Smolin - Beach Access Software" > Sent: Saturday, September 04, 2004 10:58 AM > Subject: Re: Fw: ...holy smoly!!! > > > > Rocky, > > The Action Pac contains less stuff and has less obligation and lower > price. Bottom line, I think Action Pac is best for me and the full pac you > are looking at may be best for you. > > > > Action Pac has 5 licenses for: > > Win XP Pro, Office Pro 2003, MapPoint, FrontPage, InfoPath, OneNote, > InfoPath, Project, Publisher, Sharepoint, Visio, VirtualPC. > > And a bunch of servers; SQL2000Standard, LiveCommunications, Exchange, > MobileInformation, Windows2003Standard, Windows2003Web and SmallBusiness. > > It also has tons of sales training material. > > Development tools such as .Net, Visual Studio and other compilers are not > included. > > Price is $300/Year with no limit on continuing subscriptions, quarterly > updates and no obligations to produce anything. > > > > The one you are looking at may be more interesting for you because it > includes the same software plus other systems (Win2K) and .Net and more MSDN > features and you can satisfy the development obligation. Drawbacks are; it > only lasts for two years then reverts to standard pricing. > > > > Dixon. > > > > ======= At 2004-09-03, 22:24:00 you wrote: ======= > > > > >Dixon: > > > > > >This is the Microsoft deal I was looking at. How's this compare to the > > >Action Pack? > > > > > >Rocky > > > > > >----- Original Message ----- > > >From: "William Hindman" > > >To: "'Steven W. Erbach'" > > >Cc: ; ; > > >; ; > > >Sent: Monday, July 26, 2004 10:42 AM > > >Subject: ...holy smoly!!! > > > > > > > > > >http://members.microsoft.com/partner/competency/isvcomp/empower/default.asp > x > > >#P59_3411 > > > > > >....check this out ...a full MSDN Universal Subscription for only > $375.00! > > > > > >....from Microsoft themselves! > > > > > >....that's an incredible price when you consider it includes virtually > every > > >piece of Microsoft software except maybe Flight simulator ...plus umpteen > > >developer aids and CD updates every month ...plus five user licenses. > > > > > >....all you have to do is register as a partner (very easy, no cost) and > > >PROMISE to develop an application for a market of your choice. > > > > > >....and they'll let you do this for two years before moving you up to > regular > > >pricing. > > > > > >William Hindman > > > > > > > > > > > >. > > > > = = = = = = = = = = = = = = = = = = = = > > > > > > > > > > > From accessd at shaw.ca Sat Sep 4 11:58:35 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 04 Sep 2004 09:58:35 -0700 Subject: [AccessD] Access & AutoCAD In-Reply-To: <200409031145.i83BjLZw015552@ms-smtp-01.nyroc.rr.com> Message-ID: Hi Mark: Sorry I am late to this conversation but is not AutoCAD comprised of a group of exposed objects (dlls and ActiveX components) and AutoLISP, a VBA type language. You of course have to be on a station where AutoCAD is installed as well as Access. One friend works in a government mapping office that uses ArcInfo but has a number of translators and automated translation processes, one script used translates AutoCAD DWG files into ArcInfo files and back...all using various built in objects and their properties. I know they have the capabilities to automate the extraction by levels, object types etc.. I imagine anything else would be possible. I think there is a few downloads and samples from some of the companies that work extensively with various government agencies like: http://www.esri.com/. I might be able to get some help but would have to know a specific requirement. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 02, 2004 12:51 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access & AutoCAD Both. First project is our departmental floor plan which will include ALL of the attributes for personnel and equipment. Later projects will build BOM drawings in AutoCAD dynamically. Concurrently with those, I would like to develop an automation process which monitors a network folder, and when a new drawing is placed there, automatically extract certain drawing attributes, log them into a database, and create a .dwf format version for intranet publication. Mark -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Thursday, September 02, 2004 1:30 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access & AutoCAD Mark, Are you trying to use automation between the two or are you trying to use access as a database for Autocad Attributes? John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 02, 2004 12:04 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access & AutoCAD ...so I'm guessing I'm the only one in this unique position:((( Mark -----Original Message----- From: Mitsules, Mark Sent: Wednesday, September 01, 2004 5:42 PM To: [AccessD] Subject: [AccessD] Access & AutoCAD Has anyone tackled this combination? There is ONE example in the AutoCAD samples folder. There is ONE book that I found regarding database connectivity (circa 1999). ...and a DISTINCT lack of web-based material as far as I can tell:( I would be most appreciative for pointers towards any of the following: recent books (AutoCAD 2002 or later), web-based tutorials, web-based examples, personal examples, cave paintings...anything. Thanks in advance for any/all information. Mark Conversely, I am willing to pay $40 to anyone willing to take the AutoCAD help files and develop a booklet within the next 2 weeks, including a table of contents, that will allow me to chronologically work my way through a project. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sep 4 12:59:35 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 04 Sep 2004 13:59:35 -0400 Subject: [AccessD] Protecting a subform with password In-Reply-To: Message-ID: <000701c492a8$f5a68af0$80b3fea9@ColbyM6805> I would suggest a small login form as the db opens, then the db knows who is working in it. Now build a table of "can use" and a function that checks if the logged in user can use. If so then allow the unhide / enable. I do something similar to this with controls that only supervisors should have access to. I have users, groups, GroupUsers, then objects, GroupsCanUseObjects. Of course that is overkill if this is the only object in the db that you need to protect but if there are many of them then it makes sense. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Saturday, September 04, 2004 11:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Protecting a subform with password You can build a pwd form where the user can enter this info and upon successful entry allow access to the subform, but I suspect that this kind of deployment will eventually grow tiresome. Typically I create groups, and assing new users to groups... If going w/ full Access Security then of course this makes a ton of sense, but if even if you're going the route of something lightweight, you can hardcode forms to allow only members of rolled-your-own groups. I think it was John Colby who had a sample of a "light weight" security. I think that's what you're looking for. On Sat, 4 Sep 2004 14:03:16 +0300, Kostas Konstantinidis wrote: > Hi group, > > On a main form I use a button which opens a subform. > Is it possible to protect the subform asking a password before? > > Thank's > kostas -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Sep 4 13:00:56 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 04 Sep 2004 14:00:56 -0400 Subject: [AccessD] Remote Desktop Connection Client 1.0.2 for Mac OS X In-Reply-To: Message-ID: <000801c492a9$24ecbf00$80b3fea9@ColbyM6805> I also use RealVNC. I even used it inside my LAN prior to buying the KMV switch. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Saturday, September 04, 2004 12:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Remote Desktop Connection Client 1.0.2 for Mac OS X I currently do not have a need for Mac desktop connectivity... but for all my Windoze system I use UltraVNC, and for Other platforms I use RealVNC. you can google for either... On Fri, 3 Sep 2004 17:24:29 +0200, Gustav Brock wrote: > Hi all > > No comments on this? > Looks like an easy way to bring your app to the desktop of a Mac user. > > /gustav > > > Anyone having experiences with this, running Access or anything > > else? > > > http://www.microsoft.com/mac/downloads.aspx?pid=download&location=/m > > ac/DOWNLOAD/MISC/RDC.xml&secid=80&ssid=9&flgnosysreq=False > > > If connecting to a Terminal Server what are the licensing for this > > for, say, 10 users? What that be a Windows 2003 server with 10 CALs? > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Sep 4 13:17:58 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 04 Sep 2004 14:17:58 -0400 Subject: [AccessD] Fw: Action Pack versus Partner Program In-Reply-To: <008901c492a8$77e4f070$6601a8c0@HAL9002> Message-ID: <000a01c492ab$84b98470$80b3fea9@ColbyM6805> Rocky AFAICT you have to join the partner program (free) then you are allowed to buy the action pack. I just did so but haven't received the action pack yet. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, September 04, 2004 1:56 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: Action Pack versus Partner Program > Any opinions on the Action Pack versus the Partner program? > > TIA > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > > ----- Original Message ----- > From: "Dixon" > To: "Rocky Smolin - Beach Access Software" > Sent: Saturday, September 04, 2004 10:58 AM > Subject: Re: Fw: ...holy smoly!!! > > > > Rocky, > > The Action Pac contains less stuff and has less obligation and lower > price. Bottom line, I think Action Pac is best for me and the full pac > you are looking at may be best for you. > > > > Action Pac has 5 licenses for: > > Win XP Pro, Office Pro 2003, MapPoint, FrontPage, InfoPath, OneNote, > InfoPath, Project, Publisher, Sharepoint, Visio, VirtualPC. > > And a bunch of servers; SQL2000Standard, LiveCommunications, > > Exchange, > MobileInformation, Windows2003Standard, Windows2003Web and > SmallBusiness. > > It also has tons of sales training material. > > Development tools such as .Net, Visual Studio and other compilers > > are not > included. > > Price is $300/Year with no limit on continuing subscriptions, > > quarterly > updates and no obligations to produce anything. > > > > The one you are looking at may be more interesting for you because > > it > includes the same software plus other systems (Win2K) and .Net and > more MSDN > features and you can satisfy the development obligation. Drawbacks > are; it only lasts for two years then reverts to standard pricing. > > > > Dixon. > > > > ======= At 2004-09-03, 22:24:00 you wrote: ======= > > > > >Dixon: > > > > > >This is the Microsoft deal I was looking at. How's this compare to > > >the Action Pack? > > > > > >Rocky > > > > > >----- Original Message ----- > > >From: "William Hindman" > > >To: "'Steven W. Erbach'" > > >Cc: ; ; > > >; ; > > >Sent: Monday, July 26, 2004 10:42 AM > > >Subject: ...holy smoly!!! > > > > > > > > > >http://members.microsoft.com/partner/competency/isvcomp/empower/default >.asp > x > > >#P59_3411 > > > > > >....check this out ...a full MSDN Universal Subscription for only > $375.00! > > > > > >....from Microsoft themselves! > > > > > >....that's an incredible price when you consider it includes > > >virtually > every > > >piece of Microsoft software except maybe Flight simulator ...plus umpteen > > >developer aids and CD updates every month ...plus five user > > >licenses. > > > > > >....all you have to do is register as a partner (very easy, no > > >cost) and > > >PROMISE to develop an application for a market of your choice. > > > > > >....and they'll let you do this for two years before moving you up > > >to > regular > > >pricing. > > > > > >William Hindman > > > > > > > > > > > >. > > > > = = = = = = = = = = = = = = = = = = = = > > > > > > > > > > > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Sat Sep 4 14:47:28 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Sat, 4 Sep 2004 12:47:28 -0700 Subject: [AccessD] Remote Desktop Connection Client 1.0.2 for Mac OS X In-Reply-To: <000801c492a9$24ecbf00$80b3fea9@ColbyM6805> References: <000801c492a9$24ecbf00$80b3fea9@ColbyM6805> Message-ID: REALvnc is a stable, awesome release, I don't knock it in fact UltraVnc is built on top of existing cores from RealVNC. however, when using ULTRA, you will have much more flexibility and power, such as being able to authenticate via your NT userid, also you can transfer files if you need FTP. and over LAN i've found that coupled together w/ their Video Driver you get much more speed as if you were right in front of the other pc. On Sat, 04 Sep 2004 14:00:56 -0400, John W. Colby wrote: > I also use RealVNC. I even used it inside my LAN prior to buying the KMV > switch. > > John W. Colby > www.ColbyConsulting.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia > Sent: Saturday, September 04, 2004 12:05 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Remote Desktop Connection Client 1.0.2 for Mac OS X > > I currently do not have a need for Mac desktop connectivity... but for all > my Windoze system I use UltraVNC, and for Other platforms I use RealVNC. > > you can google for either... > > On Fri, 3 Sep 2004 17:24:29 +0200, Gustav Brock wrote: > > Hi all > > > > No comments on this? > > Looks like an easy way to bring your app to the desktop of a Mac user. > > > > /gustav > > > > > Anyone having experiences with this, running Access or anything > > > else? > > > > > http://www.microsoft.com/mac/downloads.aspx?pid=download&location=/m > > > ac/DOWNLOAD/MISC/RDC.xml&secid=80&ssid=9&flgnosysreq=False > > > > > If connecting to a Terminal Server what are the licensing for this > > > for, say, 10 users? What that be a Windows 2003 server with 10 CALs? > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From fhtapia at gmail.com Sat Sep 4 14:59:50 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Sat, 4 Sep 2004 12:59:50 -0700 Subject: [AccessD] Can you Raid In-Reply-To: <000501c492a3$04f7f4e0$80b3fea9@ColbyM6805> References: <000501c492a3$04f7f4e0$80b3fea9@ColbyM6805> Message-ID: Never tried it. but if you are building this for your VLDB system, keep in mind that hardware raid is always faster and therefore better than Software Raid. On Sat, 04 Sep 2004 13:17:07 -0400, John W. Colby wrote: > Does anyone know if you can use Windows built-in raid capability to set up a > raid 1 (mirror) then break the raid and move the mirror to another identical > machine as the boot drive? I have a pair of MSI k8n Neo motherboards that I > purchased. I have a pair of 80 gb samsung drives in one machine that I have > just finished setting up. I need to create an image of that setup and move > that image to the other machine. > > John W. Colby > www.ColbyConsulting.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From jwcolby at colbyconsulting.com Sat Sep 4 15:12:16 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 04 Sep 2004 16:12:16 -0400 Subject: [AccessD] Can you Raid In-Reply-To: Message-ID: <000c01c492bb$7d6d20e0$80b3fea9@ColbyM6805> >keep in mind that hardware raid is always faster and therefore better than Software Raid. I am having issues getting ANY (hardware) bootable raid going. I am working with the tech support of the MB manufacturer however I must get a system up and functioning. My intent is NOT to raid the boot drive per se, but rather to create an image of the drive with all software installed, then move that image to another identical machine. I would be using Mirror as a replacement for Norton Ghost or similar software. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Saturday, September 04, 2004 4:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Can you Raid Never tried it. but if you are building this for your VLDB system, keep in mind that hardware raid is always faster and therefore better than Software Raid. On Sat, 04 Sep 2004 13:17:07 -0400, John W. Colby wrote: > Does anyone know if you can use Windows built-in raid capability to > set up a raid 1 (mirror) then break the raid and move the mirror to > another identical machine as the boot drive? I have a pair of MSI k8n > Neo motherboards that I purchased. I have a pair of 80 gb samsung > drives in one machine that I have just finished setting up. I need to > create an image of that setup and move that image to the other > machine. > > John W. Colby > www.ColbyConsulting.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sat Sep 4 14:56:20 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 04 Sep 2004 12:56:20 -0700 Subject: [AccessD] JIT Forms? References: Message-ID: <413A1DE4.4000801@shaw.ca> You can't recompile code in an mde But here is some example code to read code in a Form You can also write code to a form Have a look at http://www.helenfeddema.com Design Schemas accarch76.zip and 77 She modifies existing controls at runtime and adds code. Function ListAllProcsinForms(strModuleName As String) 'Purpose: lists all procedures/functions for given module 'Example: ListAllProcsinForms ("MyForm") Dim mdlF As Form Dim mdl As Module Dim lngCount As Long, lngCountDecl As Long, lngI As Long Dim strProcName As String, astrProcNames() As String Dim intI As Integer, strMsg As String Dim lngR As Long ' Open specified Module object. DoCmd.OpenForm strModuleName,acDesign 'open in design view ' Return reference to Form object. Set mdlF = Forms(strModuleName) ' Return reference to Module object. Set mdl = mdlF.Module ' Count lines in module. lngCount = mdl.CountOfLines ' Count lines in Declaration section in module. lngCountDecl = mdl.CountOfDeclarationLines ' Determine name of first procedure. strProcName = mdl.ProcOfLine(lngCountDecl + 1, lngR) ' Initialize counter variable. intI = 0 ' Redimension array. ReDim Preserve astrProcNames(intI) ' Store name of first procedure in array. astrProcNames(intI) = strProcName ' Determine procedure name for each line after declarations. For lngI = lngCountDecl + 1 To lngCount ' Compare procedure name with ProcOfLine property value. If strProcName <> mdl.ProcOfLine(lngI, lngR) Then ' Increment counter. intI = intI + 1 strProcName = mdl.ProcOfLine(lngI, lngR) ReDim Preserve astrProcNames(intI) ' Assign unique procedure names to array. astrProcNames(intI) = strProcName End If Next lngI strMsg = "Procedures in module '" & strModuleName & "': " _ & vbCrLf & vbCrLf Debug.Print "Procedures in module '" & strModuleName & "': " For intI = 0 To UBound(astrProcNames) strMsg = strMsg & astrProcNames(intI) & vbCrLf 'Print list in debug window: Debug.Print astrProcNames(intI) Next intI ' Dialog box listing all procedures in module. MsgBox strMsg End Function Charlotte Foust wrote: >I've only used it at design time, so I can't say. I don't suppose it's >all that different from changing the paper size at run time. > >Charlotte Foust > > >-----Original Message----- >From: John W. Colby [mailto:jwcolby at colbyconsulting.com] >Sent: Friday, September 03, 2004 2:13 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] JIT Forms? > > >Charlotte, > >Do you know if this works at runtime or only at design time? > >John W. Colby >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: Friday, September 03, 2004 4:03 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] JIT Forms? > > >Look at the Application.CreateControl method for creating controls from >code. If you want code behind that control, you need to add that to the >form's module and set the control's named event to "[event procedure]" >to connect them. > >Charlotte Foust > > > > > -- Marty Connelly Victoria, B.C. Canada From bchacc at san.rr.com Sat Sep 4 15:41:53 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 4 Sep 2004 13:41:53 -0700 Subject: [AccessD] Fw: Action Pack versus Partner Program References: <000a01c492ab$84b98470$80b3fea9@ColbyM6805> Message-ID: <00e201c492bf$9c726cd0$6601a8c0@HAL9002> Es verdad. I was just wondering if the additional stuff you get in the partner program was worth the extra $75. Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Saturday, September 04, 2004 11:17 AM Subject: RE: [AccessD] Fw: Action Pack versus Partner Program > Rocky > > AFAICT you have to join the partner program (free) then you are allowed to > buy the action pack. I just did so but haven't received the action pack > yet. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Saturday, September 04, 2004 1:56 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Fw: Action Pack versus Partner Program > > > > > Any opinions on the Action Pack versus the Partner program? > > > > TIA > > > > Rocky Smolin > > Beach Access Software > > http://www.e-z-mrp.com > > > > > > ----- Original Message ----- > > From: "Dixon" > > To: "Rocky Smolin - Beach Access Software" > > Sent: Saturday, September 04, 2004 10:58 AM > > Subject: Re: Fw: ...holy smoly!!! > > > > > > > Rocky, > > > The Action Pac contains less stuff and has less obligation and > lower > > price. Bottom line, I think Action Pac is best for me and the full pac > > you are looking at may be best for you. > > > > > > Action Pac has 5 licenses for: > > > Win XP Pro, Office Pro 2003, MapPoint, FrontPage, InfoPath, OneNote, > > InfoPath, Project, Publisher, Sharepoint, Visio, VirtualPC. > > > And a bunch of servers; SQL2000Standard, LiveCommunications, > > > Exchange, > > MobileInformation, Windows2003Standard, Windows2003Web and > > SmallBusiness. > > > It also has tons of sales training material. > > > Development tools such as .Net, Visual Studio and other compilers > > > are > not > > included. > > > Price is $300/Year with no limit on continuing subscriptions, > > > quarterly > > updates and no obligations to produce anything. > > > > > > The one you are looking at may be more interesting for you because > > > it > > includes the same software plus other systems (Win2K) and .Net and > > more > MSDN > > features and you can satisfy the development obligation. Drawbacks > > are; it only lasts for two years then reverts to standard pricing. > > > > > > Dixon. > > > > > > ======= At 2004-09-03, 22:24:00 you wrote: ======= > > > > > > >Dixon: > > > > > > > >This is the Microsoft deal I was looking at. How's this compare to > > > >the Action Pack? > > > > > > > >Rocky > > > > > > > >----- Original Message ----- > > > >From: "William Hindman" > > > >To: "'Steven W. Erbach'" > > > >Cc: ; ; > > > >; ; > > > >Sent: Monday, July 26, 2004 10:42 AM > > > >Subject: ...holy smoly!!! > > > > > > > > > > > > > > >http://members.microsoft.com/partner/competency/isvcomp/empower/default > >.asp > > x > > > >#P59_3411 > > > > > > > >....check this out ...a full MSDN Universal Subscription for only > > $375.00! > > > > > > > >....from Microsoft themselves! > > > > > > > >....that's an incredible price when you consider it includes > > > >virtually > > every > > > >piece of Microsoft software except maybe Flight simulator ...plus > umpteen > > > >developer aids and CD updates every month ...plus five user > > > >licenses. > > > > > > > >....all you have to do is register as a partner (very easy, no > > > >cost) > and > > > >PROMISE to develop an application for a market of your choice. > > > > > > > >....and they'll let you do this for two years before moving you up > > > >to > > regular > > > >pricing. > > > > > > > >William Hindman > > > > > > > > > > > > > > > >. > > > > > > = = = = = = = = = = = = = = = = = = = = > > > > > > > > > > > > > > > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Sat Sep 4 15:44:51 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 04 Sep 2004 16:44:51 -0400 Subject: [AccessD] JIT Forms? In-Reply-To: <413A1DE4.4000801@shaw.ca> Message-ID: <000e01c492c0$07dff370$80b3fea9@ColbyM6805> This brings us to the question of "where the heck does Access store this stuff". As you know there is a class (MODULE) behind a form where you can add your own code, but there is an additional "something" where the form controls and stuff resides. I have always wondered where that "something" is (but not enough to do the research). ;-) It is almost as if that stuff were made invisible somehow. If you export a class to a text file there is stuff at the top of the file (properties) that are not visible from the IDE editor when viewing the class. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Saturday, September 04, 2004 3:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT Forms? You can't recompile code in an mde But here is some example code to read code in a Form You can also write code to a form Have a look at http://www.helenfeddema.com Design Schemas accarch76.zip and 77 She modifies existing controls at runtime and adds code. Function ListAllProcsinForms(strModuleName As String) 'Purpose: lists all procedures/functions for given module 'Example: ListAllProcsinForms ("MyForm") Dim mdlF As Form Dim mdl As Module Dim lngCount As Long, lngCountDecl As Long, lngI As Long Dim strProcName As String, astrProcNames() As String Dim intI As Integer, strMsg As String Dim lngR As Long ' Open specified Module object. DoCmd.OpenForm strModuleName,acDesign 'open in design view ' Return reference to Form object. Set mdlF = Forms(strModuleName) ' Return reference to Module object. Set mdl = mdlF.Module ' Count lines in module. lngCount = mdl.CountOfLines ' Count lines in Declaration section in module. lngCountDecl = mdl.CountOfDeclarationLines ' Determine name of first procedure. strProcName = mdl.ProcOfLine(lngCountDecl + 1, lngR) ' Initialize counter variable. intI = 0 ' Redimension array. ReDim Preserve astrProcNames(intI) ' Store name of first procedure in array. astrProcNames(intI) = strProcName ' Determine procedure name for each line after declarations. For lngI = lngCountDecl + 1 To lngCount ' Compare procedure name with ProcOfLine property value. If strProcName <> mdl.ProcOfLine(lngI, lngR) Then ' Increment counter. intI = intI + 1 strProcName = mdl.ProcOfLine(lngI, lngR) ReDim Preserve astrProcNames(intI) ' Assign unique procedure names to array. astrProcNames(intI) = strProcName End If Next lngI strMsg = "Procedures in module '" & strModuleName & "': " _ & vbCrLf & vbCrLf Debug.Print "Procedures in module '" & strModuleName & "': " For intI = 0 To UBound(astrProcNames) strMsg = strMsg & astrProcNames(intI) & vbCrLf 'Print list in debug window: Debug.Print astrProcNames(intI) Next intI ' Dialog box listing all procedures in module. MsgBox strMsg End Function Charlotte Foust wrote: >I've only used it at design time, so I can't say. I don't suppose it's >all that different from changing the paper size at run time. > >Charlotte Foust > > >-----Original Message----- >From: John W. Colby [mailto:jwcolby at colbyconsulting.com] >Sent: Friday, September 03, 2004 2:13 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] JIT Forms? > > >Charlotte, > >Do you know if this works at runtime or only at design time? > >John W. Colby >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: Friday, September 03, 2004 4:03 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] JIT Forms? > > >Look at the Application.CreateControl method for creating controls from >code. If you want code behind that control, you need to add that to >the form's module and set the control's named event to "[event >procedure]" to connect them. > >Charlotte Foust > > > > > -- Marty Connelly Victoria, B.C. Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Sat Sep 4 15:46:37 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Sat, 4 Sep 2004 22:46:37 +0200 Subject: [AccessD] Can you Raid Message-ID: <46B976F2B698FF46A4FE7636509B22DF734C@stekelbes.ithelps.local> I done that with NT4 (windows software mirror). Works perfect with sometimes one exception. The mirror is not always bootable depending on the type of disk. A floppy drive boot disk is a workaround at that moment. Ofcourse you need to respect regular OS rules. If your other machine is other hardware you can get in to trouble... Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens John W. Colby Verzonden: zaterdag 4 september 2004 22:12 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] Can you Raid >keep in mind that hardware raid is always faster and therefore better >than Software Raid. I am having issues getting ANY (hardware) bootable raid going. I am working with the tech support of the MB manufacturer however I must get a system up and functioning. My intent is NOT to raid the boot drive per se, but rather to create an image of the drive with all software installed, then move that image to another identical machine. I would be using Mirror as a replacement for Norton Ghost or similar software. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Saturday, September 04, 2004 4:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Can you Raid Never tried it. but if you are building this for your VLDB system, keep in mind that hardware raid is always faster and therefore better than Software Raid. On Sat, 04 Sep 2004 13:17:07 -0400, John W. Colby wrote: > Does anyone know if you can use Windows built-in raid capability to > set up a raid 1 (mirror) then break the raid and move the mirror to > another identical machine as the boot drive? I have a pair of MSI k8n > Neo motherboards that I purchased. I have a pair of 80 gb samsung > drives in one machine that I have just finished setting up. I need to > create an image of that setup and move that image to the other > machine. > > John W. Colby > www.ColbyConsulting.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat Sep 4 11:25:16 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 04 Sep 2004 09:25:16 -0700 Subject: [AccessD] Protecting a subform with password In-Reply-To: <001b01c4926e$c8fba790$0100a8c0@KOST36> Message-ID: Hi Kostas: Add some code something like the following and the command button that opens the subform will be set appropriately. In the Form Load subroutine Private Sub Form_Load() ' Maybe something like.... if CheckUsername() < 5 then ' Disable command button and make subform invisible. Me.cmbOpenSubForm.Enabled = False Me!MySubform.Form.Visible = False else Me.cmbOpenSubForm.Enabled = True Me!MySubform.Form.Visible = True end if End Sub Private Function CheckUsername() As Integer Dim intSecurityLevel as Integer IntSecurityLevel = 0 ' add code here.... ' In here you would put code that either asks for the username ' and then validates it's level of access against a protected table, ' value or an imbedded list or current users in the Access security ' tables. ' This example checks which security group the ' current user is in then sets the security level. If CurrentUser() = "Admin" Then intSecurityLevel = 5 CheckUsername() = intSecurityLevel End Function This is not a complete answer but hope this starts you on your way. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kostas Konstantinidis Sent: Saturday, September 04, 2004 4:03 AM To: Access Developers discussion and problem solving Subject: [AccessD] Protecting a subform with password Hi group, On a main form I use a button which opens a subform. Is it possible to protect the subform asking a password before? Thank's kostas -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmoss111 at bellsouth.net Sat Sep 4 17:49:12 2004 From: jmoss111 at bellsouth.net (JMoss) Date: Sat, 4 Sep 2004 17:49:12 -0500 Subject: [AccessD] Fw: Action Pack versus Partner Program In-Reply-To: <00e201c492bf$9c726cd0$6601a8c0@HAL9002> Message-ID: You don't really get anything in the Partner program which is free. The Action Pack is $299/yr and the Action Pack Plus is $399/yr. The Plus gets you a subscription of Microsoft bCentral List Builder in addition to what you get in the Action Pack subscription. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, September 04, 2004 3:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fw: Action Pack versus Partner Program Es verdad. I was just wondering if the additional stuff you get in the partner program was worth the extra $75. Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Saturday, September 04, 2004 11:17 AM Subject: RE: [AccessD] Fw: Action Pack versus Partner Program > Rocky > > AFAICT you have to join the partner program (free) then you are allowed to > buy the action pack. I just did so but haven't received the action pack > yet. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Saturday, September 04, 2004 1:56 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Fw: Action Pack versus Partner Program > > > > > Any opinions on the Action Pack versus the Partner program? > > > > TIA > > > > Rocky Smolin > > Beach Access Software > > http://www.e-z-mrp.com > > > > > > ----- Original Message ----- > > From: "Dixon" > > To: "Rocky Smolin - Beach Access Software" > > Sent: Saturday, September 04, 2004 10:58 AM > > Subject: Re: Fw: ...holy smoly!!! > > > > > > > Rocky, > > > The Action Pac contains less stuff and has less obligation and > lower > > price. Bottom line, I think Action Pac is best for me and the full pac > > you are looking at may be best for you. > > > > > > Action Pac has 5 licenses for: > > > Win XP Pro, Office Pro 2003, MapPoint, FrontPage, InfoPath, OneNote, > > InfoPath, Project, Publisher, Sharepoint, Visio, VirtualPC. > > > And a bunch of servers; SQL2000Standard, LiveCommunications, > > > Exchange, > > MobileInformation, Windows2003Standard, Windows2003Web and > > SmallBusiness. > > > It also has tons of sales training material. > > > Development tools such as .Net, Visual Studio and other compilers > > > are > not > > included. > > > Price is $300/Year with no limit on continuing subscriptions, > > > quarterly > > updates and no obligations to produce anything. > > > > > > The one you are looking at may be more interesting for you because > > > it > > includes the same software plus other systems (Win2K) and .Net and > > more > MSDN > > features and you can satisfy the development obligation. Drawbacks > > are; it only lasts for two years then reverts to standard pricing. > > > > > > Dixon. > > > > > > ======= At 2004-09-03, 22:24:00 you wrote: ======= > > > > > > >Dixon: > > > > > > > >This is the Microsoft deal I was looking at. How's this compare to > > > >the Action Pack? > > > > > > > >Rocky > > > > > > > >----- Original Message ----- > > > >From: "William Hindman" > > > >To: "'Steven W. Erbach'" > > > >Cc: ; ; > > > >; ; > > > >Sent: Monday, July 26, 2004 10:42 AM > > > >Subject: ...holy smoly!!! > > > > > > > > > > > > > > >http://members.microsoft.com/partner/competency/isvcomp/empower/default > >.asp > > x > > > >#P59_3411 > > > > > > > >....check this out ...a full MSDN Universal Subscription for only > > $375.00! > > > > > > > >....from Microsoft themselves! > > > > > > > >....that's an incredible price when you consider it includes > > > >virtually > > every > > > >piece of Microsoft software except maybe Flight simulator ...plus > umpteen > > > >developer aids and CD updates every month ...plus five user > > > >licenses. > > > > > > > >....all you have to do is register as a partner (very easy, no > > > >cost) > and > > > >PROMISE to develop an application for a market of your choice. > > > > > > > >....and they'll let you do this for two years before moving you up > > > >to > > regular > > > >pricing. > > > > > > > >William Hindman > > > > > > > > > > > > > > > >. > > > > > > = = = = = = = = = = = = = = = = = = = = > > > > > > > > > > > > > > > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Oleg_123 at xuppa.com Sat Sep 4 18:48:30 2004 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Sat, 4 Sep 2004 19:48:30 -0400 (EDT) Subject: [AccessD] Import columns In-Reply-To: References: Message-ID: <16154.216.223.34.13.1094341710.squirrel@heck.xuppa.com> Hey Group, happy holidays fro those of u in US. I am supposed to count the number of columns and based on the result import the data into a table with month names. The last column always contains December Am I on the right track ? This is what I've done so far --- Private Sub Command1_Click() Dim cnn As ADODB.Connection Dim rst1 As New ADODB.Recordset Dim SQL1 As String, SQL2 As String Dim a As Integer 'number of columns Dim b As Integer Dim Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec Set cnn = CurrentProject.Connection SQL1 = "Select * From Hrsqd" rst1.Open SQL1, cnn, adOpenKeyset, adLockOptimistic, adCmdTableDirect a = rst1.Fields.Count 'number of fields b = a - 2 ' number of month fields If b = 6 Then 'Jul - Dec Do Until rst1.EOF Jul = rst1.Fields(3) Aug = rst1.Fields(4) Sep = rst1.Fields(5) Oct = rst1.Fields(6) Nov = rst1.Fields(7) Dec = rst1.Fields(8) Loop End If If b = 5 Then 'Aug - Dec Do Until rst1.EOF Aug = rst1.Fields(3) Sep = rst1.Fields(4) Oct = rst1.Fields(5) Nov = rst1.Fields(6) Dec = rst1.Fields(7) Loop End If If b = 4 Then 'Sep - Dec Do Until rst1.EOF Sep = rst1.Fields(3) Oct = rst1.Fields(4) Nov = rst1.Fields(5) Dec = rst1.Fields(6) Loop End If rst1.Close SQL2 = "INSERT Into HRSQD_Full (Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec) Values (" & Jan & "," & Feb & "," & Mar & "," & Apr & "," & May & "," & Jun & "," & Jul & "," & Aug & "," & Sep & "," & Oct & "," & Nov & "," & Dec & ")" MsgBox a End Sub ----------------------------------------- Make Money and Find Love at Finally.com http://www.finally.com/?link=webmail From lister at actuarial-files.com Sat Sep 4 18:57:34 2004 From: lister at actuarial-files.com (Ralf Lister) Date: Sat, 04 Sep 2004 23:57:34 -0000 Subject: [AccessD] OpenForm gets cancelled Message-ID: <000001c47a7e$ca728fb0$d8bd3ac8@ralf> Hello all, I have a weird problem: In one of my forms I have coded "DoCmd.Openform "frmForm"". But everytime I try to execute this Code I get the message "Error message 2501 at run time. The action OpenForm was cancelled". Can someone help me out, so I can perform the OpenForm-Command. TIA Saludos Ralf From Jeff at OUTBAKTech.com Sat Sep 4 19:10:44 2004 From: Jeff at OUTBAKTech.com (Jeff Barrows) Date: Sat, 4 Sep 2004 19:10:44 -0500 Subject: [AccessD] Fw: Action Pack versus Partner Program Message-ID: <8DA8776D2F418E46A2A464AC6CE630509341@outbaksrv1.outbaktech.com> The Action Pack renewal is only $199/yr. Jeff Barrows MCP, MCAD, MCSD Outbak Technologies, LLC Racine, WI jeff at outbaktech.com -----Original Message----- From: JMoss [mailto:jmoss111 at bellsouth.net] Sent: Saturday, September 04, 2004 5:49 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: Action Pack versus Partner Program You don't really get anything in the Partner program which is free. The Action Pack is $299/yr and the Action Pack Plus is $399/yr. The Plus gets you a subscription of Microsoft bCentral List Builder in addition to what you get in the Action Pack subscription. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, September 04, 2004 3:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fw: Action Pack versus Partner Program Es verdad. I was just wondering if the additional stuff you get in the partner program was worth the extra $75. Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Saturday, September 04, 2004 11:17 AM Subject: RE: [AccessD] Fw: Action Pack versus Partner Program > Rocky > > AFAICT you have to join the partner program (free) then you are allowed to > buy the action pack. I just did so but haven't received the action pack > yet. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Saturday, September 04, 2004 1:56 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Fw: Action Pack versus Partner Program > > > > > Any opinions on the Action Pack versus the Partner program? > > > > TIA > > > > Rocky Smolin > > Beach Access Software > > http://www.e-z-mrp.com > > > > > > ----- Original Message ----- > > From: "Dixon" > > To: "Rocky Smolin - Beach Access Software" > > Sent: Saturday, September 04, 2004 10:58 AM > > Subject: Re: Fw: ...holy smoly!!! > > > > > > > Rocky, > > > The Action Pac contains less stuff and has less obligation and > lower > > price. Bottom line, I think Action Pac is best for me and the full pac > > you are looking at may be best for you. > > > > > > Action Pac has 5 licenses for: > > > Win XP Pro, Office Pro 2003, MapPoint, FrontPage, InfoPath, OneNote, > > InfoPath, Project, Publisher, Sharepoint, Visio, VirtualPC. > > > And a bunch of servers; SQL2000Standard, LiveCommunications, > > > Exchange, > > MobileInformation, Windows2003Standard, Windows2003Web and > > SmallBusiness. > > > It also has tons of sales training material. > > > Development tools such as .Net, Visual Studio and other compilers > > > are > not > > included. > > > Price is $300/Year with no limit on continuing subscriptions, > > > quarterly > > updates and no obligations to produce anything. > > > > > > The one you are looking at may be more interesting for you because > > > it > > includes the same software plus other systems (Win2K) and .Net and > > more > MSDN > > features and you can satisfy the development obligation. Drawbacks > > are; it only lasts for two years then reverts to standard pricing. > > > > > > Dixon. > > > > > > ======= At 2004-09-03, 22:24:00 you wrote: ======= > > > > > > >Dixon: > > > > > > > >This is the Microsoft deal I was looking at. How's this compare to > > > >the Action Pack? > > > > > > > >Rocky > > > > > > > >----- Original Message ----- > > > >From: "William Hindman" > > > >To: "'Steven W. Erbach'" > > > >Cc: ; ; > > > >; ; > > > >Sent: Monday, July 26, 2004 10:42 AM > > > >Subject: ...holy smoly!!! > > > > > > > > > > > > > > >http://members.microsoft.com/partner/competency/isvcomp/empower/default > >.asp > > x > > > >#P59_3411 > > > > > > > >....check this out ...a full MSDN Universal Subscription for only > > $375.00! > > > > > > > >....from Microsoft themselves! > > > > > > > >....that's an incredible price when you consider it includes > > > >virtually > > every > > > >piece of Microsoft software except maybe Flight simulator ...plus > umpteen > > > >developer aids and CD updates every month ...plus five user > > > >licenses. > > > > > > > >....all you have to do is register as a partner (very easy, no > > > >cost) > and > > > >PROMISE to develop an application for a market of your choice. > > > > > > > >....and they'll let you do this for two years before moving you up > > > >to > > regular > > > >pricing. > > > > > > > >William Hindman > > > > > > > > > > > > > > > >. > > > > > > = = = = = = = = = = = = = = = = = = = = > > > > > > > > > > > > > > > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Sep 4 19:59:50 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 05 Sep 2004 10:59:50 +1000 Subject: [AccessD] Import columns In-Reply-To: <16154.216.223.34.13.1094341710.squirrel@heck.xuppa.com> References: Message-ID: <413AF1A6.26310.4C93E5A@lexacorp.com.pg> On 4 Sep 2004 at 19:48, Oleg_123 at xuppa.com wrote: > Hey Group, happy holidays fro those of u in US. I am supposed to count the > number of columns and based on the result import the data into a table > with month names. The last column always contains December > Am I on the right track ? Sounds like someone wants a homework assignment done for them :-) -- Stuart From bchacc at san.rr.com Sat Sep 4 23:15:24 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 4 Sep 2004 21:15:24 -0700 Subject: [AccessD] OpenForm gets cancelled References: <000001c47a7e$ca728fb0$d8bd3ac8@ralf> Message-ID: <017001c492fe$f80433f0$6601a8c0@HAL9002> Ralf: Sounds like something is going wrong in frmForm. Can you open it in form view from the database container? Can you do a "compile all" without a compile error? Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "Ralf Lister" To: "Access Developers discussion and problem solving" Sent: Wednesday, August 04, 2004 4:51 PM Subject: [AccessD] OpenForm gets cancelled Hello all, I have a weird problem: In one of my forms I have coded "DoCmd.Openform "frmForm"". But everytime I try to execute this Code I get the message "Error message 2501 at run time. The action OpenForm was cancelled". Can someone help me out, so I can perform the OpenForm-Command. TIA Saludos Ralf -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Sep 5 04:22:45 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 5 Sep 2004 11:22:45 +0200 Subject: [AccessD] Remote Desktop Connection Client 1.0.2 for Mac OS X In-Reply-To: References: <6826407592.20040827181338@cactus.dk> <15718612102.20040903172429@cactus.dk> Message-ID: <114417632.20040905112245@cactus.dk> Hi Francisco Remote control is not what I had in mind. A terminal server allows, say, ten users to access your Access app concurrently - and those ten users could be powered by a Macintosh. /gustav > Date: 2004-09-04 18:04 > I currently do not have a need for Mac desktop connectivity... but for > all my Windoze system I use UltraVNC, and for Other platforms I use > RealVNC. > you can google for either... >> No comments on this? >> Looks like an easy way to bring your app to the desktop of a Mac user. >> >> /gustav >> >> > Anyone having experiences with this, running Access or anything else? >> >> > http://www.microsoft.com/mac/downloads.aspx?pid=download&location=/mac/DOWNLOAD/MISC/RDC.xml&secid=80&ssid=9&flgnosysreq=False >> >> > If connecting to a Terminal Server what are the licensing for this >> > for, say, 10 users? What that be a Windows 2003 server with 10 CALs? From Erwin.Craps at ithelps.be Sun Sep 5 04:42:24 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Sun, 5 Sep 2004 11:42:24 +0200 Subject: [AccessD] Reader for .MSG files. Message-ID: <46B976F2B698FF46A4FE7636509B22DF734D@stekelbes.ithelps.local> That seems to be it... No price, no eval. Requested info.. Thx Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Stuart McLachlan Verzonden: zaterdag 4 september 2004 2:06 Aan: Access Developers discussion and problemsolving Onderwerp: RE: [AccessD] Reader for .MSG files. On 3 Sep 2004 at 8:40, Erwin Craps - IT Helps wrote: > And it really must be a simple viewer like The Access Snapshot viewer > (for example). > Just by doubleclicking on the .MSG file the content must displayed and > the Excel file in the .MSG file can be opened directly like in > outlook... > Take a look at http://www.priasoft.com/products_msg_v.asp "MSG File Viewer is a convenient application for opening MSG files and reading, printing, or viewing the attachments within. MSG Viewer also has a lightning fast search utility to allow you to find MSG files that meet specific attributes and then open them in the Viewer." -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Sep 5 04:54:15 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 05 Sep 2004 19:54:15 +1000 Subject: [AccessD] Reader for .MSG files. In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF734D@stekelbes.ithelps.local> Message-ID: <413B6EE7.25507.6B28367@lexacorp.com.pg> On 5 Sep 2004 at 11:42, Erwin Craps - IT Helps wrote: > That seems to be it... > > No price, no eval. > Requested info.. > There was a page to request an evaluation copy (after you have told them your life history) http://www.priasoft.com/evaluation.asp -- Stuart From Erwin.Craps at ithelps.be Sun Sep 5 04:58:50 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Sun, 5 Sep 2004 11:58:50 +0200 Subject: [AccessD] Reader for .MSG files. Message-ID: <46B976F2B698FF46A4FE7636509B22DF7350@stekelbes.ithelps.local> Yes I seen it and told them the story of my life... I should be getting it for free, for compassion now :-) -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Stuart McLachlan Verzonden: zondag 5 september 2004 11:54 Aan: Access Developers discussion and problemsolving Onderwerp: RE: [AccessD] Reader for .MSG files. On 5 Sep 2004 at 11:42, Erwin Craps - IT Helps wrote: > That seems to be it... > > No price, no eval. > Requested info.. > There was a page to request an evaluation copy (after you have told them your life history) http://www.priasoft.com/evaluation.asp -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Sep 5 06:22:50 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 5 Sep 2004 13:22:50 +0200 Subject: [AccessD] Import columns In-Reply-To: <16154.216.223.34.13.1094341710.squirrel@heck.xuppa.com> References: <16154.216.223.34.13.1094341710.squirrel@heck.xuppa.com> Message-ID: <5211622762.20040905132250@cactus.dk> Hi Oleg Assuming that your 12 fields are juxtaposed, why not just loop through the records and the fields: Public Function AppendRecords() ' First field of source table to pick data. Const clngRst1Offset As Long = 4 ' Adjust! ' First field of target table to insert data. Const clngRst2Offset As Long = 1 ' Adjust! ' Max count of fields to use in target table. Const clngRst2Max As Long = 12 Dim cnn As ADODB.Connection Dim rst1 As ADODB.Recordset Dim rst2 As ADODB.Recordset Dim strSQL1 As String Dim strSQL2 As String Dim lngField1 As Long Dim lngField2 As Long Dim lngField As Long Set cnn = CurrentProject.Connection Set rst1 = New ADODB.Recordset Set rst2 = New ADODB.Recordset strSQL1 = "Select * From Hrsqd" strSQL2 = "Select Top 1 * From Hrsqd_Full" rst1.Open strSQL1, cnn, adOpenKeyset, adLockOptimistic, adCmdTableDirect rst2.Open strSQL2, cnn, adOpenKeyset, adLockOptimistic, adCmdTableDirect ' Number of fields to pick from source table. lngField1 = rst1.Fields.Count - clngRst1Offset ' First field in target table to insert data. lngField2 = clngRst2Offset + clngRst2Max - lngField1 Do While Not rst1.EOF rst2.AddNew For lngField = 0 To lngField1 - 1 rst2.Fields(lngField2 + lngField).Value = _ rst1.Fields(clngRst1Offset + lngField).Value Next rst2.Update rst1.MoveNext Loop rst2.Close rst1.Close Set rst2 = Nothing Set rst1 = Nothing Set cnn = Nothing End Function /gustav > Hey Group, happy holidays fro those of u in US. I am supposed to count the > number of columns and based on the result import the data into a table > with month names. The last column always contains December > Am I on the right track ? > This is what I've done so far --- > Private Sub Command1_Click() > Dim cnn As ADODB.Connection > Dim rst1 As New ADODB.Recordset > Dim SQL1 As String, SQL2 As String > Dim a As Integer 'number of columns > Dim b As Integer > Dim Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec > Set cnn = CurrentProject.Connection > SQL1 = "Select * From Hrsqd" > rst1.Open SQL1, cnn, adOpenKeyset, adLockOptimistic, adCmdTableDirect > a = rst1.Fields.Count 'number of fields > b = a - 2 ' number of month fields > If b = 6 Then 'Jul - Dec > Do Until rst1.EOF > Jul = rst1.Fields(3) > Aug = rst1.Fields(4) > Sep = rst1.Fields(5) > Oct = rst1.Fields(6) > Nov = rst1.Fields(7) > Dec = rst1.Fields(8) > Loop > End If > If b = 5 Then 'Aug - Dec > Do Until rst1.EOF > Aug = rst1.Fields(3) > Sep = rst1.Fields(4) > Oct = rst1.Fields(5) > Nov = rst1.Fields(6) > Dec = rst1.Fields(7) > Loop > End If > If b = 4 Then 'Sep - Dec > Do Until rst1.EOF > Sep = rst1.Fields(3) > Oct = rst1.Fields(4) > Nov = rst1.Fields(5) > Dec = rst1.Fields(6) > Loop > End If > rst1.Close > SQL2 = "INSERT Into HRSQD_Full (Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, > Sep, Oct, Nov, Dec) Values (" & Jan & "," & Feb & "," & Mar & "," & Apr & > "," & May & "," & Jun & "," & Jul & "," & Aug & "," & Sep & "," & Oct & > "," & Nov & "," & Dec & ")" > MsgBox a > End Sub From fhtapia at gmail.com Sun Sep 5 11:15:28 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Sun, 5 Sep 2004 09:15:28 -0700 Subject: [AccessD] Remote Desktop Connection Client 1.0.2 for Mac OS X In-Reply-To: <114417632.20040905112245@cactus.dk> References: <6826407592.20040827181338@cactus.dk> <15718612102.20040903172429@cactus.dk> <114417632.20040905112245@cactus.dk> Message-ID: haha, i misunderstood, it did say Remote Desktop Connection On Sun, 5 Sep 2004 11:22:45 +0200, Gustav Brock wrote: > Hi Francisco > > Remote control is not what I had in mind. > > A terminal server allows, say, ten users to access your Access app > concurrently - and those ten users could be powered by a Macintosh. > > /gustav > > > Date: 2004-09-04 18:04 > > > > > I currently do not have a need for Mac desktop connectivity... but for > > all my Windoze system I use UltraVNC, and for Other platforms I use > > RealVNC. > > > you can google for either... > > >> No comments on this? > >> Looks like an easy way to bring your app to the desktop of a Mac user. > >> > >> /gustav > >> > >> > Anyone having experiences with this, running Access or anything else? > >> > >> > http://www.microsoft.com/mac/downloads.aspx?pid=download&location=/mac/DOWNLOAD/MISC/RDC.xml&secid=80&ssid=9&flgnosysreq=False > >> > >> > If connecting to a Terminal Server what are the licensing for this > >> > for, say, 10 users? What that be a Windows 2003 server with 10 CALs? > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From bchacc at san.rr.com Sun Sep 5 11:28:55 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 5 Sep 2004 09:28:55 -0700 Subject: [AccessD] Keyboard Shortcut for comments Message-ID: <004d01c49365$704cd540$6601a8c0@HAL9002> Dear List: On the edit toolbar there are icons for commenting and uncommenting blocks of code. Is there a keyboard shortcut for these? MTIA Rocky Smolin Beach Access Software http://www.e-z-mrp.com From gustav at cactus.dk Sun Sep 5 11:29:41 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 5 Sep 2004 18:29:41 +0200 Subject: [AccessD] Remote Desktop Connection Client 1.0.2 for Mac OS X In-Reply-To: References: <6826407592.20040827181338@cactus.dk> <15718612102.20040903172429@cactus.dk> <114417632.20040905112245@cactus.dk> Message-ID: <8030033395.20040905182941@cactus.dk> Hi Francisco > haha, i misunderstood, it did say Remote Desktop Connection Yes, however, subject is the official name from MS. /gustav > On Sun, 5 Sep 2004 11:22:45 +0200, Gustav Brock wrote: >> Hi Francisco >> >> Remote control is not what I had in mind. >> >> A terminal server allows, say, ten users to access your Access app >> concurrently - and those ten users could be powered by a Macintosh. >> >> /gustav From fhtapia at gmail.com Sun Sep 5 11:52:59 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Sun, 5 Sep 2004 09:52:59 -0700 Subject: [AccessD] Remote Desktop Connection Client 1.0.2 for Mac OS X In-Reply-To: <8030033395.20040905182941@cactus.dk> References: <6826407592.20040827181338@cactus.dk> <15718612102.20040903172429@cactus.dk> <114417632.20040905112245@cactus.dk> <8030033395.20040905182941@cactus.dk> Message-ID: i went back to re-read this and it looks like it's more for just Remote Desktop vs, Terminal Services. Am I mis-reading it? and since we're on the topic of MACs, I've Never been a mac user/lover but I saw their NEW imac G5's man what an awesome looking pc. Sure no expandability, but it IS nice, maybe for the wife :D. On Sun, 5 Sep 2004 18:29:41 +0200, Gustav Brock wrote: > Hi Francisco > > > haha, i misunderstood, it did say Remote Desktop Connection > > Yes, however, subject is the official name from MS. > > /gustav > > > > > > On Sun, 5 Sep 2004 11:22:45 +0200, Gustav Brock wrote: > >> Hi Francisco > >> > >> Remote control is not what I had in mind. > >> > >> A terminal server allows, say, ten users to access your Access app > >> concurrently - and those ten users could be powered by a Macintosh. > >> > >> /gustav > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From gustav at cactus.dk Sun Sep 5 12:09:11 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 5 Sep 2004 19:09:11 +0200 Subject: [AccessD] Remote Desktop Connection Client 1.0.2 for Mac OS X In-Reply-To: References: <6826407592.20040827181338@cactus.dk> <15718612102.20040903172429@cactus.dk> <114417632.20040905112245@cactus.dk> <8030033395.20040905182941@cactus.dk> Message-ID: <6632403343.20040905190911@cactus.dk> Hi Francisco > i went back to re-read this and it looks like it's more for just > Remote Desktop vs, Terminal Services. Am I mis-reading it? No, that's right. It's a client which will open a window on the Mac with a Windows Terminal Server session. Within this you can offer the Mac user to run your Access app off the Terminal Server without installing anything else on the Mac than this client. (You probably know all this, but it may be new stuff for someone else following this thread). I'm no Mac-fan but if clients wish to pay for a Terminal Server setup, I don't mind as long as it works reliably. /gustav From EricGoetz at egisystems.com Sun Sep 5 12:57:33 2004 From: EricGoetz at egisystems.com (Eric Goetz) Date: Sun, 5 Sep 2004 10:57:33 -0700 Subject: [AccessD] Can you Raid Message-ID: <37E09725C7EB7B4F9E1ACA8F24EE55DB203C6C@servera22.doma.ops> Hi John, I've worked with Windows 2000 Server software RAID 1. I've found that I could take either drive out, and boot off the other one. I wanted to go through the process of recovering from a failed drive before I had one. To get the system to boot off the drive in the second slot, I used a boot floppy with a boot.ini file that specified both slots as having an OS. I found that once I booted from one of the mirrored disks, I could not just put the other one back in and have a happy day. I needed to wipe the drive and rebuild the mirror. I used MS knowledge base article 311578, How to Edit the Boot.ini File in Windows 2000 for help. I think I'll use this idea for those systems where I can't get the right disk controller drivers for Ghost to work. I hope this helps you out. Thanks, Eric -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Saturday, September 04, 2004 10:17 AM To: AccessD; Tech - Database Advisors Inc. Subject: [AccessD] Can you Raid Does anyone know if you can use Windows built-in raid capability to set up a raid 1 (mirror) then break the raid and move the mirror to another identical machine as the boot drive? I have a pair of MSI k8n Neo motherboards that I purchased. I have a pair of 80 gb samsung drives in one machine that I have just finished setting up. I need to create an image of that setup and move that image to the other machine. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sun Sep 5 13:03:20 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 05 Sep 2004 11:03:20 -0700 Subject: [AccessD] Info Sample Data Models References: <000001c47a7e$ca728fb0$d8bd3ac8@ralf> <017001c492fe$f80433f0$6601a8c0@HAL9002> Message-ID: <413B54E8.20302@shaw.ca> Just something I re-rembered from a couple of years ago. This site is useful if you have to pull up a quick starting point data model for a client. Maybe someone will find useful. It has several hundred examples that you can mix and match. there are several hundred examples from Afghan rainfall to Zoos These include things like customer service, BOM and pizza delivery. There are small examples to handle things that might get complicated like traditional and contemporary marriage or customer metrics. http://www.databaseanswers.org/data_models/index.htm -- Marty Connelly Victoria, B.C. Canada From EricGoetz at egisystems.com Sun Sep 5 13:32:32 2004 From: EricGoetz at egisystems.com (Eric Goetz) Date: Sun, 5 Sep 2004 11:32:32 -0700 Subject: [AccessD] Parts and assemblies design Message-ID: <37E09725C7EB7B4F9E1ACA8F24EE55DB203C6D@servera22.doma.ops> Hi, I am working on a database to replace some paper forms. I get the feeling I'm starting more "from scratch" than I need to. So I thought I'd ask if anyone knows of any examples of solutions for the following problem. A medical device manufacturer needs to track all the actions performed on each device as it moves through manufacturing to meet FDA requirements. The forms are called "travelers." The first traveler gets created when the device is built. A new traveler gets created every time the device returns from the field (for upgrade or repair.) The forms show each part with its revision, part number, lot number, or other attribute. There are different attributes for different types of parts. Such as, software has a checksum, and a revision number while a relay has does not. Instead, a relay has a lot number. Here are a couple of my challenges: I am modeling parts and assemblies, where an assembly is also a part. As the devices come back from the field, they may get upgraded with different parts and assemblies so the hierarchy is flexible. There seems to be a many to many relationship between parts and assemblies. So, I made a basic parts table: Part { ID, PartNumber, Name } where ID is the primary key Sample data: { 1, 26.026, Enclosure } { 57, 26.002, PCA } { 113, 26.100, ECA } { 114, 26.098, Xfrm } { 115, 26.022, Xfrm } { 116, 26.021, Xfrm } And I made another table to hold the many to many assignments between parts and assemblies. AssyPartAssignment { ID, AssyID, PartID, Name } where ID is the primary key and AssyID and PartID are foreign keys for the ID in the Part table. Sample data: { 1, 113, 57, Controller PCA } { 2, 113, 1, ECA Enclosure } { 3, 57, 114, Xfrm T1 } { 4, 57, 115, Xfrm T2 } { 5, 57, 116, Xfrm T3 } { 6, 57, 115, Xfrm T4 } The report needs to show this hierarchy. 26.100 - ECA 26.026 - ECA Enclosure 26.002 - Controller PCA 26.098 - Xfrm T1 26.022 - Xfrm T2 26.021 - Xfrm T3 26.022 - Xfrm T4 The same transformer, 26.022 shows up twice in the PCA assembly. I'll build more tables for the different attributes of parts, such as, software with its checksum, and parts that have only lots, and parts that have revisions and lots. I'll use the ID key from the Part table as the primary key for the subtype tables based on the entity relationship chapter from the CJDate book. I need to make the forms to enter these variable hierarchies. Got any suggestions that might put a little more holiday in my Labor Day? Thanks, Eric From EricGoetz at egisystems.com Sun Sep 5 13:36:27 2004 From: EricGoetz at egisystems.com (Eric Goetz) Date: Sun, 5 Sep 2004 11:36:27 -0700 Subject: [AccessD] Info Sample Data Models Message-ID: <37E09725C7EB7B4F9E1ACA8F24EE55DB203C6E@servera22.doma.ops> Hi, I wish I would have seen this before I posted that long request for design help. Thanks, Eric c: (408) 892-7491 -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Sunday, September 05, 2004 11:03 AM To: Access Developers discussion and problem solving Subject: [AccessD] Info Sample Data Models Just something I re-rembered from a couple of years ago. This site is useful if you have to pull up a quick starting point data model for a client. Maybe someone will find useful. It has several hundred examples that you can mix and match. there are several hundred examples from Afghan rainfall to Zoos These include things like customer service, BOM and pizza delivery. There are small examples to handle things that might get complicated like traditional and contemporary marriage or customer metrics. http://www.databaseanswers.org/data_models/index.htm -- Marty Connelly Victoria, B.C. Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Sep 5 14:02:34 2004 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 5 Sep 2004 14:02:34 -0500 Subject: [AccessD] Parts and assemblies design In-Reply-To: <25833773.1094409795534.JavaMail.root@sniper7.usinternet.com> Message-ID: <000201c4937a$e7497260$de1811d8@danwaters> Eric, You are getting into the basics of a Material Resource Planning system (MRP). You are making a Bill of Material (BOM) structure. I would recommend that you find some examples of these before you do much more work. (Sorry I can't give you direction on this.) I suspect though, that using many-to-many relationships are not what you will want. Also, since you are developing a system for a medical device company, you must be very familiar with the FDA's rule on electronic records and signatures. This is called Title 21 CFR Part 11. Much information is on the FDA's website, http://www.accessdata.fda.gov/scripts/cdrh/cfdocs/cfcfr/CFRSearch.cfm?CFRPar t=11 Also, there are some guidance documents issued by the FDA over the past couple of years that will have an impact on what you're doing. The Regulatory Manager at your company should be able to give you more information. Best of Luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Goetz Sent: Sunday, September 05, 2004 1:33 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Parts and assemblies design Hi, I am working on a database to replace some paper forms. I get the feeling I'm starting more "from scratch" than I need to. So I thought I'd ask if anyone knows of any examples of solutions for the following problem. A medical device manufacturer needs to track all the actions performed on each device as it moves through manufacturing to meet FDA requirements. The forms are called "travelers." The first traveler gets created when the device is built. A new traveler gets created every time the device returns from the field (for upgrade or repair.) The forms show each part with its revision, part number, lot number, or other attribute. There are different attributes for different types of parts. Such as, software has a checksum, and a revision number while a relay has does not. Instead, a relay has a lot number. Here are a couple of my challenges: I am modeling parts and assemblies, where an assembly is also a part. As the devices come back from the field, they may get upgraded with different parts and assemblies so the hierarchy is flexible. There seems to be a many to many relationship between parts and assemblies. So, I made a basic parts table: Part { ID, PartNumber, Name } where ID is the primary key Sample data: { 1, 26.026, Enclosure } { 57, 26.002, PCA } { 113, 26.100, ECA } { 114, 26.098, Xfrm } { 115, 26.022, Xfrm } { 116, 26.021, Xfrm } And I made another table to hold the many to many assignments between parts and assemblies. AssyPartAssignment { ID, AssyID, PartID, Name } where ID is the primary key and AssyID and PartID are foreign keys for the ID in the Part table. Sample data: { 1, 113, 57, Controller PCA } { 2, 113, 1, ECA Enclosure } { 3, 57, 114, Xfrm T1 } { 4, 57, 115, Xfrm T2 } { 5, 57, 116, Xfrm T3 } { 6, 57, 115, Xfrm T4 } The report needs to show this hierarchy. 26.100 - ECA 26.026 - ECA Enclosure 26.002 - Controller PCA 26.098 - Xfrm T1 26.022 - Xfrm T2 26.021 - Xfrm T3 26.022 - Xfrm T4 The same transformer, 26.022 shows up twice in the PCA assembly. I'll build more tables for the different attributes of parts, such as, software with its checksum, and parts that have only lots, and parts that have revisions and lots. I'll use the ID key from the Part table as the primary key for the subtype tables based on the entity relationship chapter from the CJDate book. I need to make the forms to enter these variable hierarchies. Got any suggestions that might put a little more holiday in my Labor Day? Thanks, Eric -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Sun Sep 5 14:17:43 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 5 Sep 2004 12:17:43 -0700 Subject: [AccessD] Parts and assemblies design References: <37E09725C7EB7B4F9E1ACA8F24EE55DB203C6D@servera22.doma.ops> Message-ID: <00aa01c4937d$054f61a0$6601a8c0@HAL9002> Eric: Shameless plug for my manufacturing system. You can check it out at www.ezmrp.com It will do the structured bills of material that they need. I just added a Capacity Requirements Planning module to the system which does not yet show on the web site however. In the CRP module you define work centers and then add routings for each assembly - queue time, set up time and unit run time for each operation. Although it's not part of their immediate requirement, as a bonus, the CRP Calculate program will calculate how much of each work center's capacity is being used every day. Once they have that database built, since EZMRP is written in Access, and since the back end is wide open, you could easily write a report in their custom format, although E-Z-MRP does have a traveler report which shows the start date for each operation based on a specific work order, that work order's due date, and the assembly's lead time and, actually, the report you model there looks mostly like an indented bill of materials, which, of course, E-Z-MRP does. Starting with E-Z-MRP's framework might save you a LOT of development time. (BTW, the audit trail that it produces on each inventory transaction, to which you can attach a serial or lot number, also goes along way towards satisfying FDA requirements.) If you're interested after checking the web site, please contact me off-line at bchacc at san.rr.com and I'll give you a system to evaluate. Or call if you want to talk about it - 858-259-4334. HTH Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "Eric Goetz" To: Sent: Sunday, September 05, 2004 11:32 AM Subject: [AccessD] Parts and assemblies design Hi, I am working on a database to replace some paper forms. I get the feeling I'm starting more "from scratch" than I need to. So I thought I'd ask if anyone knows of any examples of solutions for the following problem. A medical device manufacturer needs to track all the actions performed on each device as it moves through manufacturing to meet FDA requirements. The forms are called "travelers." The first traveler gets created when the device is built. A new traveler gets created every time the device returns from the field (for upgrade or repair.) The forms show each part with its revision, part number, lot number, or other attribute. There are different attributes for different types of parts. Such as, software has a checksum, and a revision number while a relay has does not. Instead, a relay has a lot number. Here are a couple of my challenges: I am modeling parts and assemblies, where an assembly is also a part. As the devices come back from the field, they may get upgraded with different parts and assemblies so the hierarchy is flexible. There seems to be a many to many relationship between parts and assemblies. So, I made a basic parts table: Part { ID, PartNumber, Name } where ID is the primary key Sample data: { 1, 26.026, Enclosure } { 57, 26.002, PCA } { 113, 26.100, ECA } { 114, 26.098, Xfrm } { 115, 26.022, Xfrm } { 116, 26.021, Xfrm } And I made another table to hold the many to many assignments between parts and assemblies. AssyPartAssignment { ID, AssyID, PartID, Name } where ID is the primary key and AssyID and PartID are foreign keys for the ID in the Part table. Sample data: { 1, 113, 57, Controller PCA } { 2, 113, 1, ECA Enclosure } { 3, 57, 114, Xfrm T1 } { 4, 57, 115, Xfrm T2 } { 5, 57, 116, Xfrm T3 } { 6, 57, 115, Xfrm T4 } The report needs to show this hierarchy. 26.100 - ECA 26.026 - ECA Enclosure 26.002 - Controller PCA 26.098 - Xfrm T1 26.022 - Xfrm T2 26.021 - Xfrm T3 26.022 - Xfrm T4 The same transformer, 26.022 shows up twice in the PCA assembly. I'll build more tables for the different attributes of parts, such as, software with its checksum, and parts that have only lots, and parts that have revisions and lots. I'll use the ID key from the Part table as the primary key for the subtype tables based on the entity relationship chapter from the CJDate book. I need to make the forms to enter these variable hierarchies. Got any suggestions that might put a little more holiday in my Labor Day? Thanks, Eric -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Sep 5 14:38:03 2004 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 5 Sep 2004 14:38:03 -0500 Subject: [AccessD] Parts and assemblies design In-Reply-To: <6691981.1094412411561.JavaMail.root@sniper5.usinternet.com> Message-ID: <000e01c4937f$dc74ac60$de1811d8@danwaters> Hi Rocky! Yes that was shameless. But good! I was wondering if you address electronic signatures, and if so, what's your approach? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Sunday, September 05, 2004 2:18 PM To: Access Developers discussion and problem solving Cc: Tom Hintz Subject: Re: [AccessD] Parts and assemblies design Eric: Shameless plug for my manufacturing system. You can check it out at www.ezmrp.com It will do the structured bills of material that they need. I just added a Capacity Requirements Planning module to the system which does not yet show on the web site however. In the CRP module you define work centers and then add routings for each assembly - queue time, set up time and unit run time for each operation. Although it's not part of their immediate requirement, as a bonus, the CRP Calculate program will calculate how much of each work center's capacity is being used every day. Once they have that database built, since EZMRP is written in Access, and since the back end is wide open, you could easily write a report in their custom format, although E-Z-MRP does have a traveler report which shows the start date for each operation based on a specific work order, that work order's due date, and the assembly's lead time and, actually, the report you model there looks mostly like an indented bill of materials, which, of course, E-Z-MRP does. Starting with E-Z-MRP's framework might save you a LOT of development time. (BTW, the audit trail that it produces on each inventory transaction, to which you can attach a serial or lot number, also goes along way towards satisfying FDA requirements.) If you're interested after checking the web site, please contact me off-line at bchacc at san.rr.com and I'll give you a system to evaluate. Or call if you want to talk about it - 858-259-4334. HTH Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "Eric Goetz" To: Sent: Sunday, September 05, 2004 11:32 AM Subject: [AccessD] Parts and assemblies design Hi, I am working on a database to replace some paper forms. I get the feeling I'm starting more "from scratch" than I need to. So I thought I'd ask if anyone knows of any examples of solutions for the following problem. A medical device manufacturer needs to track all the actions performed on each device as it moves through manufacturing to meet FDA requirements. The forms are called "travelers." The first traveler gets created when the device is built. A new traveler gets created every time the device returns from the field (for upgrade or repair.) The forms show each part with its revision, part number, lot number, or other attribute. There are different attributes for different types of parts. Such as, software has a checksum, and a revision number while a relay has does not. Instead, a relay has a lot number. Here are a couple of my challenges: I am modeling parts and assemblies, where an assembly is also a part. As the devices come back from the field, they may get upgraded with different parts and assemblies so the hierarchy is flexible. There seems to be a many to many relationship between parts and assemblies. So, I made a basic parts table: Part { ID, PartNumber, Name } where ID is the primary key Sample data: { 1, 26.026, Enclosure } { 57, 26.002, PCA } { 113, 26.100, ECA } { 114, 26.098, Xfrm } { 115, 26.022, Xfrm } { 116, 26.021, Xfrm } And I made another table to hold the many to many assignments between parts and assemblies. AssyPartAssignment { ID, AssyID, PartID, Name } where ID is the primary key and AssyID and PartID are foreign keys for the ID in the Part table. Sample data: { 1, 113, 57, Controller PCA } { 2, 113, 1, ECA Enclosure } { 3, 57, 114, Xfrm T1 } { 4, 57, 115, Xfrm T2 } { 5, 57, 116, Xfrm T3 } { 6, 57, 115, Xfrm T4 } The report needs to show this hierarchy. 26.100 - ECA 26.026 - ECA Enclosure 26.002 - Controller PCA 26.098 - Xfrm T1 26.022 - Xfrm T2 26.021 - Xfrm T3 26.022 - Xfrm T4 The same transformer, 26.022 shows up twice in the PCA assembly. I'll build more tables for the different attributes of parts, such as, software with its checksum, and parts that have only lots, and parts that have revisions and lots. I'll use the ID key from the Part table as the primary key for the subtype tables based on the entity relationship chapter from the CJDate book. I need to make the forms to enter these variable hierarchies. Got any suggestions that might put a little more holiday in my Labor Day? Thanks, Eric -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Sun Sep 5 15:05:30 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 5 Sep 2004 13:05:30 -0700 Subject: [AccessD] Parts and assemblies design References: <000e01c4937f$dc74ac60$de1811d8@danwaters> Message-ID: <00cc01c49383$b1c3e220$6601a8c0@HAL9002> Dan: I have no shame. But I also have no electronic signature feature in the system. The system evolved when I first released it (1985) based on what the customers wanted. So I suppose the first customer who needs electronic signatures will get it. But I have no earthly idea how they work. Yet. Rocky ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Sunday, September 05, 2004 12:38 PM Subject: RE: [AccessD] Parts and assemblies design > Hi Rocky! > > Yes that was shameless. But good! > > I was wondering if you address electronic signatures, and if so, what's your > approach? > > Thanks, > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Sunday, September 05, 2004 2:18 PM > To: Access Developers discussion and problem solving > Cc: Tom Hintz > Subject: Re: [AccessD] Parts and assemblies design > > Eric: > > Shameless plug for my manufacturing system. You can check it out at > www.ezmrp.com > > It will do the structured bills of material that they need. > > I just added a Capacity Requirements Planning module to the system which > does not yet show on the web site however. In the CRP module you define > work centers and then add routings for each assembly - queue time, set up > time and unit run time for each operation. Although it's not part of their > immediate requirement, as a bonus, the CRP Calculate program will calculate > how much of each work center's capacity is being used every day. > > Once they have that database built, since EZMRP is written in Access, and > since the back end is wide open, you could easily write a report in their > custom format, although E-Z-MRP does have a traveler report which shows the > start date for each operation based on a specific work order, that work > order's due date, and the assembly's lead time and, actually, the report you > model there looks mostly like an indented bill of materials, which, of > course, E-Z-MRP does. > > Starting with E-Z-MRP's framework might save you a LOT of development time. > (BTW, the audit trail that it produces on each inventory transaction, to > which you can attach a serial or lot number, also goes along way towards > satisfying FDA requirements.) > > If you're interested after checking the web site, please contact me off-line > at bchacc at san.rr.com and I'll give you a system to evaluate. Or call if you > want to talk about it - 858-259-4334. > > HTH > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > > > > ----- Original Message ----- > From: "Eric Goetz" > To: > Sent: Sunday, September 05, 2004 11:32 AM > Subject: [AccessD] Parts and assemblies design > > > Hi, > > > > I am working on a database to replace some paper forms. I get the > feeling I'm starting more "from scratch" than I need to. So I thought > I'd ask if anyone knows of any examples of solutions for the following > problem. > > > > A medical device manufacturer needs to track all the actions performed > on each device as it moves through manufacturing to meet FDA > requirements. The forms are called "travelers." The first traveler gets > created when the device is built. A new traveler gets created every time > the device returns from the field (for upgrade or repair.) > > > > The forms show each part with its revision, part number, lot number, or > other attribute. There are different attributes for different types of > parts. Such as, software has a checksum, and a revision number while a > relay has does not. Instead, a relay has a lot number. > > > > Here are a couple of my challenges: > > > > I am modeling parts and assemblies, where an assembly is also a part. As > the devices come back from the field, they may get upgraded with > different parts and assemblies so the hierarchy is flexible. There seems > to be a many to many relationship between parts and assemblies. So, I > made a basic parts table: > > > > Part { ID, PartNumber, Name } where ID is the primary key > > Sample data: > > { 1, 26.026, Enclosure } > > { 57, 26.002, PCA } > > { 113, 26.100, ECA } > > { 114, 26.098, Xfrm } > > { 115, 26.022, Xfrm } > > { 116, 26.021, Xfrm } > > > > And I made another table to hold the many to many assignments between > parts and assemblies. > > AssyPartAssignment { ID, AssyID, PartID, Name } where ID is the primary > key and AssyID and PartID are foreign keys for the ID in the Part table. > > Sample data: > > { 1, 113, 57, Controller PCA } > > { 2, 113, 1, ECA Enclosure } > > { 3, 57, 114, Xfrm T1 } > > { 4, 57, 115, Xfrm T2 } > > { 5, 57, 116, Xfrm T3 } > > { 6, 57, 115, Xfrm T4 } > > > > The report needs to show this hierarchy. > > 26.100 - ECA > > 26.026 - ECA Enclosure > > 26.002 - Controller PCA > > 26.098 - Xfrm T1 > > 26.022 - Xfrm T2 > > 26.021 - Xfrm T3 > > 26.022 - Xfrm T4 > > > > The same transformer, 26.022 shows up twice in the PCA assembly. > > > > I'll build more tables for the different attributes of parts, such as, > software with its checksum, and parts that have only lots, and parts > that have revisions and lots. I'll use the ID key from the Part table as > the primary key for the subtype tables based on the entity relationship > chapter from the CJDate book. > > > > I need to make the forms to enter these variable hierarchies. > > > > Got any suggestions that might put a little more holiday in my Labor > Day? > > > > Thanks, > > > > Eric > > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From apg at alun.de Sun Sep 5 17:19:02 2004 From: apg at alun.de (alun) Date: Mon, 06 Sep 2004 00:19:02 +0200 Subject: [AccessD] Open a form from a different db In-Reply-To: References: Message-ID: <413B90D6.4020305@alun.de> Paul Rodgers wrote: >I need to open a form from another database. I just can't find it in my >books. Anyone done this simple thing recently please? Cheers >paul > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/2004 > > > > not sure if this is what you're looking for http://www.mvps.org/access/forms/frm0034.htm hth alun From martyconnelly at shaw.ca Sun Sep 5 17:45:45 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 05 Sep 2004 15:45:45 -0700 Subject: [AccessD] Parts and assemblies design References: <000e01c4937f$dc74ac60$de1811d8@danwaters> <00cc01c49383$b1c3e220$6601a8c0@HAL9002> Message-ID: <413B9719.2010207@shaw.ca> This may give you an idea what is involved, It is essentially an envelope around the document with a seal that says it hasn't been modified after signing. If you are looking for signatures either digital or digitized (mouse or stylus) that are FDA approved try things like Pronto from Alphatrust http://www.alphatrust.com/products/pronto/desktop.asp Their other products require IE access to a certificate server at around $250 a month. Getting your own hardware certificate server certified by FDA may start to cost you in $10,000 range. Rocky Smolin - Beach Access Software wrote: >Dan: > >I have no shame. > >But I also have no electronic signature feature in the system. > > The system evolved when I first released it (1985) based on what the >customers wanted. So I suppose the first customer who needs electronic >signatures will get it. But I have no earthly idea how they work. Yet. > >Rocky > >----- Original Message ----- >From: "Dan Waters" >To: "'Access Developers discussion and problem solving'" > >Sent: Sunday, September 05, 2004 12:38 PM >Subject: RE: [AccessD] Parts and assemblies design > > > > >>Hi Rocky! >> >>Yes that was shameless. But good! >> >>I was wondering if you address electronic signatures, and if so, what's >> >> >your > > >>approach? >> >>Thanks, >>Dan Waters >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - >>Beach Access Software >>Sent: Sunday, September 05, 2004 2:18 PM >>To: Access Developers discussion and problem solving >>Cc: Tom Hintz >>Subject: Re: [AccessD] Parts and assemblies design >> >>Eric: >> >>Shameless plug for my manufacturing system. You can check it out at >>www.ezmrp.com >> >>It will do the structured bills of material that they need. >> >>I just added a Capacity Requirements Planning module to the system which >>does not yet show on the web site however. In the CRP module you define >>work centers and then add routings for each assembly - queue time, set up >>time and unit run time for each operation. Although it's not part of >> >> >their > > >>immediate requirement, as a bonus, the CRP Calculate program will >> >> >calculate > > >>how much of each work center's capacity is being used every day. >> >>Once they have that database built, since EZMRP is written in Access, and >>since the back end is wide open, you could easily write a report in their >>custom format, although E-Z-MRP does have a traveler report which shows >> >> >the > > >>start date for each operation based on a specific work order, that work >>order's due date, and the assembly's lead time and, actually, the report >> >> >you > > >>model there looks mostly like an indented bill of materials, which, of >>course, E-Z-MRP does. >> >>Starting with E-Z-MRP's framework might save you a LOT of development >> >> >time. > > >>(BTW, the audit trail that it produces on each inventory transaction, to >>which you can attach a serial or lot number, also goes along way towards >>satisfying FDA requirements.) >> >>If you're interested after checking the web site, please contact me >> >> >off-line > > >>at bchacc at san.rr.com and I'll give you a system to evaluate. Or call if >> >> >you > > >>want to talk about it - 858-259-4334. >> >>HTH >> >>Rocky Smolin >>Beach Access Software >>http://www.e-z-mrp.com >> >> >> >> >>----- Original Message ----- >>From: "Eric Goetz" >>To: >>Sent: Sunday, September 05, 2004 11:32 AM >>Subject: [AccessD] Parts and assemblies design >> >> >>Hi, >> >> >> >>I am working on a database to replace some paper forms. I get the >>feeling I'm starting more "from scratch" than I need to. So I thought >>I'd ask if anyone knows of any examples of solutions for the following >>problem. >> >> >> >>A medical device manufacturer needs to track all the actions performed >>on each device as it moves through manufacturing to meet FDA >>requirements. The forms are called "travelers." The first traveler gets >>created when the device is built. A new traveler gets created every time >>the device returns from the field (for upgrade or repair.) >> >> >> >>The forms show each part with its revision, part number, lot number, or >>other attribute. There are different attributes for different types of >>parts. Such as, software has a checksum, and a revision number while a >>relay has does not. Instead, a relay has a lot number. >> >> >> >>Here are a couple of my challenges: >> >> >> >>I am modeling parts and assemblies, where an assembly is also a part. As >>the devices come back from the field, they may get upgraded with >>different parts and assemblies so the hierarchy is flexible. There seems >>to be a many to many relationship between parts and assemblies. So, I >>made a basic parts table: >> >> >> >>Part { ID, PartNumber, Name } where ID is the primary key >> >>Sample data: >> >>{ 1, 26.026, Enclosure } >> >>{ 57, 26.002, PCA } >> >>{ 113, 26.100, ECA } >> >>{ 114, 26.098, Xfrm } >> >>{ 115, 26.022, Xfrm } >> >>{ 116, 26.021, Xfrm } >> >> >> >>And I made another table to hold the many to many assignments between >>parts and assemblies. >> >>AssyPartAssignment { ID, AssyID, PartID, Name } where ID is the primary >>key and AssyID and PartID are foreign keys for the ID in the Part table. >> >>Sample data: >> >>{ 1, 113, 57, Controller PCA } >> >>{ 2, 113, 1, ECA Enclosure } >> >>{ 3, 57, 114, Xfrm T1 } >> >>{ 4, 57, 115, Xfrm T2 } >> >>{ 5, 57, 116, Xfrm T3 } >> >>{ 6, 57, 115, Xfrm T4 } >> >> >> >>The report needs to show this hierarchy. >> >>26.100 - ECA >> >> 26.026 - ECA Enclosure >> >> 26.002 - Controller PCA >> >> 26.098 - Xfrm T1 >> >> 26.022 - Xfrm T2 >> >> 26.021 - Xfrm T3 >> >> 26.022 - Xfrm T4 >> >> >> >>The same transformer, 26.022 shows up twice in the PCA assembly. >> >> >> >>I'll build more tables for the different attributes of parts, such as, >>software with its checksum, and parts that have only lots, and parts >>that have revisions and lots. I'll use the ID key from the Part table as >>the primary key for the subtype tables based on the entity relationship >>chapter from the CJDate book. >> >> >> >>I need to make the forms to enter these variable hierarchies. >> >> >> >>Got any suggestions that might put a little more holiday in my Labor >>Day? >> >> >> >>Thanks, >> >> >> >>Eric >> >> >> >> >> >>-- >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>-- >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>-- >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > > -- Marty Connelly Victoria, B.C. Canada From dwaters at usinternet.com Sun Sep 5 19:14:24 2004 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 5 Sep 2004 19:14:24 -0500 Subject: [AccessD] Parts and assemblies design In-Reply-To: <15599640.1094428169881.JavaMail.root@sniper7.usinternet.com> Message-ID: <000601c493a6$77855ee0$de1811d8@danwaters> Marty, I've talked with the FDA and it turns out that they themselves do not certify anything related to electronic signatures or records. The FDA does certify an individual company's usage of such software or hardware. This means that if a company like Alphatrust says that they have been certified by the FDA, they really mean that they have a customer who has been certified by the FDA. The FDA takes this position because what is good for one company may not be good for another, and the FDA cannot apply a 'blanket' approval for any particular mechanism. They also don't want to be in the position of limiting progress in the development of such mechanisms by certifying something, which then becomes the 'only way to go'. So - software developers like us need to work with our customer's Regulatory Managers to find out what the company's requirements actually are. They will get more difficult as the medical device becomes more complicated or more important to saving lives or maintaining health. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Sunday, September 05, 2004 5:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Parts and assemblies design This may give you an idea what is involved, It is essentially an envelope around the document with a seal that says it hasn't been modified after signing. If you are looking for signatures either digital or digitized (mouse or stylus) that are FDA approved try things like Pronto from Alphatrust http://www.alphatrust.com/products/pronto/desktop.asp Their other products require IE access to a certificate server at around $250 a month. Getting your own hardware certificate server certified by FDA may start to cost you in $10,000 range. Rocky Smolin - Beach Access Software wrote: >Dan: > >I have no shame. > >But I also have no electronic signature feature in the system. > > The system evolved when I first released it (1985) based on what the >customers wanted. So I suppose the first customer who needs electronic >signatures will get it. But I have no earthly idea how they work. Yet. > >Rocky > >----- Original Message ----- >From: "Dan Waters" >To: "'Access Developers discussion and problem solving'" > >Sent: Sunday, September 05, 2004 12:38 PM >Subject: RE: [AccessD] Parts and assemblies design > > > > >>Hi Rocky! >> >>Yes that was shameless. But good! >> >>I was wondering if you address electronic signatures, and if so, what's >> >> >your > > >>approach? >> >>Thanks, >>Dan Waters >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - >>Beach Access Software >>Sent: Sunday, September 05, 2004 2:18 PM >>To: Access Developers discussion and problem solving >>Cc: Tom Hintz >>Subject: Re: [AccessD] Parts and assemblies design >> >>Eric: >> >>Shameless plug for my manufacturing system. You can check it out at >>www.ezmrp.com >> >>It will do the structured bills of material that they need. >> >>I just added a Capacity Requirements Planning module to the system which >>does not yet show on the web site however. In the CRP module you define >>work centers and then add routings for each assembly - queue time, set up >>time and unit run time for each operation. Although it's not part of >> >> >their > > >>immediate requirement, as a bonus, the CRP Calculate program will >> >> >calculate > > >>how much of each work center's capacity is being used every day. >> >>Once they have that database built, since EZMRP is written in Access, and >>since the back end is wide open, you could easily write a report in their >>custom format, although E-Z-MRP does have a traveler report which shows >> >> >the > > >>start date for each operation based on a specific work order, that work >>order's due date, and the assembly's lead time and, actually, the report >> >> >you > > >>model there looks mostly like an indented bill of materials, which, of >>course, E-Z-MRP does. >> >>Starting with E-Z-MRP's framework might save you a LOT of development >> >> >time. > > >>(BTW, the audit trail that it produces on each inventory transaction, to >>which you can attach a serial or lot number, also goes along way towards >>satisfying FDA requirements.) >> >>If you're interested after checking the web site, please contact me >> >> >off-line > > >>at bchacc at san.rr.com and I'll give you a system to evaluate. Or call if >> >> >you > > >>want to talk about it - 858-259-4334. >> >>HTH >> >>Rocky Smolin >>Beach Access Software >>http://www.e-z-mrp.com >> >> >> >> >>----- Original Message ----- >>From: "Eric Goetz" >>To: >>Sent: Sunday, September 05, 2004 11:32 AM >>Subject: [AccessD] Parts and assemblies design >> >> >>Hi, >> >> >> >>I am working on a database to replace some paper forms. I get the >>feeling I'm starting more "from scratch" than I need to. So I thought >>I'd ask if anyone knows of any examples of solutions for the following >>problem. >> >> >> >>A medical device manufacturer needs to track all the actions performed >>on each device as it moves through manufacturing to meet FDA >>requirements. The forms are called "travelers." The first traveler gets >>created when the device is built. A new traveler gets created every time >>the device returns from the field (for upgrade or repair.) >> >> >> >>The forms show each part with its revision, part number, lot number, or >>other attribute. There are different attributes for different types of >>parts. Such as, software has a checksum, and a revision number while a >>relay has does not. Instead, a relay has a lot number. >> >> >> >>Here are a couple of my challenges: >> >> >> >>I am modeling parts and assemblies, where an assembly is also a part. As >>the devices come back from the field, they may get upgraded with >>different parts and assemblies so the hierarchy is flexible. There seems >>to be a many to many relationship between parts and assemblies. So, I >>made a basic parts table: >> >> >> >>Part { ID, PartNumber, Name } where ID is the primary key >> >>Sample data: >> >>{ 1, 26.026, Enclosure } >> >>{ 57, 26.002, PCA } >> >>{ 113, 26.100, ECA } >> >>{ 114, 26.098, Xfrm } >> >>{ 115, 26.022, Xfrm } >> >>{ 116, 26.021, Xfrm } >> >> >> >>And I made another table to hold the many to many assignments between >>parts and assemblies. >> >>AssyPartAssignment { ID, AssyID, PartID, Name } where ID is the primary >>key and AssyID and PartID are foreign keys for the ID in the Part table. >> >>Sample data: >> >>{ 1, 113, 57, Controller PCA } >> >>{ 2, 113, 1, ECA Enclosure } >> >>{ 3, 57, 114, Xfrm T1 } >> >>{ 4, 57, 115, Xfrm T2 } >> >>{ 5, 57, 116, Xfrm T3 } >> >>{ 6, 57, 115, Xfrm T4 } >> >> >> >>The report needs to show this hierarchy. >> >>26.100 - ECA >> >> 26.026 - ECA Enclosure >> >> 26.002 - Controller PCA >> >> 26.098 - Xfrm T1 >> >> 26.022 - Xfrm T2 >> >> 26.021 - Xfrm T3 >> >> 26.022 - Xfrm T4 >> >> >> >>The same transformer, 26.022 shows up twice in the PCA assembly. >> >> >> >>I'll build more tables for the different attributes of parts, such as, >>software with its checksum, and parts that have only lots, and parts >>that have revisions and lots. I'll use the ID key from the Part table as >>the primary key for the subtype tables based on the entity relationship >>chapter from the CJDate book. >> >> >> >>I need to make the forms to enter these variable hierarchies. >> >> >> >>Got any suggestions that might put a little more holiday in my Labor >>Day? >> >> >> >>Thanks, >> >> >> >>Eric >> >> >> >> >> >>-- >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>-- >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>-- >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > > -- Marty Connelly Victoria, B.C. Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Sep 5 20:23:22 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 06 Sep 2004 11:23:22 +1000 Subject: [AccessD] Keyboard Shortcut for comments In-Reply-To: <004d01c49365$704cd540$6601a8c0@HAL9002> Message-ID: <413C48AA.6044.A0516E7@lexacorp.com.pg> On 5 Sep 2004 at 9:28, Rocky Smolin - Beach Access S wrote: > Dear List: > > On the edit toolbar there are icons for commenting and uncommenting blocks of code. Is there a keyboard shortcut for these? > No. You can check by going into the Cutomize dialog for toolbars, selecting options and then selecting "Show shortcut keys in screen tips". Then hoivering over any shortcut item will show the shortcut key if it exists (there are none shown for comment/uncomment) -- Stuart From d.dick at uws.edu.au Sun Sep 5 22:35:54 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Mon, 6 Sep 2004 13:35:54 +1000 Subject: [AccessD] (no subject) Message-ID: <000b01c493c2$9e41fe00$4a619a89@DDICK> Hello all I'm having a little trouble with the syntax of an append SQL string I am setting a string value in code based on a booking ID I want to iterate through all the bookings - get the bookingID and then Append it to a table. Pretty basic, but I can never get the correct 'encasing' of the coded value right. EG where to use quotes, where to use ampersands etc. The code snip below is all cool except for the bit in the SQL where it is putting the coded value into the relevant field in the table, IE after the SELECT portion of the SQL Can anyone tidy this up for me? Many thanks in advance Dim strMyValueAsAString as string strMyValueAsAString = Me.BookingID appSQL = "INSERT INTO tblMyBookings ( BookingIDFromBookingsTable ) " _ & "SELECT " & strMyValueAsAString & " FROM tblMyBookings ;" Have a great day Darren From clh at christopherhawkins.com Sun Sep 5 23:05:52 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Sun, 5 Sep 2004 22:05:52 -0600 Subject: [AccessD] (no subject) Message-ID: <13130-220049164552428@christopherhawkins.com> HI, Darren. You have a few options. YOu can try this: appSQL = "INSERT INTO tblMyBookings ( BookingIDFromBookingsTable ) " _ & "SELECT '" & strMyValueAsAString & "' FROM tblMyBookings ;" Or this: appSQL = "INSERT INTO tblMyBookings ( BookingIDFromBookingsTable ) " _ & "SELECT " & Chr(34) & strMyValueAsAString & Chr(34) & " FROM tblMyBookings ;" Or, if you feel like writing a variable-wrapping function, even this: appSQL = "INSERT INTO tblMyBookings ( BookingIDFromBookingsTable ) " _ & "SELECT " & WrapVar(strMyValueAsAString,"text") & " FROM tblMyBookings ;" ---- Original Message ---- From: d.dick at uws.edu.au To: accessd at databaseadvisors.com, Subject: RE: [AccessD] (no subject) Date: Mon, 6 Sep 2004 13:35:54 +1000 >Hello all >I'm having a little trouble with the syntax of an append SQL string > >I am setting a string value in code based on a booking ID >I want to iterate through all the bookings - get the bookingID >and then Append it to a table. > >Pretty basic, but I can never get the correct 'encasing' of the >coded value right. EG where to use quotes, where to use ampersands >etc. >The code snip below is all cool except for the bit in the SQL where >it is >putting the coded value into the relevant field in the table, IE >after the >SELECT portion >of the SQL > >Can anyone tidy this up for me? > >Many thanks in advance > > >Dim strMyValueAsAString as string > > strMyValueAsAString = Me.BookingID > > appSQL = "INSERT INTO tblMyBookings ( >BookingIDFromBookingsTable >) " _ > & "SELECT " & strMyValueAsAString & " FROM tblMyBookings >;" > >Have a great day > >Darren > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From d.dick at uws.edu.au Sun Sep 5 23:27:45 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Mon, 6 Sep 2004 14:27:45 +1000 Subject: [AccessD] (no subject) In-Reply-To: <13130-220049164552428@christopherhawkins.com> Message-ID: <000e01c493c9$db91c6d0$4a619a89@DDICK> Chris Many thanks I took your first option - works great It was the little apostrophe inside the double quotes I was forgetting Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: Monday, 6 September 2004 2:06 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] (no subject) HI, Darren. You have a few options. YOu can try this: appSQL = "INSERT INTO tblMyBookings ( BookingIDFromBookingsTable ) " _ & "SELECT '" & strMyValueAsAString & "' FROM tblMyBookings ;" Or this: appSQL = "INSERT INTO tblMyBookings ( BookingIDFromBookingsTable ) " _ & "SELECT " & Chr(34) & strMyValueAsAString & Chr(34) & " FROM tblMyBookings ;" Or, if you feel like writing a variable-wrapping function, even this: appSQL = "INSERT INTO tblMyBookings ( BookingIDFromBookingsTable ) " _ & "SELECT " & WrapVar(strMyValueAsAString,"text") & " FROM tblMyBookings ;" ---- Original Message ---- From: d.dick at uws.edu.au To: accessd at databaseadvisors.com, Subject: RE: [AccessD] (no subject) Date: Mon, 6 Sep 2004 13:35:54 +1000 >Hello all >I'm having a little trouble with the syntax of an append SQL string > >I am setting a string value in code based on a booking ID >I want to iterate through all the bookings - get the bookingID >and then Append it to a table. > >Pretty basic, but I can never get the correct 'encasing' of the >coded value right. EG where to use quotes, where to use ampersands >etc. >The code snip below is all cool except for the bit in the SQL where >it is >putting the coded value into the relevant field in the table, IE >after the >SELECT portion >of the SQL > >Can anyone tidy this up for me? > >Many thanks in advance > > >Dim strMyValueAsAString as string > > strMyValueAsAString = Me.BookingID > > appSQL = "INSERT INTO tblMyBookings ( >BookingIDFromBookingsTable >) " _ > & "SELECT " & strMyValueAsAString & " FROM tblMyBookings >;" > >Have a great day > >Darren > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.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 Sun Sep 5 23:30:30 2004 From: actebs at actebs.com.au (ACTEBS) Date: Mon, 6 Sep 2004 14:30:30 +1000 Subject: [AccessD] (no subject) Message-ID: <2025BB6F17FCB54791F23CD505583328041BA4@starfleet.unknown.local> Darren, I wouldn't set it up like this. Try something like this: Dim dbs As dao.Database Dim rstDataToAppend As dao.Recordset Dim rstTableToAppendTo As dao.Recordset Dim strSQLDataForAppend As String strSQLDataForAppend = "SELECT .....Whatever...." Set dbs = CurrentDB() Set rstDataToAppend = dbs.OpenRecordset(strSQLDataForAppend, dbOpenDynaset) Set rstTableToAppendTo = dbs.OpenRecordset("tblYourTableToAppendTo", dbOpenDynaset) Do Until rstDataToAppend.EOF With rstTableToAppendTo .AddNew !Feild1FromTable = rstDataToAppend!Feild1FromRecordset !Feild2FromTable = rstDataToAppend!Feild2FromRecordset etc etc etc.... .Update End With rstDataToAppend.MoveNext Loop rstDataToAppend.Close rstTableToAppendTo.Close Set rstDataToAppend = Nothing Set rstTableToAppendTo = Nothing dbs.close Set dbs = Nothing A good idea is to also check whether the recordset has any data before hand, otheriwse this will throw up an error. Something like: If rstDataToAppend.Recordcount > 0 then Do Until rstDataToAppend.....etc etc etc HTH Regards Vlad Web: www.actebs.com.au -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Monday, 6 September 2004 1:36 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] (no subject) Hello all I'm having a little trouble with the syntax of an append SQL string I am setting a string value in code based on a booking ID I want to iterate through all the bookings - get the bookingID and then Append it to a table. Pretty basic, but I can never get the correct 'encasing' of the coded value right. EG where to use quotes, where to use ampersands etc. The code snip below is all cool except for the bit in the SQL where it is putting the coded value into the relevant field in the table, IE after the SELECT portion of the SQL Can anyone tidy this up for me? Many thanks in advance Dim strMyValueAsAString as string strMyValueAsAString = Me.BookingID appSQL = "INSERT INTO tblMyBookings ( BookingIDFromBookingsTable ) " _ & "SELECT " & strMyValueAsAString & " FROM tblMyBookings ;" Have a great day Darren -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Sep 6 00:26:20 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 5 Sep 2004 22:26:20 -0700 Subject: [AccessD] Parts and assemblies design References: <000e01c4937f$dc74ac60$de1811d8@danwaters> <00cc01c49383$b1c3e220$6601a8c0@HAL9002> <413B9719.2010207@shaw.ca> Message-ID: <012901c493d2$0b17c960$6601a8c0@HAL9002> Hope I don't need it soon. But if I do - you're the man. Rocky ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Sunday, September 05, 2004 3:45 PM Subject: Re: [AccessD] Parts and assemblies design > This may give you an idea what is involved, It is essentially an > envelope around the document > with a seal that says it hasn't been modified after signing. > > If you are looking for signatures either digital or digitized (mouse or > stylus) that are FDA approved > try things like Pronto from Alphatrust > http://www.alphatrust.com/products/pronto/desktop.asp > Their other products require IE access to a certificate server at around > $250 a month. > Getting your own hardware certificate server certified by FDA may start > to cost you in $10,000 range. > > > Rocky Smolin - Beach Access Software wrote: > > >Dan: > > > >I have no shame. > > > >But I also have no electronic signature feature in the system. > > > > The system evolved when I first released it (1985) based on what the > >customers wanted. So I suppose the first customer who needs electronic > >signatures will get it. But I have no earthly idea how they work. Yet. > > > >Rocky > > > >----- Original Message ----- > >From: "Dan Waters" > >To: "'Access Developers discussion and problem solving'" > > > >Sent: Sunday, September 05, 2004 12:38 PM > >Subject: RE: [AccessD] Parts and assemblies design > > > > > > > > > >>Hi Rocky! > >> > >>Yes that was shameless. But good! > >> > >>I was wondering if you address electronic signatures, and if so, what's > >> > >> > >your > > > > > >>approach? > >> > >>Thanks, > >>Dan Waters > >> > >>-----Original Message----- > >>From: accessd-bounces at databaseadvisors.com > >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > >>Beach Access Software > >>Sent: Sunday, September 05, 2004 2:18 PM > >>To: Access Developers discussion and problem solving > >>Cc: Tom Hintz > >>Subject: Re: [AccessD] Parts and assemblies design > >> > >>Eric: > >> > >>Shameless plug for my manufacturing system. You can check it out at > >>www.ezmrp.com > >> > >>It will do the structured bills of material that they need. > >> > >>I just added a Capacity Requirements Planning module to the system which > >>does not yet show on the web site however. In the CRP module you define > >>work centers and then add routings for each assembly - queue time, set up > >>time and unit run time for each operation. Although it's not part of > >> > >> > >their > > > > > >>immediate requirement, as a bonus, the CRP Calculate program will > >> > >> > >calculate > > > > > >>how much of each work center's capacity is being used every day. > >> > >>Once they have that database built, since EZMRP is written in Access, and > >>since the back end is wide open, you could easily write a report in their > >>custom format, although E-Z-MRP does have a traveler report which shows > >> > >> > >the > > > > > >>start date for each operation based on a specific work order, that work > >>order's due date, and the assembly's lead time and, actually, the report > >> > >> > >you > > > > > >>model there looks mostly like an indented bill of materials, which, of > >>course, E-Z-MRP does. > >> > >>Starting with E-Z-MRP's framework might save you a LOT of development > >> > >> > >time. > > > > > >>(BTW, the audit trail that it produces on each inventory transaction, to > >>which you can attach a serial or lot number, also goes along way towards > >>satisfying FDA requirements.) > >> > >>If you're interested after checking the web site, please contact me > >> > >> > >off-line > > > > > >>at bchacc at san.rr.com and I'll give you a system to evaluate. Or call if > >> > >> > >you > > > > > >>want to talk about it - 858-259-4334. > >> > >>HTH > >> > >>Rocky Smolin > >>Beach Access Software > >>http://www.e-z-mrp.com > >> > >> > >> > >> > >>----- Original Message ----- > >>From: "Eric Goetz" > >>To: > >>Sent: Sunday, September 05, 2004 11:32 AM > >>Subject: [AccessD] Parts and assemblies design > >> > >> > >>Hi, > >> > >> > >> > >>I am working on a database to replace some paper forms. I get the > >>feeling I'm starting more "from scratch" than I need to. So I thought > >>I'd ask if anyone knows of any examples of solutions for the following > >>problem. > >> > >> > >> > >>A medical device manufacturer needs to track all the actions performed > >>on each device as it moves through manufacturing to meet FDA > >>requirements. The forms are called "travelers." The first traveler gets > >>created when the device is built. A new traveler gets created every time > >>the device returns from the field (for upgrade or repair.) > >> > >> > >> > >>The forms show each part with its revision, part number, lot number, or > >>other attribute. There are different attributes for different types of > >>parts. Such as, software has a checksum, and a revision number while a > >>relay has does not. Instead, a relay has a lot number. > >> > >> > >> > >>Here are a couple of my challenges: > >> > >> > >> > >>I am modeling parts and assemblies, where an assembly is also a part. As > >>the devices come back from the field, they may get upgraded with > >>different parts and assemblies so the hierarchy is flexible. There seems > >>to be a many to many relationship between parts and assemblies. So, I > >>made a basic parts table: > >> > >> > >> > >>Part { ID, PartNumber, Name } where ID is the primary key > >> > >>Sample data: > >> > >>{ 1, 26.026, Enclosure } > >> > >>{ 57, 26.002, PCA } > >> > >>{ 113, 26.100, ECA } > >> > >>{ 114, 26.098, Xfrm } > >> > >>{ 115, 26.022, Xfrm } > >> > >>{ 116, 26.021, Xfrm } > >> > >> > >> > >>And I made another table to hold the many to many assignments between > >>parts and assemblies. > >> > >>AssyPartAssignment { ID, AssyID, PartID, Name } where ID is the primary > >>key and AssyID and PartID are foreign keys for the ID in the Part table. > >> > >>Sample data: > >> > >>{ 1, 113, 57, Controller PCA } > >> > >>{ 2, 113, 1, ECA Enclosure } > >> > >>{ 3, 57, 114, Xfrm T1 } > >> > >>{ 4, 57, 115, Xfrm T2 } > >> > >>{ 5, 57, 116, Xfrm T3 } > >> > >>{ 6, 57, 115, Xfrm T4 } > >> > >> > >> > >>The report needs to show this hierarchy. > >> > >>26.100 - ECA > >> > >> 26.026 - ECA Enclosure > >> > >> 26.002 - Controller PCA > >> > >> 26.098 - Xfrm T1 > >> > >> 26.022 - Xfrm T2 > >> > >> 26.021 - Xfrm T3 > >> > >> 26.022 - Xfrm T4 > >> > >> > >> > >>The same transformer, 26.022 shows up twice in the PCA assembly. > >> > >> > >> > >>I'll build more tables for the different attributes of parts, such as, > >>software with its checksum, and parts that have only lots, and parts > >>that have revisions and lots. I'll use the ID key from the Part table as > >>the primary key for the subtype tables based on the entity relationship > >>chapter from the CJDate book. > >> > >> > >> > >>I need to make the forms to enter these variable hierarchies. > >> > >> > >> > >>Got any suggestions that might put a little more holiday in my Labor > >>Day? > >> > >> > >> > >>Thanks, > >> > >> > >> > >>Eric > >> > >> > >> > >> > >> > >>-- > >>_______________________________________________ > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >> > >>-- > >>_______________________________________________ > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >> > >>-- > >>_______________________________________________ > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >> > >> > > > > > > > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Mon Sep 6 00:27:28 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 5 Sep 2004 22:27:28 -0700 Subject: [AccessD] Keyboard Shortcut for comments References: <413C48AA.6044.A0516E7@lexacorp.com.pg> Message-ID: <013101c493d2$33406550$6601a8c0@HAL9002> Rats. Another cluttery toolbar. Rocky ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Sunday, September 05, 2004 6:23 PM Subject: Re: [AccessD] Keyboard Shortcut for comments > On 5 Sep 2004 at 9:28, Rocky Smolin - Beach Access S wrote: > > > Dear List: > > > > On the edit toolbar there are icons for commenting and uncommenting blocks of code. Is there a keyboard shortcut for these? > > > > No. > > You can check by going into the Cutomize dialog for toolbars, selecting > options and then selecting "Show shortcut keys in screen tips". > > Then hoivering over any shortcut item will show the shortcut key if it > exists (there are none shown for comment/uncomment) > > > -- > Stuart > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From d.dick at uws.edu.au Mon Sep 6 01:59:40 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Mon, 6 Sep 2004 16:59:40 +1000 Subject: [AccessD] (no subject) In-Reply-To: <2025BB6F17FCB54791F23CD505583328041BA4@starfleet.unknown.local> Message-ID: <000001c493df$153f3330$4a619a89@DDICK> Hi Vlad Many thanks this is cool Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS Sent: Monday, 6 September 2004 2:31 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] (no subject) Darren, I wouldn't set it up like this. Try something like this: Dim dbs As dao.Database Dim rstDataToAppend As dao.Recordset Dim rstTableToAppendTo As dao.Recordset Dim strSQLDataForAppend As String strSQLDataForAppend = "SELECT .....Whatever...." Set dbs = CurrentDB() Set rstDataToAppend = dbs.OpenRecordset(strSQLDataForAppend, dbOpenDynaset) Set rstTableToAppendTo = dbs.OpenRecordset("tblYourTableToAppendTo", dbOpenDynaset) Do Until rstDataToAppend.EOF With rstTableToAppendTo .AddNew !Feild1FromTable = rstDataToAppend!Feild1FromRecordset !Feild2FromTable = rstDataToAppend!Feild2FromRecordset etc etc etc.... .Update End With rstDataToAppend.MoveNext Loop rstDataToAppend.Close rstTableToAppendTo.Close Set rstDataToAppend = Nothing Set rstTableToAppendTo = Nothing dbs.close Set dbs = Nothing A good idea is to also check whether the recordset has any data before hand, otheriwse this will throw up an error. Something like: If rstDataToAppend.Recordcount > 0 then Do Until rstDataToAppend.....etc etc etc HTH Regards Vlad Web: www.actebs.com.au -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Monday, 6 September 2004 1:36 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] (no subject) Hello all I'm having a little trouble with the syntax of an append SQL string I am setting a string value in code based on a booking ID I want to iterate through all the bookings - get the bookingID and then Append it to a table. Pretty basic, but I can never get the correct 'encasing' of the coded value right. EG where to use quotes, where to use ampersands etc. The code snip below is all cool except for the bit in the SQL where it is putting the coded value into the relevant field in the table, IE after the SELECT portion of the SQL Can anyone tidy this up for me? Many thanks in advance Dim strMyValueAsAString as string strMyValueAsAString = Me.BookingID appSQL = "INSERT INTO tblMyBookings ( BookingIDFromBookingsTable ) " _ & "SELECT " & strMyValueAsAString & " FROM tblMyBookings ;" Have a great day Darren -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Paul.Rogers at SummitMedia.co.uk Mon Sep 6 05:39:05 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Mon, 6 Sep 2004 11:39:05 +0100 Subject: [AccessD] Open a form from a different db Message-ID: Many thanks, Alun, very helpful. All the best paul -----Original Message----- From: alun [mailto:apg at alun.de] Sent: 05 September 2004 23:19 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Open a form from a different db --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/2004 From adtp at touchtelindia.net Mon Sep 6 08:52:17 2004 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Mon, 6 Sep 2004 19:22:17 +0530 Subject: [AccessD] Determine current page number of report in preview References: <225449706.20040902101059@cactus.dk> Message-ID: <002301c49418$f3b248d0$d01865cb@winxp> Gustav, It is observed that events generated by a report opened in preview mode, get exhausted in the first forward pass through its pages. As a result, in case of any subsequent navigation through the pages already covered, there is no more firing of any event at all. Values pertaining to Page and CurrentRecord properties of the report remain stuck at the highest value touched (even if the page now being viewed is a lower one in the sequence). In view of the above, any attempt to obtain the current page number (in subsequent passes) from code within the report's module, gets vitiated on account of non-availability of any event that could activate such code. If your situation permits use of code attached to a form, a solution could be worked out, adopting either of the following approaches - (a) Combination of SendKeys method along with API calls. It is based upon the feature that pressing F5 key in the report preview window selects the contents of page counter window at bottom left. (b) Avoiding use of SendKeys by using additional API calls. (In case of (a), the code involved is relatively simple, while (b) might need very bulky & tedious code) I can send you a sample db demonstrating a solution of type (a) above. Your eMail address to be used for this purpose, may please be advised. If you are keen to evolve a solution of type (b) above, you could get some working ideas from the function fTurnPage() at Stephan Leban's site. Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Gustav Brock To: Access Developers discussion and problem solving Sent: Thursday, September 02, 2004 13:40 Subject: [AccessD] Determine current page number of report in preview Hi all (Drew?) How do you catch the current page in preview? Access caches pages while you are browsing forward. Fine, but if the user moves (browses) backwards, the Page property stays on the highest number even though the preview displays the correct lower page number. I guess the only chance would be to catch the current page number from the status line of the preview window but I don't know if that is possible. /gustav From dwaters at usinternet.com Mon Sep 6 09:40:23 2004 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 6 Sep 2004 09:40:23 -0500 Subject: [AccessD] FW: Parts and assemblies design Message-ID: <000901c4941f$712fc6b0$de1811d8@danwaters> Marty, I've talked with the FDA and it turns out that they themselves do not certify anything related to electronic signatures or records. The FDA does certify an individual company's usage of such software or hardware. This means that if a company like Alphatrust says that they have been certified by the FDA, they really mean that they have a customer who has been certified by the FDA. The FDA takes this position because what is good for one company may not be good for another, and the FDA cannot apply a 'blanket' approval for any particular mechanism. They also don't want to be in the position of limiting progress in the development of such mechanisms by certifying something, which then becomes the 'only way to go'. So - software developers like us need to work with our customer's Regulatory Managers to find out what the company's requirements actually are. They will get more difficult as the medical device becomes more complicated or more important to saving lives or maintaining health. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Sunday, September 05, 2004 5:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Parts and assemblies design This may give you an idea what is involved, It is essentially an envelope around the document with a seal that says it hasn't been modified after signing. If you are looking for signatures either digital or digitized (mouse or stylus) that are FDA approved try things like Pronto from Alphatrust http://www.alphatrust.com/products/pronto/desktop.asp Their other products require IE access to a certificate server at around $250 a month. Getting your own hardware certificate server certified by FDA may start to cost you in $10,000 range. Rocky Smolin - Beach Access Software wrote: >Dan: > >I have no shame. > >But I also have no electronic signature feature in the system. > > The system evolved when I first released it (1985) based on what the >customers wanted. So I suppose the first customer who needs electronic >signatures will get it. But I have no earthly idea how they work. Yet. > >Rocky > >----- Original Message ----- >From: "Dan Waters" >To: "'Access Developers discussion and problem solving'" > >Sent: Sunday, September 05, 2004 12:38 PM >Subject: RE: [AccessD] Parts and assemblies design > > > > >>Hi Rocky! >> >>Yes that was shameless. But good! >> >>I was wondering if you address electronic signatures, and if so, what's >> >> >your > > >>approach? >> >>Thanks, >>Dan Waters >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - >>Beach Access Software >>Sent: Sunday, September 05, 2004 2:18 PM >>To: Access Developers discussion and problem solving >>Cc: Tom Hintz >>Subject: Re: [AccessD] Parts and assemblies design >> >>Eric: >> >>Shameless plug for my manufacturing system. You can check it out at >>www.ezmrp.com >> >>It will do the structured bills of material that they need. >> >>I just added a Capacity Requirements Planning module to the system which >>does not yet show on the web site however. In the CRP module you define >>work centers and then add routings for each assembly - queue time, set up >>time and unit run time for each operation. Although it's not part of >> >> >their > > >>immediate requirement, as a bonus, the CRP Calculate program will >> >> >calculate > > >>how much of each work center's capacity is being used every day. >> >>Once they have that database built, since EZMRP is written in Access, and >>since the back end is wide open, you could easily write a report in their >>custom format, although E-Z-MRP does have a traveler report which shows >> >> >the > > >>start date for each operation based on a specific work order, that work >>order's due date, and the assembly's lead time and, actually, the report >> >> >you > > >>model there looks mostly like an indented bill of materials, which, of >>course, E-Z-MRP does. >> >>Starting with E-Z-MRP's framework might save you a LOT of development >> >> >time. > > >>(BTW, the audit trail that it produces on each inventory transaction, to >>which you can attach a serial or lot number, also goes along way towards >>satisfying FDA requirements.) >> >>If you're interested after checking the web site, please contact me >> >> >off-line > > >>at bchacc at san.rr.com and I'll give you a system to evaluate. Or call if >> >> >you > > >>want to talk about it - 858-259-4334. >> >>HTH >> >>Rocky Smolin >>Beach Access Software >>http://www.e-z-mrp.com >> >> >> >> >>----- Original Message ----- >>From: "Eric Goetz" >>To: >>Sent: Sunday, September 05, 2004 11:32 AM >>Subject: [AccessD] Parts and assemblies design >> >> >>Hi, >> >> >> >>I am working on a database to replace some paper forms. I get the >>feeling I'm starting more "from scratch" than I need to. So I thought >>I'd ask if anyone knows of any examples of solutions for the following >>problem. >> >> >> >>A medical device manufacturer needs to track all the actions performed >>on each device as it moves through manufacturing to meet FDA >>requirements. The forms are called "travelers." The first traveler gets >>created when the device is built. A new traveler gets created every time >>the device returns from the field (for upgrade or repair.) >> >> >> >>The forms show each part with its revision, part number, lot number, or >>other attribute. There are different attributes for different types of >>parts. Such as, software has a checksum, and a revision number while a >>relay has does not. Instead, a relay has a lot number. >> >> >> >>Here are a couple of my challenges: >> >> >> >>I am modeling parts and assemblies, where an assembly is also a part. As >>the devices come back from the field, they may get upgraded with >>different parts and assemblies so the hierarchy is flexible. There seems >>to be a many to many relationship between parts and assemblies. So, I >>made a basic parts table: >> >> >> >>Part { ID, PartNumber, Name } where ID is the primary key >> >>Sample data: >> >>{ 1, 26.026, Enclosure } >> >>{ 57, 26.002, PCA } >> >>{ 113, 26.100, ECA } >> >>{ 114, 26.098, Xfrm } >> >>{ 115, 26.022, Xfrm } >> >>{ 116, 26.021, Xfrm } >> >> >> >>And I made another table to hold the many to many assignments between >>parts and assemblies. >> >>AssyPartAssignment { ID, AssyID, PartID, Name } where ID is the primary >>key and AssyID and PartID are foreign keys for the ID in the Part table. >> >>Sample data: >> >>{ 1, 113, 57, Controller PCA } >> >>{ 2, 113, 1, ECA Enclosure } >> >>{ 3, 57, 114, Xfrm T1 } >> >>{ 4, 57, 115, Xfrm T2 } >> >>{ 5, 57, 116, Xfrm T3 } >> >>{ 6, 57, 115, Xfrm T4 } >> >> >> >>The report needs to show this hierarchy. >> >>26.100 - ECA >> >> 26.026 - ECA Enclosure >> >> 26.002 - Controller PCA >> >> 26.098 - Xfrm T1 >> >> 26.022 - Xfrm T2 >> >> 26.021 - Xfrm T3 >> >> 26.022 - Xfrm T4 >> >> >> >>The same transformer, 26.022 shows up twice in the PCA assembly. >> >> >> >>I'll build more tables for the different attributes of parts, such as, >>software with its checksum, and parts that have only lots, and parts >>that have revisions and lots. I'll use the ID key from the Part table as >>the primary key for the subtype tables based on the entity relationship >>chapter from the CJDate book. >> >> >> >>I need to make the forms to enter these variable hierarchies. >> >> >> >>Got any suggestions that might put a little more holiday in my Labor >>Day? >> >> >> >>Thanks, >> >> >> >>Eric >> >> >> >> >> >>-- >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>-- >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>-- >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > > -- Marty Connelly Victoria, B.C. Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lister at actuarial-files.com Mon Sep 6 09:45:50 2004 From: lister at actuarial-files.com (Ralf Lister) Date: Mon, 06 Sep 2004 14:45:50 -0000 Subject: [AccessD] Public Array Message-ID: <000a01c47bc4$0512c860$7abc3ac8@ralf> Hello, In the Declaration section of a form module frmName I declared an array with "Public Container(9) As String". I understood that I have now an Array of 9 String fields. But it doesn't seem to be this way. When I make something like "Container3 = Forms!frmName.Container(3)" in a different form Access gives me an Error Message (# 2465) Can somebody help? TIA Saludos de Bolivia Ralf From gustav at cactus.dk Mon Sep 6 10:19:56 2004 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 6 Sep 2004 17:19:56 +0200 Subject: [AccessD] Public Array In-Reply-To: <000a01c47bc4$0512c860$7abc3ac8@ralf> References: <000a01c47bc4$0512c860$7abc3ac8@ralf> Message-ID: <5330057890.20040906171956@cactus.dk> Hi Ralf It would be Container3 = Container(3) But Container is a reserved word. Pick another. /gustav > In the Declaration section of a form module frmName I declared an array with "Public Container(9) As String". I understood that I have now an Array of 9 String fields. But it doesn't seem to be > this way. > When I make something like "Container3 = Forms!frmName.Container(3)" in a different form Access gives me an Error Message (# 2465) From Subscriptions at servicexp.com Mon Sep 6 16:51:59 2004 From: Subscriptions at servicexp.com (Robert Gracie) Date: Mon, 6 Sep 2004 17:51:59 -0400 Subject: [AccessD] Remove Beginning & Ending Quotes of a string In-Reply-To: <5330057890.20040906171956@cactus.dk> Message-ID: Example "This is a "Fine" Day we are having to day" I need to remove only the first and last quotes. This is a "Fine" Day we are having to day Robert Gracie www.servicexp.com From stuart at lexacorp.com.pg Mon Sep 6 17:17:59 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 07 Sep 2004 08:17:59 +1000 Subject: [AccessD] Remove Beginning & Ending Quotes of a string In-Reply-To: References: <5330057890.20040906171956@cactus.dk> Message-ID: <413D6EB7.24092.E81BB93@lexacorp.com.pg> On 6 Sep 2004 at 17:51, Robert Gracie wrote: > > Example "This is a "Fine" Day we are having to day" > > I need to remove only the first and last quotes. > > This is a "Fine" Day we are having to day > Mid$(myString,2,Len(myString)-2) will drop the first and last character, whatever they are. -- Stuart From Subscriptions at servicexp.com Mon Sep 6 17:27:37 2004 From: Subscriptions at servicexp.com (Robert Gracie) Date: Mon, 6 Sep 2004 18:27:37 -0400 Subject: [AccessD] Remove Beginning & Ending Quotes of a string In-Reply-To: <413D6EB7.24092.E81BB93@lexacorp.com.pg> Message-ID: Thanks Stuart, much cleaner then mine... :-) Private Function ClearQuoutes(ByVal SData As String) As String Dim strTemp As String Dim lngLen As Integer lngLen = Len(SData) If Left(SData, 1) = """" Then strTemp = Left(SData, (lngLen - 1)) strTemp = Right(strTemp, lngLen - 2) ClearQuoutes = strTemp Else ClearQuoutes = SData End If End Function Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Monday, September 06, 2004 6:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Remove Beginning & Ending Quotes of a string On 6 Sep 2004 at 17:51, Robert Gracie wrote: > > Example "This is a "Fine" Day we are having to day" > > I need to remove only the first and last quotes. > > This is a "Fine" Day we are having to day > Mid$(myString,2,Len(myString)-2) will drop the first and last character, whatever they are. -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Sep 6 17:16:03 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 06 Sep 2004 15:16:03 -0700 Subject: [AccessD] Remove Beginning & Ending Quotes of a string In-Reply-To: Message-ID: Hi Robert: Something like: strSentence = ""This is a "Fine" Day we are having to day"" if left(strSentence,1) = chr(34) then strSentence = mid(2,strSentence) if right(strSentence,1) = chr(34) then strSentence = left(strSentence, len(strSentence)-1) ...and that should take care of whether there is a """ or not at the beginning or end as well. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert Gracie Sent: Monday, September 06, 2004 2:52 PM To: Access Developers discussion and problem solving Subject: [AccessD] Remove Beginning & Ending Quotes of a string Example "This is a "Fine" Day we are having to day" I need to remove only the first and last quotes. This is a "Fine" Day we are having to day Robert Gracie www.servicexp.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Mon Sep 6 19:16:52 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Mon, 6 Sep 2004 18:16:52 -0600 Subject: [AccessD] Looping through TableDef.Fields Message-ID: <73950-2200492701652977@christopherhawkins.com> I've done this a thousand time. But right now, I'm full of codeine (broke a toe 30 minutes ago) and cannot think worth squat. Why will this code not work? THe error-causing line is indicated by a ---> [code] Public Sub GetTableInfo(sTableName As String) Dim db As DAO.Database Dim td As DAO.TableDef Dim sSQL As String Dim fld As DAO.Field On Error GoTo Err_GetTableInfo Set db = CurrentDb() Set td = CurrentDb.TableDefs(sTableName) --->For Each fld In td CurrentProject.Connection.Execute "INSERT INTO zTable (TableName, FieldName, Alias, SortOrder) VALUES ('" & sTableName & "', '" & fld.Name & "', '" & fld.Name & "', 0)" Next fld Exit_GetTableInfo: Exit Sub Err_GetTableInfo: MsgBox Err.Description Resume Exit_GetTableInfo End Sub [/code] The marked line causes an "Operation is not supported for this type of object" error. Why? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From jwcolby at colbyconsulting.com Mon Sep 6 20:28:13 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 06 Sep 2004 21:28:13 -0400 Subject: [AccessD] Looping through TableDef.Fields In-Reply-To: <73950-2200492701652977@christopherhawkins.com> Message-ID: <000001c49479$f15771d0$80b3fea9@ColbyM6805> For Each fld In td.Fields John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: Monday, September 06, 2004 8:17 PM To: accessd at databaseadvisors.com Subject: [AccessD] Looping through TableDef.Fields I've done this a thousand time. But right now, I'm full of codeine (broke a toe 30 minutes ago) and cannot think worth squat. Why will this code not work? THe error-causing line is indicated by a ---> [code] Public Sub GetTableInfo(sTableName As String) Dim db As DAO.Database Dim td As DAO.TableDef Dim sSQL As String Dim fld As DAO.Field On Error GoTo Err_GetTableInfo Set db = CurrentDb() Set td = CurrentDb.TableDefs(sTableName) --->For Each fld In td CurrentProject.Connection.Execute "INSERT INTO zTable (TableName, FieldName, Alias, SortOrder) VALUES ('" & sTableName & "', '" & fld.Name & "', '" & fld.Name & "', 0)" Next fld Exit_GetTableInfo: Exit Sub Err_GetTableInfo: MsgBox Err.Description Resume Exit_GetTableInfo End Sub [/code] The marked line causes an "Operation is not supported for this type of object" error. Why? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Paul at PStrauss.net Mon Sep 6 21:00:44 2004 From: Paul at PStrauss.net (Paul Strauss) Date: Mon, 06 Sep 2004 22:00:44 -0400 Subject: [AccessD] (no subject) In-Reply-To: <2025BB6F17FCB54791F23CD505583328041BA4@starfleet.unknown.l ocal> References: <2025BB6F17FCB54791F23CD505583328041BA4@starfleet.unknown.local> Message-ID: <6.1.2.0.2.20040906214116.021d7a30@mail.pstrauss.net> At 9/6/2004 12:30 AM, you wrote: >Darren, > >I wouldn't set it up like this. Try something like this: > > Dim dbs As dao.Database > Dim rstDataToAppend As dao.Recordset > Dim rstTableToAppendTo As dao.Recordset > Dim strSQLDataForAppend As String > > strSQLDataForAppend = "SELECT .....Whatever...." > > > Set dbs = CurrentDB() > Set rstDataToAppend = dbs.OpenRecordset(strSQLDataForAppend, >dbOpenDynaset) > Set rstTableToAppendTo = dbs.OpenRecordset("tblYourTableToAppendTo", >dbOpenDynaset) > ...snip... Any time you can do table manipulations with SQL, rather that DAO, you should choose SQL. DAO is much slower than doing it with SQL. Sure, there are times when only DAO will do, so I am not saying never, but I would always strive to use SQL. If the task at hand is to eat a handful of M&M's, there are two ways to do it 1) one-by-one and 2) shove them all in your mouth and chew. Access can chew up the mouthful and swallow it much faster than it can eat them one at a time. That's just the way it has been built and optimized. >A good idea is to also check whether the recordset has any data before >hand, otheriwse this will throw up an error. >...snip... I agree it a good idea. I've never seemed to need to append from one table to another using a Select inside the Insert, so I am not sure what would happen if the Select didn't return any rows. If it returns a trappable error, then I'd just attempt the Insert and handle this case in the error handler. That would be the fastest way to do it. If a trappable error isn't returned, then opening a recordset with "Select Count(*) ..." and checking that at least one row is returned before doing the Insert would still be faster than doing it the DAO way in a loop. It may also be the case that nothing harmful happens (it is a null operation) and so you don't have to worry. But since you want to do it, and I don't, I'll let you figure out as a "homework" assignment what happens :). Unless I were sure that I always had something to append, I'd lose a good bit a sleep wondering if this would cause my program to blow up. Since I need my sleep, I'd test it. Regards, Paul Strauss ---------- From d.dick at uws.edu.au Mon Sep 6 21:16:16 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 7 Sep 2004 12:16:16 +1000 Subject: [AccessD] (no subject) In-Reply-To: <6.1.2.0.2.20040906214116.021d7a30@mail.pstrauss.net> Message-ID: <000901c49480$a810e220$4a619a89@DDICK> Thanks Paul I really appreciate the advice Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Strauss Sent: Tuesday, 7 September 2004 12:01 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] (no subject) At 9/6/2004 12:30 AM, you wrote: >Darren, > >I wouldn't set it up like this. Try something like this: > > Dim dbs As dao.Database > Dim rstDataToAppend As dao.Recordset > Dim rstTableToAppendTo As dao.Recordset > Dim strSQLDataForAppend As String > > strSQLDataForAppend = "SELECT .....Whatever...." > > > Set dbs = CurrentDB() > Set rstDataToAppend = dbs.OpenRecordset(strSQLDataForAppend, >dbOpenDynaset) > Set rstTableToAppendTo = >dbs.OpenRecordset("tblYourTableToAppendTo", >dbOpenDynaset) > ...snip... Any time you can do table manipulations with SQL, rather that DAO, you should choose SQL. DAO is much slower than doing it with SQL. Sure, there are times when only DAO will do, so I am not saying never, but I would always strive to use SQL. If the task at hand is to eat a handful of M&M's, there are two ways to do it 1) one-by-one and 2) shove them all in your mouth and chew. Access can chew up the mouthful and swallow it much faster than it can eat them one at a time. That's just the way it has been built and optimized. >A good idea is to also check whether the recordset has any data before >hand, otheriwse this will throw up an error. ...snip... I agree it a good idea. I've never seemed to need to append from one table to another using a Select inside the Insert, so I am not sure what would happen if the Select didn't return any rows. If it returns a trappable error, then I'd just attempt the Insert and handle this case in the error handler. That would be the fastest way to do it. If a trappable error isn't returned, then opening a recordset with "Select Count(*) ..." and checking that at least one row is returned before doing the Insert would still be faster than doing it the DAO way in a loop. It may also be the case that nothing harmful happens (it is a null operation) and so you don't have to worry. But since you want to do it, and I don't, I'll let you figure out as a "homework" assignment what happens :). Unless I were sure that I always had something to append, I'd lose a good bit a sleep wondering if this would cause my program to blow up. Since I need my sleep, I'd test it. Regards, Paul Strauss ---------- -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Mon Sep 6 22:07:37 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Mon, 6 Sep 2004 23:07:37 -0400 Subject: [AccessD] Keyboard Shortcut for comments In-Reply-To: <013101c493d2$33406550$6601a8c0@HAL9002> Message-ID: <003201c49487$d4a81ea0$0200a8c0@COA3> But you can customize this, and create a keydb shortcut for it. While in "customize" mode for toolbars, make it show Image and Text, or Text Only, then edit the text, and put an ampersand in front of the character you want to be the accelerator key. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, September 06, 2004 1:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Keyboard Shortcut for comments Rats. Another cluttery toolbar. Rocky ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Sunday, September 05, 2004 6:23 PM Subject: Re: [AccessD] Keyboard Shortcut for comments > On 5 Sep 2004 at 9:28, Rocky Smolin - Beach Access S wrote: > > > Dear List: > > > > On the edit toolbar there are icons for commenting and uncommenting blocks of code. Is there a keyboard shortcut for these? > > > > No. > > You can check by going into the Cutomize dialog for toolbars, > selecting options and then selecting "Show shortcut keys in screen > tips". > > Then hoivering over any shortcut item will show the shortcut key if it > exists (there are none shown for comment/uncomment) > > > -- > Stuart > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Sep 7 00:31:09 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Sep 2004 00:31:09 -0500 Subject: [AccessD] Can you Raid Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB33B@main2.marlow.com> Yes, but Read 0 (mirror) needs a Server OS (not sure if XP can do it, but Win2k Pro cannot create a mirror, only Win2k Server). Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Saturday, September 04, 2004 12:17 PM To: AccessD; Tech - Database Advisors Inc. Subject: [AccessD] Can you Raid Does anyone know if you can use Windows built-in raid capability to set up a raid 1 (mirror) then break the raid and move the mirror to another identical machine as the boot drive? I have a pair of MSI k8n Neo motherboards that I purchased. I have a pair of 80 gb samsung drives in one machine that I have just finished setting up. I need to create an image of that setup and move that image to the other machine. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Tue Sep 7 01:26:09 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 7 Sep 2004 16:26:09 +1000 Subject: [AccessD] A2K: Another Recordset Syntax Q Message-ID: <001701c494a3$90d0f550$4a619a89@DDICK> Hello all Another recordset syntax question One day I'll get it < sigh > The code below does what it is supposed to do except move to the next site name in the recordset WHAT I WANT... I expect the Message box to spit up SiteName1 then I expect another message box: SiteName 2 then another Until all the SiteNames in the Recordset are iterated and displayed in sequential message boxes Problem is I get 5 message boxes (There's 5 site sin the recordset) but always the 1st Sitename never site 2 or 3 or 4 or 5 Something backwards in the syntax or not properly placed is suppose Need help - Any takers? Many thanks in advance Darren For x = 1 To rs.RecordCount With rs .MoveLast MsgBox !SiteName .MoveNext End With Next Have a great day Darren From stuart at lexacorp.com.pg Tue Sep 7 01:39:16 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 07 Sep 2004 16:39:16 +1000 Subject: [AccessD] A2K: Another Recordset Syntax Q In-Reply-To: <001701c494a3$90d0f550$4a619a89@DDICK> Message-ID: <413DE434.21516.104CA311@lexacorp.com.pg> On 7 Sep 2004 at 16:26, Darren DICK wrote: > For x = 1 To rs.RecordCount > With rs > .MoveLast > MsgBox !SiteName > .MoveNext > End With > Next > You keep moving to the last record before you display the Sitename Try rs.Movefirst While not rs.eof Msgbox rs!Sitename rs.Movenext Wend -- Stuart From andy at minstersystems.co.uk Tue Sep 7 01:46:15 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 7 Sep 2004 07:46:15 +0100 Subject: [AccessD] A2K: Another Recordset Syntax Q In-Reply-To: <001701c494a3$90d0f550$4a619a89@DDICK> Message-ID: <000601c494a6$5f5ae190$b274d0d5@minster33c3r25> Hi Darren The .MoveLast is the problem. It takes you to the last record. After that there is no Next to move to. To go through all records this is better. Set rst=..... Do While Not rst.EOF la de da rst.MoveNext Loop When you open a recordset the record pointer is placed on the first record so you don't need a MoveFirst. Another thing. A recordset's .RecordCount is only available after going to the end of the recordset (ie after a .MoveLast), so you can't do your For cos .Recordcount would be 0 if you just opened the recordset. And finally .MoveLast crashes if there are 0 records in the recordset, so if you did want a recordcount you'd have to do something like this: Set rst=... If not rst.eof rst.MoveLast msgbox rst.recordcount rst.MoveFirst Do While Not rst.EOF la de da rst.MoveNext Loop End If Have fun. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK > Sent: 07 September 2004 07:26 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] A2K: Another Recordset Syntax Q > > > Hello all > Another recordset syntax question > One day I'll get it < sigh > > > The code below does what it is supposed to do except move to > the next site name in the recordset WHAT I WANT... I expect > the Message box to spit up SiteName1 then I expect another message > box: SiteName 2 then another > Until all the SiteNames in the Recordset are iterated and > displayed in sequential message boxes > > Problem is I get 5 message boxes (There's 5 site sin the > recordset) but always the 1st Sitename > never site 2 or 3 or 4 or 5 > > Something backwards in the syntax or not properly placed is suppose > > Need help - Any takers? > > Many thanks in advance > > Darren > > For x = 1 To rs.RecordCount > With rs > .MoveLast > MsgBox !SiteName > .MoveNext > End With > Next > > Have a great day > > Darren > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From d.dick at uws.edu.au Tue Sep 7 02:02:22 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 7 Sep 2004 17:02:22 +1000 Subject: [AccessD] A2K: Another Recordset Syntax Q In-Reply-To: <000601c494a6$5f5ae190$b274d0d5@minster33c3r25> Message-ID: <000101c494a8$9f92ef80$4a619a89@DDICK> Andy you da man!!!!!!!!!!!! Outstanding Just what I needed I've put it in the dB already and it works beautifully Many many thanks SYWYE Have a fantastic day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Tuesday, 7 September 2004 4:46 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K: Another Recordset Syntax Q Hi Darren The .MoveLast is the problem. It takes you to the last record. After that there is no Next to move to. To go through all records this is better. Set rst=..... Do While Not rst.EOF la de da rst.MoveNext Loop When you open a recordset the record pointer is placed on the first record so you don't need a MoveFirst. Another thing. A recordset's .RecordCount is only available after going to the end of the recordset (ie after a .MoveLast), so you can't do your For cos .Recordcount would be 0 if you just opened the recordset. And finally .MoveLast crashes if there are 0 records in the recordset, so if you did want a recordcount you'd have to do something like this: Set rst=... If not rst.eof rst.MoveLast msgbox rst.recordcount rst.MoveFirst Do While Not rst.EOF la de da rst.MoveNext Loop End If Have fun. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK > Sent: 07 September 2004 07:26 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] A2K: Another Recordset Syntax Q > > > Hello all > Another recordset syntax question > One day I'll get it < sigh > > > The code below does what it is supposed to do except move to > the next site name in the recordset WHAT I WANT... I expect > the Message box to spit up SiteName1 then I expect another message > box: SiteName 2 then another > Until all the SiteNames in the Recordset are iterated and > displayed in sequential message boxes > > Problem is I get 5 message boxes (There's 5 site sin the > recordset) but always the 1st Sitename > never site 2 or 3 or 4 or 5 > > Something backwards in the syntax or not properly placed is suppose > > Need help - Any takers? > > Many thanks in advance > > Darren > > For x = 1 To rs.RecordCount > With rs > .MoveLast > MsgBox !SiteName > .MoveNext > End With > Next > > Have a great day > > Darren > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Tue Sep 7 02:07:55 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 7 Sep 2004 17:07:55 +1000 Subject: [AccessD] A2K: Another Recordset Syntax Q In-Reply-To: <413DE434.21516.104CA311@lexacorp.com.pg> Message-ID: <000201c494a9$65fdc410$4a619a89@DDICK> Thanks Stuart A mad pom with a similar answer (and an English accent) also told me the same thing :-)) Many thanks to you both Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, 7 September 2004 4:39 PM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] A2K: Another Recordset Syntax Q On 7 Sep 2004 at 16:26, Darren DICK wrote: > For x = 1 To rs.RecordCount > With rs > .MoveLast > MsgBox !SiteName > .MoveNext > End With > Next > You keep moving to the last record before you display the Sitename Try rs.Movefirst While not rs.eof Msgbox rs!Sitename rs.Movenext Wend -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From subs1847 at solution-providers.ie Tue Sep 7 04:08:37 2004 From: subs1847 at solution-providers.ie (Mark L. Breen) Date: Tue, 7 Sep 2004 10:08:37 +0100 Subject: [AccessD] Gmail Invite (D) References: Message-ID: <003901c494ba$474923a0$de1118ac@D8TZHN0J> Hello Francisco, I have to ask, what is gmail? Sorry if this is obvious Mark ----- Original Message ----- From: "Francisco Tapia" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 31, 2004 4:44 PM Subject: [AccessD] Gmail Invite (D) > Ok, here it is again, a Gmail Invite > > Reply off list w/ a funny joke, the Invite goes to the first response. > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Tue Sep 7 04:36:59 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 07 Sep 2004 19:36:59 +1000 Subject: [AccessD] Gmail Invite (D) In-Reply-To: <003901c494ba$474923a0$de1118ac@D8TZHN0J> Message-ID: <413E0DDB.26661.10EF57B7@lexacorp.com.pg> On 7 Sep 2004 at 10:08, Mark L. Breen wrote: > Hello Francisco, > > I have to ask, what is gmail? Sorry if this is obvious > See https://gmail.google.com/?dest=http%3A%2F%2Fgmail.google.com%2Fgmail Then read http://gmail-is-too-creepy.com/ -- Stuart From gustav at cactus.dk Tue Sep 7 05:04:35 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 7 Sep 2004 12:04:35 +0200 Subject: [AccessD] Looping through TableDef.Fields In-Reply-To: <73950-2200492701652977@christopherhawkins.com> References: <73950-2200492701652977@christopherhawkins.com> Message-ID: <10611317864.20040907120435@cactus.dk> Hi Christopher Also: Set td = db.TableDefs(sTableName) and don't forget to Set your objects to Nothing when leaving. /gustav > I've done this a thousand time. But right now, I'm full of codeine > (broke a toe 30 minutes ago) and cannot think worth squat. > Why will this code not work? THe error-causing line is indicated by a --->> > [code] > Public Sub GetTableInfo(sTableName As String) > Dim db As DAO.Database > Dim td As DAO.TableDef > Dim sSQL As String > Dim fld As DAO.Field > On Error GoTo Err_GetTableInfo > Set db = CurrentDb() > Set td = CurrentDb.TableDefs(sTableName) > --->For Each fld In td > CurrentProject.Connection.Execute "INSERT INTO zTable > (TableName, FieldName, Alias, SortOrder) VALUES ('" & sTableName & > "', '" & fld.Name & "', '" & fld.Name & "', 0)" > Next fld > Exit_GetTableInfo: > Exit Sub > Err_GetTableInfo: > MsgBox Err.Description > Resume Exit_GetTableInfo > End Sub > [/code] From cyx5 at cdc.gov Tue Sep 7 06:27:03 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Tue, 7 Sep 2004 07:27:03 -0400 Subject: [AccessD] VB Menus - Creating Function for Actions? Message-ID: Thanks; it looks like case logic will do the trick. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, September 03, 2004 4:00 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] VB Menus - Creating Function for Actions? Hello Karen, I've only done this once with custom menus, but I did use an argument in the Function. For example, OnAction is =StatusChange("Green") There are three items on the menu, Red, Yellow, and Green. They each call the same Function, but the action is dictated by the argument. In the Function, set up a Select Case scenario, and you've gone from three functions to one. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Friday, September 03, 2004 2:16 PM To: accessd at databaseadvisors.com Subject: [AccessD] VB Menus - Creating Function for Actions? I am coding my custom menus for many forms. From what I have read, it seems that in order to process an .OnAction, one needs to create a function that can be reference inside of, for instance: .Caption = "Tracking Sheet - Approval Applications" .OnAction = "fnOpenTrackingSystemCL" Do I really need to create functions to execute something as simple as: DoCmd.OpenForm "frmTrackingSystemCL", acNormal DoCmd.Maximize (which is in the function fnOpenTrackingSystemCL) Show below is my code for the menu item; there are a few modules associated with this code to make it work, but this is the bulk of it: Sub CreateNewMenuB() Dim strMenuNameB As String Dim cmdNewMenuB As CommandBar Dim cctlFormMenuB As CommandBarControl Dim cctlExitMenuB As CommandBarControl strMenuNameB = "ClosedProjectsMenu" 'If strMenuName exists then deleted it. Commandbars have unique names. 'See global section for fIsCreated If fIsCreated(strMenuNameB) Then Application.CommandBars(strMenuNameB).Delete End If 'Create a new Commandbar as MenuType Set cmdNewMenuB = Application.CommandBars.Add(strMenuNameB, msoBarTop, True, False) With cmdNewMenuB 'Set commandbar protection to no protection so users can change it .Protection = msoBarNoProtection 'Show new menu .Visible = True End With 'Creating Form menu Set cctlFormMenuB = cmdNewMenuB.Controls.Add(msoControlPopup) cctlFormMenuB.Caption = "&File" 'Creating Exit menu under File Set cctlExitMenuB = cctlFormMenuB.Controls.Add(msoControlButton) With cctlExitMenuB .Caption = "R&eturn" .OnAction = "fnQuitApp" .Caption = "Tracking Sheet - Approval Applications" .OnAction = "fnOpenTrackingSystemCL" End With End Sub Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Tue Sep 7 07:44:11 2004 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 7 Sep 2004 08:44:11 -0400 Subject: [AccessD] Keyboard Shortcut for comments In-Reply-To: <013101c493d2$33406550$6601a8c0@HAL9002> References: <413C48AA.6044.A0516E7@lexacorp.com.pg> <013101c493d2$33406550$6601a8c0@HAL9002> Message-ID: On Sun, 5 Sep 2004 22:27:28 -0700, Rocky Smolin - Beach Access Software wrote: > Rats. Another cluttery toolbar. Not necessarily. I copied them from the edit tool bar to the menu bar. Now they sit beside the Help menu item, and are always available. -- 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 fhtapia at gmail.com Tue Sep 7 08:02:01 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 7 Sep 2004 06:02:01 -0700 Subject: [AccessD] Gmail Invite (D) In-Reply-To: <413E0DDB.26661.10EF57B7@lexacorp.com.pg> References: <003901c494ba$474923a0$de1118ac@D8TZHN0J> <413E0DDB.26661.10EF57B7@lexacorp.com.pg> Message-ID: Thanks, Gmail takes a new approach to email. Not only do you get 1gb of storage, but you get much more, organization is easier and following threads in any mailing list is a breeze! I really do dig it, so much that I've moved many of my current mailing subscriptions to it. On Tue, 07 Sep 2004 19:36:59 +1000, Stuart McLachlan wrote: > On 7 Sep 2004 at 10:08, Mark L. Breen wrote: > > > Hello Francisco, > > > > I have to ask, what is gmail? Sorry if this is obvious > > > > See > https://gmail.google.com/?dest=http%3A%2F%2Fgmail.google.com%2Fgmail > > Then read > > http://gmail-is-too-creepy.com/ > > -- > Stuart > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From Mark.Mitsules at ngc.com Tue Sep 7 08:03:09 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Tue, 7 Sep 2004 09:03:09 -0400 Subject: [AccessD] Access & AutoCAD Message-ID: Sorry for the late replies...4-day weekend;) As an engineering department, we utilize a plethora of CAD/modeling packages, but the driving force behind using AutoCAD in this instance is that the facilities management department uses AutoCAD and they have graciously bestowed upon me a full-scale floor plan. Currently, the information which I am trying to consolidate, which includes a physical representation of the floor plan, resides in several Excel spreadsheets. Several copies of the worksheets are necessary to cover all the information for office equipment and personnel. Many of these "overlays" include the personnel name data. Each time a minor change occurs in the department, several of these "overlays" must be changed. You can see how my innate sense of normalization was offended at this process;) So, what I proposed was a single normalized database that would store all of the data for personnel and equipment. The AutoCAD drawing could then be updated dynamically as needed...such as when personnel move and we need to update the "You are here" maps that show the cubicle locations for everyone. A secondary reason for using in-house readily available software, is that, when complete, this combined Access/AutoCAD application will be submitted as an "Opportunity For Improvement" to hopefully be utilized throughout the enterprise. Mark -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Saturday, September 04, 2004 12:59 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access & AutoCAD Hi Mark: Sorry I am late to this conversation but is not AutoCAD comprised of a group of exposed objects (dlls and ActiveX components) and AutoLISP, a VBA type language. You of course have to be on a station where AutoCAD is installed as well as Access. One friend works in a government mapping office that uses ArcInfo but has a number of translators and automated translation processes, one script used translates AutoCAD DWG files into ArcInfo files and back...all using various built in objects and their properties. I know they have the capabilities to automate the extraction by levels, object types etc.. I imagine anything else would be possible. I think there is a few downloads and samples from some of the companies that work extensively with various government agencies like: http://www.esri.com/. I might be able to get some help but would have to know a specific requirement. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 02, 2004 12:51 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access & AutoCAD Both. First project is our departmental floor plan which will include ALL of the attributes for personnel and equipment. Later projects will build BOM drawings in AutoCAD dynamically. Concurrently with those, I would like to develop an automation process which monitors a network folder, and when a new drawing is placed there, automatically extract certain drawing attributes, log them into a database, and create a .dwf format version for intranet publication. Mark -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Thursday, September 02, 2004 1:30 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access & AutoCAD Mark, Are you trying to use automation between the two or are you trying to use access as a database for Autocad Attributes? John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 02, 2004 12:04 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access & AutoCAD ...so I'm guessing I'm the only one in this unique position:((( Mark -----Original Message----- From: Mitsules, Mark Sent: Wednesday, September 01, 2004 5:42 PM To: [AccessD] Subject: [AccessD] Access & AutoCAD Has anyone tackled this combination? There is ONE example in the AutoCAD samples folder. There is ONE book that I found regarding database connectivity (circa 1999). ...and a DISTINCT lack of web-based material as far as I can tell:( I would be most appreciative for pointers towards any of the following: recent books (AutoCAD 2002 or later), web-based tutorials, web-based examples, personal examples, cave paintings...anything. Thanks in advance for any/all information. Mark Conversely, I am willing to pay $40 to anyone willing to take the AutoCAD help files and develop a booklet within the next 2 weeks, including a table of contents, that will allow me to chronologically work my way through a project. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kost36 at otenet.gr Tue Sep 7 08:24:52 2004 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Tue, 7 Sep 2004 16:24:52 +0300 Subject: [AccessD] Protecting a subform with password References: Message-ID: <000801c494de$0ff1c550$0100a8c0@KOST36> Hi group, thank's all for your response to my question I tried the follown (which seems to work) and was wondering if it could be possible and how to hide the line "Level0Pass = "123"" making it unreadable e.g. instead of 123 to appear *** thank you kostas Private Sub Command0_Click() Dim Green As Boolean, Level0Pass As String, stDocName As String, stLinkCriteria As String Level0Pass = "123" Green = False If Pass = Level0Pass Then Green = True End If If Green Then stDocName = "MT_entoli" stLinkCriteria = "[AM]=" & [Forms]![MT_basic_char]![AM] DoCmd.OpenForm stDocName, , , stLinkCriteria DoCmd.Close acForm, "P_Form" Else DoCmd.Close End If End Sub From Jdemarco at hudsonhealthplan.org Tue Sep 7 08:41:21 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Tue, 7 Sep 2004 09:41:21 -0400 Subject: [AccessD] Protecting a subform with password Message-ID: <08F823FD83787D4BA0B99CA580AD3C74089B4C@TTNEXCHCL2.hshhp.com> I don't think you can hide it in a code module but you do have ways to obscure it. If a user gets into this code they can bypass the security anyway so encrypting or hiding the value in a module will only provide very limited trouble to someone who wants to get in. 1. Put the value in a table and name the table and field something completely unrelated to security (i.e Table Name: tblCleanup, FieldName: Status). Then use a recordset to grab the check value. 2. Rename the variables to something harmless and break the variable up into pieces using concatenation to put it back together: 3. If Pass is a control on your form rename that to something harmless as well so as not to provide clues to its function. Here is your code rewritten with this technique applied. Of course you'll use dummy variable names that hide what you're doing better than these examples. Dim sStart as String dim Green as Boolean Dim sMid as String Dim stDocName as String Dim sEnd as String dim stLinkCriteria as String Dim sPutItTogether as String sStart = "1" Green = False sMid = "2" 'add a comment or two here to separate the two values (mid and end) sEnd = "3" sPutItTogether = sStart & sMid & sEnd If Status = sPutItTogether Then Green = True End If If Green Then stDocName = "MT_entoli" stLinkCriteria = "[AM]=" & [Forms]![MT_basic_char]![AM] DoCmd.OpenForm stDocName, , , stLinkCriteria DoCmd.Close acForm, "P_Form" Else DoCmd.Close End If HTH, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kostas Konstantinidis Sent: Tuesday, September 07, 2004 9:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Protecting a subform with password Hi group, thank's all for your response to my question I tried the follown (which seems to work) and was wondering if it could be possible and how to hide the line "Level0Pass = "123"" making it unreadable e.g. instead of 123 to appear *** thank you kostas Private Sub Command0_Click() Dim Green As Boolean, Level0Pass As String, stDocName As String, stLinkCriteria As String Level0Pass = "123" Green = False If Pass = Level0Pass Then Green = True End If If Green Then stDocName = "MT_entoli" stLinkCriteria = "[AM]=" & [Forms]![MT_basic_char]![AM] DoCmd.OpenForm stDocName, , , stLinkCriteria DoCmd.Close acForm, "P_Form" Else DoCmd.Close End If End Sub -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From DWUTKA at marlow.com Tue Sep 7 09:11:37 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Sep 2004 09:11:37 -0500 Subject: [AccessD] A2K ideas on Order Entry Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB342@main2.marlow.com> The beauty of unbound forms, with custom classes handling your processes, is the ability to create your own events. I have built several projects where the forms display data based upon Global Class Objects, which interact through events. For example, I have an Inventory object, that has an 'inventory changed' event. Whenever something happens to the inventory (which is done through this class), it raises that event, and all open forms that have are using this class receive that event, and thus update themselves with the new information. Yes, it takes a little longer to set something like that up, but it is extraordinarily handy as you build more complex and 'smarter' applications. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco Tapia Sent: Saturday, September 04, 2004 1:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] A2K ideas on Order Entry Brainstorming here: I have a parent form which houses important order entry information such as Billto/Shipto, PO#, SO#, and Notes... along with that I have a listbox (but have been working on a readonly subform datasheet view). Users currently go into a popup window box to add new lineitems to this order. However... I'd like to control where the popup box hovers over... meaning allowing for the subform to be viewable while the popup form is on the screen. This allows ME to refresh the subform to display the newly entered items. now currently while in the popup mode, I've made it so that as soon as one line entry is complete, the form display clears out to allow another entry, and thus all the data entry guy has to do is key in the new qty etc. for his order. but once he is done, I use a keypreview to capture the ESC key to allow them to get out. I thought about what if they could just hit ENTER and when the QTY field is null it should kick him out, but I get a bizzar error on the .OnExit event of the Qty Field. thus I can't exit the form while it's processing or something like that.... any ideas?.. (yeah I realize that its' 12:00am PST but that's when the mind is wandering :D) thanks, -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Tue Sep 7 09:37:47 2004 From: artful at rogers.com (Arthur Fuller) Date: Tue, 7 Sep 2004 10:37:47 -0400 Subject: [AccessD] Syntax question about control references In-Reply-To: <413DE434.21516.104CA311@lexacorp.com.pg> Message-ID: <012901c494e8$3ea6aa50$6501a8c0@rock> My form has controls whose names derive from the EoM() of a given date. That is, the end of a month. The control's name will be something such as "12/31/2004", etc. I need to set the focus to the column corresponding to today's date. For the date on which I am writing this message, the correct column is named "9/30/2004". I can derive this like so: ? eom(date) 9/30/2004 The EoM() function (which I wrote) returns a date. I need to take this value and turn it into a reference to a column, such that I can write: Me.columnName.SetFocus I haven't quite got it yet. Any suggestions? TIA, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 07, 2004 2:39 AM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] A2K: Another Recordset Syntax Q On 7 Sep 2004 at 16:26, Darren DICK wrote: > For x = 1 To rs.RecordCount > With rs > .MoveLast > MsgBox !SiteName > .MoveNext > End With > Next > You keep moving to the last record before you display the Sitename Try rs.Movefirst While not rs.eof Msgbox rs!Sitename rs.Movenext Wend -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Tue Sep 7 09:51:30 2004 From: artful at rogers.com (Arthur Fuller) Date: Tue, 7 Sep 2004 10:51:30 -0400 Subject: [AccessD] Re: Syntax question about control references Message-ID: <012a01c494ea$292698f0$6501a8c0@rock> I loaded the object browser and looked at what Access thinks of as the control names. Here I find that the controls are named like this: Ctl9_30_2004 So all it takes is one line to set the focus to said control: Me.Ctl9_30_2004.SetFocus However, this is still not quite the perfect solution that I'm looking for. The form in question is a datasheet with one frozen column, so the titles of the rows are visible at all times. The line above places the focus exactly where I want it, but the unfrozen part of the form scrolls only far enough to make said column visible. What I really want is either of these two options: A) make the first of the scrollable columns BoY(date), i.e. 1/1/2004; or B) make the first of the scrollable columns EoM(date), i.e. 9/30/2004. In either case, I could construct the name by executing the EoM() and/or BoY() functions, then substitute "_" for "/", then stringify that. But will that work? I would need to plug the result into the statement, like so: Me..SetFocus And that only gets me halfway to my goal, which is to scroll the columns to that particular column. Suggestions greatly appreciated! A. From michael.mattys at adelphia.net Tue Sep 7 09:58:36 2004 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue, 7 Sep 2004 10:58:36 -0400 Subject: [AccessD] Syntax question about control references References: <012901c494e8$3ea6aa50$6501a8c0@rock> Message-ID: <008501c494eb$27dc4930$6401a8c0@default> ----- Original Message ----- From: "Arthur Fuller" > My form has controls whose names derive from the EoM() of a given date. > That is, the end of a month. The control's name will be something such > as "12/31/2004", etc. I need to set the focus to the column > corresponding to today's date. For the date on which I am writing this > message, the correct column is named "9/30/2004". ... > The EoM() function (which I wrote) returns a date. I need to take this > value and turn it into a reference to a column, such that I can write: > > Me.columnName.SetFocus Arthur, It looks like you mean to say that you have a subform set to "continuous forms." If that's the case, you'd say Me.SubformName.Form.Controls("EOMDate").SetFocus ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From gustav at cactus.dk Tue Sep 7 10:07:50 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 7 Sep 2004 17:07:50 +0200 Subject: [AccessD] Re: Syntax question about control references In-Reply-To: <012a01c494ea$292698f0$6501a8c0@rock> References: <012a01c494ea$292698f0$6501a8c0@rock> Message-ID: <429512877.20040907170750@cactus.dk> Hi Arthur Don't know about the scrolling, but the focus could be set like this: Me("Ctl" & Format(EoM(), "m\_d\_yyyy")).SetFocus /gustav > I loaded the object browser and looked at what Access thinks of as the > control names. Here I find that the controls are named like this: > Ctl9_30_2004 > So all it takes is one line to set the focus to said control: > Me.Ctl9_30_2004.SetFocus > However, this is still not quite the perfect solution that I'm looking > for. The form in question is a datasheet with one frozen column, so the > titles of the rows are visible at all times. The line above places the > focus exactly where I want it, but the unfrozen part of the form scrolls > only far enough to make said column visible. What I really want is > either of these two options: > A) make the first of the scrollable columns BoY(date), i.e. 1/1/2004; or > B) make the first of the scrollable columns EoM(date), i.e. 9/30/2004. > In either case, I could construct the name by executing the EoM() and/or > BoY() functions, then substitute "_" for "/", then stringify that. But > will that work? I would need to plug the result into the statement, like > so: > Me..SetFocus > And that only gets me halfway to my goal, which is to scroll the columns > to that particular column. > Suggestions greatly appreciated! > A. From CMackin at Quiznos.com Tue Sep 7 10:17:14 2004 From: CMackin at Quiznos.com (Mackin, Christopher) Date: Tue, 7 Sep 2004 09:17:14 -0600 Subject: [AccessD] Syntax question about control references Message-ID: strCtlName = CStr(eom(date)) Me(strCtlName).SetFocus Should work. -Chris Mackin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Tuesday, September 07, 2004 8:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Syntax question about control references My form has controls whose names derive from the EoM() of a given date. That is, the end of a month. The control's name will be something such as "12/31/2004", etc. I need to set the focus to the column corresponding to today's date. For the date on which I am writing this message, the correct column is named "9/30/2004". I can derive this like so: ? eom(date) 9/30/2004 The EoM() function (which I wrote) returns a date. I need to take this value and turn it into a reference to a column, such that I can write: Me.columnName.SetFocus I haven't quite got it yet. Any suggestions? TIA, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, September 07, 2004 2:39 AM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] A2K: Another Recordset Syntax Q On 7 Sep 2004 at 16:26, Darren DICK wrote: > For x = 1 To rs.RecordCount > With rs > .MoveLast > MsgBox !SiteName > .MoveNext > End With > Next > You keep moving to the last record before you display the Sitename Try rs.Movefirst While not rs.eof Msgbox rs!Sitename rs.Movenext Wend -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Sep 7 10:18:04 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 07 Sep 2004 11:18:04 -0400 Subject: [AccessD] A2K ideas on Order Entry In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8031BB342@main2.marlow.com> Message-ID: <000601c494ed$e3cd9e80$80b3fea9@ColbyM6805> Drew, I most appreciate your observations re classes and events, but it is unhelpful to cast them in the light of unbound forms. Any class can generate a custom event (even a form's class), they can do so without forms even being involved, and they can do so to manage a bound form as easily as an unbound form. But yes, your observations re transmitting messages to other classes (and forms) is right on target. Way cool. I use a set of classes to handle logging process messages to disk. Have you ever looked at SQL Server's log, or windows startup log? Very handy to troubleshoot what's going on when something fails. I have a set of classes that listens for an event (on a message channel in my case). If they receive that message (sink an event and the message is for it), the class logs the message content into a disk file. I use exactly the same process to log process status to tables when my program needs to monitor process status. A set of classes monitors a message channel (sinks an event for a message class instance) and if the message is for that class, writes the message content to a table. Using "loggers" in this fashion allows my programs to log processes without each piece having to know how to log to a disk file or log to a table. It simply calls a message class instance method and passes a to:, subject:, and message: and the logger handles the rest. I can have multiple logger instances, one each process that needs logging, each instance knows it's disk file name or table name and logs to the right place. In fact I also use the message class for inter-form and inter-process communications inside an application. Once you have a message class built, it is trivial to pass messages to any other class (only classes can sink events). My framework automatically starts one general purpose message class so that is a known entity sure to exist. Any process can send a message on that message instance. If a process needs it's own message channel for some reason, it can ask the framework to open another instance (stored in a collection by message channel name) and pass back a pointer to that channel instance. Now any set of classes involved in that process go get a pointer to that message channel instance and use that as a private message channel. Custom events allow processes to be "black box", do their thing, and broadcast an event when some thing happens. That is extremely useful in interface design since it isolates classes. The matching part (or parts) don't have to be running to test, different parts can sink the events in different situations etc. This stuff is way cool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, September 07, 2004 10:12 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K ideas on Order Entry The beauty of unbound forms, with custom classes handling your processes, is the ability to create your own events. I have built several projects where the forms display data based upon Global Class Objects, which interact through events. For example, I have an Inventory object, that has an 'inventory changed' event. Whenever something happens to the inventory (which is done through this class), it raises that event, and all open forms that have are using this class receive that event, and thus update themselves with the new information. Yes, it takes a little longer to set something like that up, but it is extraordinarily handy as you build more complex and 'smarter' applications. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco Tapia Sent: Saturday, September 04, 2004 1:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] A2K ideas on Order Entry Brainstorming here: I have a parent form which houses important order entry information such as Billto/Shipto, PO#, SO#, and Notes... along with that I have a listbox (but have been working on a readonly subform datasheet view). Users currently go into a popup window box to add new lineitems to this order. However... I'd like to control where the popup box hovers over... meaning allowing for the subform to be viewable while the popup form is on the screen. This allows ME to refresh the subform to display the newly entered items. now currently while in the popup mode, I've made it so that as soon as one line entry is complete, the form display clears out to allow another entry, and thus all the data entry guy has to do is key in the new qty etc. for his order. but once he is done, I use a keypreview to capture the ESC key to allow them to get out. I thought about what if they could just hit ENTER and when the QTY field is null it should kick him out, but I get a bizzar error on the .OnExit event of the Qty Field. thus I can't exit the form while it's processing or something like that.... any ideas?.. (yeah I realize that its' 12:00am PST but that's when the mind is wandering :D) thanks, -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Tue Sep 7 10:27:37 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Tue, 7 Sep 2004 11:27:37 -0400 Subject: [AccessD] Logon/Password Same as Network Message-ID: I know how to grab the logon from the network; is there a way to make the password to be the same as the password housed on the network so that the user will have the same logon/password? Thanks! Karen Nicholson National Laboratory Xerox Global Services From Lambert.Heenan at AIG.com Tue Sep 7 11:02:54 2004 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 7 Sep 2004 12:02:54 -0400 Subject: [AccessD] Logon/Password Same as Network Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F02D088D1@xlivmbx21.aig.com> What's "the password"? Do you mean the logging password used for Access Security? Why would you want to make this the same as the users LAN login password? To do so would require your to keep the two synchronized and that would be a pain. Or do you in fact want to use the "Windows NT Challenge" process to validate an already logged in user? All I can say is that Authentication is kinda complex, but take a look here for an example.... http://vbnet.mvps.org/index.html?code/network/acceptsecuritycontext.htm Just be sure not to store those passwords anywhere or you will open up a security hole big enough to drive an 18-wheeler through. Lambert > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen > Sent: Tuesday, September 07, 2004 11:28 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Logon/Password Same as Network > > I know how to grab the logon from the network; is there a way to make > the password to be the same as the password housed on the network so > that the user will have the same logon/password? Thanks! > > Karen Nicholson > National Laboratory > Xerox Global Services > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Sep 7 11:32:20 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Sep 2004 11:32:20 -0500 Subject: [AccessD] A2K ideas on Order Entry Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB344@main2.marlow.com> I was referring to unbound forms because in the business logic structures I have built, the business logic is built into stand along classes. These classes can then be used by any form. So the classes let the forms interact. Yes, you can put events into bound forms, but you don't have the same 'interaction' then. For instance, in Francisco's original message, he could get around his particular issue by creating an event for his main form, which he can sink into his popup form, so when he triggers that event, the popup form receives it, and acts appropriately. In my case, I built the entire structure that way, so one interaction is seen by all that need it. Here's an example. I built in Inventory Class. This class can be used to add inventory items, create inventory transactions, modify inventory items, etc. etc. Anything and everything to do with the inventory system required by the business logic. So now I build a few forms. One to add/modify inventory items (not actual transactions, but item definitions), on for inventory transactions. Now I also have a Site class (where inventory goes/comes from, during transactions). Same principle, it handles all of the interactions with Sites. The inventory transaction form uses both the Inventory class and the Site class. There is also a Site Add/Edit form. All three forms work independantly, however, due to the events within the classes, when something is done that 'could' affect another class, then events are raised, and any open form that uses that class is notified. I know this could still be done strictly with bound forms, but I think the unbound approach is cleaner. In the example above, I would need to reference two forms, to capture any/all changes to the inventory (and if I'm making a third form, I would have to go back and modify the first two forms to handle the third), where as the central class method handles it all by itself. No going back to modify other forms, new forms can be built whenever needed, and all of the existing forms need not be aware of them, since they all work off of the same Inventory object. Okay, nuff said, cause we don't need another bound/unbound discussion. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 10:18 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K ideas on Order Entry Drew, I most appreciate your observations re classes and events, but it is unhelpful to cast them in the light of unbound forms. Any class can generate a custom event (even a form's class), they can do so without forms even being involved, and they can do so to manage a bound form as easily as an unbound form. But yes, your observations re transmitting messages to other classes (and forms) is right on target. Way cool. I use a set of classes to handle logging process messages to disk. Have you ever looked at SQL Server's log, or windows startup log? Very handy to troubleshoot what's going on when something fails. I have a set of classes that listens for an event (on a message channel in my case). If they receive that message (sink an event and the message is for it), the class logs the message content into a disk file. I use exactly the same process to log process status to tables when my program needs to monitor process status. A set of classes monitors a message channel (sinks an event for a message class instance) and if the message is for that class, writes the message content to a table. Using "loggers" in this fashion allows my programs to log processes without each piece having to know how to log to a disk file or log to a table. It simply calls a message class instance method and passes a to:, subject:, and message: and the logger handles the rest. I can have multiple logger instances, one each process that needs logging, each instance knows it's disk file name or table name and logs to the right place. In fact I also use the message class for inter-form and inter-process communications inside an application. Once you have a message class built, it is trivial to pass messages to any other class (only classes can sink events). My framework automatically starts one general purpose message class so that is a known entity sure to exist. Any process can send a message on that message instance. If a process needs it's own message channel for some reason, it can ask the framework to open another instance (stored in a collection by message channel name) and pass back a pointer to that channel instance. Now any set of classes involved in that process go get a pointer to that message channel instance and use that as a private message channel. Custom events allow processes to be "black box", do their thing, and broadcast an event when some thing happens. That is extremely useful in interface design since it isolates classes. The matching part (or parts) don't have to be running to test, different parts can sink the events in different situations etc. This stuff is way cool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, September 07, 2004 10:12 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K ideas on Order Entry The beauty of unbound forms, with custom classes handling your processes, is the ability to create your own events. I have built several projects where the forms display data based upon Global Class Objects, which interact through events. For example, I have an Inventory object, that has an 'inventory changed' event. Whenever something happens to the inventory (which is done through this class), it raises that event, and all open forms that have are using this class receive that event, and thus update themselves with the new information. Yes, it takes a little longer to set something like that up, but it is extraordinarily handy as you build more complex and 'smarter' applications. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco Tapia Sent: Saturday, September 04, 2004 1:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] A2K ideas on Order Entry Brainstorming here: I have a parent form which houses important order entry information such as Billto/Shipto, PO#, SO#, and Notes... along with that I have a listbox (but have been working on a readonly subform datasheet view). Users currently go into a popup window box to add new lineitems to this order. However... I'd like to control where the popup box hovers over... meaning allowing for the subform to be viewable while the popup form is on the screen. This allows ME to refresh the subform to display the newly entered items. now currently while in the popup mode, I've made it so that as soon as one line entry is complete, the form display clears out to allow another entry, and thus all the data entry guy has to do is key in the new qty etc. for his order. but once he is done, I use a keypreview to capture the ESC key to allow them to get out. I thought about what if they could just hit ENTER and when the QTY field is null it should kick him out, but I get a bizzar error on the .OnExit event of the Qty Field. thus I can't exit the form while it's processing or something like that.... any ideas?.. (yeah I realize that its' 12:00am PST but that's when the mind is wandering :D) thanks, -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ 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 Sep 7 12:38:58 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 7 Sep 2004 18:38:58 +0100 Subject: [AccessD] Broadcast A Message In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8031BB344@main2.marlow.com> Message-ID: <000001c49501$8e6e8490$b274d0d5@minster33c3r25> Hi folks Anyone got any info/code to broadcast a message to selected machines/users. We've an NT4 server and a Novell server so could use either technology. -- Andy Lacey http://www.minstersystems.co.uk From jwcolby at colbyconsulting.com Tue Sep 7 12:58:27 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 07 Sep 2004 13:58:27 -0400 Subject: [AccessD] A2K ideas on Order Entry In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8031BB344@main2.marlow.com> Message-ID: <000701c49504$4817e5b0$80b3fea9@ColbyM6805> Drew, I understand what you are saying but there is no reason a bound form cannot use (reference) those same business classes. That's all I'm saying. It has absolutely nothing to do with bound / unbound. I (mostly) use bound forms. But I routinely reference business classes from those forms. The form's class references the class Withevents and can now sink events from that class if it needs to. If a new form needs to receive messages from that class then it simply gets a pointer to that class instance. By dimming the class global in a module (and initializing it there) ANY form (or any class, since a form is just a class after all) can grab a pointer to the class and sink any events broadcast by that class. You didn't say whether these unbound forms are getting a pointer to an instance of a single (global) class or dimming an instance of the class in each form. Either way, a bound form can do exactly the same things. If a business class instance is created for each form then a message channel such as I described previously allows intercommunication. The business class instance sends a message on the (global) message channel. If a global business class instance is used by all forms, then each form grabs a pointer to the global class instance directly and calls methods of the class to inform the class (other users of the class) that it has manipulated data, and sinks it's events to determine that other forms have manipulated data. Either way, bound or unbound doesn't matter. I agree, this is not about bound vs unbound, but rather whether the same concepts can be applied or used and they most certainly can. I simply don't want our members saying "oh, I'm using bound so I can't use that idea". Of course they can, I do every day. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, September 07, 2004 12:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K ideas on Order Entry I was referring to unbound forms because in the business logic structures I have built, the business logic is built into stand along classes. These classes can then be used by any form. So the classes let the forms interact. Yes, you can put events into bound forms, but you don't have the same 'interaction' then. For instance, in Francisco's original message, he could get around his particular issue by creating an event for his main form, which he can sink into his popup form, so when he triggers that event, the popup form receives it, and acts appropriately. In my case, I built the entire structure that way, so one interaction is seen by all that need it. Here's an example. I built in Inventory Class. This class can be used to add inventory items, create inventory transactions, modify inventory items, etc. etc. Anything and everything to do with the inventory system required by the business logic. So now I build a few forms. One to add/modify inventory items (not actual transactions, but item definitions), on for inventory transactions. Now I also have a Site class (where inventory goes/comes from, during transactions). Same principle, it handles all of the interactions with Sites. The inventory transaction form uses both the Inventory class and the Site class. There is also a Site Add/Edit form. All three forms work independantly, however, due to the events within the classes, when something is done that 'could' affect another class, then events are raised, and any open form that uses that class is notified. I know this could still be done strictly with bound forms, but I think the unbound approach is cleaner. In the example above, I would need to reference two forms, to capture any/all changes to the inventory (and if I'm making a third form, I would have to go back and modify the first two forms to handle the third), where as the central class method handles it all by itself. No going back to modify other forms, new forms can be built whenever needed, and all of the existing forms need not be aware of them, since they all work off of the same Inventory object. Okay, nuff said, cause we don't need another bound/unbound discussion. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 10:18 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K ideas on Order Entry Drew, I most appreciate your observations re classes and events, but it is unhelpful to cast them in the light of unbound forms. Any class can generate a custom event (even a form's class), they can do so without forms even being involved, and they can do so to manage a bound form as easily as an unbound form. But yes, your observations re transmitting messages to other classes (and forms) is right on target. Way cool. I use a set of classes to handle logging process messages to disk. Have you ever looked at SQL Server's log, or windows startup log? Very handy to troubleshoot what's going on when something fails. I have a set of classes that listens for an event (on a message channel in my case). If they receive that message (sink an event and the message is for it), the class logs the message content into a disk file. I use exactly the same process to log process status to tables when my program needs to monitor process status. A set of classes monitors a message channel (sinks an event for a message class instance) and if the message is for that class, writes the message content to a table. Using "loggers" in this fashion allows my programs to log processes without each piece having to know how to log to a disk file or log to a table. It simply calls a message class instance method and passes a to:, subject:, and message: and the logger handles the rest. I can have multiple logger instances, one each process that needs logging, each instance knows it's disk file name or table name and logs to the right place. In fact I also use the message class for inter-form and inter-process communications inside an application. Once you have a message class built, it is trivial to pass messages to any other class (only classes can sink events). My framework automatically starts one general purpose message class so that is a known entity sure to exist. Any process can send a message on that message instance. If a process needs it's own message channel for some reason, it can ask the framework to open another instance (stored in a collection by message channel name) and pass back a pointer to that channel instance. Now any set of classes involved in that process go get a pointer to that message channel instance and use that as a private message channel. Custom events allow processes to be "black box", do their thing, and broadcast an event when some thing happens. That is extremely useful in interface design since it isolates classes. The matching part (or parts) don't have to be running to test, different parts can sink the events in different situations etc. This stuff is way cool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, September 07, 2004 10:12 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K ideas on Order Entry The beauty of unbound forms, with custom classes handling your processes, is the ability to create your own events. I have built several projects where the forms display data based upon Global Class Objects, which interact through events. For example, I have an Inventory object, that has an 'inventory changed' event. Whenever something happens to the inventory (which is done through this class), it raises that event, and all open forms that have are using this class receive that event, and thus update themselves with the new information. Yes, it takes a little longer to set something like that up, but it is extraordinarily handy as you build more complex and 'smarter' applications. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco Tapia Sent: Saturday, September 04, 2004 1:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] A2K ideas on Order Entry Brainstorming here: I have a parent form which houses important order entry information such as Billto/Shipto, PO#, SO#, and Notes... along with that I have a listbox (but have been working on a readonly subform datasheet view). Users currently go into a popup window box to add new lineitems to this order. However... I'd like to control where the popup box hovers over... meaning allowing for the subform to be viewable while the popup form is on the screen. This allows ME to refresh the subform to display the newly entered items. now currently while in the popup mode, I've made it so that as soon as one line entry is complete, the form display clears out to allow another entry, and thus all the data entry guy has to do is key in the new qty etc. for his order. but once he is done, I use a keypreview to capture the ESC key to allow them to get out. I thought about what if they could just hit ENTER and when the QTY field is null it should kick him out, but I get a bizzar error on the .OnExit event of the Qty Field. thus I can't exit the form while it's processing or something like that.... any ideas?.. (yeah I realize that its' 12:00am PST but that's when the mind is wandering :D) thanks, -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Tue Sep 7 12:54:02 2004 From: JRojas at tnco-inc.com (Joe Rojas) Date: Tue, 7 Sep 2004 13:54:02 -0400 Subject: [AccessD] A2K ideas on Order Entry Message-ID: <0CC84C9461AE6445AD5A602001C41C4B059E7C@mercury.tnco-inc.com> Wow, this stuff sounds pretty cool. I know that both you and John have talked about classes before but do either of you have example databases that demonstrate this kind of functionality? Thanks, JR -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Tuesday, September 07, 2004 12:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K ideas on Order Entry I was referring to unbound forms because in the business logic structures I have built, the business logic is built into stand along classes. These classes can then be used by any form. So the classes let the forms interact. Yes, you can put events into bound forms, but you don't have the same 'interaction' then. For instance, in Francisco's original message, he could get around his particular issue by creating an event for his main form, which he can sink into his popup form, so when he triggers that event, the popup form receives it, and acts appropriately. In my case, I built the entire structure that way, so one interaction is seen by all that need it. Here's an example. I built in Inventory Class. This class can be used to add inventory items, create inventory transactions, modify inventory items, etc. etc. Anything and everything to do with the inventory system required by the business logic. So now I build a few forms. One to add/modify inventory items (not actual transactions, but item definitions), on for inventory transactions. Now I also have a Site class (where inventory goes/comes from, during transactions). Same principle, it handles all of the interactions with Sites. The inventory transaction form uses both the Inventory class and the Site class. There is also a Site Add/Edit form. All three forms work independantly, however, due to the events within the classes, when something is done that 'could' affect another class, then events are raised, and any open form that uses that class is notified. I know this could still be done strictly with bound forms, but I think the unbound approach is cleaner. In the example above, I would need to reference two forms, to capture any/all changes to the inventory (and if I'm making a third form, I would have to go back and modify the first two forms to handle the third), where as the central class method handles it all by itself. No going back to modify other forms, new forms can be built whenever needed, and all of the existing forms need not be aware of them, since they all work off of the same Inventory object. Okay, nuff said, cause we don't need another bound/unbound discussion. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 10:18 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K ideas on Order Entry Drew, I most appreciate your observations re classes and events, but it is unhelpful to cast them in the light of unbound forms. Any class can generate a custom event (even a form's class), they can do so without forms even being involved, and they can do so to manage a bound form as easily as an unbound form. But yes, your observations re transmitting messages to other classes (and forms) is right on target. Way cool. I use a set of classes to handle logging process messages to disk. Have you ever looked at SQL Server's log, or windows startup log? Very handy to troubleshoot what's going on when something fails. I have a set of classes that listens for an event (on a message channel in my case). If they receive that message (sink an event and the message is for it), the class logs the message content into a disk file. I use exactly the same process to log process status to tables when my program needs to monitor process status. A set of classes monitors a message channel (sinks an event for a message class instance) and if the message is for that class, writes the message content to a table. Using "loggers" in this fashion allows my programs to log processes without each piece having to know how to log to a disk file or log to a table. It simply calls a message class instance method and passes a to:, subject:, and message: and the logger handles the rest. I can have multiple logger instances, one each process that needs logging, each instance knows it's disk file name or table name and logs to the right place. In fact I also use the message class for inter-form and inter-process communications inside an application. Once you have a message class built, it is trivial to pass messages to any other class (only classes can sink events). My framework automatically starts one general purpose message class so that is a known entity sure to exist. Any process can send a message on that message instance. If a process needs it's own message channel for some reason, it can ask the framework to open another instance (stored in a collection by message channel name) and pass back a pointer to that channel instance. Now any set of classes involved in that process go get a pointer to that message channel instance and use that as a private message channel. Custom events allow processes to be "black box", do their thing, and broadcast an event when some thing happens. That is extremely useful in interface design since it isolates classes. The matching part (or parts) don't have to be running to test, different parts can sink the events in different situations etc. This stuff is way cool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, September 07, 2004 10:12 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K ideas on Order Entry The beauty of unbound forms, with custom classes handling your processes, is the ability to create your own events. I have built several projects where the forms display data based upon Global Class Objects, which interact through events. For example, I have an Inventory object, that has an 'inventory changed' event. Whenever something happens to the inventory (which is done through this class), it raises that event, and all open forms that have are using this class receive that event, and thus update themselves with the new information. Yes, it takes a little longer to set something like that up, but it is extraordinarily handy as you build more complex and 'smarter' applications. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco Tapia Sent: Saturday, September 04, 2004 1:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] A2K ideas on Order Entry Brainstorming here: I have a parent form which houses important order entry information such as Billto/Shipto, PO#, SO#, and Notes... along with that I have a listbox (but have been working on a readonly subform datasheet view). Users currently go into a popup window box to add new lineitems to this order. However... I'd like to control where the popup box hovers over... meaning allowing for the subform to be viewable while the popup form is on the screen. This allows ME to refresh the subform to display the newly entered items. now currently while in the popup mode, I've made it so that as soon as one line entry is complete, the form display clears out to allow another entry, and thus all the data entry guy has to do is key in the new qty etc. for his order. but once he is done, I use a keypreview to capture the ESC key to allow them to get out. I thought about what if they could just hit ENTER and when the QTY field is null it should kick him out, but I get a bizzar error on the .OnExit event of the Qty Field. thus I can't exit the form while it's processing or something like that.... any ideas?.. (yeah I realize that its' 12:00am PST but that's when the mind is wandering :D) thanks, -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From jwcolby at colbyconsulting.com Tue Sep 7 13:22:20 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 07 Sep 2004 14:22:20 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8031BB344@main2.marlow.com> Message-ID: <000801c49507$a0be1ce0$80b3fea9@ColbyM6805> I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com From BBarabash at TappeConstruction.com Tue Sep 7 13:38:55 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue, 7 Sep 2004 13:38:55 -0500 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: <100F91B31300334B89EC531C9DCB086506592A@tccexch01.tappeconstruction.net> Um, bless you... So, what did it include? I'm hearing mixed reports on its content. Any VS.NET stuff? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 1:22 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] AHOO!!! Got my action pack I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From accessd at shaw.ca Tue Sep 7 12:46:01 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 07 Sep 2004 10:46:01 -0700 Subject: [AccessD] Protecting a subform with password In-Reply-To: <000801c494de$0ff1c550$0100a8c0@KOST36> Message-ID: Hi Kostas: It is not possible to hide the line of code in an uncompiled DB, (MDB). You can compile the DB is compiled into a MDE file and therefore blocking viewing access to all the source. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kostas Konstantinidis Sent: Tuesday, September 07, 2004 6:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Protecting a subform with password Hi group, thank's all for your response to my question I tried the follown (which seems to work) and was wondering if it could be possible and how to hide the line "Level0Pass = "123"" making it unreadable e.g. instead of 123 to appear *** thank you kostas Private Sub Command0_Click() Dim Green As Boolean, Level0Pass As String, stDocName As String, stLinkCriteria As String Level0Pass = "123" Green = False If Pass = Level0Pass Then Green = True End If If Green Then stDocName = "MT_entoli" stLinkCriteria = "[AM]=" & [Forms]![MT_basic_char]![AM] DoCmd.OpenForm stDocName, , , stLinkCriteria DoCmd.Close acForm, "P_Form" Else DoCmd.Close End If End Sub -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Tue Sep 7 13:47:35 2004 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 7 Sep 2004 11:47:35 -0700 (PDT) Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <000801c49507$a0be1ce0$80b3fea9@ColbyM6805> Message-ID: <20040907184735.64356.qmail@web20423.mail.yahoo.com> What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! From fhtapia at gmail.com Tue Sep 7 14:05:53 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 7 Sep 2004 12:05:53 -0700 Subject: [AccessD] A2K ideas on Order Entry In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8031BB344@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF8031BB344@main2.marlow.com> Message-ID: ** didn't realize what I started... but here goes... Yes my "ade" is an unbound application it's the FE for a Sql Server Database. And While listboxes get bound, many other items are populated via ado recordsets to unbound controls. It has been the best approach because it is an ADP. I was really trying to think of a cleaner approach to this screen w/ Order Entry... where The form has critical information for the parties at hand, and then the lineitems are listed below, but if the popup form is open, and the user hits enter while in the qty box and exits it, I'd like to make it so that the popup box closes automatically if there is NO data in that field. I tried a simple docmd.close in the textbox's OnExit event but keep comming up w/ an error... and if this was also considered a messy approach, perhaps streamlining it? On Tue, 7 Sep 2004 11:32:20 -0500, dwutka at marlow.com wrote: > I was referring to unbound forms because in the business logic structures I > have built, the business logic is built into stand along classes. These > classes can then be used by any form. So the classes let the forms > interact. Yes, you can put events into bound forms, but you don't have the > same 'interaction' then. > > For instance, in Francisco's original message, he could get around his > particular issue by creating an event for his main form, which he can sink > into his popup form, so when he triggers that event, the popup form receives > it, and acts appropriately. > > In my case, I built the entire structure that way, so one interaction is > seen by all that need it. > > Here's an example. I built in Inventory Class. This class can be used to > add inventory items, create inventory transactions, modify inventory items, > etc. etc. Anything and everything to do with the inventory system required > by the business logic. So now I build a few forms. One to add/modify > inventory items (not actual transactions, but item definitions), on for > inventory transactions. Now I also have a Site class (where inventory > goes/comes from, during transactions). Same principle, it handles all of > the interactions with Sites. The inventory transaction form uses both the > Inventory class and the Site class. There is also a Site Add/Edit form. > All three forms work independantly, however, due to the events within the > classes, when something is done that 'could' affect another class, then > events are raised, and any open form that uses that class is notified. > > I know this could still be done strictly with bound forms, but I think the > unbound approach is cleaner. In the example above, I would need to > reference two forms, to capture any/all changes to the inventory (and if I'm > making a third form, I would have to go back and modify the first two forms > to handle the third), where as the central class method handles it all by > itself. No going back to modify other forms, new forms can be built > whenever needed, and all of the existing forms need not be aware of them, > since they all work off of the same Inventory object. > > Okay, nuff said, cause we don't need another bound/unbound discussion. > > Drew > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby > Sent: Tuesday, September 07, 2004 10:18 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] A2K ideas on Order Entry > > Drew, > > I most appreciate your observations re classes and events, but it is > unhelpful to cast them in the light of unbound forms. Any class can > generate a custom event (even a form's class), they can do so without forms > even being involved, and they can do so to manage a bound form as easily as > an unbound form. > > But yes, your observations re transmitting messages to other classes (and > forms) is right on target. Way cool. > > I use a set of classes to handle logging process messages to disk. Have you > ever looked at SQL Server's log, or windows startup log? Very handy to > troubleshoot what's going on when something fails. I have a set of classes > that listens for an event (on a message channel in my case). If they > receive that message (sink an event and the message is for it), the class > logs the message content into a disk file. > > I use exactly the same process to log process status to tables when my > program needs to monitor process status. A set of classes monitors a > message channel (sinks an event for a message class instance) and if the > message is for that class, writes the message content to a table. > > Using "loggers" in this fashion allows my programs to log processes without > each piece having to know how to log to a disk file or log to a table. It > simply calls a message class instance method and passes a to:, subject:, and > message: and the logger handles the rest. I can have multiple logger > instances, one each process that needs logging, each instance knows it's > disk file name or table name and logs to the right place. > > In fact I also use the message class for inter-form and inter-process > communications inside an application. Once you have a message class built, > it is trivial to pass messages to any other class (only classes can sink > events). My framework automatically starts one general purpose message > class so that is a known entity sure to exist. Any process can send a > message on that message instance. If a process needs it's own message > channel for some reason, it can ask the framework to open another instance > (stored in a collection by message channel name) and pass back a pointer to > that channel instance. Now any set of classes involved in that process go > get a pointer to that message channel instance and use that as a private > message channel. > > Custom events allow processes to be "black box", do their thing, and > broadcast an event when some thing happens. That is extremely useful in > interface design since it isolates classes. The matching part (or parts) > don't have to be running to test, different parts can sink the events in > different situations etc. > > This stuff is way cool. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com > Sent: Tuesday, September 07, 2004 10:12 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] A2K ideas on Order Entry > > The beauty of unbound forms, with custom classes handling your processes, is > the ability to create your own events. I have built several projects where > the forms display data based upon Global Class Objects, which interact > through events. For example, I have an Inventory object, that has an > 'inventory changed' event. Whenever something happens to the inventory > (which is done through this class), it raises that event, and all open forms > that have are using this class receive that event, and thus update > themselves with the new information. > > Yes, it takes a little longer to set something like that up, but it is > extraordinarily handy as you build more complex and 'smarter' applications. > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco Tapia > Sent: Saturday, September 04, 2004 1:53 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] A2K ideas on Order Entry > > Brainstorming here: > > I have a parent form which houses important order entry information such as > Billto/Shipto, PO#, SO#, and Notes... along with that I have a listbox (but > have been working on a readonly subform datasheet view). > > Users currently go into a popup window box to add new lineitems to this > order. However... I'd like to control where the popup box hovers over... > meaning allowing for the subform to be viewable while the popup form is on > the screen. This allows ME to refresh the subform to display the newly > entered items. > > now currently while in the popup mode, I've made it so that as soon as one > line entry is complete, the form display clears out to allow another entry, > and thus all the data entry guy has to do is key in the new qty etc. for his > order. but once he is done, I use a keypreview to capture the ESC key to > allow them to get out. I thought about what if they could just hit ENTER > and when the QTY field is null it should kick him out, but I get a bizzar > error on the .OnExit event of the Qty Field. thus I can't exit the form > while it's processing or something like that.... > > any ideas?.. (yeah I realize that its' 12:00am PST but that's when the mind > is wandering :D) > > thanks, > -- -Francisco From DWUTKA at marlow.com Tue Sep 7 14:04:13 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Sep 2004 14:04:13 -0500 Subject: [AccessD] A2K ideas on Order Entry Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB349@main2.marlow.com> Oh, good point. I've only had one cup of coffee this morning, so I'm a little out of it still! Yes, you could use a bound form, and still trigger from a global class. It is still a little more 'backwords' work though, because then the form has to capture what is done on it, and send it to the global class, versus letting the global class do all of the work, and send it out as an event. Just two different approaches. Ironically, the initial concept of the Inventory system I spoke of was going to be VB 6.0, until the very last minute, when the contractor I work for decided he wanted to be able to make changes of his own, so he insisted on Access 2000. Ugh. Would have prefered VB 6.0, so instead, he got a VERY heavily coded Access 2000 app. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 12:58 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K ideas on Order Entry Drew, I understand what you are saying but there is no reason a bound form cannot use (reference) those same business classes. That's all I'm saying. It has absolutely nothing to do with bound / unbound. I (mostly) use bound forms. But I routinely reference business classes from those forms. The form's class references the class Withevents and can now sink events from that class if it needs to. If a new form needs to receive messages from that class then it simply gets a pointer to that class instance. By dimming the class global in a module (and initializing it there) ANY form (or any class, since a form is just a class after all) can grab a pointer to the class and sink any events broadcast by that class. You didn't say whether these unbound forms are getting a pointer to an instance of a single (global) class or dimming an instance of the class in each form. Either way, a bound form can do exactly the same things. If a business class instance is created for each form then a message channel such as I described previously allows intercommunication. The business class instance sends a message on the (global) message channel. If a global business class instance is used by all forms, then each form grabs a pointer to the global class instance directly and calls methods of the class to inform the class (other users of the class) that it has manipulated data, and sinks it's events to determine that other forms have manipulated data. Either way, bound or unbound doesn't matter. I agree, this is not about bound vs unbound, but rather whether the same concepts can be applied or used and they most certainly can. I simply don't want our members saying "oh, I'm using bound so I can't use that idea". Of course they can, I do every day. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, September 07, 2004 12:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K ideas on Order Entry I was referring to unbound forms because in the business logic structures I have built, the business logic is built into stand along classes. These classes can then be used by any form. So the classes let the forms interact. Yes, you can put events into bound forms, but you don't have the same 'interaction' then. For instance, in Francisco's original message, he could get around his particular issue by creating an event for his main form, which he can sink into his popup form, so when he triggers that event, the popup form receives it, and acts appropriately. In my case, I built the entire structure that way, so one interaction is seen by all that need it. Here's an example. I built in Inventory Class. This class can be used to add inventory items, create inventory transactions, modify inventory items, etc. etc. Anything and everything to do with the inventory system required by the business logic. So now I build a few forms. One to add/modify inventory items (not actual transactions, but item definitions), on for inventory transactions. Now I also have a Site class (where inventory goes/comes from, during transactions). Same principle, it handles all of the interactions with Sites. The inventory transaction form uses both the Inventory class and the Site class. There is also a Site Add/Edit form. All three forms work independantly, however, due to the events within the classes, when something is done that 'could' affect another class, then events are raised, and any open form that uses that class is notified. I know this could still be done strictly with bound forms, but I think the unbound approach is cleaner. In the example above, I would need to reference two forms, to capture any/all changes to the inventory (and if I'm making a third form, I would have to go back and modify the first two forms to handle the third), where as the central class method handles it all by itself. No going back to modify other forms, new forms can be built whenever needed, and all of the existing forms need not be aware of them, since they all work off of the same Inventory object. Okay, nuff said, cause we don't need another bound/unbound discussion. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 10:18 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K ideas on Order Entry Drew, I most appreciate your observations re classes and events, but it is unhelpful to cast them in the light of unbound forms. Any class can generate a custom event (even a form's class), they can do so without forms even being involved, and they can do so to manage a bound form as easily as an unbound form. But yes, your observations re transmitting messages to other classes (and forms) is right on target. Way cool. I use a set of classes to handle logging process messages to disk. Have you ever looked at SQL Server's log, or windows startup log? Very handy to troubleshoot what's going on when something fails. I have a set of classes that listens for an event (on a message channel in my case). If they receive that message (sink an event and the message is for it), the class logs the message content into a disk file. I use exactly the same process to log process status to tables when my program needs to monitor process status. A set of classes monitors a message channel (sinks an event for a message class instance) and if the message is for that class, writes the message content to a table. Using "loggers" in this fashion allows my programs to log processes without each piece having to know how to log to a disk file or log to a table. It simply calls a message class instance method and passes a to:, subject:, and message: and the logger handles the rest. I can have multiple logger instances, one each process that needs logging, each instance knows it's disk file name or table name and logs to the right place. In fact I also use the message class for inter-form and inter-process communications inside an application. Once you have a message class built, it is trivial to pass messages to any other class (only classes can sink events). My framework automatically starts one general purpose message class so that is a known entity sure to exist. Any process can send a message on that message instance. If a process needs it's own message channel for some reason, it can ask the framework to open another instance (stored in a collection by message channel name) and pass back a pointer to that channel instance. Now any set of classes involved in that process go get a pointer to that message channel instance and use that as a private message channel. Custom events allow processes to be "black box", do their thing, and broadcast an event when some thing happens. That is extremely useful in interface design since it isolates classes. The matching part (or parts) don't have to be running to test, different parts can sink the events in different situations etc. This stuff is way cool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, September 07, 2004 10:12 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K ideas on Order Entry The beauty of unbound forms, with custom classes handling your processes, is the ability to create your own events. I have built several projects where the forms display data based upon Global Class Objects, which interact through events. For example, I have an Inventory object, that has an 'inventory changed' event. Whenever something happens to the inventory (which is done through this class), it raises that event, and all open forms that have are using this class receive that event, and thus update themselves with the new information. Yes, it takes a little longer to set something like that up, but it is extraordinarily handy as you build more complex and 'smarter' applications. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco Tapia Sent: Saturday, September 04, 2004 1:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] A2K ideas on Order Entry Brainstorming here: I have a parent form which houses important order entry information such as Billto/Shipto, PO#, SO#, and Notes... along with that I have a listbox (but have been working on a readonly subform datasheet view). Users currently go into a popup window box to add new lineitems to this order. However... I'd like to control where the popup box hovers over... meaning allowing for the subform to be viewable while the popup form is on the screen. This allows ME to refresh the subform to display the newly entered items. now currently while in the popup mode, I've made it so that as soon as one line entry is complete, the form display clears out to allow another entry, and thus all the data entry guy has to do is key in the new qty etc. for his order. but once he is done, I use a keypreview to capture the ESC key to allow them to get out. I thought about what if they could just hit ENTER and when the QTY field is null it should kick him out, but I get a bizzar error on the .OnExit event of the Qty Field. thus I can't exit the form while it's processing or something like that.... any ideas?.. (yeah I realize that its' 12:00am PST but that's when the mind is wandering :D) thanks, -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sep 7 14:14:01 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 07 Sep 2004 15:14:01 -0400 Subject: [AccessD] A2K ideas on Order Entry In-Reply-To: <0CC84C9461AE6445AD5A602001C41C4B059E7C@mercury.tnco-inc.com> Message-ID: <000a01c4950e$d8a52980$80b3fea9@ColbyM6805> Joe, I have a demo on my site that demonstrates the message channel I referred to earlier. I use that class in production software. A message channel adds a layer of indirection but is essentially the same concept. 1) The message class is instantiated globally and a function created that can return a reference to the class. If you need several different channels for some reason, the next step is a class that has a collection to hold instances of the message class and functions to create new message class instances, store them in the collection, then return pointers to the message class instances. 2) Either way, a USER of the message class gets a pointer to a specific message class instance. The variable that holds the class instance is dimmed WithEvents. Once the USER of the message class has the pointer to the instance, it can call methods of the message class passing: From: To: Subject: Message: Looks like an email doesn't it? Think of it as sending an email to another process. So EVERY USER, and by USER I mean classes that need to communicate, gets a pointer to a message class instance, dimmed Withevents. The class creates an event sink that SINKS the event messages. Think of that as the message class inbox. Whenever ANY USER sends a message on the message "channel" every USER gets the message in it's inbox (the event sink). Now any user can call a method of the message class sending a message. Pass the From, To, Subject and Message. ALL other USERS get the message. The key here is flexibility. The user can see if it is TO that user, and do nothing with the message if it isn't, or process the message if it is. OR... The message receiver can look at just the subject and decide whether to process or ignore the message. Etc. To sum it up, ALL USERS get a pointer to a global instance of a message class. Each user sets up an event sink, the inbox. Any user can transmit a message by calling a method of the message class. ALL users get the message. The individual users decide how to filter the messages, whether by "who it's from", "Who it's to", "Subject" etc. Any or all of the USERS can process a message, or NONE of them can. Just depends on the situation and the programmer's needs. This concept and this demo neatly shows how withevents work and how powerful they can be. I use message channels often in my software. I already mentioned my disk and table loggers. I have also used them for forms such as a calendar that is loaded and stays open. The calendar form receives messages "To" it. The way I use it is that the message in this case is a pointer to a control to return the calendar value to. YES, THIS IS IMPORTANT... The message class can pass strings, but it can also pass pointers to objects!!!!! VERY COOL. So the calendar form unhides itself, grabs the pointer to the control passed in, stores it temporarily in a control variable, takes user input, and places the value back in the control that that it was told to modify, sets the pointer to the control to nothing, then hides itself again. Classes raising events is so powerful that once you understand how it works you will forever change the way you design programs. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Tuesday, September 07, 2004 1:54 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K ideas on Order Entry Wow, this stuff sounds pretty cool. I know that both you and John have talked about classes before but do either of you have example databases that demonstrate this kind of functionality? Thanks, JR -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Tuesday, September 07, 2004 12:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K ideas on Order Entry I was referring to unbound forms because in the business logic structures I have built, the business logic is built into stand along classes. These classes can then be used by any form. So the classes let the forms interact. Yes, you can put events into bound forms, but you don't have the same 'interaction' then. For instance, in Francisco's original message, he could get around his particular issue by creating an event for his main form, which he can sink into his popup form, so when he triggers that event, the popup form receives it, and acts appropriately. In my case, I built the entire structure that way, so one interaction is seen by all that need it. Here's an example. I built in Inventory Class. This class can be used to add inventory items, create inventory transactions, modify inventory items, etc. etc. Anything and everything to do with the inventory system required by the business logic. So now I build a few forms. One to add/modify inventory items (not actual transactions, but item definitions), on for inventory transactions. Now I also have a Site class (where inventory goes/comes from, during transactions). Same principle, it handles all of the interactions with Sites. The inventory transaction form uses both the Inventory class and the Site class. There is also a Site Add/Edit form. All three forms work independantly, however, due to the events within the classes, when something is done that 'could' affect another class, then events are raised, and any open form that uses that class is notified. I know this could still be done strictly with bound forms, but I think the unbound approach is cleaner. In the example above, I would need to reference two forms, to capture any/all changes to the inventory (and if I'm making a third form, I would have to go back and modify the first two forms to handle the third), where as the central class method handles it all by itself. No going back to modify other forms, new forms can be built whenever needed, and all of the existing forms need not be aware of them, since they all work off of the same Inventory object. Okay, nuff said, cause we don't need another bound/unbound discussion. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 10:18 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K ideas on Order Entry Drew, I most appreciate your observations re classes and events, but it is unhelpful to cast them in the light of unbound forms. Any class can generate a custom event (even a form's class), they can do so without forms even being involved, and they can do so to manage a bound form as easily as an unbound form. But yes, your observations re transmitting messages to other classes (and forms) is right on target. Way cool. I use a set of classes to handle logging process messages to disk. Have you ever looked at SQL Server's log, or windows startup log? Very handy to troubleshoot what's going on when something fails. I have a set of classes that listens for an event (on a message channel in my case). If they receive that message (sink an event and the message is for it), the class logs the message content into a disk file. I use exactly the same process to log process status to tables when my program needs to monitor process status. A set of classes monitors a message channel (sinks an event for a message class instance) and if the message is for that class, writes the message content to a table. Using "loggers" in this fashion allows my programs to log processes without each piece having to know how to log to a disk file or log to a table. It simply calls a message class instance method and passes a to:, subject:, and message: and the logger handles the rest. I can have multiple logger instances, one each process that needs logging, each instance knows it's disk file name or table name and logs to the right place. In fact I also use the message class for inter-form and inter-process communications inside an application. Once you have a message class built, it is trivial to pass messages to any other class (only classes can sink events). My framework automatically starts one general purpose message class so that is a known entity sure to exist. Any process can send a message on that message instance. If a process needs it's own message channel for some reason, it can ask the framework to open another instance (stored in a collection by message channel name) and pass back a pointer to that channel instance. Now any set of classes involved in that process go get a pointer to that message channel instance and use that as a private message channel. Custom events allow processes to be "black box", do their thing, and broadcast an event when some thing happens. That is extremely useful in interface design since it isolates classes. The matching part (or parts) don't have to be running to test, different parts can sink the events in different situations etc. This stuff is way cool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, September 07, 2004 10:12 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] A2K ideas on Order Entry The beauty of unbound forms, with custom classes handling your processes, is the ability to create your own events. I have built several projects where the forms display data based upon Global Class Objects, which interact through events. For example, I have an Inventory object, that has an 'inventory changed' event. Whenever something happens to the inventory (which is done through this class), it raises that event, and all open forms that have are using this class receive that event, and thus update themselves with the new information. Yes, it takes a little longer to set something like that up, but it is extraordinarily handy as you build more complex and 'smarter' applications. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco Tapia Sent: Saturday, September 04, 2004 1:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] A2K ideas on Order Entry Brainstorming here: I have a parent form which houses important order entry information such as Billto/Shipto, PO#, SO#, and Notes... along with that I have a listbox (but have been working on a readonly subform datasheet view). Users currently go into a popup window box to add new lineitems to this order. However... I'd like to control where the popup box hovers over... meaning allowing for the subform to be viewable while the popup form is on the screen. This allows ME to refresh the subform to display the newly entered items. now currently while in the popup mode, I've made it so that as soon as one line entry is complete, the form display clears out to allow another entry, and thus all the data entry guy has to do is key in the new qty etc. for his order. but once he is done, I use a keypreview to capture the ESC key to allow them to get out. I thought about what if they could just hit ENTER and when the QTY field is null it should kick him out, but I get a bizzar error on the .OnExit event of the Qty Field. thus I can't exit the form while it's processing or something like that.... any ideas?.. (yeah I realize that its' 12:00am PST but that's when the mind is wandering :D) thanks, -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Sep 7 14:24:54 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 07 Sep 2004 15:24:54 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <100F91B31300334B89EC531C9DCB086506592A@tccexch01.tappeconstruction.net> Message-ID: <000b01c49510$5be116f0$80b3fea9@ColbyM6805> I'll send a message tonight with the disk names. Basically 2003 stuff mostly. LOTS of various servers. NO enterprise versions. 8-( There are about 20-30 disks plus what look like training CDs. I haven't loaded any of it yet since I have to do work and this is (for now) play. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Tuesday, September 07, 2004 2:39 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack Um, bless you... So, what did it include? I'm hearing mixed reports on its content. Any VS.NET stuff? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 1:22 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] AHOO!!! Got my action pack I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Tue Sep 7 15:29:37 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 7 Sep 2004 13:29:37 -0700 Subject: [AccessD] Prompt after Form loads In-Reply-To: References: <8444881516.20040901205336@cactus.dk> <1896904147.20040902103514@cactus.dk> Message-ID: This solution of adding the function as the data source for the record worked as I had wanted. Thanks for following up w/ me on this. I had some code running off a timer on other forms that I've been able to convert because of this solution thanks :D On Sat, 4 Sep 2004 09:08:30 -0700, Francisco Tapia wrote: > I will try this solution later... thanks :D > > > On Thu, 2 Sep 2004 10:35:14 +0200, Gustav Brock wrote: > > Hi Francisco > > > > > I tried the counter solution, and it fires before the form is "visible" > > > > You are right, missed that, but here is how to do this without the > > Timer: > > > > First, create this function in the subform: > > > > Private Function ShowAtOpen() > > > > Static booOpened As Boolean > > > > If booOpened = False Then > > ' Replace with your code. > > MsgBox "Load?", vbQuestion, "Francisco" > > ' Run only once. > > booOpened = True > > End If > > > > End Function > > > > Now, create a textbox in the subform, make it not Visible, and bind it > > like this: > > > > =ShowAtOpen() > > > > This will pop the code when the form and the sub have been rendered > > including controls bound to the recordsource of the form. The only > > limitation I can see is, that other controls bound to an expression > > (=something()) may have their values retrieved after the firing of > > ShowAtOpen. > > > > /gustav > > > > > > > On Wed, 1 Sep 2004 20:53:36 +0200, Gustav Brock wrote: > > >> Hi Francisco > > >> > > >> > Agreed, I use them as a very last solution. They do CAUSE flickers, > > >> > and they interrupt other process as well. Such as adverse behavoirs > > >> > when using a combo bx and you find that your dropdown doesn't stay > > >> > dropped, because the timer continues to fire off in the background :D > > >> > > >> Except in this case ... did you try the counter solution? > > >> Works excellent here. > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > -Francisco > -- -Francisco From DWUTKA at marlow.com Tue Sep 7 12:03:08 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Sep 2004 12:03:08 -0500 Subject: [AccessD] Logon/Password Same as Network Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB346@main2.marlow.com> Just an FYI, I've seen this code before, and it's not quite perfect. There are false negatives. For example, my current password on our network shows as being 'false' or invalid. My co-worker's shows true (so the code does work.). The reason it fails, is because I use an Ascii character out of the normal typable range in my password. That fails on a lot of things that use API calls to authenticate. (Remote Administrator, by Famatech won't let me 'login' from a remote terminal, if I try to use my normal domain account....) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, Lambert Sent: Tuesday, September 07, 2004 11:03 AM To: 'Access Developers discussion and problem solving'; 'Nicholson, Karen' Subject: RE: [AccessD] Logon/Password Same as Network What's "the password"? Do you mean the logging password used for Access Security? Why would you want to make this the same as the users LAN login password? To do so would require your to keep the two synchronized and that would be a pain. Or do you in fact want to use the "Windows NT Challenge" process to validate an already logged in user? All I can say is that Authentication is kinda complex, but take a look here for an example.... http://vbnet.mvps.org/index.html?code/network/acceptsecuritycontext.htm Just be sure not to store those passwords anywhere or you will open up a security hole big enough to drive an 18-wheeler through. Lambert > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen > Sent: Tuesday, September 07, 2004 11:28 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Logon/Password Same as Network > > I know how to grab the logon from the network; is there a way to make > the password to be the same as the password housed on the network so > that the user will have the same logon/password? Thanks! > > Karen Nicholson > National Laboratory > Xerox Global Services > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Oleg_123 at xuppa.com Tue Sep 7 18:22:25 2004 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Tue, 7 Sep 2004 19:22:25 -0400 (EDT) Subject: [AccessD] Import columns In-Reply-To: <5211622762.20040905132250@cactus.dk> References: <16154.216.223.34.13.1094341710.squirrel@heck.xuppa.com> <5211622762.20040905132250@cactus.dk> Message-ID: <3098.24.187.37.126.1094599345.squirrel@heck.xuppa.com> Hi Gustav I envy you :)) Unfortanetely, i had used my old code (which is 5 times longer) one caz I also have to import to front clumns as well > Hi Oleg > > Assuming that your 12 fields are juxtaposed, why not just loop through > the records and the fields: > > Public Function AppendRecords() > > ' First field of source table to pick data. > Const clngRst1Offset As Long = 4 ' Adjust! > ' First field of target table to insert data. > Const clngRst2Offset As Long = 1 ' Adjust! > ' Max count of fields to use in target table. > Const clngRst2Max As Long = 12 > > Dim cnn As ADODB.Connection > Dim rst1 As ADODB.Recordset > Dim rst2 As ADODB.Recordset > Dim strSQL1 As String > Dim strSQL2 As String > Dim lngField1 As Long > Dim lngField2 As Long > Dim lngField As Long > > Set cnn = CurrentProject.Connection > Set rst1 = New ADODB.Recordset > Set rst2 = New ADODB.Recordset > > strSQL1 = "Select * From Hrsqd" > strSQL2 = "Select Top 1 * From Hrsqd_Full" > > rst1.Open strSQL1, cnn, adOpenKeyset, adLockOptimistic, > adCmdTableDirect rst2.Open strSQL2, cnn, adOpenKeyset, > adLockOptimistic, adCmdTableDirect > > ' Number of fields to pick from source table. > lngField1 = rst1.Fields.Count - clngRst1Offset > ' First field in target table to insert data. > lngField2 = clngRst2Offset + clngRst2Max - lngField1 > > Do While Not rst1.EOF > rst2.AddNew > For lngField = 0 To lngField1 - 1 > rst2.Fields(lngField2 + lngField).Value = _ > rst1.Fields(clngRst1Offset + lngField).Value > Next > rst2.Update > rst1.MoveNext > Loop > > rst2.Close > rst1.Close > > Set rst2 = Nothing > Set rst1 = Nothing > Set cnn = Nothing > > End Function > > /gustav > > >> Hey Group, happy holidays fro those of u in US. I am supposed to count >> the number of columns and based on the result import the data into a >> table with month names. The last column always contains December >> Am I on the right track ? >> This is what I've done so far --- > >> Private Sub Command1_Click() >> Dim cnn As ADODB.Connection >> Dim rst1 As New ADODB.Recordset >> Dim SQL1 As String, SQL2 As String >> Dim a As Integer 'number of columns >> Dim b As Integer >> Dim Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec > >> Set cnn = CurrentProject.Connection > >> SQL1 = "Select * From Hrsqd" >> rst1.Open SQL1, cnn, adOpenKeyset, adLockOptimistic, adCmdTableDirect > >> a = rst1.Fields.Count 'number of fields >> b = a - 2 ' number of month fields > > > >> If b = 6 Then 'Jul - Dec >> Do Until rst1.EOF >> Jul = rst1.Fields(3) >> Aug = rst1.Fields(4) >> Sep = rst1.Fields(5) >> Oct = rst1.Fields(6) >> Nov = rst1.Fields(7) >> Dec = rst1.Fields(8) >> Loop >> End If > >> If b = 5 Then 'Aug - Dec >> Do Until rst1.EOF >> Aug = rst1.Fields(3) >> Sep = rst1.Fields(4) >> Oct = rst1.Fields(5) >> Nov = rst1.Fields(6) >> Dec = rst1.Fields(7) >> Loop >> End If > >> If b = 4 Then 'Sep - Dec >> Do Until rst1.EOF >> Sep = rst1.Fields(3) >> Oct = rst1.Fields(4) >> Nov = rst1.Fields(5) >> Dec = rst1.Fields(6) >> Loop >> End If > >> rst1.Close > >> SQL2 = "INSERT Into HRSQD_Full (Jan, Feb, Mar, Apr, May, Jun, Jul, >> Aug, Sep, Oct, Nov, Dec) Values (" & Jan & "," & Feb & "," & Mar & "," >> & Apr & "," & May & "," & Jun & "," & Jul & "," & Aug & "," & Sep & >> "," & Oct & "," & Nov & "," & Dec & ")" > >> MsgBox a > >> End Sub > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Make Money and Find Love at Finally.com http://www.finally.com/?link=webmail From Oleg_123 at xuppa.com Tue Sep 7 18:35:38 2004 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Tue, 7 Sep 2004 19:35:38 -0400 (EDT) Subject: [AccessD] transferring text file In-Reply-To: References: <003901c494ba$474923a0$de1118ac@D8TZHN0J> <413E0DDB.26661.10EF57B7@lexacorp.com.pg> Message-ID: <3357.24.187.37.126.1094600138.squirrel@heck.xuppa.com> Hello Group, I need either transfer txt file to a table either everything(first 2 columns in a text format) or if possible to to transfer first 2 columns in a text format, skip columns 3-8, and then column 9 and everything else. (There is no fixed number of fields(columns) in the text file it varies from 9 to 20) I tried with a macro (but i can't do specifications since i dom't know how columns there'll be) but it for some reason wants to transfer first second column as number (when its clearly text) thus loosing a lot of data. I got this so far, not sure what's next --- Private Sub Command4_Click() On Error Resume Next Dim fs As New Scripting.FileSystemObject Dim ts As Scripting.TextStream Dim gOut As Outlook.Application Dim mOut As Outlook.MailItem Dim strLine As String Dim aRecord If fs.FileExists("C:\Hrsqd.txt") Then MsgBox "Exists" Set ts = fs.OpenTextFile("C:\Hrsqd.txt", ForReading) Do Until ts.AtEndOfStream strLine = ts.ReadLine aRecord = Split(strLine, ",") Loop Else MsgBox "Doesn't Exist" End If End Sub ----------------------------------------- Make Money and Find Love at Finally.com http://www.finally.com/?link=webmail From donald.a.Mcgillivray at mail.sprint.com Tue Sep 7 19:36:46 2004 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Tue, 7 Sep 2004 19:36:46 -0500 Subject: [AccessD] Synchronizing Subform to Main form based on a date Message-ID: <988E2AC88CCB54459286C4077DB662F50129DBA5@PDAWB03C.ad.sprint.com> I'm pulling my hair out on this one. I have a simple main form with two unbound combos, one for a location and the other for a date. The RowSource for the location combo is a table that contains a record for each location - pulling the PK in column 1 and Name in column 2 from that table. Column 1 is bound and its width set to 0 so that only the name displays. The RowSource for the date combo is a summary query pulling from a transaction table with column 1 equal to Int(MyDateFromTrxTable) and column 2 equal to Format(MyDateFromTrxTable,"mm/dd/yyyy"). The query is grouped on column 1 so that only one row for each date appears. Column 1 is bound and width set to 0 so that only the formatted dates appear. I'm having trouble getting a simple subform ([Location], Int([Date]), [ItemDetail]) to synchronize with the main form. Using the location and date values, the only way I've been able to get it to work is to expose the first column of the date combo by setting its width to something other than zero. Of course, I don't want the date serial number to be displayed on the form - just the formatted date. Note that I have restricted both the bound column of the combo and the corresponding value in the subform to just the integer portion of the date. Thus, I don't think this is a matter of trying to match a "date-only" value against a "date-with-time" value. I work with subforms like this all the time, though I don't think I've ever attempted to use a date value as part of the link. Is there some esoteric quality of date values that I need to know about here? Anybody have a clue about why this won't work as advertised? Thanks! Don McGillivray From artful at rogers.com Tue Sep 7 20:40:05 2004 From: artful at rogers.com (Arthur Fuller) Date: Tue, 7 Sep 2004 21:40:05 -0400 Subject: [AccessD] Syntax question about control references In-Reply-To: Message-ID: <01c401c49544$c4441f10$6501a8c0@rock> Works like a charm, Chris! Thanks. Now I just have the remaining and strictly cosmetic problem, but the interface screams out for it, and if I could deliver it I know the users would have spiritual orgasms. The way is datasheet form is currently laid out, the column corresponding to today is positioned at the extreme right of the visible part of the form. Column 1 of the form is invisible. Column 2 is frozen. I would LOVE to somehow scroll the columns so that the column selected using your code is the first visible scrollable column. Is horizontal scrolling somehow programmable? Thanks again. Two clean lines of yours plus a Dim of mine and it's smooth as glass. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mackin, Christopher Sent: Tuesday, September 07, 2004 11:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Syntax question about control references strCtlName = CStr(eom(date)) Me(strCtlName).SetFocus Should work. -Chris Mackin From jwcolby at colbyconsulting.com Tue Sep 7 23:01:46 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 08 Sep 2004 00:01:46 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <20040907184735.64356.qmail@web20423.mail.yahoo.com> Message-ID: <000e01c49558$93bb8fe0$80b3fea9@ColbyM6805> The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/actionpack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com From bchacc at san.rr.com Wed Sep 8 00:06:35 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 7 Sep 2004 22:06:35 -0700 Subject: [AccessD] AHOO!!! Got my action pack References: <000e01c49558$93bb8fe0$80b3fea9@ColbyM6805> Message-ID: <057e01c49561$9d9328d0$6601a8c0@HAL9002> John: Thanks for the rundown. I've being trying to decide between that and the partner program. This one looks god. Except what's that about a one-year license. Does your copy of Office 2003 crap out after one year? Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, September 07, 2004 9:01 PM Subject: RE: [AccessD] AHOO!!! Got my action pack > The action pack is a deal MS offers developers or companies that develop for > or sell MS stuff. For $300-400 they give you a ton of the latest software > and 10 licenses for all of it. You are allowed to use it in house, but not > sell it or install it on any client machines. It includes: > > Office Professional 2003 > Office Publisher 2003 > Office Frontpage 2003 > Office Visio Professional 2003 > Office Project Professional 2003 > Business contact Manager for Outlook 2003 > Office OneNote 2003 > MapPoint 2004 Standard Edition > Windows XP Professional > Virtual PC 2004 > Office Infopath 2003 > Business Solutions CRM Professional > Windows Server 2003 Standard Edition > Windows Server 2003 Web Edition > Exchange Server 2003 Enterprise Edition > Office Project Server 2003 > Office Sharepoint Server 2003 > Office Live Communications Server 2003 > SQL Server 2000 Standard Edition (damn!) > SQL Server 2000 Service Pack 3a > SQL Server Reporting Services > Mobile Information Server 2002 > Swindows Sharepoint Services Standard 2003 > Windows Small Business Server 2003 Premium Edition > > What is all this stuff you may ask. No idea. > > The package appears to also come with some kind of training CD for each ofr > these things. No books, must all be on CD. A neat little (BIG) organizer > size canvas folder to hold the disks. Nothing to hold the training > materials (C'mon MS, another folder to hold that and the sleeves hole > punched would have made it so much more professional). > > http://members.microsoft.com/partner/salesmarketing/partnermarket/actionpack > /actionpackus.aspx > > Watch for wrap. > > I had been looking at this package for awhile in order to bring my office > into the modern age (as defined by MS). > > So there you have it. A lot of stuff for a medium price (one year license > though!). But it gives you 10 licenses. I can put XP on all my desktops, > Server 2003 on both my new "server" machines, look at and possibly use > Office 2003 on my machines etc. I have a home office with 2 "server class" > machines and 2 desktop machines, plus one modern laptop and an old POS > laptop that I am currently re-installing Win2K Pro on. Being able to get a > consistent platform on everything might be nice. > > I had hoped to see 64bit OS and SQL Server included - they apparently do > exists, but not in here. 8-( > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson > Sent: Tuesday, September 07, 2004 2:48 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AHOO!!! Got my action pack > > > What's the main advantage to having the Action pack? > > "John W. Colby" wrote: > I just got my MS Action pack, very nice. So much to know, so little time. > > John W. Colby > www.ColbyConsulting.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From d.dick at uws.edu.au Wed Sep 8 00:57:21 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 8 Sep 2004 15:57:21 +1000 Subject: [AccessD] A2K: Used to work - now it errors Message-ID: <001a01c49568$b4b20700$4a619a89@DDICK> Hello all This used to work now I get Run Time Error 13 - Type Mismatch Then the debugger yellows out the "Set rst" line Any suggestions Dao 3.6 is referenced Dim dbs As Database rst As Recordset iBookingID As Integer Set dbs = CurrentDb iBookingID = [Forms]![frmBookings].[BookingID] ===> this line fails Set rst = dbs.OpenRecordset("SELECT [People].[PersonID] FROM People INNER JOIN BookingPeople ON BookingPeople.PersonID = People.PersonID WHERE not isnull([EmailAddress]) and BookingID = " & iBookingID & ";", dbOpenDynaset) Many thanks in advance Have a great day Darren From d.dick at uws.edu.au Wed Sep 8 01:29:35 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 8 Sep 2004 16:29:35 +1000 Subject: [AccessD] A2K: Used to work - now it errors SOLVED In-Reply-To: <001a01c49568$b4b20700$4a619a89@DDICK> Message-ID: <001b01c4956d$35c28190$4a619a89@DDICK> Moved DAO above ADO in the ref list now it works Now time to go and see what ADO stuff fails :-(( Thanks y'all DD -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Wednesday, 8 September 2004 3:57 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K: Used to work - now it errors Hello all This used to work now I get Run Time Error 13 - Type Mismatch Then the debugger yellows out the "Set rst" line Any suggestions Dao 3.6 is referenced Dim dbs As Database rst As Recordset iBookingID As Integer Set dbs = CurrentDb iBookingID = [Forms]![frmBookings].[BookingID] ===> this line fails Set rst = dbs.OpenRecordset("SELECT [People].[PersonID] FROM People INNER JOIN BookingPeople ON BookingPeople.PersonID = People.PersonID WHERE not isnull([EmailAddress]) and BookingID = " & iBookingID & ";", dbOpenDynaset) Many thanks in advance Have a great day Darren -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Sep 8 01:57:26 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 8 Sep 2004 08:57:26 +0200 Subject: [AccessD] A2K: Used to work - now it errors In-Reply-To: <001a01c49568$b4b20700$4a619a89@DDICK> References: <001a01c49568$b4b20700$4a619a89@DDICK> Message-ID: <48569739.20040908085726@cactus.dk> Hi Darren Specify what your intent is: Dim dbs As DAO.Database Dim rst As DAO.Recordset Then the order of references doesn't matter. /gustav > This used to work now I get Run Time Error 13 - Type Mismatch > Then the debugger yellows out the "Set rst" line > Any suggestions > Dao 3.6 is referenced > Dim dbs As Database > rst As Recordset From andy at minstersystems.co.uk Wed Sep 8 02:15:04 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 8 Sep 2004 08:15:04 +0100 Subject: [AccessD] Synchronizing Subform to Main form based on a date In-Reply-To: <988E2AC88CCB54459286C4077DB662F50129DBA5@PDAWB03C.ad.sprint.com> Message-ID: <000401c49573$909ef250$b274d0d5@minster33c3r25> Just a thought Donald but if you placed a hidden calc'd control on the main form with =YourDateCombo.Column(0) and put in that in your linking fields would that help? -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Mcgillivray, Donald [ITS] > Sent: 08 September 2004 01:37 > To: AccessD > Subject: [AccessD] Synchronizing Subform to Main form based on a date > > > I'm pulling my hair out on this one. > > I have a simple main form with two unbound combos, one for a > location and the other for a date. The RowSource for the > location combo is a table that contains a record for each > location - pulling the PK in column 1 and Name in column 2 > from that table. Column 1 is bound and its width set to 0 so > that only the name displays. The RowSource for the date > combo is a summary query pulling from a transaction table > with column 1 equal to Int(MyDateFromTrxTable) and column 2 > equal to Format(MyDateFromTrxTable,"mm/dd/yyyy"). The query > is grouped on column 1 so that only one row for each date > appears. Column 1 is bound and width set to 0 so that only > the formatted dates appear. > > I'm having trouble getting a simple subform ([Location], Int([Date]), > [ItemDetail]) to synchronize with the main form. Using the > location and date values, the only way I've been able to get > it to work is to expose the first column of the date combo by > setting its width to something other than zero. Of course, I > don't want the date serial number to be displayed on the form > - just the formatted date. > > Note that I have restricted both the bound column of the > combo and the corresponding value in the subform to just the > integer portion of the date. Thus, I don't think this is a > matter of trying to match a "date-only" value against a > "date-with-time" value. > > I work with subforms like this all the time, though I don't > think I've ever attempted to use a date value as part of the > link. Is there some esoteric quality of date values that I > need to know about here? Anybody have a clue about why this > won't work as advertised? > > Thanks! > > Don McGillivray > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From jwcolby at colbyconsulting.com Wed Sep 8 02:45:33 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 08 Sep 2004 03:45:33 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <057e01c49561$9d9328d0$6601a8c0@HAL9002> Message-ID: <001b01c49577$d3bcd030$80b3fea9@ColbyM6805> I don't know. I know that the license "expires" after 1 year, but it appears that these are just real copies of these various things. I doubt they quit working. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, September 08, 2004 1:07 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack John: Thanks for the rundown. I've being trying to decide between that and the partner program. This one looks god. Except what's that about a one-year license. Does your copy of Office 2003 crap out after one year? Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, September 07, 2004 9:01 PM Subject: RE: [AccessD] AHOO!!! Got my action pack > The action pack is a deal MS offers developers or companies that > develop for > or sell MS stuff. For $300-400 they give you a ton of the latest > software and 10 licenses for all of it. You are allowed to use it in > house, but not > sell it or install it on any client machines. It includes: > > Office Professional 2003 > Office Publisher 2003 > Office Frontpage 2003 > Office Visio Professional 2003 > Office Project Professional 2003 > Business contact Manager for Outlook 2003 > Office OneNote 2003 > MapPoint 2004 Standard Edition > Windows XP Professional > Virtual PC 2004 > Office Infopath 2003 > Business Solutions CRM Professional > Windows Server 2003 Standard Edition > Windows Server 2003 Web Edition > Exchange Server 2003 Enterprise Edition > Office Project Server 2003 > Office Sharepoint Server 2003 > Office Live Communications Server 2003 > SQL Server 2000 Standard Edition (damn!) > SQL Server 2000 Service Pack 3a > SQL Server Reporting Services > Mobile Information Server 2002 > Swindows Sharepoint Services Standard 2003 > Windows Small Business Server 2003 Premium Edition > > What is all this stuff you may ask. No idea. > > The package appears to also come with some kind of training CD for > each ofr > these things. No books, must all be on CD. A neat little (BIG) > organizer size canvas folder to hold the disks. Nothing to hold the > training materials (C'mon MS, another folder to hold that and the > sleeves hole punched would have made it so much more professional). > > http://members.microsoft.com/partner/salesmarketing/partnermarket/actionpack > /actionpackus.aspx > > Watch for wrap. > > I had been looking at this package for awhile in order to bring my > office into the modern age (as defined by MS). > > So there you have it. A lot of stuff for a medium price (one year > license though!). But it gives you 10 licenses. I can put XP on all > my desktops, Server 2003 on both my new "server" machines, look at and > possibly use Office 2003 on my machines etc. I have a home office > with 2 "server class" > machines and 2 desktop machines, plus one modern laptop and an old POS > laptop that I am currently re-installing Win2K Pro on. Being able to > get a > consistent platform on everything might be nice. > > I had hoped to see 64bit OS and SQL Server included - they apparently > do exists, but not in here. 8-( > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie > Johnson > Sent: Tuesday, September 07, 2004 2:48 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AHOO!!! Got my action pack > > > What's the main advantage to having the Action pack? > > "John W. Colby" wrote: > I just got my MS Action pack, very nice. So much to know, so little > time. > > John W. Colby > www.ColbyConsulting.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Sep 8 03:11:52 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 8 Sep 2004 10:11:52 +0200 Subject: [AccessD] Broadcast A Message In-Reply-To: <000001c49501$8e6e8490$b274d0d5@minster33c3r25> References: <000001c49501$8e6e8490$b274d0d5@minster33c3r25> Message-ID: <235035100.20040908101152@cactus.dk> Hi Andy > Anyone got any info/code to broadcast a message to selected machines/users. > We've an NT4 server and a Novell server so could use either technology. Here are two links for Novell: http://developer.novell.com/support/sample/tids/vbxdssnd/vbxdssnd.htm http://www.clippings.vivitec.com.au/pp_article_id_8.html /gustav From gustav at cactus.dk Wed Sep 8 02:33:13 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 8 Sep 2004 09:33:13 +0200 Subject: [AccessD] Syntax question about control references In-Reply-To: <01c401c49544$c4441f10$6501a8c0@rock> References: <01c401c49544$c4441f10$6501a8c0@rock> Message-ID: <662716005.20040908093313@cactus.dk> Hi Arthur You could try playing with the GoToPage method: Forms("frmYourForm").GoToPage 1, x, 0 where x = ([count of columns to move] + Offset) * [Width of column in twips] If you succeed somehow please let us know. /gustav > The way is datasheet form is currently laid out, the column > corresponding to today is positioned at the extreme right of the visible > part of the form. Column 1 of the form is invisible. Column 2 is frozen. > I would LOVE to somehow scroll the columns so that the column selected > using your code is the first visible scrollable column. Is horizontal > scrolling somehow programmable? From Paul.Rogers at SummitMedia.co.uk Wed Sep 8 04:02:44 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Wed, 8 Sep 2004 10:02:44 +0100 Subject: [AccessD] Cheering up CheckBoxes Message-ID: Can a Check Box be brightened up, made bigger, be given a background colour, any colour, something to make it stand out on the form, please, Experts? Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/2004 From gustav at cactus.dk Wed Sep 8 04:17:39 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 8 Sep 2004 11:17:39 +0200 Subject: [AccessD] Cheering up CheckBoxes In-Reply-To: References: Message-ID: <128982095.20040908111739@cactus.dk> Hi Paul Not the checkbox itself but you could put it in front of a slightly larger quadrate filled with a colour which you turn visible or not. /gustav > Can a Check Box be brightened up, made bigger, be given a background colour, > any colour, something to make it stand out on the form, please, Experts? > Cheers paul From Paul.Rogers at SummitMedia.co.uk Wed Sep 8 04:30:15 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Wed, 8 Sep 2004 10:30:15 +0100 Subject: [AccessD] Cheering up CheckBoxes Message-ID: Excellent, Gustav.Thanks, that's a great idea. Many thanks. Cheers paul -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: 08 September 2004 10:18 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Cheering up CheckBoxes Hi Paul Not the checkbox itself but you could put it in front of a slightly larger quadrate filled with a colour which you turn visible or not. /gustav > Can a Check Box be brightened up, made bigger, be given a background colour, > any colour, something to make it stand out on the form, please, Experts? > Cheers paul -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/2004 From gustav at cactus.dk Wed Sep 8 04:56:48 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 8 Sep 2004 11:56:48 +0200 Subject: [AccessD] Synchronizing Subform to Main form based on a date In-Reply-To: <988E2AC88CCB54459286C4077DB662F50129DBA5@PDAWB03C.ad.sprint.com> References: <988E2AC88CCB54459286C4077DB662F50129DBA5@PDAWB03C.ad.sprint.com> Message-ID: <15311331213.20040908115648@cactus.dk> Hi Donald Perhaps you need to convert the value from the combobox (which is a string) to a long as the value for the master field. [Location], Int([cboCombo2]), ... /gustav > I'm pulling my hair out on this one. > I have a simple main form with two unbound combos, one for a location > and the other for a date. The RowSource for the location combo is a > table that contains a record for each location - pulling the PK in > column 1 and Name in column 2 from that table. Column 1 is bound and > its width set to 0 so that only the name displays. The RowSource for > the date combo is a summary query pulling from a transaction table with > column 1 equal to Int(MyDateFromTrxTable) and column 2 equal to > Format(MyDateFromTrxTable,"mm/dd/yyyy"). The query is grouped on column > 1 so that only one row for each date appears. Column 1 is bound and > width set to 0 so that only the formatted dates appear. > I'm having trouble getting a simple subform ([Location], Int([Date]), > [ItemDetail]) to synchronize with the main form. Using the location and > date values, the only way I've been able to get it to work is to expose > the first column of the date combo by setting its width to something > other than zero. Of course, I don't want the date serial number to be > displayed on the form - just the formatted date. > Note that I have restricted both the bound column of the combo and the > corresponding value in the subform to just the integer portion of the > date. Thus, I don't think this is a matter of trying to match a > "date-only" value against a "date-with-time" value. > I work with subforms like this all the time, though I don't think I've > ever attempted to use a date value as part of the link. Is there some > esoteric quality of date values that I need to know about here? Anybody > have a clue about why this won't work as advertised? > Thanks! > Don McGillivray From ebarro at afsweb.com Wed Sep 8 08:21:00 2004 From: ebarro at afsweb.com (Eric Barro) Date: Wed, 8 Sep 2004 06:21:00 -0700 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <001b01c49577$d3bcd030$80b3fea9@ColbyM6805> Message-ID: What it probably means it that you're going to stop getting update CDs from M$ for any of the products you have licenses for so if they come out with Office 2004 or SQL server 2005 you will have to purchase a separate license if you wanted to use it. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, September 08, 2004 12:46 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack I don't know. I know that the license "expires" after 1 year, but it appears that these are just real copies of these various things. I doubt they quit working. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, September 08, 2004 1:07 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack John: Thanks for the rundown. I've being trying to decide between that and the partner program. This one looks god. Except what's that about a one-year license. Does your copy of Office 2003 crap out after one year? Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, September 07, 2004 9:01 PM Subject: RE: [AccessD] AHOO!!! Got my action pack > The action pack is a deal MS offers developers or companies that > develop for > or sell MS stuff. For $300-400 they give you a ton of the latest > software and 10 licenses for all of it. You are allowed to use it in > house, but not > sell it or install it on any client machines. It includes: > > Office Professional 2003 > Office Publisher 2003 > Office Frontpage 2003 > Office Visio Professional 2003 > Office Project Professional 2003 > Business contact Manager for Outlook 2003 > Office OneNote 2003 > MapPoint 2004 Standard Edition > Windows XP Professional > Virtual PC 2004 > Office Infopath 2003 > Business Solutions CRM Professional > Windows Server 2003 Standard Edition > Windows Server 2003 Web Edition > Exchange Server 2003 Enterprise Edition > Office Project Server 2003 > Office Sharepoint Server 2003 > Office Live Communications Server 2003 > SQL Server 2000 Standard Edition (damn!) > SQL Server 2000 Service Pack 3a > SQL Server Reporting Services > Mobile Information Server 2002 > Swindows Sharepoint Services Standard 2003 > Windows Small Business Server 2003 Premium Edition > > What is all this stuff you may ask. No idea. > > The package appears to also come with some kind of training CD for > each ofr > these things. No books, must all be on CD. A neat little (BIG) > organizer size canvas folder to hold the disks. Nothing to hold the > training materials (C'mon MS, another folder to hold that and the > sleeves hole punched would have made it so much more professional). > > http://members.microsoft.com/partner/salesmarketing/partnermarket/actionpack > /actionpackus.aspx > > Watch for wrap. > > I had been looking at this package for awhile in order to bring my > office into the modern age (as defined by MS). > > So there you have it. A lot of stuff for a medium price (one year > license though!). But it gives you 10 licenses. I can put XP on all > my desktops, Server 2003 on both my new "server" machines, look at and > possibly use Office 2003 on my machines etc. I have a home office > with 2 "server class" > machines and 2 desktop machines, plus one modern laptop and an old POS > laptop that I am currently re-installing Win2K Pro on. Being able to > get a > consistent platform on everything might be nice. > > I had hoped to see 64bit OS and SQL Server included - they apparently > do exists, but not in here. 8-( > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie > Johnson > Sent: Tuesday, September 07, 2004 2:48 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AHOO!!! Got my action pack > > > What's the main advantage to having the Action pack? > > "John W. Colby" wrote: > I just got my MS Action pack, very nice. So much to know, so little > time. > > John W. Colby > www.ColbyConsulting.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kost36 at otenet.gr Wed Sep 8 08:33:03 2004 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Wed, 8 Sep 2004 16:33:03 +0300 Subject: [AccessD] Protecting a subform with password References: Message-ID: <005601c495a8$6a74f270$0100a8c0@KOST36> Jim DeMarco and Jim Lawrence, thank's for your help Be well kostas ----- Original Message ----- From: "Jim Lawrence (AccessD)" To: "Access Developers discussion and problem solving" Sent: Tuesday, September 07, 2004 8:46 PM Subject: RE: [AccessD] Protecting a subform with password > Hi Kostas: > > It is not possible to hide the line of code in an uncompiled DB, (MDB). > You > can compile the DB is compiled into a MDE file and therefore blocking > viewing access to all the source. > > HTH > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kostas > Konstantinidis > Sent: Tuesday, September 07, 2004 6:25 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Protecting a subform with password > > > Hi group, > thank's all for your response to my question > I tried the follown (which seems to work) and was wondering if it could be > possible and how to hide the line "Level0Pass = "123"" > making it unreadable e.g. instead of 123 to appear *** > thank you > kostas > > Private Sub Command0_Click() > Dim Green As Boolean, Level0Pass As String, stDocName As String, > stLinkCriteria As String > Level0Pass = "123" > Green = False > If Pass = Level0Pass Then > Green = True > End If > If Green Then > stDocName = "MT_entoli" > stLinkCriteria = "[AM]=" & [Forms]![MT_basic_char]![AM] > DoCmd.OpenForm stDocName, , , stLinkCriteria > DoCmd.Close acForm, "P_Form" > Else > DoCmd.Close > 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 Jeff at OUTBAKTech.com Wed Sep 8 09:49:56 2004 From: Jeff at OUTBAKTech.com (Jeff Barrows) Date: Wed, 8 Sep 2004 09:49:56 -0500 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: <8DA8776D2F418E46A2A464AC6CE630500326B2@outbaksrv1.outbaktech.com> Technically, it means is that if you decide NOT to renew your Action Pack Subscription, you agree to remove all of the Action Pack software from any / all of your machines after one year. But for $199 a year (after the first year), it only makes sense to renew it. -----Original Message----- From: Eric Barro [mailto:ebarro at afsweb.com] Sent: Wed 9/8/2004 8:21 AM To: Access Developers discussion and problem solving Cc: Subject: RE: [AccessD] AHOO!!! Got my action pack What it probably means it that you're going to stop getting update CDs from M$ for any of the products you have licenses for so if they come out with Office 2004 or SQL server 2005 you will have to purchase a separate license if you wanted to use it. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, September 08, 2004 12:46 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack I don't know. I know that the license "expires" after 1 year, but it appears that these are just real copies of these various things. I doubt they quit working. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, September 08, 2004 1:07 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack John: Thanks for the rundown. I've being trying to decide between that and the partner program. This one looks god. Except what's that about a one-year license. Does your copy of Office 2003 crap out after one year? Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, September 07, 2004 9:01 PM Subject: RE: [AccessD] AHOO!!! Got my action pack > The action pack is a deal MS offers developers or companies that > develop for > or sell MS stuff. For $300-400 they give you a ton of the latest > software and 10 licenses for all of it. You are allowed to use it in > house, but not > sell it or install it on any client machines. It includes: > > Office Professional 2003 > Office Publisher 2003 > Office Frontpage 2003 > Office Visio Professional 2003 > Office Project Professional 2003 > Business contact Manager for Outlook 2003 > Office OneNote 2003 > MapPoint 2004 Standard Edition > Windows XP Professional > Virtual PC 2004 > Office Infopath 2003 > Business Solutions CRM Professional > Windows Server 2003 Standard Edition > Windows Server 2003 Web Edition > Exchange Server 2003 Enterprise Edition > Office Project Server 2003 > Office Sharepoint Server 2003 > Office Live Communications Server 2003 > SQL Server 2000 Standard Edition (damn!) > SQL Server 2000 Service Pack 3a > SQL Server Reporting Services > Mobile Information Server 2002 > Swindows Sharepoint Services Standard 2003 > Windows Small Business Server 2003 Premium Edition > > What is all this stuff you may ask. No idea. > > The package appears to also come with some kind of training CD for > each ofr > these things. No books, must all be on CD. A neat little (BIG) > organizer size canvas folder to hold the disks. Nothing to hold the > training materials (C'mon MS, another folder to hold that and the > sleeves hole punched would have made it so much more professional). > > http://members.microsoft.com/partner/salesmarketing/partnermarket/actionpack > /actionpackus.aspx > > Watch for wrap. > > I had been looking at this package for awhile in order to bring my > office into the modern age (as defined by MS). > > So there you have it. A lot of stuff for a medium price (one year > license though!). But it gives you 10 licenses. I can put XP on all > my desktops, Server 2003 on both my new "server" machines, look at and > possibly use Office 2003 on my machines etc. I have a home office > with 2 "server class" > machines and 2 desktop machines, plus one modern laptop and an old POS > laptop that I am currently re-installing Win2K Pro on. Being able to > get a > consistent platform on everything might be nice. > > I had hoped to see 64bit OS and SQL Server included - they apparently > do exists, but not in here. 8-( > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie > Johnson > Sent: Tuesday, September 07, 2004 2:48 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AHOO!!! Got my action pack > > > What's the main advantage to having the Action pack? > > "John W. Colby" wrote: > I just got my MS Action pack, very nice. So much to know, so little > time. > > John W. Colby > www.ColbyConsulting.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Wed Sep 8 10:01:28 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 8 Sep 2004 11:01:28 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <000801c49507$a0be1ce0$80b3fea9@ColbyM6805> Message-ID: John, I've had an action pack subscription for 4 years now and although it has a lot of nice stuff, I find it hard to really put any of it to use. Most of it is simply overkill for the type of clients I have. It really is geared more towards larger Microsoft Partners that would have one or more full time salesmen pushing products. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 2:22 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] AHOO!!! Got my action pack I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Wed Sep 8 10:22:14 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 8 Sep 2004 08:22:14 -0700 Subject: Fw: [AccessD] Parts and assemblies design Message-ID: <013701c495b7$9f0bc900$6601a8c0@HAL9002> List: Sorry for the post. It should be off-line but got bounced. Philippe: I responded to your message but the address it was sent to when I hit reply: Philippe.Pons19_nospam at wanadoo.fr> had permanent fatal errors. Below is my reply to you. Regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Philippe Pons" Sent: Wednesday, September 08, 2004 8:01 AM Subject: Re: [AccessD] Parts and assemblies design > Philippe: > > In the old DOS days I had a French version. And a Dutch version as well, > both through a distributor in Holland. Right now the only foreign language > system is available in is Chinese which we should be releasing next month. > But I am working on Spanish. > > I have set the system up to make it easy to add languages. There are tables > which hold all of the control captions and messages so that adding a column > for an additional language is no problem. I just need to get someone to > fill in the blanks. > > Interested? :) > > Regards, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > ----- Original Message ----- > From: "Philippe Pons" > To: > Sent: Wednesday, September 08, 2004 6:23 AM > Subject: Re: [AccessD] Parts and assemblies design > > > > > > Hi, > > > > Has it benn translated into French? > > Do you sell it in France? > > > > Philippe > > > > Should you send an answer, please remove _nospam from my @email > > > > ----- Original Message ----- > > From: "Rocky Smolin - Beach Access Software" > > To: "Access Developers discussion and problem solving" > > > > Cc: "Tom Hintz" > > Sent: Sunday, September 05, 2004 9:17 PM > > Subject: Re: [AccessD] Parts and assemblies design > > > > > > > Eric: > > > > > > Shameless plug for my manufacturing system. You can check it out at > > > www.ezmrp.com > > > > > > It will do the structured bills of material that they need. > > > > > > I just added a Capacity Requirements Planning module to the system which > > > does not yet show on the web site however. In the CRP module you define > > > work centers and then add routings for each assembly - queue time, set > up > > > time and unit run time for each operation. Although it's not part of > > their > > > immediate requirement, as a bonus, the CRP Calculate program will > > calculate > > > how much of each work center's capacity is being used every day. > > > > > > Once they have that database built, since EZMRP is written in Access, > and > > > since the back end is wide open, you could easily write a report in > their > > > custom format, although E-Z-MRP does have a traveler report which shows > > the > > > start date for each operation based on a specific work order, that work > > > order's due date, and the assembly's lead time and, actually, the report > > you > > > model there looks mostly like an indented bill of materials, which, of > > > course, E-Z-MRP does. > > > > > > Starting with E-Z-MRP's framework might save you a LOT of development > > time. > > > (BTW, the audit trail that it produces on each inventory transaction, to > > > which you can attach a serial or lot number, also goes along way towards > > > satisfying FDA requirements.) > > > > > > If you're interested after checking the web site, please contact me > > off-line > > > at bchacc at san.rr.com and I'll give you a system to evaluate. Or call if > > you > > > want to talk about it - 858-259-4334. > > > > > > HTH > > > > > > Rocky Smolin > > > Beach Access Software > > > http://www.e-z-mrp.com > > > > > > > > > > > > > > > ----- Original Message ----- > > > From: "Eric Goetz" > > > To: > > > Sent: Sunday, September 05, 2004 11:32 AM > > > Subject: [AccessD] Parts and assemblies design > > > > > > > > > Hi, > > > > > > > > > > > > I am working on a database to replace some paper forms. I get the > > > feeling I'm starting more "from scratch" than I need to. So I thought > > > I'd ask if anyone knows of any examples of solutions for the following > > > problem. > > > > > > > > > > > > A medical device manufacturer needs to track all the actions performed > > > on each device as it moves through manufacturing to meet FDA > > > requirements. The forms are called "travelers." The first traveler gets > > > created when the device is built. A new traveler gets created every time > > > the device returns from the field (for upgrade or repair.) > > > > > > > > > > > > The forms show each part with its revision, part number, lot number, or > > > other attribute. There are different attributes for different types of > > > parts. Such as, software has a checksum, and a revision number while a > > > relay has does not. Instead, a relay has a lot number. > > > > > > > > > > > > Here are a couple of my challenges: > > > > > > > > > > > > I am modeling parts and assemblies, where an assembly is also a part. As > > > the devices come back from the field, they may get upgraded with > > > different parts and assemblies so the hierarchy is flexible. There seems > > > to be a many to many relationship between parts and assemblies. So, I > > > made a basic parts table: > > > > > > > > > > > > Part { ID, PartNumber, Name } where ID is the primary key > > > > > > Sample data: > > > > > > { 1, 26.026, Enclosure } > > > > > > { 57, 26.002, PCA } > > > > > > { 113, 26.100, ECA } > > > > > > { 114, 26.098, Xfrm } > > > > > > { 115, 26.022, Xfrm } > > > > > > { 116, 26.021, Xfrm } > > > > > > > > > > > > And I made another table to hold the many to many assignments between > > > parts and assemblies. > > > > > > AssyPartAssignment { ID, AssyID, PartID, Name } where ID is the primary > > > key and AssyID and PartID are foreign keys for the ID in the Part table. > > > > > > Sample data: > > > > > > { 1, 113, 57, Controller PCA } > > > > > > { 2, 113, 1, ECA Enclosure } > > > > > > { 3, 57, 114, Xfrm T1 } > > > > > > { 4, 57, 115, Xfrm T2 } > > > > > > { 5, 57, 116, Xfrm T3 } > > > > > > { 6, 57, 115, Xfrm T4 } > > > > > > > > > > > > The report needs to show this hierarchy. > > > > > > 26.100 - ECA > > > > > > 26.026 - ECA Enclosure > > > > > > 26.002 - Controller PCA > > > > > > 26.098 - Xfrm T1 > > > > > > 26.022 - Xfrm T2 > > > > > > 26.021 - Xfrm T3 > > > > > > 26.022 - Xfrm T4 > > > > > > > > > > > > The same transformer, 26.022 shows up twice in the PCA assembly. > > > > > > > > > > > > I'll build more tables for the different attributes of parts, such as, > > > software with its checksum, and parts that have only lots, and parts > > > that have revisions and lots. I'll use the ID key from the Part table as > > > the primary key for the subtype tables based on the entity relationship > > > chapter from the CJDate book. > > > > > > > > > > > > I need to make the forms to enter these variable hierarchies. > > > > > > > > > > > > Got any suggestions that might put a little more holiday in my Labor > > > Day? > > > > > > > > > > > > Thanks, > > > > > > > > > > > > Eric > > > > > > > > > > > > > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From DWUTKA at marlow.com Wed Sep 8 10:24:58 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 8 Sep 2004 10:24:58 -0500 Subject: [AccessD] Broadcast A Message Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB34F@main2.marlow.com> What are the clients running? Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, September 07, 2004 12:39 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Broadcast A Message Hi folks Anyone got any info/code to broadcast a message to selected machines/users. We've an NT4 server and a Novell server so could use either technology. -- 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 cfoust at infostatsystems.com Wed Sep 8 10:37:15 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Sep 2004 08:37:15 -0700 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: They don't quit working but you no longer have a license for them. So if you have to reactivate a product .... :-{ Charlotte -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, September 08, 2004 12:46 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack I don't know. I know that the license "expires" after 1 year, but it appears that these are just real copies of these various things. I doubt they quit working. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, September 08, 2004 1:07 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack John: Thanks for the rundown. I've being trying to decide between that and the partner program. This one looks god. Except what's that about a one-year license. Does your copy of Office 2003 crap out after one year? Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, September 07, 2004 9:01 PM Subject: RE: [AccessD] AHOO!!! Got my action pack > The action pack is a deal MS offers developers or companies that > develop for > or sell MS stuff. For $300-400 they give you a ton of the latest > software and 10 licenses for all of it. You are allowed to use it in > house, but not > sell it or install it on any client machines. It includes: > > Office Professional 2003 > Office Publisher 2003 > Office Frontpage 2003 > Office Visio Professional 2003 > Office Project Professional 2003 > Business contact Manager for Outlook 2003 > Office OneNote 2003 > MapPoint 2004 Standard Edition > Windows XP Professional > Virtual PC 2004 > Office Infopath 2003 > Business Solutions CRM Professional > Windows Server 2003 Standard Edition > Windows Server 2003 Web Edition > Exchange Server 2003 Enterprise Edition > Office Project Server 2003 > Office Sharepoint Server 2003 > Office Live Communications Server 2003 > SQL Server 2000 Standard Edition (damn!) > SQL Server 2000 Service Pack 3a > SQL Server Reporting Services > Mobile Information Server 2002 > Swindows Sharepoint Services Standard 2003 > Windows Small Business Server 2003 Premium Edition > > What is all this stuff you may ask. No idea. > > The package appears to also come with some kind of training CD for > each ofr > these things. No books, must all be on CD. A neat little (BIG) > organizer size canvas folder to hold the disks. Nothing to hold the > training materials (C'mon MS, another folder to hold that and the > sleeves hole punched would have made it so much more professional). > > http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack > /actionpackus.aspx > > Watch for wrap. > > I had been looking at this package for awhile in order to bring my > office into the modern age (as defined by MS). > > So there you have it. A lot of stuff for a medium price (one year > license though!). But it gives you 10 licenses. I can put XP on all > my desktops, Server 2003 on both my new "server" machines, look at and > possibly use Office 2003 on my machines etc. I have a home office > with 2 "server class" > machines and 2 desktop machines, plus one modern laptop and an old POS > laptop that I am currently re-installing Win2K Pro on. Being able to > get a > consistent platform on everything might be nice. > > I had hoped to see 64bit OS and SQL Server included - they apparently > do exists, but not in here. 8-( > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie > Johnson > Sent: Tuesday, September 07, 2004 2:48 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AHOO!!! Got my action pack > > > What's the main advantage to having the Action pack? > > "John W. Colby" wrote: > I just got my MS Action pack, very nice. So much to know, so little > time. > > John W. Colby > www.ColbyConsulting.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Wed Sep 8 10:23:56 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 8 Sep 2004 08:23:56 -0700 Subject: Fw: [AccessD] Parts and assemblies design Message-ID: <014301c495b7$dbbd8140$6601a8c0@HAL9002> Oops. Just saw the nospam thing. How does that work? (and does it work well?) Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Philippe Pons" Sent: Wednesday, September 08, 2004 8:01 AM Subject: Re: [AccessD] Parts and assemblies design > Philippe: > > In the old DOS days I had a French version. And a Dutch version as well, > both through a distributor in Holland. Right now the only foreign language > system is available in is Chinese which we should be releasing next month. > But I am working on Spanish. > > I have set the system up to make it easy to add languages. There are tables > which hold all of the control captions and messages so that adding a column > for an additional language is no problem. I just need to get someone to > fill in the blanks. > > Interested? :) > > Regards, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > ----- Original Message ----- > From: "Philippe Pons" > To: > Sent: Wednesday, September 08, 2004 6:23 AM > Subject: Re: [AccessD] Parts and assemblies design > > > > > > Hi, > > > > Has it benn translated into French? > > Do you sell it in France? > > > > Philippe > > > > Should you send an answer, please remove _nospam from my @email > > > > ----- Original Message ----- > > From: "Rocky Smolin - Beach Access Software" > > To: "Access Developers discussion and problem solving" > > > > Cc: "Tom Hintz" > > Sent: Sunday, September 05, 2004 9:17 PM > > Subject: Re: [AccessD] Parts and assemblies design > > > > > > > Eric: > > > > > > Shameless plug for my manufacturing system. You can check it out at > > > www.ezmrp.com > > > > > > It will do the structured bills of material that they need. > > > > > > I just added a Capacity Requirements Planning module to the system which > > > does not yet show on the web site however. In the CRP module you define > > > work centers and then add routings for each assembly - queue time, set > up > > > time and unit run time for each operation. Although it's not part of > > their > > > immediate requirement, as a bonus, the CRP Calculate program will > > calculate > > > how much of each work center's capacity is being used every day. > > > > > > Once they have that database built, since EZMRP is written in Access, > and > > > since the back end is wide open, you could easily write a report in > their > > > custom format, although E-Z-MRP does have a traveler report which shows > > the > > > start date for each operation based on a specific work order, that work > > > order's due date, and the assembly's lead time and, actually, the report > > you > > > model there looks mostly like an indented bill of materials, which, of > > > course, E-Z-MRP does. > > > > > > Starting with E-Z-MRP's framework might save you a LOT of development > > time. > > > (BTW, the audit trail that it produces on each inventory transaction, to > > > which you can attach a serial or lot number, also goes along way towards > > > satisfying FDA requirements.) > > > > > > If you're interested after checking the web site, please contact me > > off-line > > > at bchacc at san.rr.com and I'll give you a system to evaluate. Or call if > > you > > > want to talk about it - 858-259-4334. > > > > > > HTH > > > > > > Rocky Smolin > > > Beach Access Software > > > http://www.e-z-mrp.com > > > > > > > > > > > > > > > ----- Original Message ----- > > > From: "Eric Goetz" > > > To: > > > Sent: Sunday, September 05, 2004 11:32 AM > > > Subject: [AccessD] Parts and assemblies design > > > > > > > > > Hi, > > > > > > > > > > > > I am working on a database to replace some paper forms. I get the > > > feeling I'm starting more "from scratch" than I need to. So I thought > > > I'd ask if anyone knows of any examples of solutions for the following > > > problem. > > > > > > > > > > > > A medical device manufacturer needs to track all the actions performed > > > on each device as it moves through manufacturing to meet FDA > > > requirements. The forms are called "travelers." The first traveler gets > > > created when the device is built. A new traveler gets created every time > > > the device returns from the field (for upgrade or repair.) > > > > > > > > > > > > The forms show each part with its revision, part number, lot number, or > > > other attribute. There are different attributes for different types of > > > parts. Such as, software has a checksum, and a revision number while a > > > relay has does not. Instead, a relay has a lot number. > > > > > > > > > > > > Here are a couple of my challenges: > > > > > > > > > > > > I am modeling parts and assemblies, where an assembly is also a part. As > > > the devices come back from the field, they may get upgraded with > > > different parts and assemblies so the hierarchy is flexible. There seems > > > to be a many to many relationship between parts and assemblies. So, I > > > made a basic parts table: > > > > > > > > > > > > Part { ID, PartNumber, Name } where ID is the primary key > > > > > > Sample data: > > > > > > { 1, 26.026, Enclosure } > > > > > > { 57, 26.002, PCA } > > > > > > { 113, 26.100, ECA } > > > > > > { 114, 26.098, Xfrm } > > > > > > { 115, 26.022, Xfrm } > > > > > > { 116, 26.021, Xfrm } > > > > > > > > > > > > And I made another table to hold the many to many assignments between > > > parts and assemblies. > > > > > > AssyPartAssignment { ID, AssyID, PartID, Name } where ID is the primary > > > key and AssyID and PartID are foreign keys for the ID in the Part table. > > > > > > Sample data: > > > > > > { 1, 113, 57, Controller PCA } > > > > > > { 2, 113, 1, ECA Enclosure } > > > > > > { 3, 57, 114, Xfrm T1 } > > > > > > { 4, 57, 115, Xfrm T2 } > > > > > > { 5, 57, 116, Xfrm T3 } > > > > > > { 6, 57, 115, Xfrm T4 } > > > > > > > > > > > > The report needs to show this hierarchy. > > > > > > 26.100 - ECA > > > > > > 26.026 - ECA Enclosure > > > > > > 26.002 - Controller PCA > > > > > > 26.098 - Xfrm T1 > > > > > > 26.022 - Xfrm T2 > > > > > > 26.021 - Xfrm T3 > > > > > > 26.022 - Xfrm T4 > > > > > > > > > > > > The same transformer, 26.022 shows up twice in the PCA assembly. > > > > > > > > > > > > I'll build more tables for the different attributes of parts, such as, > > > software with its checksum, and parts that have only lots, and parts > > > that have revisions and lots. I'll use the ID key from the Part table as > > > the primary key for the subtype tables based on the entity relationship > > > chapter from the CJDate book. > > > > > > > > > > > > I need to make the forms to enter these variable hierarchies. > > > > > > > > > > > > Got any suggestions that might put a little more holiday in my Labor > > > Day? > > > > > > > > > > > > Thanks, > > > > > > > > > > > > Eric > > > > > > > > > > > > > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > From artful at rogers.com Wed Sep 8 11:31:55 2004 From: artful at rogers.com (Arthur Fuller) Date: Wed, 8 Sep 2004 12:31:55 -0400 Subject: [AccessD] Syntax question about control references In-Reply-To: <008501c494eb$27dc4930$6401a8c0@default> Message-ID: <009801c495c1$5ac58f60$6501a8c0@rock> Hi. No it is not set to continuous forms. (Frankly, except for very limited situations, I HATE continuous forms, but that's another story.) It's set for datasheet view. It's easy enough to set the focus to the desired control, but that's only half what I need. I need to scroll the form such that the control with focus is in the first unfrozen position. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Tuesday, September 07, 2004 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Syntax question about control references ----- Original Message ----- From: "Arthur Fuller" > My form has controls whose names derive from the EoM() of a given > date. That is, the end of a month. The control's name will be > something such as "12/31/2004", etc. I need to set the focus to the > column corresponding to today's date. For the date on which I am > writing this message, the correct column is named "9/30/2004". ... > The EoM() function (which I wrote) returns a date. I need to take this > value and turn it into a reference to a column, such that I can write: > > Me.columnName.SetFocus Arthur, It looks like you mean to say that you have a subform set to "continuous forms." If that's the case, you'd say Me.SubformName.Form.Controls("EOMDate").SetFocus ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Wed Sep 8 13:06:48 2004 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Wed, 8 Sep 2004 14:06:48 -0400 Subject: [AccessD] Syntax question about control references References: <009801c495c1$5ac58f60$6501a8c0@rock> Message-ID: <00d801c495ce$a0209cf0$6401a8c0@default> Arthur, You can actually move the column to the left by using DoCmd.RunCommand acCmdFreezeColumn. If you have other columns that you'd like to the left of the column with the correct date, you'll have to create an array of controls in which you'd SetFocus DoCmd.RunCommand acCmdFreezeColumn til they were in the order that you want. (Otherwise, there are Scroll APIs that you can get from one of Stephen Lebans creations www.lebans.com) ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Arthur Fuller" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, September 08, 2004 12:31 PM Subject: RE: [AccessD] Syntax question about control references > Hi. No it is not set to continuous forms. (Frankly, except for very > limited situations, I HATE continuous forms, but that's another story.) > It's set for datasheet view. It's easy enough to set the focus to the > desired control, but that's only half what I need. I need to scroll the > form such that the control with focus is in the first unfrozen position. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: Tuesday, September 07, 2004 10:59 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Syntax question about control references > > > > ----- Original Message ----- > From: "Arthur Fuller" > > > > My form has controls whose names derive from the EoM() of a given > > date. That is, the end of a month. The control's name will be > > something such as "12/31/2004", etc. I need to set the focus to the > > column corresponding to today's date. For the date on which I am > > writing this message, the correct column is named "9/30/2004". > ... > > The EoM() function (which I wrote) returns a date. I need to take this > > > value and turn it into a reference to a column, such that I can write: > > > > Me.columnName.SetFocus > > Arthur, > > It looks like you mean to say that you have > a subform set to "continuous forms." If that's > the case, you'd say > > Me.SubformName.Form.Controls("EOMDate").SetFocus > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From awithing at twcny.rr.com Wed Sep 8 13:10:44 2004 From: awithing at twcny.rr.com (augusta) Date: Wed, 8 Sep 2004 14:10:44 -0400 Subject: [AccessD] Shrinking fields in a report In-Reply-To: <009801c495c1$5ac58f60$6501a8c0@rock> Message-ID: <200409081810.i88IAlv3020534@ms-smtp-03.nyroc.rr.com> I have a report that contains basic info - Memname, business name, friends name, address, and total sum contributed. In the report I have on the left hand side name, business, friends name. The middle (ideally on the same line) address, and then alittle over (once again on the same line) is the Total Sum. I have set all the fields to shrink, but when there is only a business and friend name to the record, it does not shrink all the way. But when there is a Memname and friend name, it does. This is a mystery. Any clues? IS there a limit to the number of fields that can shrink? Thanks Augusta From gustav at cactus.dk Wed Sep 8 13:48:19 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 8 Sep 2004 20:48:19 +0200 Subject: [AccessD] Determine current page number of report in preview In-Reply-To: <002301c49418$f3b248d0$d01865cb@winxp> References: <225449706.20040902101059@cactus.dk> <002301c49418$f3b248d0$d01865cb@winxp> Message-ID: <8143222470.20040908204819@cactus.dk> Hi A.D. (warning: long post) Thanks for the hints and the demo. It is certainly possible to pick the page number by SendKeys and paste it into something else like a textbox. However, the link to Stephen Lebans' site contained the gold nuggets to achieve this via some API calls. It seems to work even when the report is minimized (and when in design view it doesn't fail). At the end, find the code for a complete module including the function SetCurrentReportPage() which will both set and get the page number of the current page when a report is displayed in preview. Also, two demo functions are included. /gustav > Gustav, > It is observed that events generated by a report opened in > preview mode, get exhausted in the first forward pass through its > pages. > As a result, in case of any subsequent navigation through the > pages already covered, there is no more firing of any event at all. > Values pertaining to Page and CurrentRecord properties of the report > remain stuck at the highest value touched (even if the page now > being viewed is a lower one in the sequence). > In view of the above, any attempt to obtain the current page > number (in subsequent passes) from code within the report's module, > gets vitiated on account of non-availability of any event that could > activate such code. > If your situation permits use of code attached to a form, a > solution could be worked out, adopting either of the following > approaches - > (a) Combination of SendKeys method along with API calls. It is > based upon the feature that pressing F5 key in the report preview > window selects the contents of page counter window at bottom left. > (b) Avoiding use of SendKeys by using additional API calls. > (In case of (a), the code involved is relatively simple, while > (b) might need very bulky & tedious code) > I can send you a sample db demonstrating a solution of type (a) > above. Your eMail address to be used for this purpose, may please be > advised. > If you are keen to evolve a solution of type (b) above, you > could get some working ideas from the function fTurnPage() at > Stephan Leban's site. > Regards, > A.D.Tejpal > -------------- > ----- Original Message ----- > How do you catch the current page in preview? > Access caches pages while you are browsing forward. > Fine, but if the user moves (browses) backwards, the Page property stays on the highest number even though the preview displays the correct lower page number. > I guess the only chance would be to catch the current page number from the status line of the preview window but I don't know if that is possible. This is the complete module for Access 97. Should work for Access 2000+ as well but is not tested. Option Compare Database Option Explicit ' Original code by Stephen Lebans: http://www.lebans.com ' Visit: http://www.lebans.com/Report.htm ' ' 2004-09-08: ' Modified by Gustav Brock, Cactus Data ApS, CPH. ' Added functionality for retrieving the current page number. ' Added simple demo. ' IMPORTANT: Call ResetReportHandles when opening the report! ' Copy this line and paste it into Report_Open: ' ' Call ResetReportHandles ' ' --- Private Type RECTL Left As Long Top As Long Right As Long Bottom As Long End Type Private Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" ( _ ByVal hWnd1 As Long, _ ByVal hWnd2 As Long, _ ByVal lpsz1 As String, _ ByVal lpsz2 As String) _ As Long Private Declare Function SetActiveWindow Lib "user32" ( _ ByVal hWnd As Long) _ As Long Private Declare Function GetWindow Lib "user32" ( _ ByVal hWnd As Long, _ ByVal wCmd As Long) _ As Long Private Declare Function GetWindowRect Lib "user32" ( _ ByVal hWnd As Long, _ ByRef lpRect As RECTL) _ As Long Private Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" ( _ ByVal hWnd As Long, _ ByVal lpString As String, _ ByVal cch As Long) _ As Long Private Declare Function GetWindowTextLength Lib "user32" Alias "GetWindowTextLengthA" ( _ ByVal hWnd As Long) _ As Long Private Declare Function SetWindowText Lib "user32" Alias "SetWindowTextA" ( _ ByVal hWnd As Long, _ ByVal lpString As String) _ As Long Private Declare Function PostMessage Lib "user32" Alias "PostMessageA" ( _ ByVal hWnd As Long, _ ByVal wMsg As Long, _ ByVal wParam As Long, _ ByVal lParam As Long) _ As Long Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" ( _ ByVal hWnd As Long, _ ByVal wMsg As Long, _ ByVal wParam As Long, _ ByRef lParam As Any) _ As Long Private Declare Function MapVirtualKey Lib "user32" Alias "MapVirtualKeyA" ( _ ByVal wCode As Long, _ ByVal wMapType As Long) _ As Long ' Window messages. Private Const WM_ACTIVATE = &H6 Private Const WM_SETFOCUS = &H7 Private Const WM_KILLFOCUS = &H8 Private Const WM_ENABLE = &HA Private Const WM_SETREDRAW = &HB Private Const WM_SETTEXT = &HC Private Const WM_GETTEXT = &HD Private Const WM_GETTEXTLENGTH = &HE Private Const WM_PAINT = &HF Private Const WM_CLOSE = &H10 Private Const WM_QUERYENDSESSION = &H11 Private Const WM_QUIT = &H12 Private Const WM_QUERYOPEN = &H13 Private Const WM_ERASEBKGND = &H14 Private Const WM_SYSCOLORCHANGE = &H15 Private Const WM_ENDSESSION = &H16 Private Const WM_SHOWWINDOW = &H18 Private Const WM_WININICHANGE = &H1A Private Const WM_DEVMODECHANGE = &H1B Private Const WM_ACTIVATEAPP = &H1C Private Const WM_FONTCHANGE = &H1D Private Const WM_TIMECHANGE = &H1E Private Const WM_CANCELMODE = &H1F Private Const WM_SETCURSOR = &H20 Private Const WM_MOUSEACTIVATE = &H21 Private Const WM_CHILDACTIVATE = &H22 Private Const WM_QUEUESYNC = &H23 Private Const WM_KEYFIRST = &H100 Private Const WM_KEYDOWN = &H100 Private Const WM_KEYUP = &H101 Private Const WM_CHAR = &H102 Private Const WM_DEADCHAR = &H103 Private Const WM_SYSKEYDOWN = &H104 Private Const WM_SYSKEYUP = &H105 Private Const WM_SYSCHAR = &H106 Private Const WM_SYSDEADCHAR = &H107 Private Const WM_KEYLAST = &H108 Private Const WM_INITDIALOG = &H110 Private Const WM_COMMAND = &H111 Private Const WM_SYSCOMMAND = &H112 Private Const WM_TIMER = &H113 Private Const WM_HSCROLL = &H114 Private Const WM_VSCROLL = &H115 Private Const WM_INITMENU = &H116 Private Const WM_INITMENUPOPUP = &H117 Private Const WM_MENUSELECT = &H11F Private Const WM_MENUCHAR = &H120 Private Const WM_ENTERIDLE = &H121 Private Const WM_MOUSEFIRST = &H200 Private Const WM_MOUSEMOVE = &H200 Private Const WM_LBUTTONDOWN = &H201 Private Const WM_LBUTTONUP = &H202 Private Const WM_LBUTTONDBLCLK = &H203 Private Const WM_RBUTTONDOWN = &H204 Private Const WM_RBUTTONUP = &H205 Private Const WM_RBUTTONDBLCLK = &H206 Private Const WM_MBUTTONDOWN = &H207 Private Const WM_MBUTTONUP = &H208 Private Const WM_MBUTTONDBLCLK = &H209 Private Const WM_MOUSELAST = &H209 ' GetWindow() constants. Private Const GW_HWNDFIRST = 0 Private Const GW_HWNDLAST = 1 Private Const GW_HWNDNEXT = 2 Private Const GW_HWNDPREV = 3 Private Const GW_OWNER = 4 Private Const GW_CHILD = 5 Private Const GW_MAX = 5 ' Other constants. Private Const HTCLIENT = 1 ' Private variables. ' Can (and must) be reset externally by calling sub ' ResetReportHandles Private hWndChild As Long Private hWndOSUI As Long Private Function MakeDWord( _ ByVal loword As Integer, _ ByVal hiword As Integer) _ As Long MakeDWord = (hiword * &H10000) Or (loword And &HFFFF&) End Function Public Sub ResetReportHandles() ' Reset Window handles. ' NB: Call this sub when opening the report! hWndOSUI = 0 hWndChild = 0 End Sub Public Function GetTextFromWindow( _ ByVal hWnd As Long) _ As String ' Retrieve text from a window identified by its handle. Dim strWindow As String Dim lngReturn As Long ' Create a buffer. strWindow = String(GetWindowTextLength(hWnd) + 1, vbNullChar) ' Get the window's text. lngReturn = GetWindowText(hWnd, strWindow, Len(strWindow)) strWindow = Left(strWindow, Len(strWindow) - 1) GetTextFromWindow = strWindow End Function Public Function SetCurrentReportPage( _ ByVal strReport As String, _ ByRef intPageNumber As Integer) _ As Boolean ' This function sets or retrieves the current page number of ' the Report Print Preview window. ' ' If intPageNumber is > 0, the preview page is moved to this number ' or the last page of the report if this is smaller. ' In any case, the currently displayed page number is returned in ' intPageNumber. ' If success, the function returns True. ' **** APP NOTES by Stephen Lebans **** ' I did try the standard method to Find a Window by ' ClassName or Caption. ' Unfortunately the TextBox "OKttbx" that displays ' the Current Report Page number is part of ' a lightweight Control. It is drawn as required and ' appears as required and dissappears when it is not required. ' The only reliable method was this hack. It works by ' simulating a physical clicking in the Page number Window. On Error GoTo Err_SetCurrentReportPage Static lngWindowLocation As Long ' Hold our OSUI Window dimensions. Dim RC As RECTL Dim intPosx As Integer Dim lngTemp1 As Long Dim lngTemp2 As Long Dim lngReturn As Long Dim lnghWnd As Long Dim strPageNumber As String Dim booSuccess As Boolean lnghWnd = Access.Reports.Item(strReport).hWnd ' Ensure this window is the Active Window. ' Make sure the report is the currently selected object. lngReturn = SetActiveWindow(lnghWnd) ' If we have already determined the location of ' the Page Number Window then skip our probe. ' Else find the Page Navigation Window located at ' the bottom of the Report Print Preview window. If hWndChild = 0 Then hWndOSUI = FindWindowEx(lnghWnd, 0&, "OSUI", vbNullString) ' Get Window extents. lngReturn = GetWindowRect(hWndOSUI, RC) ' We need to go hunting for the Page Number Window. ' We know it is at the bottom of this Window. ' Let's check from Left to Right and along the ' middle of the height of the Window. ' Simulate Mouse Click with the Left button to activate the window. ' Stephen tried to do this the proper way but it was not reliable. ' This hack seems to work. ' Start 20 pixels in. intPosx = 20 Do While intPosx < RC.Right lngTemp1 = MakeDWord(intPosx, (RC.Bottom - RC.Top) / 2) lngReturn = PostMessage(hWndOSUI, WM_LBUTTONDOWN, 1&, lngTemp1) lngReturn = PostMessage(hWndOSUI, WM_LBUTTONUP, 1&, lngTemp1) lngReturn = PostMessage(hWndOSUI, WM_LBUTTONDOWN, 1&, lngTemp1) lngReturn = PostMessage(hWndOSUI, WM_LBUTTONUP, 1&, lngTemp1) DoEvents hWndChild = GetWindow(hWndOSUI, GW_CHILD) If hWndChild <> 0 Then ' Store location for a next run of the function. lngWindowLocation = lngTemp1 Exit Do End If ' Let's keep moving 4 more pixels to the right. intPosx = intPosx + 4 DoEvents Loop End If If hWndChild = 0 Or lngWindowLocation = 0 Then ' Somehow we failed. ' Return undefined page number. intPageNumber = 0 Else ' Create the lParam. lngTemp1 = MakeDWord(HTCLIENT, WM_LBUTTONDOWN) ' Send the Mouse Activate message. lngReturn = SendMessage(hWndOSUI, WM_MOUSEACTIVATE, Application.hWndAccessApp, ByVal lngTemp1) ' Send the Left Mouse Button Down message. lngReturn = PostMessage(hWndOSUI, WM_LBUTTONDOWN, 1&, lngWindowLocation) lngReturn = PostMessage(hWndOSUI, WM_LBUTTONUP, 1&, lngWindowLocation) ' Ensure messages are processed. DoEvents ' If intPageNumber is zero or negative we only wish to retrieve the current page number. If intPageNumber > 0 Then ' Copy our desired page number into the Page Number TextBox. strPageNumber = intPageNumber lngReturn = SetWindowText(hWndChild, strPageNumber) ' Allow Windows to catch up. DoEvents ' Generate Enter key press to force Access to update display. lngTemp1 = MapVirtualKey(vbKeyReturn, 0&) lngTemp2 = MakeDWord(1, CInt(lngTemp1)) lngReturn = PostMessage(hWndChild, WM_KEYDOWN, 13, lngTemp2) lngReturn = PostMessage(hWndChild, WM_CHAR, 13, lngTemp2) ' Ensure messages are processed. DoEvents ' Create a new mouse click to read the displayed page number. ' Otherwise we will only retrieve the Enter key press. ' Create the lParam. lngTemp1 = MakeDWord(HTCLIENT, WM_LBUTTONDOWN) ' Send the Mouse Activate message. lngReturn = SendMessage(hWndOSUI, WM_MOUSEACTIVATE, Application.hWndAccessApp, ByVal lngTemp1) ' Send the Left Mouse Button Down message. lngReturn = PostMessage(hWndOSUI, WM_LBUTTONDOWN, 1&, lngWindowLocation) lngReturn = PostMessage(hWndOSUI, WM_LBUTTONUP, 1&, lngWindowLocation) ' Ensure messages are processed. DoEvents End If ' Retrieve and return current page number. strPageNumber = GetTextFromWindow(hWndChild) intPageNumber = CInt(strPageNumber) ' Signal success. booSuccess = True End If SetCurrentReportPage = booSuccess Exit_SetCurrentReportPage: Exit Function Err_SetCurrentReportPage: MsgBox "Error: " & Err.Number & "." & vbCrLf & Err.Description, vbCritical + vbOKOnly, Err.Source Resume Exit_SetCurrentReportPage End Function Public Function DemoGetReportPage() _ As Integer Dim rpt As Access.Report Dim strReport As String Dim booSuccess As Boolean Dim intReportPage As Integer If Access.Reports.Count > 0 Then Set rpt = Access.Reports(0) strReport = rpt.Name booSuccess = SetCurrentReportPage(strReport, intReportPage) Set rpt = Nothing End If DemoGetReportPage = intReportPage End Function Public Function DemoSetReportPage( _ ByVal intReportPage As Integer) _ As Integer Dim rpt As Access.Report Dim strReport As String Dim booSuccess As Boolean If Access.Reports.Count = 0 Then intReportPage = 0 Else Set rpt = Access.Reports(0) strReport = rpt.Name booSuccess = SetCurrentReportPage(strReport, intReportPage) Set rpt = Nothing End If DemoSetReportPage = intReportPage End Function Have fun! /gustav From andy at minstersystems.co.uk Wed Sep 8 12:14:49 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 8 Sep 2004 18:14:49 +0100 Subject: [AccessD] Broadcast A Message In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8031BB34F@main2.marlow.com> Message-ID: <001001c495c7$58eb4260$b274d0d5@minster33c3r25> Netware client. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > DWUTKA at marlow.com > Sent: 08 September 2004 16:25 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Broadcast A Message > > > What are the clients running? > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Andy Lacey > Sent: Tuesday, September 07, 2004 12:39 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Broadcast A Message > > > Hi folks > > Anyone got any info/code to broadcast a message to selected > machines/users. We've an NT4 server and a Novell server so > could use either technology. > > -- Andy Lacey > http://www.minstersystems.co.uk > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > -- > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From adtp at touchtelindia.net Wed Sep 8 14:27:36 2004 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Thu, 9 Sep 2004 00:57:36 +0530 Subject: [AccessD] Syntax question about control references References: <009801c495c1$5ac58f60$6501a8c0@rock> Message-ID: <019f01c495da$0e8fc9d0$8d1865cb@winxp> Arthur, The following example might give you some working ideas. Let the datasheet form have 13 columns named F0 to F12. The code given below will ensure that F5 is the column that gets focus and is the first unfrozen one. It is observed that use of freeze feature interferes with the tab index property of various controls and normalization is not readily achieved by resetting the tab index. Hence the need for two stage loop (first loop normalizes the tab order of various columns). A.D.Tejpal -------------- ================================= Dim Cnt As Integer ' Normalize all columns DoCmd.RunCommand acCmdUnfreezeAllColumns For Cnt = 0 To 12 Me("F" & Cnt).SetFocus DoCmd.RunCommand acCmdFreezeColumn Next DoCmd.RunCommand acCmdUnfreezeAllColumns ' Freeze Columns F0 to F4 and set focus on F5 For Cnt = 0 To 4 Me("F" & Cnt).SetFocus DoCmd.RunCommand acCmdFreezeColumn Next Me("F5").SetFocus ================================= ----- Original Message ----- From: Arthur Fuller To: 'Access Developers discussion and problem solving' Sent: Wednesday, September 08, 2004 22:01 Subject: RE: [AccessD] Syntax question about control references Hi. No it is not set to continuous forms. (Frankly, except for very limited situations, I HATE continuous forms, but that's another story.) It's set for datasheet view. It's easy enough to set the focus to the desired control, but that's only half what I need. I need to scroll the form such that the control with focus is in the first unfrozen position. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Tuesday, September 07, 2004 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Syntax question about control references ----- Original Message ----- From: "Arthur Fuller" > My form has controls whose names derive from the EoM() of a given > date. That is, the end of a month. The control's name will be > something such as "12/31/2004", etc. I need to set the focus to the > column corresponding to today's date. For the date on which I am > writing this message, the correct column is named "9/30/2004". ... > The EoM() function (which I wrote) returns a date. I need to take this > value and turn it into a reference to a column, such that I can write: > > Me.columnName.SetFocus Arthur, It looks like you mean to say that you have a subform set to "continuous forms." If that's the case, you'd say Me.SubformName.Form.Controls("EOMDate").SetFocus ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From DWUTKA at marlow.com Wed Sep 8 15:04:50 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 8 Sep 2004 15:04:50 -0500 Subject: [AccessD] Broadcast A Message Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB354@main2.marlow.com> If you were running TCP/IP, you can use UDP broadcasts to have a 'receiver' pick up the messages. If they were NT based clients, you could use the windows messaging service. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Wednesday, September 08, 2004 12:15 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Broadcast A Message Netware client. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > DWUTKA at marlow.com > Sent: 08 September 2004 16:25 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Broadcast A Message > > > What are the clients running? > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Andy Lacey > Sent: Tuesday, September 07, 2004 12:39 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Broadcast A Message > > > Hi folks > > Anyone got any info/code to broadcast a message to selected > machines/users. We've an NT4 server and a Novell server so > could use either technology. > > -- Andy Lacey > http://www.minstersystems.co.uk > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > -- > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at aig.com Tue Sep 7 14:09:26 2004 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Tue, 7 Sep 2004 15:09:26 -0400 Subject: [AccessD] Logon/Password Same as Network Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F02D088D3@xlivmbx21.aig.com> "Instead of having to remember two different passwords..." This is just what I thought you might be trying to do, and that's just what the NY Challenge is supposed to be doing. There is nowhere for the OS to look up the password to validate it. Rather the NT Login process takes the password from the user and passes it through a one-way hash function. The output of the hash function is then checked in a database to see if there is a match for it The point being that the password *never* gets stored anywhere or transmitted over the network. The hash function is one-way in that you cannot convert the hash value back to the password. That's the theory. Unfortunately the practice is a touch harder. First the code I pointed you to is VB specific. It would need to be altered to make it compile under VBA. To get it to compile with VBA all the code above "Private Sub Form_Load()" needs to be moved into a standard module. All the "Private Declare ..." lines need to be changed to "Public Declare ..." All the "Private Type .." lines need to be changed to "Public Type ..." All references to the three textbox's ".Text." and ".Value" properties should be changed to simple references to the textbox controls' names. Having done all that you will be able to compile the code, but then you'll find that all the example code is in any case Windows 2000 or later specific. The core part of the code (the function AuthenticateUser) first tests the OS version (the function call IsWinNT2000Plus), and it it's not 20000 or greater nothing is done to authenticate at all. ;-( So even though it's called the NT authentication, this code only works on W2K and higher. I've yet to find a working version of this authentication code for NT4 but it must be out there somewhere. Lambert > -----Original Message----- > From: Nicholson, Karen [SMTP:cyx5 at cdc.gov] > Sent: Tuesday, September 07, 2004 1:40 PM > To: Heenan, Lambert > Subject: RE: [AccessD] Logon/Password Same as Network > > I don't think the Windows NT Challenge is what I am looking for, seems > to apply to asp, internet etc. What I want to do is this: user logins > in the morning on their server. I can capture the user name that was > used to logon and display on the form, for instance I am cyx5. Now, > when the user opens up my Access application, I want a form that > displays the cyx5 in one text box (done) and another text box that is > blank for them to enter in their password. Instead of having to > remember two different passwords, I would like the password that is > entered on my Access form to lookup their network password to do a > match. If it does not match, throw them out. If it does, open up my > switchboard menu. > > -----Original Message----- > From: Heenan, Lambert [mailto:Lambert.Heenan at AIG.com] > Sent: Tuesday, September 07, 2004 12:03 PM > To: 'Access Developers discussion and problem solving'; Nicholson, Karen > Subject: RE: [AccessD] Logon/Password Same as Network > > > What's "the password"? Do you mean the logging password used for Access > Security? Why would you want to make this the same as the users LAN > login > password? To do so would require your to keep the two synchronized and > that > would be a pain. Or do you in fact want to use the "Windows NT > Challenge" > process to validate an already logged in user? > > All I can say is that Authentication is kinda complex, but take a look > here > for an example.... > > http://vbnet.mvps.org/index.html?code/network/acceptsecuritycontext.htm > > Just be sure not to store those passwords anywhere or you will open up a > security hole big enough to drive an 18-wheeler through. > > Lambert > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, > Karen > > Sent: Tuesday, September 07, 2004 11:28 AM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Logon/Password Same as Network > > > > I know how to grab the logon from the network; is there a way to make > > the password to be the same as the password housed on the network so > > that the user will have the same logon/password? Thanks! > > > > Karen Nicholson > > National Laboratory > > Xerox Global Services > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com From fhtapia at gmail.com Wed Sep 8 10:31:23 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 8 Sep 2004 08:31:23 -0700 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <8DA8776D2F418E46A2A464AC6CE630500326B2@outbaksrv1.outbaktech.com> References: <8DA8776D2F418E46A2A464AC6CE630500326B2@outbaksrv1.outbaktech.com> Message-ID: Acctually that DOES sound very rightous... if or when I ever go back to doing consulting work I may just have to remember to do this... they you a ton of software for the price... On Wed, 8 Sep 2004 09:49:56 -0500, Jeff Barrows wrote: > Technically, it means is that if you decide NOT to renew your Action Pack Subscription, you agree to remove all of the Action Pack software from any / all of your machines after one year. But for $199 a year (after the first year), it only makes sense to renew it. > > > > > -----Original Message----- > From: Eric Barro [mailto:ebarro at afsweb.com] > Sent: Wed 9/8/2004 8:21 AM > To: Access Developers discussion and problem solving > Cc: > Subject: RE: [AccessD] AHOO!!! Got my action pack > > What it probably means it that you're going to stop getting update CDs from M$ for any of the products you have licenses for so if they come out with Office 2004 or SQL server 2005 you will have to purchase a separate license if you wanted to use it. > > --- > Eric Barro > Senior Systems Analyst > Advanced Field Services > (208) 772-7060 > http://www.afsweb.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby > Sent: Wednesday, September 08, 2004 12:46 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] AHOO!!! Got my action pack > > I don't know. I know that the license "expires" after 1 year, but it > appears that these are just real copies of these various things. I doubt > they quit working. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Wednesday, September 08, 2004 1:07 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AHOO!!! Got my action pack > > John: > > Thanks for the rundown. I've being trying to decide between that and the > partner program. This one looks god. Except what's that about a one-year > license. Does your copy of Office 2003 crap out after one year? > > Rocky > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Tuesday, September 07, 2004 9:01 PM > Subject: RE: [AccessD] AHOO!!! Got my action pack > > > The action pack is a deal MS offers developers or companies that > > develop > for > > or sell MS stuff. For $300-400 they give you a ton of the latest > > software and 10 licenses for all of it. You are allowed to use it in > > house, but > not > > sell it or install it on any client machines. It includes: > > > > Office Professional 2003 > > Office Publisher 2003 > > Office Frontpage 2003 > > Office Visio Professional 2003 > > Office Project Professional 2003 > > Business contact Manager for Outlook 2003 > > Office OneNote 2003 > > MapPoint 2004 Standard Edition > > Windows XP Professional > > Virtual PC 2004 > > Office Infopath 2003 > > Business Solutions CRM Professional > > Windows Server 2003 Standard Edition > > Windows Server 2003 Web Edition > > Exchange Server 2003 Enterprise Edition > > Office Project Server 2003 > > Office Sharepoint Server 2003 > > Office Live Communications Server 2003 > > SQL Server 2000 Standard Edition (damn!) > > SQL Server 2000 Service Pack 3a > > SQL Server Reporting Services > > Mobile Information Server 2002 > > Swindows Sharepoint Services Standard 2003 > > Windows Small Business Server 2003 Premium Edition > > > > What is all this stuff you may ask. No idea. > > > > The package appears to also come with some kind of training CD for > > each > ofr > > these things. No books, must all be on CD. A neat little (BIG) > > organizer size canvas folder to hold the disks. Nothing to hold the > > training materials (C'mon MS, another folder to hold that and the > > sleeves hole punched would have made it so much more professional). > > > > > http://members.microsoft.com/partner/salesmarketing/partnermarket/actionpack > > /actionpackus.aspx > > > > Watch for wrap. > > > > I had been looking at this package for awhile in order to bring my > > office into the modern age (as defined by MS). > > > > So there you have it. A lot of stuff for a medium price (one year > > license though!). But it gives you 10 licenses. I can put XP on all > > my desktops, Server 2003 on both my new "server" machines, look at and > > possibly use Office 2003 on my machines etc. I have a home office > > with 2 "server > class" > > machines and 2 desktop machines, plus one modern laptop and an old POS > > laptop that I am currently re-installing Win2K Pro on. Being able to > > get > a > > consistent platform on everything might be nice. > > > > I had hoped to see 64bit OS and SQL Server included - they apparently > > do exists, but not in here. 8-( > > > > John W. Colby > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie > > Johnson > > Sent: Tuesday, September 07, 2004 2:48 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] AHOO!!! Got my action pack > > > > > > What's the main advantage to having the Action pack? > > > > "John W. Colby" wrote: > > I just got my MS Action pack, very nice. So much to know, so little > > time. > > > > John W. Colby > > www.ColbyConsulting.com > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- -Francisco From cfoust at infostatsystems.com Wed Sep 8 16:04:26 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Sep 2004 14:04:26 -0700 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: Except you don't get the developer versions. Charlotte -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Wednesday, September 08, 2004 8:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack Acctually that DOES sound very rightous... if or when I ever go back to doing consulting work I may just have to remember to do this... they you a ton of software for the price... On Wed, 8 Sep 2004 09:49:56 -0500, Jeff Barrows wrote: > Technically, it means is that if you decide NOT to renew your Action > Pack Subscription, you agree to remove all of the Action Pack software > from any / all of your machines after one year. But for $199 a year > (after the first year), it only makes sense to renew it. > > > > > -----Original Message----- > From: Eric Barro [mailto:ebarro at afsweb.com] > Sent: Wed 9/8/2004 8:21 AM > To: Access Developers discussion and problem solving > Cc: > Subject: RE: [AccessD] AHOO!!! Got my action pack > > What it probably means it that you're going to stop getting > update CDs from M$ for any of the products you have licenses for so if > they come out with Office 2004 or SQL server 2005 you will have to > purchase a separate license if you wanted to use it. > > --- > Eric Barro > Senior Systems Analyst > Advanced Field Services > (208) 772-7060 > http://www.afsweb.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby > Sent: Wednesday, September 08, 2004 12:46 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] AHOO!!! Got my action pack > > I don't know. I know that the license "expires" after 1 year, but it > appears that these are just real copies of these various things. I doubt > they quit working. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Wednesday, September 08, 2004 1:07 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AHOO!!! Got my action pack > > John: > > Thanks for the rundown. I've being trying to decide between that and the > partner program. This one looks god. Except what's that about a one-year > license. Does your copy of Office 2003 crap out after one > year? > > Rocky > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Tuesday, September 07, 2004 9:01 PM > Subject: RE: [AccessD] AHOO!!! Got my action pack > > > The action pack is a deal MS offers developers or companies that > > develop > for > > or sell MS stuff. For $300-400 they give you a ton of the latest > > software and 10 licenses for all of it. You are allowed to use it in > > house, but > not > > sell it or install it on any client machines. It includes: > > > > Office Professional 2003 > > Office Publisher 2003 > > Office Frontpage 2003 > > Office Visio Professional 2003 > > Office Project Professional 2003 > > Business contact Manager for Outlook 2003 > > Office OneNote 2003 > > MapPoint 2004 Standard Edition > > Windows XP Professional > > Virtual PC 2004 > > Office Infopath 2003 > > Business Solutions CRM Professional > > Windows Server 2003 Standard Edition > > Windows Server 2003 Web Edition > > Exchange Server 2003 Enterprise Edition > > Office Project Server 2003 > > Office Sharepoint Server 2003 > > Office Live Communications Server 2003 > > SQL Server 2000 Standard Edition (damn!) > > SQL Server 2000 Service Pack 3a > > SQL Server Reporting Services > > Mobile Information Server 2002 > > Swindows Sharepoint Services Standard 2003 > > Windows Small Business Server 2003 Premium Edition > > > > What is all this stuff you may ask. No idea. > > > > The package appears to also come with some kind of training CD for > > each > ofr > > these things. No books, must all be on CD. A neat little (BIG) > > organizer size canvas folder to hold the disks. Nothing to hold the > > training materials (C'mon MS, another folder to hold that and the > > sleeves hole punched would have made it so much more professional). > > > > > http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack > > /actionpackus.aspx > > > > Watch for wrap. > > > > I had been looking at this package for awhile in order to bring my > > office into the modern age (as defined by MS). > > > > So there you have it. A lot of stuff for a medium price (one year > > license though!). But it gives you 10 licenses. I can put XP on all > > my desktops, Server 2003 on both my new "server" machines, look at and > > possibly use Office 2003 on my machines etc. I have a home office > > with 2 "server > class" > > machines and 2 desktop machines, plus one modern laptop and an old POS > > laptop that I am currently re-installing Win2K Pro on. Being able to > > get > a > > consistent platform on everything might be nice. > > > > I had hoped to see 64bit OS and SQL Server included - they apparently > > do exists, but not in here. 8-( > > > > John W. Colby > > www.ColbyConsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie > > Johnson > > Sent: Tuesday, September 07, 2004 2:48 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] AHOO!!! Got my action pack > > > > > > What's the main advantage to having the Action pack? > > > > "John W. Colby" wrote: > > I just got my MS Action pack, very nice. So much to know, so little > > time. > > > > John W. Colby > > www.ColbyConsulting.com > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikkel.enevoldsen at mail.tele.dk Wed Sep 8 16:31:47 2004 From: mikkel.enevoldsen at mail.tele.dk (Mikkel Enevoldsen) Date: Wed, 8 Sep 2004 23:31:47 +0200 Subject: [AccessD] Columnhidden in datasheet subforms Message-ID: Dear All, Is it possible to change "columnhidden"-property (programaticly), in order to hide certain columns in a datasheet view of a subform? Each time a record is selected on the mainform, the subform datasheetcolumns has to change accordingly. Best regards Mikkel Enevoldsen From donald.a.Mcgillivray at mail.sprint.com Wed Sep 8 10:25:08 2004 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Wed, 8 Sep 2004 10:25:08 -0500 Subject: [AccessD] Synchronizing Subform to Main form based on a date Message-ID: <988E2AC88CCB54459286C4077DB662F50129DE53@PDAWB03C.ad.sprint.com> Thanks for the suggestion, Andy, but no success. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, September 08, 2004 12:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Synchronizing Subform to Main form based on a date Just a thought Donald but if you placed a hidden calc'd control on the main form with =YourDateCombo.Column(0) and put in that in your linking fields would that help? -- Andy Lacey http://www.minstersystems.co.uk From dwaters at usinternet.com Wed Sep 8 10:30:08 2004 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 8 Sep 2004 10:30:08 -0500 Subject: FW: [AccessD] AHOO!!! Got my action pack Message-ID: <002101c495b8$b9a3fe30$de1811d8@danwaters> John, I didn't see Visual Studio for Applications on your list. This would allow setting up an installation package for Access Runtime. I would have guessed that this would have been included in a package for developers. Is it really missing? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 11:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/actionpack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Sep 8 07:37:01 2004 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 8 Sep 2004 07:37:01 -0500 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <19753348.1094617599409.JavaMail.root@sniper12.usinternet.com> Message-ID: <000b01c495a0$8a7d9b10$de1811d8@danwaters> John, I didn't see Visual Studio for Applications on your list. This would allow setting up an installation package for Access Runtime. I would have guessed that this would have been included in a package for developers. Is it really missing? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 11:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/actionpack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Sep 8 17:31:48 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 09 Sep 2004 08:31:48 +1000 Subject: [AccessD] Syntax question about control references In-Reply-To: <009801c495c1$5ac58f60$6501a8c0@rock> References: <008501c494eb$27dc4930$6401a8c0@default> Message-ID: <414014F4.31973.18DB07E9@lexacorp.com.pg> On 8 Sep 2004 at 12:31, Arthur Fuller wrote: > Hi. No it is not set to continuous forms. (Frankly, except for very > limited situations, I HATE continuous forms, but that's another story.) Do tell us that story :-) (I use a lot of continuous forms) -- Stuart From cfoust at infostatsystems.com Wed Sep 8 17:37:02 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Sep 2004 15:37:02 -0700 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: The action pack isn't really for developers in that sense. It's for partners so that the entire office can work with the same versions of the MS applications. The developers tools are in the MSDN Universal subscription. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, September 08, 2004 5:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack John, I didn't see Visual Studio for Applications on your list. This would allow setting up an installation package for Access Runtime. I would have guessed that this would have been included in a package for developers. Is it really missing? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 11:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From donald.a.Mcgillivray at mail.sprint.com Wed Sep 8 18:12:58 2004 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Wed, 8 Sep 2004 18:12:58 -0500 Subject: [AccessD] Synchronizing Subform to Main form based on a date - Resolved Message-ID: <988E2AC88CCB54459286C4077DB662F50129E3C1@PDAWB03C.ad.sprint.com> I ought to know better when Access starts misbehaving like this. I imported my objects to a new empty db, and the thing started behaving normally (or at least as I expected it to.) Problem solved . . . From d.dick at uws.edu.au Wed Sep 8 18:54:45 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Thu, 9 Sep 2004 09:54:45 +1000 Subject: [AccessD] A2K: Used to work - now it errors In-Reply-To: <48569739.20040908085726@cactus.dk> Message-ID: <001201c495ff$37924b30$4a619a89@DDICK> Excellent Thanks Gustav Lazy typing me thinks Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, 8 September 2004 4:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K: Used to work - now it errors Hi Darren Specify what your intent is: Dim dbs As DAO.Database Dim rst As DAO.Recordset Then the order of references doesn't matter. /gustav > This used to work now I get Run Time Error 13 - Type Mismatch Then the > debugger yellows out the "Set rst" line > Any suggestions > Dao 3.6 is referenced > Dim dbs As Database > rst As Recordset -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Sep 8 19:17:01 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 08 Sep 2004 20:17:01 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <000b01c495a0$8a7d9b10$de1811d8@danwaters> Message-ID: <003501c49602$5832c600$80b3fea9@ColbyM6805> Yep, it is really missing. I think this is geared at resellers of MS product more than developers although they clearly state in the action pack page that developers qualify. There is NOTHING development oriented in there. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, September 08, 2004 8:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack John, I didn't see Visual Studio for Applications on your list. This would allow setting up an installation package for Access Runtime. I would have guessed that this would have been included in a package for developers. Is it really missing? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 11:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/actionpack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Sep 8 19:20:12 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 08 Sep 2004 20:20:12 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: Message-ID: <003601c49602$c8de9d70$80b3fea9@ColbyM6805> And the cost of that is MUCH more. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 08, 2004 6:37 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack isn't really for developers in that sense. It's for partners so that the entire office can work with the same versions of the MS applications. The developers tools are in the MSDN Universal subscription. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, September 08, 2004 5:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack John, I didn't see Visual Studio for Applications on your list. This would allow setting up an installation package for Access Runtime. I would have guessed that this would have been included in a package for developers. Is it really missing? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 11:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Wed Sep 8 20:25:43 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Thu, 9 Sep 2004 11:25:43 +1000 Subject: [AccessD] A2K: Same Name Validation Message-ID: <001f01c4960b$ed329ba0$4a619a89@DDICK> Hello all How do you guys handle data entry users entering someone into a dB with the same first and last name - quite legitimately E.G. John SMITH How do you test for other existences of John SMITH in the db and what 'alerting' do you guys use? Many thanks in advance Have a great day Darren From fhtapia at gmail.com Wed Sep 8 21:42:26 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 8 Sep 2004 19:42:26 -0700 Subject: [AccessD] A2K: Same Name Validation In-Reply-To: <001f01c4960b$ed329ba0$4a619a89@DDICK> References: <001f01c4960b$ed329ba0$4a619a89@DDICK> Message-ID: As with many things, It depends on the structure of your db my db houses this: Company Address ContactAddress Contact A company can have many addresses. A user may be an employee or associated to many Companies, I associated the contact to the company via the address so I would know what location he is associated through. :D On Thu, 9 Sep 2004 11:25:43 +1000, Darren DICK wrote: > Hello all > How do you guys handle data entry users entering someone into a dB > with the same first and last name - quite legitimately E.G. John SMITH > > How do you test for other existences of John SMITH in the db and what > 'alerting' do you > guys use? > > Many thanks in advance > > Have a great day > > Darren > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From d.dick at uws.edu.au Thu Sep 9 00:14:25 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Thu, 9 Sep 2004 15:14:25 +1000 Subject: [AccessD] A2K: Same Name Validation In-Reply-To: Message-ID: <000001c4962b$e062fbc0$4a619a89@DDICK> Hi Francisco Pretty Basic tblStudents LastName (TEXT) FirstName (TEXT) That's all I want to test. Just if there is one John SMITH and a data entry person is entering a second one, I wanna alert them. I was thinking of a combined dlookup with First and Last name and if the count was greater than zero, alert the user Many thanks Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Thursday, 9 September 2004 12:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K: Same Name Validation As with many things, It depends on the structure of your db my db houses this: Company Address ContactAddress Contact A company can have many addresses. A user may be an employee or associated to many Companies, I associated the contact to the company via the address so I would know what location he is associated through. :D On Thu, 9 Sep 2004 11:25:43 +1000, Darren DICK wrote: > Hello all > How do you guys handle data entry users entering someone into a dB > with the same first and last name - quite legitimately E.G. John SMITH > > How do you test for other existences of John SMITH in the db and what > 'alerting' do you guys use? > > Many thanks in advance > > Have a great day > > Darren > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stephen at bondsoftware.co.nz Thu Sep 9 03:39:24 2004 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Thu, 09 Sep 2004 20:39:24 +1200 Subject: [AccessD] A2K: Same Name Validation Message-ID: <70F3D727890C784291D8433E9C418F298FC5@server.bondsoftware.co.nz> Darren, I do this in one of my apps: Function DuplicateCount(fnIn, snIn) As Long Dim k As Variant, criteria as String criteria = "FirstName = '" & fnIn & "' AND LastName = '" & snIn & "'" k = Nz(DCount("*", "tblWhatever", criteria)) DuplicateCount = k End Function I cop the overhead of another index on the table. It's a multi-field index, it contains the FN field and the LN field, call it CombinedName, duplicates allowed. I think this is supposed to make it faster. If it doesn't it makes me feel better anyway Stephen Bond Otatara, New Zealand > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Thursday, 9 September 2004 5:14 p.m. > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] A2K: Same Name Validation > > > Hi Francisco > Pretty Basic > tblStudents > LastName (TEXT) > FirstName (TEXT) > > That's all I want to test. Just if there is one John SMITH and > a data entry person is entering a second one, I wanna alert them. > > I was thinking of a combined dlookup with First and Last name and if > the count was greater than zero, alert the user > > Many thanks > > Have a great day > > Darren > > > > > From gustav at cactus.dk Thu Sep 9 03:39:34 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 9 Sep 2004 10:39:34 +0200 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <003501c49602$5832c600$80b3fea9@ColbyM6805> References: <003501c49602$5832c600$80b3fea9@ColbyM6805> Message-ID: <76429585.20040909103934@cactus.dk> Hi John > .. There is NOTHING development oriented in there. Not even Access ... /gustav From Paul.Rogers at SummitMedia.co.uk Thu Sep 9 03:52:23 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Thu, 9 Sep 2004 09:52:23 +0100 Subject: [AccessD] Changing the windows' tongue Message-ID: The price was right, but the language isn't. Is there a way to change the language to English in windows 2k, perhaps with an upgrade, please, Experts? Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.754 / Virus Database: 504 - Release Date: 06/09/2004 From mikedorism at adelphia.net Thu Sep 9 06:27:28 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Thu, 9 Sep 2004 07:27:28 -0400 Subject: [AccessD] Columnhidden in datasheet subforms In-Reply-To: Message-ID: <000601c4965f$fd9c1260$7109a845@hargrove.internal> Yes, you can do that. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mikkel Enevoldsen Sent: Wednesday, September 08, 2004 5:32 PM To: accessd at databaseadvisors.com Subject: [AccessD] Columnhidden in datasheet subforms Dear All, Is it possible to change "columnhidden"-property (programaticly), in order to hide certain columns in a datasheet view of a subform? Each time a record is selected on the mainform, the subform datasheetcolumns has to change accordingly. Best regards Mikkel Enevoldsen -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at adelphia.net Thu Sep 9 06:29:58 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Thu, 9 Sep 2004 07:29:58 -0400 Subject: [AccessD] Shrinking fields in a report In-Reply-To: <200409081810.i88IAlv3020534@ms-smtp-03.nyroc.rr.com> Message-ID: <000701c49660$57083900$7109a845@hargrove.internal> If you have fields on the same line, then the line won't be able to shrink unless all the fields can shrink. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Wednesday, September 08, 2004 2:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Shrinking fields in a report I have a report that contains basic info - Memname, business name, friends name, address, and total sum contributed. In the report I have on the left hand side name, business, friends name. The middle (ideally on the same line) address, and then alittle over (once again on the same line) is the Total Sum. I have set all the fields to shrink, but when there is only a business and friend name to the record, it does not shrink all the way. But when there is a Memname and friend name, it does. This is a mystery. Any clues? IS there a limit to the number of fields that can shrink? Thanks Augusta -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Sep 9 06:54:48 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 09 Sep 2004 07:54:48 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <76429585.20040909103934@cactus.dk> Message-ID: <004501c49663$d2046a90$80b3fea9@ColbyM6805> I don't know. It has Office, with Access I believe. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, September 09, 2004 4:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack Hi John > .. There is NOTHING development oriented in there. Not even Access ... /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Thu Sep 9 08:03:53 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 9 Sep 2004 09:03:53 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <003601c49602$c8de9d70$80b3fea9@ColbyM6805> Message-ID: John (and all) Not that much more. A full Action Pack subscription is $399. I found a MSDN Universal subscription for $875 last year. Your talking a difference of only $400 bucks. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, September 08, 2004 8:20 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack And the cost of that is MUCH more. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 08, 2004 6:37 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack isn't really for developers in that sense. It's for partners so that the entire office can work with the same versions of the MS applications. The developers tools are in the MSDN Universal subscription. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, September 08, 2004 5:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack John, I didn't see Visual Studio for Applications on your list. This would allow setting up an installation package for Access Runtime. I would have guessed that this would have been included in a package for developers. Is it really missing? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 11:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Thu Sep 9 08:06:58 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 9 Sep 2004 09:06:58 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: Message-ID: Charlotte, Actually it's geared for salesmen to sell and demo Microsoft products. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Wednesday, September 08, 2004 6:37 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack isn't really for developers in that sense. It's for partners so that the entire office can work with the same versions of the MS applications. The developers tools are in the MSDN Universal subscription. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, September 08, 2004 5:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack John, I didn't see Visual Studio for Applications on your list. This would allow setting up an installation package for Access Runtime. I would have guessed that this would have been included in a package for developers. Is it really missing? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 11:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Thu Sep 9 09:07:40 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 9 Sep 2004 10:07:40 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <916187228923D311A6FE00A0CC3FAA30986FF1@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB7F2@ADGSERVER> That sounds like the price for the academic version of MSDN Universal. Provantage has the Universal version (non academic) for $2426.49 http://tinyurl.com/6wj8j http://www.provantage.com/buy-7MCSN005-microsoft-developer-network-msdn-univ ersal-v7-0-subscription-534-02125-shopping.htm Enterprise edition (non academic) $1913.79 http://tinyurl.com/5uuro http://www.provantage.com/buy-7MCSN008-microsoft-developer-network-msdn-ente rprise-v7-0-subscription-shopping.htm Enterprise edition (academic) $574.79 http://tinyurl.com/5qcct http://www.provantage.com/buy-22062410-microsoft-developer-network-msdn-acad emic-editions-enterprise-v7-0-subscription-ae-shopping.htm They do not (that I can see) have the Universal academic version. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, September 09, 2004 9:04 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack John (and all) Not that much more. A full Action Pack subscription is $399. I found a MSDN Universal subscription for $875 last year. Your talking a difference of only $400 bucks. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, September 08, 2004 8:20 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack And the cost of that is MUCH more. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 08, 2004 6:37 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack isn't really for developers in that sense. It's for partners so that the entire office can work with the same versions of the MS applications. The developers tools are in the MSDN Universal subscription. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, September 08, 2004 5:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack John, I didn't see Visual Studio for Applications on your list. This would allow setting up an installation package for Access Runtime. I would have guessed that this would have been included in a package for developers. Is it really missing? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 11:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From GregSmith at starband.net Wed Sep 8 09:42:15 2004 From: GregSmith at starband.net (Greg Smith) Date: Wed, 8 Sep 2004 09:42:15 -0500 (CDT) Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <001b01c49577$d3bcd030$80b3fea9@ColbyM6805> References: <057e01c49561$9d9328d0$6601a8c0@HAL9002> <001b01c49577$d3bcd030$80b3fea9@ColbyM6805> Message-ID: <1496.216.43.21.234.1094654535.squirrel@cetus.email.starband.net> Hi everyone. I have had the MS Action Pack now for two years and I really like it. I had to 'join' the Partners section this last spring in order to renew my action pack for the next year, but that was at no additional cost to me. The licensing is this: You initially purchase the Action Pack for $xxx.xx (I've heard different amounts, so whatever the price is) for the first year. You now have a one-year MS License for all of the products in the Pack. You can install, register, etc. Just not sell. At the end of the licensing year (for you), you may renew your subscription for $199 for another year's subscription or not. If you renew, your Action Packs (quarterly) continue. If you do not renew, then, the caveat begins. You must remove all of the Action Pack software from your computers, and, believe it or not, you DID agree to this when you signed up (somewhere in the King James version of the licensing agreement...:P....). Well, I'm continuing with the renewal because of the access to premium MS software with valid licensing and a resonable price. Where else could you get 10 or more licenses of MS Office 2003 and Windows XP? Legal copies, no less either! That in and of itself has paid for the Action Pack for me. Even if I DO have to renew each year. Just my thoughts. Greg Smith > I don't know. I know that the license "expires" after 1 year, but it > appears that these are just real copies of these various things. I > doubt they quit working. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Wednesday, September 08, 2004 1:07 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AHOO!!! Got my action pack > > > John: > > Thanks for the rundown. I've being trying to decide between that and > the partner program. This one looks god. Except what's that about a > one-year license. Does your copy of Office 2003 crap out after one > year? > > Rocky > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Tuesday, September 07, 2004 9:01 PM > Subject: RE: [AccessD] AHOO!!! Got my action pack > > >> The action pack is a deal MS offers developers or companies that >> develop > for >> or sell MS stuff. For $300-400 they give you a ton of the latest >> software and 10 licenses for all of it. You are allowed to use it in >> house, but > not >> sell it or install it on any client machines. It includes: >> >> Office Professional 2003 >> Office Publisher 2003 >> Office Frontpage 2003 >> Office Visio Professional 2003 >> Office Project Professional 2003 >> Business contact Manager for Outlook 2003 >> Office OneNote 2003 >> MapPoint 2004 Standard Edition >> Windows XP Professional >> Virtual PC 2004 >> Office Infopath 2003 >> Business Solutions CRM Professional >> Windows Server 2003 Standard Edition >> Windows Server 2003 Web Edition >> Exchange Server 2003 Enterprise Edition >> Office Project Server 2003 >> Office Sharepoint Server 2003 >> Office Live Communications Server 2003 >> SQL Server 2000 Standard Edition (damn!) >> SQL Server 2000 Service Pack 3a >> SQL Server Reporting Services >> Mobile Information Server 2002 >> Swindows Sharepoint Services Standard 2003 >> Windows Small Business Server 2003 Premium Edition >> >> What is all this stuff you may ask. No idea. >> >> The package appears to also come with some kind of training CD for >> each > ofr >> these things. No books, must all be on CD. A neat little (BIG) >> organizer size canvas folder to hold the disks. Nothing to hold the >> training materials (C'mon MS, another folder to hold that and the >> sleeves hole punched would have made it so much more professional). >> >> > http://members.microsoft.com/partner/salesmarketing/partnermarket/actionpack >> /actionpackus.aspx >> >> Watch for wrap. >> >> I had been looking at this package for awhile in order to bring my >> office into the modern age (as defined by MS). >> >> So there you have it. A lot of stuff for a medium price (one year >> license though!). But it gives you 10 licenses. I can put XP on all >> my desktops, Server 2003 on both my new "server" machines, look at and >> possibly use Office 2003 on my machines etc. I have a home office >> with 2 "server > class" >> machines and 2 desktop machines, plus one modern laptop and an old POS >> laptop that I am currently re-installing Win2K Pro on. Being able to >> get > a >> consistent platform on everything might be nice. >> >> I had hoped to see 64bit OS and SQL Server included - they apparently >> do exists, but not in here. 8-( >> >> John W. Colby >> www.ColbyConsulting.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie >> Johnson >> Sent: Tuesday, September 07, 2004 2:48 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] AHOO!!! Got my action pack >> >> >> What's the main advantage to having the Action pack? >> >> "John W. Colby" wrote: >> I just got my MS Action pack, very nice. So much to know, so little >> time. >> >> John W. Colby >> www.ColbyConsulting.com >> >> >> -- >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From awithing at twcny.rr.com Thu Sep 9 09:24:07 2004 From: awithing at twcny.rr.com (augusta) Date: Thu, 9 Sep 2004 10:24:07 -0400 Subject: [AccessD] Shrinking fields in a report In-Reply-To: <000701c49660$57083900$7109a845@hargrove.internal> Message-ID: <200409091424.i89EOAZx021968@ms-smtp-01.nyroc.rr.com> Yes I do have fields on the same line and they are all set to CanShrink. There are no labels. . . Still does not shrink. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Thursday, September 09, 2004 7:30 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report If you have fields on the same line, then the line won't be able to shrink unless all the fields can shrink. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Wednesday, September 08, 2004 2:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Shrinking fields in a report I have a report that contains basic info - Memname, business name, friends name, address, and total sum contributed. In the report I have on the left hand side name, business, friends name. The middle (ideally on the same line) address, and then alittle over (once again on the same line) is the Total Sum. I have set all the fields to shrink, but when there is only a business and friend name to the record, it does not shrink all the way. But when there is a Memname and friend name, it does. This is a mystery. Any clues? IS there a limit to the number of fields that can shrink? Thanks Augusta -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Sep 9 09:28:36 2004 From: john at winhaven.net (John Bartow) Date: Thu, 9 Sep 2004 09:28:36 -0500 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <916187228923D311A6FE00A0CC3FAA305BB7F2@ADGSERVER> Message-ID: No, full version! Jim steered me to buying MSDN Universal from a eBay site rather than direct from MS. Saved big time. In fact because of the savings I make because of this one piece of advice (that I got on this list) I now consistently donate $120 a year ($10 per month) to AccessD to help keep it going. I urge you all to do the same! You get everything with MSDN Universal, including development. For the cost of this you come out way ahead of just purchasing Office developer. You get all the Windows OSs, You get SQL Server, SBS, VS.Net, yada, yada, yada. In fact, before I got it all on DVD instead of CD it was almost too much! While the action pack sounds nice, for developer (IMO) MSDN Universal 'tis the way to go! John B. PS: thanks again Jim and AccessD! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bobby Heid Sent: Thursday, September 09, 2004 9:08 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack That sounds like the price for the academic version of MSDN Universal. Provantage has the Universal version (non academic) for $2426.49 http://tinyurl.com/6wj8j http://www.provantage.com/buy-7MCSN005-microsoft-developer-network-msdn-univ ersal-v7-0-subscription-534-02125-shopping.htm Enterprise edition (non academic) $1913.79 http://tinyurl.com/5uuro http://www.provantage.com/buy-7MCSN008-microsoft-developer-network-msdn-ente rprise-v7-0-subscription-shopping.htm Enterprise edition (academic) $574.79 http://tinyurl.com/5qcct http://www.provantage.com/buy-22062410-microsoft-developer-network-msdn-acad emic-editions-enterprise-v7-0-subscription-ae-shopping.htm They do not (that I can see) have the Universal academic version. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, September 09, 2004 9:04 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack John (and all) Not that much more. A full Action Pack subscription is $399. I found a MSDN Universal subscription for $875 last year. Your talking a difference of only $400 bucks. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, September 08, 2004 8:20 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack And the cost of that is MUCH more. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 08, 2004 6:37 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack isn't really for developers in that sense. It's for partners so that the entire office can work with the same versions of the MS applications. The developers tools are in the MSDN Universal subscription. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, September 08, 2004 5:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack John, I didn't see Visual Studio for Applications on your list. This would allow setting up an installation package for Access Runtime. I would have guessed that this would have been included in a package for developers. Is it really missing? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 11:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From R.Griffiths at bury.gov.uk Thu Sep 9 09:29:31 2004 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Thu, 9 Sep 2004 15:29:31 +0100 Subject: [AccessD] A2K of AXP Message-ID: Hi I have been a very happy developer using A97, I am now about to user AXP as a backend. I have now to decide which format of BE to user A2000 of A2002. Can anyone please advise. BTW the FE will be VB.net (if this makes a difference) TIA Richard From jimdettman at earthlink.net Thu Sep 9 09:31:11 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 9 Sep 2004 10:31:11 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <916187228923D311A6FE00A0CC3FAA305BB7F2@ADGSERVER> Message-ID: Bobby, <> No, it's the price for the full version. The prices published by Microsoft are suggested list prices. Microsoft Partners however can sell them for whatever they like. I too was skeptical at first, but I've purchased three years running through this reseller and have not had a single problem. First time around I even called Microsoft to confirm that I had a valid subscription. BTW, I just double checked and the price has gone up. $875 was the first year, $1055 second, and $1175 this past year. So there is a bigger difference then $400. I think though that I got the $300 off rebate all 3 years for ordering on DVD. I'd have to go back and check on that. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bobby Heid Sent: Thursday, September 09, 2004 10:08 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack That sounds like the price for the academic version of MSDN Universal. Provantage has the Universal version (non academic) for $2426.49 http://tinyurl.com/6wj8j http://www.provantage.com/buy-7MCSN005-microsoft-developer-network-msdn-univ ersal-v7-0-subscription-534-02125-shopping.htm Enterprise edition (non academic) $1913.79 http://tinyurl.com/5uuro http://www.provantage.com/buy-7MCSN008-microsoft-developer-network-msdn-ente rprise-v7-0-subscription-shopping.htm Enterprise edition (academic) $574.79 http://tinyurl.com/5qcct http://www.provantage.com/buy-22062410-microsoft-developer-network-msdn-acad emic-editions-enterprise-v7-0-subscription-ae-shopping.htm They do not (that I can see) have the Universal academic version. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, September 09, 2004 9:04 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack John (and all) Not that much more. A full Action Pack subscription is $399. I found a MSDN Universal subscription for $875 last year. Your talking a difference of only $400 bucks. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, September 08, 2004 8:20 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack And the cost of that is MUCH more. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 08, 2004 6:37 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack isn't really for developers in that sense. It's for partners so that the entire office can work with the same versions of the MS applications. The developers tools are in the MSDN Universal subscription. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, September 08, 2004 5:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack John, I didn't see Visual Studio for Applications on your list. This would allow setting up an installation package for Access Runtime. I would have guessed that this would have been included in a package for developers. Is it really missing? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 11:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Sep 9 09:53:48 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 09 Sep 2004 10:53:48 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <1496.216.43.21.234.1094654535.squirrel@cetus.email.starband.net> Message-ID: <004701c4967c$d38730a0$80b3fea9@ColbyM6805> >Where else could you get 10 or more licenses of MS Office 2003 and Windows XP? Legal copies, no less either! And that was my thought exactly. Not to mention legal seats for SQL Server, various server editions etc. I have 5 computers running a mishmash of software. With the action pack I will get my two new machines running Windows Server 2000. SQL Server on one, IIS server on the other. XP Pro on my workstations. Office 2003 on all the workstations. I've always wanted to learn more about things like exchange server so I can set it up as well. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Wednesday, September 08, 2004 10:42 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] AHOO!!! Got my action pack Hi everyone. I have had the MS Action Pack now for two years and I really like it. I had to 'join' the Partners section this last spring in order to renew my action pack for the next year, but that was at no additional cost to me. The licensing is this: You initially purchase the Action Pack for $xxx.xx (I've heard different amounts, so whatever the price is) for the first year. You now have a one-year MS License for all of the products in the Pack. You can install, register, etc. Just not sell. At the end of the licensing year (for you), you may renew your subscription for $199 for another year's subscription or not. If you renew, your Action Packs (quarterly) continue. If you do not renew, then, the caveat begins. You must remove all of the Action Pack software from your computers, and, believe it or not, you DID agree to this when you signed up (somewhere in the King James version of the licensing agreement...:P....). Well, I'm continuing with the renewal because of the access to premium MS software with valid licensing and a resonable price. Where else could you get 10 or more licenses of MS Office 2003 and Windows XP? Legal copies, no less either! That in and of itself has paid for the Action Pack for me. Even if I DO have to renew each year. Just my thoughts. Greg Smith > I don't know. I know that the license "expires" after 1 year, but it > appears that these are just real copies of these various things. I > doubt they quit working. > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > - Beach Access Software > Sent: Wednesday, September 08, 2004 1:07 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AHOO!!! Got my action pack > > > John: > > Thanks for the rundown. I've being trying to decide between that and > the partner program. This one looks god. Except what's that about a > one-year license. Does your copy of Office 2003 crap out after one > year? > > Rocky > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Tuesday, September 07, 2004 9:01 PM > Subject: RE: [AccessD] AHOO!!! Got my action pack > > >> The action pack is a deal MS offers developers or companies that >> develop > for >> or sell MS stuff. For $300-400 they give you a ton of the latest >> software and 10 licenses for all of it. You are allowed to use it in >> house, but > not >> sell it or install it on any client machines. It includes: >> >> Office Professional 2003 >> Office Publisher 2003 >> Office Frontpage 2003 >> Office Visio Professional 2003 >> Office Project Professional 2003 >> Business contact Manager for Outlook 2003 >> Office OneNote 2003 >> MapPoint 2004 Standard Edition >> Windows XP Professional >> Virtual PC 2004 >> Office Infopath 2003 >> Business Solutions CRM Professional >> Windows Server 2003 Standard Edition >> Windows Server 2003 Web Edition >> Exchange Server 2003 Enterprise Edition >> Office Project Server 2003 >> Office Sharepoint Server 2003 >> Office Live Communications Server 2003 >> SQL Server 2000 Standard Edition (damn!) >> SQL Server 2000 Service Pack 3a >> SQL Server Reporting Services >> Mobile Information Server 2002 >> Swindows Sharepoint Services Standard 2003 >> Windows Small Business Server 2003 Premium Edition >> >> What is all this stuff you may ask. No idea. >> >> The package appears to also come with some kind of training CD for >> each > ofr >> these things. No books, must all be on CD. A neat little (BIG) >> organizer size canvas folder to hold the disks. Nothing to hold the >> training materials (C'mon MS, another folder to hold that and the >> sleeves hole punched would have made it so much more professional). >> >> > http://members.microsoft.com/partner/salesmarketing/partnermarket/acti > onpack >> /actionpackus.aspx >> >> Watch for wrap. >> >> I had been looking at this package for awhile in order to bring my >> office into the modern age (as defined by MS). >> >> So there you have it. A lot of stuff for a medium price (one year >> license though!). But it gives you 10 licenses. I can put XP on all >> my desktops, Server 2003 on both my new "server" machines, look at >> and possibly use Office 2003 on my machines etc. I have a home >> office with 2 "server > class" >> machines and 2 desktop machines, plus one modern laptop and an old >> POS laptop that I am currently re-installing Win2K Pro on. Being >> able to get > a >> consistent platform on everything might be nice. >> >> I had hoped to see 64bit OS and SQL Server included - they apparently >> do exists, but not in here. 8-( >> >> John W. Colby >> www.ColbyConsulting.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie >> Johnson >> Sent: Tuesday, September 07, 2004 2:48 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] AHOO!!! Got my action pack >> >> >> What's the main advantage to having the Action pack? >> >> "John W. Colby" wrote: >> I just got my MS Action pack, very nice. So much to know, so little >> time. >> >> John W. Colby >> www.ColbyConsulting.com >> >> >> -- >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Thu Sep 9 09:57:36 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 9 Sep 2004 10:57:36 -0400 Subject: [AccessD] Shrinking fields in a report In-Reply-To: <916187228923D311A6FE00A0CC3FAA3098701E@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB7F5@ADGSERVER> All of the fields have to be empty for them all to shrink. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Thursday, September 09, 2004 10:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report Yes I do have fields on the same line and they are all set to CanShrink. There are no labels. . . Still does not shrink. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Thursday, September 09, 2004 7:30 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report If you have fields on the same line, then the line won't be able to shrink unless all the fields can shrink. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Wednesday, September 08, 2004 2:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Shrinking fields in a report I have a report that contains basic info - Memname, business name, friends name, address, and total sum contributed. In the report I have on the left hand side name, business, friends name. The middle (ideally on the same line) address, and then alittle over (once again on the same line) is the Total Sum. I have set all the fields to shrink, but when there is only a business and friend name to the record, it does not shrink all the way. But when there is a Memname and friend name, it does. This is a mystery. Any clues? IS there a limit to the number of fields that can shrink? Thanks Augusta -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Thu Sep 9 10:03:29 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 9 Sep 2004 10:03:29 -0500 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: <100F91B31300334B89EC531C9DCB0865065937@tccexch01.tappeconstruction.net> Jim, I talked to your contact in April before purchasing our subscriptions, and was quoted a price of $1675 each. He pointed out the Microsoft has changed their distribution strategy and thus has gained more control over prices being charged by independent vendors :-( I shopped around and ended up purchasing from these guys: http://www.softwaremore-usa.com/msun70.html FULL MSDN Universal 7.0 subscription for $1050.00. Not an academic edition, and the disks shipped immediately from MS headquarters. I would highly recommend this vendor. (Back when I purchased mine, MS also had a $300.00 rebate for purchasing this software on DVD. Unfortunately it is no more...) Bobby, Don't waste your time on an Academic subscription. The licensing agreements normally prohibit using it to develop software for clients. All, Even though the MSDN subscription (and updates) lasts for only a year, the software has a perpetual license: http://msdn.microsoft.com/subscriptions/faq/default.aspx#licensing However, there are certain limitations to the use of the software (e.g. you can use SQL Server for development, but you can't run your company's DB server with it!) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Thursday, September 09, 2004 9:08 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack That sounds like the price for the academic version of MSDN Universal. Provantage has the Universal version (non academic) for $2426.49 http://tinyurl.com/6wj8j http://www.provantage.com/buy-7MCSN005-microsoft-developer-network-msdn- univ ersal-v7-0-subscription-534-02125-shopping.htm Enterprise edition (non academic) $1913.79 http://tinyurl.com/5uuro http://www.provantage.com/buy-7MCSN008-microsoft-developer-network-msdn- ente rprise-v7-0-subscription-shopping.htm Enterprise edition (academic) $574.79 http://tinyurl.com/5qcct http://www.provantage.com/buy-22062410-microsoft-developer-network-msdn- acad emic-editions-enterprise-v7-0-subscription-ae-shopping.htm They do not (that I can see) have the Universal academic version. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, September 09, 2004 9:04 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack John (and all) Not that much more. A full Action Pack subscription is $399. I found a MSDN Universal subscription for $875 last year. Your talking a difference of only $400 bucks. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, September 08, 2004 8:20 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack And the cost of that is MUCH more. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 08, 2004 6:37 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack isn't really for developers in that sense. It's for partners so that the entire office can work with the same versions of the MS applications. The developers tools are in the MSDN Universal subscription. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, September 08, 2004 5:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack John, I didn't see Visual Studio for Applications on your list. This would allow setting up an installation package for Access Runtime. I would have guessed that this would have been included in a package for developers. Is it really missing? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 11:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From jimdettman at earthlink.net Thu Sep 9 10:37:11 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 9 Sep 2004 11:37:11 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <100F91B31300334B89EC531C9DCB0865065937@tccexch01.tappeconstruction.net> Message-ID: Brett, <> Bummer. Thanks for passing that link along though! My subscription is going to be up soon. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Thursday, September 09, 2004 11:03 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack Jim, I talked to your contact in April before purchasing our subscriptions, and was quoted a price of $1675 each. He pointed out the Microsoft has changed their distribution strategy and thus has gained more control over prices being charged by independent vendors :-( I shopped around and ended up purchasing from these guys: http://www.softwaremore-usa.com/msun70.html FULL MSDN Universal 7.0 subscription for $1050.00. Not an academic edition, and the disks shipped immediately from MS headquarters. I would highly recommend this vendor. (Back when I purchased mine, MS also had a $300.00 rebate for purchasing this software on DVD. Unfortunately it is no more...) Bobby, Don't waste your time on an Academic subscription. The licensing agreements normally prohibit using it to develop software for clients. All, Even though the MSDN subscription (and updates) lasts for only a year, the software has a perpetual license: http://msdn.microsoft.com/subscriptions/faq/default.aspx#licensing However, there are certain limitations to the use of the software (e.g. you can use SQL Server for development, but you can't run your company's DB server with it!) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Thursday, September 09, 2004 9:08 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack That sounds like the price for the academic version of MSDN Universal. Provantage has the Universal version (non academic) for $2426.49 http://tinyurl.com/6wj8j http://www.provantage.com/buy-7MCSN005-microsoft-developer-network-msdn- univ ersal-v7-0-subscription-534-02125-shopping.htm Enterprise edition (non academic) $1913.79 http://tinyurl.com/5uuro http://www.provantage.com/buy-7MCSN008-microsoft-developer-network-msdn- ente rprise-v7-0-subscription-shopping.htm Enterprise edition (academic) $574.79 http://tinyurl.com/5qcct http://www.provantage.com/buy-22062410-microsoft-developer-network-msdn- acad emic-editions-enterprise-v7-0-subscription-ae-shopping.htm They do not (that I can see) have the Universal academic version. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, September 09, 2004 9:04 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack John (and all) Not that much more. A full Action Pack subscription is $399. I found a MSDN Universal subscription for $875 last year. Your talking a difference of only $400 bucks. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, September 08, 2004 8:20 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack And the cost of that is MUCH more. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 08, 2004 6:37 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack isn't really for developers in that sense. It's for partners so that the entire office can work with the same versions of the MS applications. The developers tools are in the MSDN Universal subscription. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, September 08, 2004 5:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack John, I didn't see Visual Studio for Applications on your list. This would allow setting up an installation package for Access Runtime. I would have guessed that this would have been included in a package for developers. Is it really missing? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 11:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at adelphia.net Thu Sep 9 10:52:55 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Thu, 9 Sep 2004 11:52:55 -0400 Subject: [AccessD] Shrinking fields in a report In-Reply-To: <200409091424.i89EOAZx021968@ms-smtp-01.nyroc.rr.com> Message-ID: <000001c49685$128e50f0$7109a845@hargrove.internal> Is the section CanShrink property set to Yes? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Thursday, September 09, 2004 10:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report Yes I do have fields on the same line and they are all set to CanShrink. There are no labels. . . Still does not shrink. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Thursday, September 09, 2004 7:30 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report If you have fields on the same line, then the line won't be able to shrink unless all the fields can shrink. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Wednesday, September 08, 2004 2:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Shrinking fields in a report I have a report that contains basic info - Memname, business name, friends name, address, and total sum contributed. In the report I have on the left hand side name, business, friends name. The middle (ideally on the same line) address, and then alittle over (once again on the same line) is the Total Sum. I have set all the fields to shrink, but when there is only a business and friend name to the record, it does not shrink all the way. But when there is a Memname and friend name, it does. This is a mystery. Any clues? IS there a limit to the number of fields that can shrink? Thanks Augusta -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Sep 9 11:09:40 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 9 Sep 2004 17:09:40 +0100 Subject: [AccessD] DLL question (was Broadcast a message) Message-ID: <20040909160937.04CF725F1FD@smtp.nildram.co.uk> Am trying to use Novell messaging for broadcasting messages, and have code (thanks for pointer Gustav) to use API calls in NWNETAPI.DLL. But whenever I run the code I get a "Path not found: NWNETAPI.DLL" error. Even if I put the specific location of the DLL I still get it. Does this mean it uses other DLL's, and if so how do I find out what else I need? Or what else could it be? -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 From cfoust at infostatsystems.com Thu Sep 9 11:19:52 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Sep 2004 09:19:52 -0700 Subject: [AccessD] A2K of AXP Message-ID: Use the 2000 format to avoid the bloat caused by the pesky extra system table in 2002 format. The only reason to use 2002 is so you can create an mde, which has to be in the format of the version that creates it. Charlotte Foust -----Original Message----- From: Griffiths, Richard [mailto:R.Griffiths at bury.gov.uk] Sent: Thursday, September 09, 2004 7:30 AM To: AccessD at databaseadvisors.com Subject: [AccessD] A2K of AXP Hi I have been a very happy developer using A97, I am now about to user AXP as a backend. I have now to decide which format of BE to user A2000 of A2002. Can anyone please advise. BTW the FE will be VB.net (if this makes a difference) TIA Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Sep 9 11:22:35 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Sep 2004 09:22:35 -0700 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: Ah, but the developer tools aren't in Access, they're part of VSTO. MS seems to be pushing ever harder to make Access an end-user tool. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Thursday, September 09, 2004 4:55 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack I don't know. It has Office, with Access I believe. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, September 09, 2004 4:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack Hi John > .. There is NOTHING development oriented in there. Not even Access ... /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Sep 9 11:24:59 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Sep 2004 09:24:59 -0700 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: That's a stand alone developer product. It is NOT part of the action pack but it is in MSDN Universal. Of course, you can also buy it off the shelp. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, September 08, 2004 8:30 AM To: Database Advisors Subject: FW: [AccessD] AHOO!!! Got my action pack John, I didn't see Visual Studio for Applications on your list. This would allow setting up an installation package for Access Runtime. I would have guessed that this would have been included in a package for developers. Is it really missing? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, September 07, 2004 11:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack The action pack is a deal MS offers developers or companies that develop for or sell MS stuff. For $300-400 they give you a ton of the latest software and 10 licenses for all of it. You are allowed to use it in house, but not sell it or install it on any client machines. It includes: Office Professional 2003 Office Publisher 2003 Office Frontpage 2003 Office Visio Professional 2003 Office Project Professional 2003 Business contact Manager for Outlook 2003 Office OneNote 2003 MapPoint 2004 Standard Edition Windows XP Professional Virtual PC 2004 Office Infopath 2003 Business Solutions CRM Professional Windows Server 2003 Standard Edition Windows Server 2003 Web Edition Exchange Server 2003 Enterprise Edition Office Project Server 2003 Office Sharepoint Server 2003 Office Live Communications Server 2003 SQL Server 2000 Standard Edition (damn!) SQL Server 2000 Service Pack 3a SQL Server Reporting Services Mobile Information Server 2002 Swindows Sharepoint Services Standard 2003 Windows Small Business Server 2003 Premium Edition What is all this stuff you may ask. No idea. The package appears to also come with some kind of training CD for each ofr these things. No books, must all be on CD. A neat little (BIG) organizer size canvas folder to hold the disks. Nothing to hold the training materials (C'mon MS, another folder to hold that and the sleeves hole punched would have made it so much more professional). http://members.microsoft.com/partner/salesmarketing/partnermarket/action pack /actionpackus.aspx Watch for wrap. I had been looking at this package for awhile in order to bring my office into the modern age (as defined by MS). So there you have it. A lot of stuff for a medium price (one year license though!). But it gives you 10 licenses. I can put XP on all my desktops, Server 2003 on both my new "server" machines, look at and possibly use Office 2003 on my machines etc. I have a home office with 2 "server class" machines and 2 desktop machines, plus one modern laptop and an old POS laptop that I am currently re-installing Win2K Pro on. Being able to get a consistent platform on everything might be nice. I had hoped to see 64bit OS and SQL Server included - they apparently do exists, but not in here. 8-( John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, September 07, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack What's the main advantage to having the Action pack? "John W. Colby" wrote: I just got my MS Action pack, very nice. So much to know, so little time. John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DElam at jenkens.com Thu Sep 9 11:24:38 2004 From: DElam at jenkens.com (Elam, Debbie) Date: Thu, 9 Sep 2004 11:24:38 -0500 Subject: [AccessD] Shrinking fields in a report Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C02485418@natexch.jenkens.com> I have seen strange shrink behavior when fields are touching other fields, or even overlap the same (imaginary) parallel line. Make sure the fields are even across the top, or outside the space of fields with data. Then make sure a field with data is not touching it anywhere. I had one rather crowded report where this was a culprit. The edges were supposed to just barely touch, but they actually overlapped slightly. Debbie -----Original Message----- From: augusta [mailto:awithing at twcny.rr.com] Sent: Wednesday, September 08, 2004 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Shrinking fields in a report I have a report that contains basic info - Memname, business name, friends name, address, and total sum contributed. In the report I have on the left hand side name, business, friends name. The middle (ideally on the same line) address, and then alittle over (once again on the same line) is the Total Sum. I have set all the fields to shrink, but when there is only a business and friend name to the record, it does not shrink all the way. But when there is a Memname and friend name, it does. This is a mystery. Any clues? IS there a limit to the number of fields that can shrink? Thanks Augusta -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From gustav at cactus.dk Thu Sep 9 11:26:35 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 9 Sep 2004 18:26:35 +0200 Subject: [AccessD] DLL question (was Broadcast a message) In-Reply-To: <20040909160937.04CF725F1FD@smtp.nildram.co.uk> References: <20040909160937.04CF725F1FD@smtp.nildram.co.uk> Message-ID: <18334451098.20040909182635@cactus.dk> Hi Andy What does your complete code look like? /gustav > Am trying to use Novell messaging for broadcasting messages, and have code > (thanks for pointer Gustav) to use API calls in NWNETAPI.DLL. But whenever I > run the code I get a "Path not found: NWNETAPI.DLL" error. Even if I put the > specific location of the DLL I still get it. Does this mean it uses other > DLL's, and if so how do I find out what else I need? Or what else could it > be? From awithing at twcny.rr.com Thu Sep 9 12:23:40 2004 From: awithing at twcny.rr.com (augusta) Date: Thu, 9 Sep 2004 13:23:40 -0400 Subject: [AccessD] Shrinking fields in a report In-Reply-To: <7B1961ED924D1A459E378C9B1BB22B4C02485418@natexch.jenkens.com> Message-ID: <200409091723.i89HNht3012887@ms-smtp-04.nyroc.rr.com> Thanks for your reply But none of the fields are touching each other This is how it is set up: IDNo Name WAddress TotAmount FriendsName Business Thats it! And nothing touches, all are set to CanShrink! FriendsName and Business do not shrink up. But, where there is no FriendsName or Business, the white space goes away. I'm stumped. Am I asking it to do something it can't do? Thanks Augusta -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Thursday, September 09, 2004 12:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report I have seen strange shrink behavior when fields are touching other fields, or even overlap the same (imaginary) parallel line. Make sure the fields are even across the top, or outside the space of fields with data. Then make sure a field with data is not touching it anywhere. I had one rather crowded report where this was a culprit. The edges were supposed to just barely touch, but they actually overlapped slightly. Debbie -----Original Message----- From: augusta [mailto:awithing at twcny.rr.com] Sent: Wednesday, September 08, 2004 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Shrinking fields in a report I have a report that contains basic info - Memname, business name, friends name, address, and total sum contributed. In the report I have on the left hand side name, business, friends name. The middle (ideally on the same line) address, and then alittle over (once again on the same line) is the Total Sum. I have set all the fields to shrink, but when there is only a business and friend name to the record, it does not shrink all the way. But when there is a Memname and friend name, it does. This is a mystery. Any clues? IS there a limit to the number of fields that can shrink? Thanks Augusta From JHewson at karta.com Thu Sep 9 12:35:06 2004 From: JHewson at karta.com (Jim Hewson) Date: Thu, 9 Sep 2004 12:35:06 -0500 Subject: [AccessD] Shrinking fields in a report Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0103E2EE@karta-exc-int.Karta.com> Is the WAddress and TotAmount enlarged to cover the entire space? I have sized two fields like FriendsName and Business to .0007 height and placed them close together with the CanGrow set to true. In this case, when there is a Business without a FriendsName, business would appear to be directly under Name. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of augusta Sent: Thursday, September 09, 2004 12:24 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report Thanks for your reply But none of the fields are touching each other This is how it is set up: IDNo Name WAddress TotAmount FriendsName Business Thats it! And nothing touches, all are set to CanShrink! FriendsName and Business do not shrink up. But, where there is no FriendsName or Business, the white space goes away. I'm stumped. Am I asking it to do something it can't do? Thanks Augusta -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Thursday, September 09, 2004 12:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report I have seen strange shrink behavior when fields are touching other fields, or even overlap the same (imaginary) parallel line. Make sure the fields are even across the top, or outside the space of fields with data. Then make sure a field with data is not touching it anywhere. I had one rather crowded report where this was a culprit. The edges were supposed to just barely touch, but they actually overlapped slightly. Debbie -----Original Message----- From: augusta [mailto:awithing at twcny.rr.com] Sent: Wednesday, September 08, 2004 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Shrinking fields in a report I have a report that contains basic info - Memname, business name, friends name, address, and total sum contributed. In the report I have on the left hand side name, business, friends name. The middle (ideally on the same line) address, and then alittle over (once again on the same line) is the Total Sum. I have set all the fields to shrink, but when there is only a business and friend name to the record, it does not shrink all the way. But when there is a Memname and friend name, it does. This is a mystery. Any clues? IS there a limit to the number of fields that can shrink? Thanks Augusta -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From awithing at twcny.rr.com Thu Sep 9 13:11:48 2004 From: awithing at twcny.rr.com (augusta) Date: Thu, 9 Sep 2004 14:11:48 -0400 Subject: [AccessD] Shrinking fields in a report In-Reply-To: <9C382E065F54AE48BC3AA7925DCBB01C0103E2EE@karta-exc-int.Karta.com> Message-ID: <200409091811.i89IBpt3026439@ms-smtp-04.nyroc.rr.com> >Is the WAddress and TotAmount enlarged to cover the entire space? No,I am confused. What entire space? >I have sized two fields like FriendsName and Business to .0007 height and placed them close together with the CanGrow set to true. In this case, when there is a Business without a FriendsName, business would appear to be directly under Name. All of the fields are the same height. Friends Name and Business is the same length as Name augusta -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of augusta Sent: Thursday, September 09, 2004 12:24 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report Thanks for your reply But none of the fields are touching each other This is how it is set up: IDNo Name WAddress TotAmount FriendsName Business Thats it! And nothing touches, all are set to CanShrink! FriendsName and Business do not shrink up. But, where there is no FriendsName or Business, the white space goes away. I'm stumped. Am I asking it to do something it can't do? Thanks Augusta -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Thursday, September 09, 2004 12:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report I have seen strange shrink behavior when fields are touching other fields, or even overlap the same (imaginary) parallel line. Make sure the fields are even across the top, or outside the space of fields with data. Then make sure a field with data is not touching it anywhere. I had one rather crowded report where this was a culprit. The edges were supposed to just barely touch, but they actually overlapped slightly. Debbie -----Original Message----- From: augusta [mailto:awithing at twcny.rr.com] Sent: Wednesday, September 08, 2004 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Shrinking fields in a report I have a report that contains basic info - Memname, business name, friends name, address, and total sum contributed. In the report I have on the left hand side name, business, friends name. The middle (ideally on the same line) address, and then alittle over (once again on the same line) is the Total Sum. I have set all the fields to shrink, but when there is only a business and friend name to the record, it does not shrink all the way. But when there is a Memname and friend name, it does. This is a mystery. Any clues? IS there a limit to the number of fields that can shrink? Thanks Augusta -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From awithing at twcny.rr.com Thu Sep 9 13:12:49 2004 From: awithing at twcny.rr.com (augusta) Date: Thu, 9 Sep 2004 14:12:49 -0400 Subject: [AccessD] Shrinking fields in a report In-Reply-To: <000001c49685$128e50f0$7109a845@hargrove.internal> Message-ID: <200409091812.i89ICpZx009580@ms-smtp-01.nyroc.rr.com> >Is the section CanShrink property set to Yes? Yes, all fields in the whole section and the section itself are set to shrink. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Thursday, September 09, 2004 10:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report Yes I do have fields on the same line and they are all set to CanShrink. There are no labels. . . Still does not shrink. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Thursday, September 09, 2004 7:30 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report If you have fields on the same line, then the line won't be able to shrink unless all the fields can shrink. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Wednesday, September 08, 2004 2:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Shrinking fields in a report I have a report that contains basic info - Memname, business name, friends name, address, and total sum contributed. In the report I have on the left hand side name, business, friends name. The middle (ideally on the same line) address, and then alittle over (once again on the same line) is the Total Sum. I have set all the fields to shrink, but when there is only a business and friend name to the record, it does not shrink all the way. But when there is a Memname and friend name, it does. This is a mystery. Any clues? IS there a limit to the number of fields that can shrink? Thanks Augusta____________ From bheid at appdevgrp.com Thu Sep 9 13:41:24 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 9 Sep 2004 14:41:24 -0400 Subject: [AccessD] Shrinking fields in a report In-Reply-To: <916187228923D311A6FE00A0CC3FAA309870CD@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB7FC@ADGSERVER> Could it be that an empty string is being passed in one or more of the fields in instead of a null? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Wednesday, September 08, 2004 2:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Shrinking fields in a report I have a report that contains basic info - Memname, business name, friends name, address, and total sum contributed. In the report I have on the left hand side name, business, friends name. The middle (ideally on the same line) address, and then alittle over (once again on the same line) is the Total Sum. I have set all the fields to shrink, but when there is only a business and friend name to the record, it does not shrink all the way. But when there is a Memname and friend name, it does. This is a mystery. Any clues? IS there a limit to the number of fields that can shrink? Thanks Augusta____________ From JHewson at karta.com Thu Sep 9 13:41:19 2004 From: JHewson at karta.com (Jim Hewson) Date: Thu, 9 Sep 2004 13:41:19 -0500 Subject: [AccessD] Shrinking fields in a report Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0103E2F1@karta-exc-int.Karta.com> What I meant was: are these two field's height equal to the height of the three fields combined? For example, if Name, FriendsName and Business each have a height of .17, does WAddress and/or TotAmount's height equal .51 (.17 * 3)? If it does and WAddress or TotAmount has anything in them, neither FriendsName or Business will shrink, even if Waddress has only one line in it. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of augusta Sent: Thursday, September 09, 2004 1:12 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report >Is the WAddress and TotAmount enlarged to cover the entire space? No,I am confused. What entire space? >I have sized two fields like FriendsName and Business to .0007 height and placed them close together with the CanGrow set to true. In this case, when there is a Business without a FriendsName, business would appear to be directly under Name. All of the fields are the same height. Friends Name and Business is the same length as Name augusta -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of augusta Sent: Thursday, September 09, 2004 12:24 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report Thanks for your reply But none of the fields are touching each other This is how it is set up: IDNo Name WAddress TotAmount FriendsName Business Thats it! And nothing touches, all are set to CanShrink! FriendsName and Business do not shrink up. But, where there is no FriendsName or Business, the white space goes away. I'm stumped. Am I asking it to do something it can't do? Thanks Augusta -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Thursday, September 09, 2004 12:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report I have seen strange shrink behavior when fields are touching other fields, or even overlap the same (imaginary) parallel line. Make sure the fields are even across the top, or outside the space of fields with data. Then make sure a field with data is not touching it anywhere. I had one rather crowded report where this was a culprit. The edges were supposed to just barely touch, but they actually overlapped slightly. Debbie -----Original Message----- From: augusta [mailto:awithing at twcny.rr.com] Sent: Wednesday, September 08, 2004 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Shrinking fields in a report I have a report that contains basic info - Memname, business name, friends name, address, and total sum contributed. In the report I have on the left hand side name, business, friends name. The middle (ideally on the same line) address, and then alittle over (once again on the same line) is the Total Sum. I have set all the fields to shrink, but when there is only a business and friend name to the record, it does not shrink all the way. But when there is a Memname and friend name, it does. This is a mystery. Any clues? IS there a limit to the number of fields that can shrink? Thanks Augusta -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at touchtelindia.net Thu Sep 9 13:39:30 2004 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Fri, 10 Sep 2004 00:09:30 +0530 Subject: [AccessD] Shrinking fields in a report References: <200409091811.i89IBpt3026439@ms-smtp-04.nyroc.rr.com> Message-ID: <00f301c4969c$72174a10$b71865cb@winxp> Augusta, If your problem persists despite trying out afresh on a brand new report, you can send a zipped extract of your db containing the said report as well as the source tables & queries. The number of records may please be pruned down so as to demonstrate the problem while keeping down the size. A.D.Tejpal ( adtp at touchtelindia.net ) ----- Original Message ----- From: augusta To: 'Access Developers discussion and problem solving' Sent: Thursday, September 09, 2004 23:41 Subject: RE: [AccessD] Shrinking fields in a report >Is the WAddress and TotAmount enlarged to cover the entire space? No,I am confused. What entire space? >I have sized two fields like FriendsName and Business to .0007 height and placed them close together with the CanGrow set to true. In this case, when there is a Business without a FriendsName, business would appear to be directly under Name. All of the fields are the same height. Friends Name and Business is the same length as Name augusta -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of augusta Sent: Thursday, September 09, 2004 12:24 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report Thanks for your reply But none of the fields are touching each other This is how it is set up: IDNo Name WAddress TotAmount FriendsName Business Thats it! And nothing touches, all are set to CanShrink! FriendsName and Business do not shrink up. But, where there is no FriendsName or Business, the white space goes away. I'm stumped. Am I asking it to do something it can't do? Thanks Augusta -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Thursday, September 09, 2004 12:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report I have seen strange shrink behavior when fields are touching other fields, or even overlap the same (imaginary) parallel line. Make sure the fields are even across the top, or outside the space of fields with data. Then make sure a field with data is not touching it anywhere. I had one rather crowded report where this was a culprit. The edges were supposed to just barely touch, but they actually overlapped slightly. Debbie -----Original Message----- From: augusta [mailto:awithing at twcny.rr.com] Sent: Wednesday, September 08, 2004 1:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Shrinking fields in a report I have a report that contains basic info - Memname, business name, friends name, address, and total sum contributed. In the report I have on the left hand side name, business, friends name. The middle (ideally on the same line) address, and then alittle over (once again on the same line) is the Total Sum. I have set all the fields to shrink, but when there is only a business and friend name to the record, it does not shrink all the way. But when there is a Memname and friend name, it does. This is a mystery. Any clues? IS there a limit to the number of fields that can shrink? Thanks Augusta From serbach at new.rr.com Thu Sep 9 14:19:47 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 9 Sep 2004 14:19:47 -0500 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <004701c4967c$d38730a0$80b3fea9@ColbyM6805> References: <1496.216.43.21.234.1094654535.squirrel@cetus.email.starband.net> <004701c4967c$d38730a0$80b3fea9@ColbyM6805> Message-ID: <20040909141947.1901151160.serbach@new.rr.com> John, I'd considered buying the Action Pack, but Hindman turned me on to this: http://members.microsoft.com/partner/competency/isvcomp/empower/default.aspx It's a full Universal subscription for $375 a year for a maximum of two years. The biggest gotcha is that you must promise to develop a product for commercial distribution within 18 - 24 months. There's no renewal at the discounted price after the two years. I went with it because the Universal subscription, of course, includes all the .NET stuff. There's also a goodly amount of beta stuff (VS 2005 Beta, .NET 2.0 Beta, FP 9.0 Beta) for what it's worth. The Enterprise editions are the norm in the Universal subscription. 5 licenses, though, not 10. But 14 DVDs crammed with stuff! Holy smokes! Regards, Steve Erbach Scientific Marketing Neenah, WI 920-969-0504 "If you can't say anything nice, run for President." - Argus Hamilton From cfoust at infostatsystems.com Thu Sep 9 14:44:30 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Sep 2004 12:44:30 -0700 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: Yes, empower is what we have in our office. Charlotte Foust -----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: Thursday, September 09, 2004 12:20 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack John, I'd considered buying the Action Pack, but Hindman turned me on to this: http://members.microsoft.com/partner/competency/isvcomp/empower/default. aspx It's a full Universal subscription for $375 a year for a maximum of two years. The biggest gotcha is that you must promise to develop a product for commercial distribution within 18 - 24 months. There's no renewal at the discounted price after the two years. I went with it because the Universal subscription, of course, includes all the .NET stuff. There's also a goodly amount of beta stuff (VS 2005 Beta, .NET 2.0 Beta, FP 9.0 Beta) for what it's worth. The Enterprise editions are the norm in the Universal subscription. 5 licenses, though, not 10. But 14 DVDs crammed with stuff! Holy smokes! Regards, Steve Erbach Scientific Marketing Neenah, WI 920-969-0504 "If you can't say anything nice, run for President." - Argus Hamilton -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Sep 9 13:47:32 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 09 Sep 2004 11:47:32 -0700 Subject: [AccessD] Changing the windows' tongue References: Message-ID: <4140A544.1000802@shaw.ca> I think you are SOL But this is the way I think it works. The Windows MultiLanguage Pack or it's new incarnation MUI Multilingual User Interface is only available to OEM and enterprise licenses. maybe it is in the Action Packs? It also has to be installed over the US version initially. I guess this is to ease hotfixes. http://support.microsoft.com/?kbid=323282 http://www.microsoft.com/globaldev/DrIntl/faqs/MUIFaq.mspx#MUIques6 The Windows 2000 MultiLanguage Version builds on top of this support by adding the capability of switching the User Interface (menus, dialogs and help files) from one language to another. This feature helps make administration and support of multilingual computing environments much easier by: * allowing workstations to be shared by users who speak different languages * facilitating the roll-out of one system company-wide, with the addition of User Interface languages as they become available. This allows the one same service pack to update all machines. The Windows 2000 MultiLanguage Version allows each user of a workstation to select one of the installed User Interface languages. This selection is then stored in their user profile. When a user logs on, the appearance of the system and the help files associated with the system components changes to the selected language. (Note that this is not quite the same as running a localized version of Windows 2000. The Windows 2000 MultiLanguage Version is based on the international English version of Windows 2000. Accordingly, some parts of the system -- most noticeably the registry -- remain in English.) Paul Rodgers wrote: >The price was right, but the language isn't. Is there a way to change the >language to English in windows 2k, perhaps with an upgrade, please, Experts? >Cheers paul > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.754 / Virus Database: 504 - Release Date: 06/09/2004 > > > > -- Marty Connelly Victoria, B.C. Canada From andy at minstersystems.co.uk Thu Sep 9 15:19:10 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 9 Sep 2004 21:19:10 +0100 Subject: [AccessD] DLL question (was Broadcast a message) In-Reply-To: <18334451098.20040909182635@cactus.dk> Message-ID: <002b01c496aa$442f3e10$b274d0d5@minster33c3r25> It's exactly the code from the link you kindly gave me: http://www.clippings.vivitec.com.au/pp_article_id_8.html -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Gustav Brock > Sent: 09 September 2004 17:27 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] DLL question (was Broadcast a message) > > > Hi Andy > > What does your complete code look like? > > /gustav > > > > Am trying to use Novell messaging for broadcasting > messages, and have > > code (thanks for pointer Gustav) to use API calls in > NWNETAPI.DLL. But > > whenever I run the code I get a "Path not found: > NWNETAPI.DLL" error. > > Even if I put the specific location of the DLL I still get it. Does > > this mean it uses other DLL's, and if so how do I find out > what else I > > need? Or what else could it be? > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From bchacc at san.rr.com Thu Sep 9 15:34:28 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 9 Sep 2004 13:34:28 -0700 Subject: [AccessD] AHOO!!! Got my action pack References: Message-ID: <01f201c496ac$675d5e10$6601a8c0@HAL9002> Steve: What happens after two years? Can you install on another machine? Are your unused licenses still good? Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, September 09, 2004 12:44 PM Subject: RE: [AccessD] AHOO!!! Got my action pack > Yes, empower is what we have in our office. > > Charlotte Foust > > > -----Original Message----- > From: Steven W. Erbach [mailto:serbach at new.rr.com] > Sent: Thursday, September 09, 2004 12:20 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] AHOO!!! Got my action pack > > > John, > > I'd considered buying the Action Pack, but Hindman turned me on to this: > > http://members.microsoft.com/partner/competency/isvcomp/empower/default. > aspx > > It's a full Universal subscription for $375 a year for a maximum of two > years. The biggest gotcha is that you must promise to develop a product > for commercial distribution within 18 - 24 months. There's no renewal at > the discounted price after the two years. > > I went with it because the Universal subscription, of course, includes > all the .NET stuff. There's also a goodly amount of beta stuff (VS 2005 > Beta, .NET 2.0 Beta, FP 9.0 Beta) for what it's worth. The Enterprise > editions are the norm in the Universal subscription. 5 licenses, though, > not 10. > > But 14 DVDs crammed with stuff! Holy smokes! > > Regards, > > Steve Erbach > Scientific Marketing > Neenah, WI > 920-969-0504 > > "If you can't say anything nice, run for President." - Argus Hamilton > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From serbach at new.rr.com Thu Sep 9 16:41:48 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 9 Sep 2004 16:41:48 -0500 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: References: Message-ID: <20040909164148.1949171552.serbach@new.rr.com> Charlotte, >> Yes, empower is what we have in our office. << So, what's the product or range of products you're developing? Steve Erbach http://www.swerbach.com From cfoust at infostatsystems.com Thu Sep 9 16:54:39 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Sep 2004 14:54:39 -0700 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: Right now, we're working with Office XP Developer and SQL 2000 under our original licenses, but we're also working with VisualStudio.Net, WindowsServer2003, IIS, Visio, ASP.Net, etc. We saved a bunch of money on the Visual Studio and Visio Enterprise licenses alone. Our existing products are in A97 and AXP and SQL 2000 but we're working on .Net versions and web-based versions for future release. Charlotte Foust -----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: Thursday, September 09, 2004 2:42 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack Charlotte, >> Yes, empower is what we have in our office. << So, what's the product or range of products you're developing? Steve Erbach http://www.swerbach.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Thu Sep 9 18:47:30 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Fri, 10 Sep 2004 09:47:30 +1000 Subject: [AccessD] A2K: Same Name Validation In-Reply-To: <70F3D727890C784291D8433E9C418F298FC5@server.bondsoftware.co.nz> Message-ID: <000a01c496c7$5ec3b900$4a619a89@DDICK> Excellent I didn't think at all of combining the fields at table level The 'overhead' should be minimal Many thanks Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stephen Bond Sent: Thursday, 9 September 2004 6:39 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Same Name Validation Darren, I do this in one of my apps: Function DuplicateCount(fnIn, snIn) As Long Dim k As Variant, criteria as String criteria = "FirstName = '" & fnIn & "' AND LastName = '" & snIn & "'" k = Nz(DCount("*", "tblWhatever", criteria)) DuplicateCount = k End Function I cop the overhead of another index on the table. It's a multi-field index, it contains the FN field and the LN field, call it CombinedName, duplicates allowed. I think this is supposed to make it faster. If it doesn't it makes me feel better anyway Stephen Bond Otatara, New Zealand > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Thursday, 9 September 2004 5:14 p.m. > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] A2K: Same Name Validation > > > Hi Francisco > Pretty Basic > tblStudents > LastName (TEXT) > FirstName (TEXT) > > That's all I want to test. Just if there is one John SMITH and > a data entry person is entering a second one, I wanna alert them. > > I was thinking of a combined dlookup with First and Last name and if > the count was greater than zero, alert the user > > Many thanks > > Have a great day > > Darren > > > > > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Thu Sep 9 19:55:35 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Thu, 9 Sep 2004 20:55:35 -0400 Subject: [AccessD] A2K: Same Name Validation In-Reply-To: <000a01c496c7$5ec3b900$4a619a89@DDICK> Message-ID: <001801c496d0$e1db8300$0200a8c0@COA3> What I have done here is, after an add new, in the lost focus of the second text box (some apps are first then last, others last then first) is to do a similar search for lastname=txbLastname AND firstname like left(firstname,1) & "*" ... If I get any records, I pop a modal form with a list box of all the matches ... User can click Cancel to continue the Add New or double-click the listbox item to go to a prior entry. This doesn't prevent duplicate Richard/Dick or Anthony/Tony, but will catch all the Steve/Steven/Stephen and James/Jim prior entries. Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Thursday, September 09, 2004 7:48 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K: Same Name Validation Excellent I didn't think at all of combining the fields at table level The 'overhead' should be minimal Many thanks Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stephen Bond Sent: Thursday, 9 September 2004 6:39 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Same Name Validation Darren, I do this in one of my apps: Function DuplicateCount(fnIn, snIn) As Long Dim k As Variant, criteria as String criteria = "FirstName = '" & fnIn & "' AND LastName = '" & snIn & "'" k = Nz(DCount("*", "tblWhatever", criteria)) DuplicateCount = k End Function I cop the overhead of another index on the table. It's a multi-field index, it contains the FN field and the LN field, call it CombinedName, duplicates allowed. I think this is supposed to make it faster. If it doesn't it makes me feel better anyway Stephen Bond Otatara, New Zealand > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Thursday, 9 September 2004 5:14 p.m. > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] A2K: Same Name Validation > > > Hi Francisco > Pretty Basic > tblStudents > LastName (TEXT) > FirstName (TEXT) > > That's all I want to test. Just if there is one John SMITH and a data > entry person is entering a second one, I wanna alert them. > > I was thinking of a combined dlookup with First and Last name and if > the count was greater than zero, alert the user > > Many thanks > > Have a great day > > Darren > > > > > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chris.Foote at uk.thalesgroup.com Wed Sep 8 05:24:18 2004 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Wed, 8 Sep 2004 11:24:18 +0100 Subject: [AccessD] Broadcast A Message Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C305@ntscxch1.int.rdel.co.uk> Hi Andy! Below is a code snippet that I use to use the NT4 NetSend function to send a variable message (strNSMess) to a specific user (crfoote). I'm sure you can tweak it to suit! Oh. atCNames(1) & atCNames(0) are other functions that I use to retrieve the User Name and Machine Name that the app is running on. Best regards! Chris Foote ---------(Code start)----------- '------------------------------------------------------------ ' Function NetSend ' Uses NT4 NetSend to send a message to ' crfoote showning current user name and machine ' Created by Chris Foote from scratch (with ' just a little help from "Help"!) '------------------------------------------------------------ Public Sub fncNetSend() On Error GoTo fncNetSend_Err Dim strNSMess As String Dim strNSCommand As String strNSMess = "Message sent from " strNSCommand = "net send crfoote " & "" & strNSMess & " " & atCNames(1) & " at " & atCNames(0) Call Shell(strNSCommand, 0) fncNetSend_Exit: Exit Sub fncNetSend_Err: MsgBox Error$ Resume fncNetSend_Exit End Sub -----------(Code end)------------- > -----Original Message----- > From: Andy Lacey [mailto:andy at minstersystems.co.uk] > Sent: Tuesday, September 07, 2004 6:39 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Broadcast A Message > > > Hi folks > > Anyone got any info/code to broadcast a message to selected > machines/users. > We've an NT4 server and a Novell server so could use either > technology. > > -- Andy Lacey > http://www.minstersystems.co.uk From Chris.Foote at uk.thalesgroup.com Thu Sep 9 02:09:55 2004 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Thu, 9 Sep 2004 08:09:55 +0100 Subject: FW: [AccessD] Broadcast A Message Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C30D@ntscxch1.int.rdel.co.uk> > -----Original Message----- > From: Foote, Chris > Sent: Wednesday, September 08, 2004 11:24 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Broadcast A Message > > > Hi Andy! > > Below is a code snippet that I use to use the NT4 NetSend > function to send a variable message (strNSMess) to a specific > user (crfoote). > > I'm sure you can tweak it to suit! > > Oh. atCNames(1) & atCNames(0) are other functions that I use > to retrieve the User Name and Machine Name that the app is running on. > > Best regards! > Chris Foote > > ---------(Code start)----------- > '------------------------------------------------------------ > ' Function NetSend > ' Uses NT4 NetSend to send a message to > ' crfoote showning current user name and machine > ' Created by Chris Foote from scratch (with > ' just a little help from "Help"!) > '------------------------------------------------------------ > Public Sub fncNetSend() > On Error GoTo fncNetSend_Err > > Dim strNSMess As String > Dim strNSCommand As String > > strNSMess = "Message sent from " > > strNSCommand = "net send crfoote " & "" & strNSMess & " " > & atCNames(1) & " at " & atCNames(0) > > Call Shell(strNSCommand, 0) > > > fncNetSend_Exit: > Exit Sub > > fncNetSend_Err: > MsgBox Error$ > Resume fncNetSend_Exit > > End Sub > > -----------(Code end)------------- > > -----Original Message----- > > From: Andy Lacey [mailto:andy at minstersystems.co.uk] > > Sent: Tuesday, September 07, 2004 6:39 PM > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] Broadcast A Message > > > > > > Hi folks > > > > Anyone got any info/code to broadcast a message to selected > > machines/users. > > We've an NT4 server and a Novell server so could use either > > technology. > > > > -- Andy Lacey > > http://www.minstersystems.co.uk > From Chris.Foote at uk.thalesgroup.com Thu Sep 9 11:43:31 2004 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Thu, 9 Sep 2004 17:43:31 +0100 Subject: [AccessD] DLL question (was Broadcast a message) Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C31C@ntscxch1.int.rdel.co.uk> Andy! Have you tried the Novell command "send"? Chris F > -----Original Message----- > From: Andy Lacey [mailto:andy at minstersystems.co.uk] > Sent: Thursday, September 09, 2004 5:10 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] DLL question (was Broadcast a message) > > > Am trying to use Novell messaging for broadcasting messages, > and have code > (thanks for pointer Gustav) to use API calls in NWNETAPI.DLL. > But whenever I > run the code I get a "Path not found: NWNETAPI.DLL" error. > Even if I put the > specific location of the DLL I still get it. Does this mean > it uses other > DLL's, and if so how do I find out what else I need? Or what > else could it > be? > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > ________________________________________________ > Message sent using UebiMiau 2.7.2 > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From GregSmith at starband.net Thu Sep 9 08:27:40 2004 From: GregSmith at starband.net (Greg Smith) Date: Thu, 9 Sep 2004 08:27:40 -0500 (CDT) Subject: [AccessD] Test - Not getting posted - OT In-Reply-To: References: <000801c49507$a0be1ce0$80b3fea9@ColbyM6805> Message-ID: <1311.216.43.21.235.1094736460.squirrel@cetus.email.starband.net> Test...OT... Greg From Paul at PStrauss.net Thu Sep 9 20:21:24 2004 From: Paul at PStrauss.net (Paul Strauss) Date: Thu, 09 Sep 2004 21:21:24 -0400 Subject: [AccessD] A2K: Same Name Validation In-Reply-To: <70F3D727890C784291D8433E9C418F298FC5@server.bondsoftware.c o.nz> References: <70F3D727890C784291D8433E9C418F298FC5@server.bondsoftware.co.nz> Message-ID: <6.1.2.0.2.20040909205913.02196588@mail.pstrauss.net> At 9/9/2004 04:39 AM, you wrote: >Darren, > >I do this in one of my apps: > >Function DuplicateCount(fnIn, snIn) As Long >Dim k As Variant, criteria as String > criteria = "FirstName = '" & fnIn & "' AND LastName = '" & snIn & "'" > k = Nz(DCount("*", "tblWhatever", criteria)) > DuplicateCount = k >End Function Try this (air code): Function DuplicateCount (strFirstName as string , strLastName as string) as Long Dim strSQL as String Dim rs as DAO.Recordset strSQL ="Select FirstName From Names_tbl Where FirstName = ' " strFirstName & "' And LastName = '" strLastName & "'" set rs = CurrentDB.OpenRecordset(strSQL) rs.MoveLast ' force RecordCount to reflect actual number of rows DuplicateCount = rs.RecordCount ' clean up after yourself rs.Close set rs = nothing strSQL = vbNullString End Function The Domain Aggregate functions are very slow; Select is much faster. Some comments: "k" should not be a variant unless you really need it to be. It is a slow datatype. Long would be much preferred. Besides, you don't need "k" at all. You can assign an expression to the function name: DuplicateCount = Nz(DCount("*", "tblWhatever", criteria)) would work just fine. If you are worried about Nz returning a zero if the DCount returns null, then just do: DuplicateCount = Nz(DCount("*", "tblWhatever", criteria), 0) ^ which forces a zero to be returned if you pass it a null no matter what the datatype the DCount returns. I never depend on defaults (too many details to remember) and so I always pass the 0 myself. It might also be a little faster if a null is passed in because the function knows is doesn't have to figure out what to pass back if you are explicit about it. (I used to be a real-time programmer, and I can't break the habit of counting the milliseconds. And nowadays, since memory is so plentiful, I will usually burn memory if it makes my code faster.) Still, none of this addresses the problem of what to do if you do find duplicates. I think you have to show the user the current row, or rows, and somehow let them decide to enter another row with the same first and last name or select one of the existing ones for display or edit. Regards, Paul Strauss ---------- ? Web Site Design, Graphics, and Hosting (www.RationalHosting.net) ? MS Access Database Custom Applications ? Technical Support and Consulting 718-253-5535 / 917-975-1729 Paul at PStrauss.net From GregSmith at starband.net Wed Sep 8 20:11:01 2004 From: GregSmith at starband.net (Greg Smith) Date: Wed, 8 Sep 2004 20:11:01 -0500 Subject: [AccessD] Test send. Ignore In-Reply-To: <003601c49602$c8de9d70$80b3fea9@ColbyM6805> Message-ID: <200409090104.i8914Uob028773@cassiopeia.email.starband.net> Test send Greg From d.dick at uws.edu.au Thu Sep 9 20:40:15 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Fri, 10 Sep 2004 11:40:15 +1000 Subject: [AccessD] A2K: Same Name Validation In-Reply-To: <6.1.2.0.2.20040909205913.02196588@mail.pstrauss.net> Message-ID: <001a01c496d7$20f68b60$4a619a89@DDICK> Paul Outstanding !! Many many thanks Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Strauss Sent: Friday, 10 September 2004 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Same Name Validation At 9/9/2004 04:39 AM, you wrote: >Darren, > >I do this in one of my apps: > >Function DuplicateCount(fnIn, snIn) As Long >Dim k As Variant, criteria as String > criteria = "FirstName = '" & fnIn & "' AND LastName = '" & snIn & "'" > k = Nz(DCount("*", "tblWhatever", criteria)) > DuplicateCount = k >End Function Try this (air code): Function DuplicateCount (strFirstName as string , strLastName as string) as Long Dim strSQL as String Dim rs as DAO.Recordset strSQL ="Select FirstName From Names_tbl Where FirstName = ' " strFirstName & "' And LastName = '" strLastName & "'" set rs = CurrentDB.OpenRecordset(strSQL) rs.MoveLast ' force RecordCount to reflect actual number of rows DuplicateCount = rs.RecordCount ' clean up after yourself rs.Close set rs = nothing strSQL = vbNullString End Function The Domain Aggregate functions are very slow; Select is much faster. Some comments: "k" should not be a variant unless you really need it to be. It is a slow datatype. Long would be much preferred. Besides, you don't need "k" at all. You can assign an expression to the function name: DuplicateCount = Nz(DCount("*", "tblWhatever", criteria)) would work just fine. If you are worried about Nz returning a zero if the DCount returns null, then just do: DuplicateCount = Nz(DCount("*", "tblWhatever", criteria), 0) ^ which forces a zero to be returned if you pass it a null no matter what the datatype the DCount returns. I never depend on defaults (too many details to remember) and so I always pass the 0 myself. It might also be a little faster if a null is passed in because the function knows is doesn't have to figure out what to pass back if you are explicit about it. (I used to be a real-time programmer, and I can't break the habit of counting the milliseconds. And nowadays, since memory is so plentiful, I will usually burn memory if it makes my code faster.) Still, none of this addresses the problem of what to do if you do find duplicates. I think you have to show the user the current row, or rows, and somehow let them decide to enter another row with the same first and last name or select one of the existing ones for display or edit. Regards, Paul Strauss ---------- . Web Site Design, Graphics, and Hosting (www.RationalHosting.net) . MS Access Database Custom Applications . Technical Support and Consulting 718-253-5535 / 917-975-1729 Paul at PStrauss.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From GregSmith at starband.net Wed Sep 8 15:14:35 2004 From: GregSmith at starband.net (Greg Smith) Date: Wed, 8 Sep 2004 15:14:35 -0500 (CDT) Subject: [AccessD] Mail not delivered...??? In-Reply-To: <000e01c49558$93bb8fe0$80b3fea9@ColbyM6805> References: <20040907184735.64356.qmail@web20423.mail.yahoo.com> <000e01c49558$93bb8fe0$80b3fea9@ColbyM6805> Message-ID: <1951.216.43.21.235.1094674475.squirrel@cetus.email.starband.net> Hi everyone. Apparently others are NOT having the same problem as I am with the email to databaseadvisors. I sent a reply this morning (about 0800 CDT)and now received the following message (between the dash lines): -------------------------------------------------- ********************************************** ** THIS IS A WARNING MESSAGE ONLY ** ** YOU DO NOT NEED TO RESEND YOUR MESSAGE ** ********************************************** The original message was received at Wed, 8 Sep 2004 10:42:22 -0400 from cetus.email.starband.net [148.78.247.27] (may be forged) ----- Transcript of session follows ----- 221 2.0.0 databaseadvisors.com closing connection ... Deferred Warning: message still undelivered after 4 hours Will keep trying until message is 2 days old -------------------------------------------------- Anyone else having this 'issue'? Of course, I'm sending this to the same address where the 'issue' arises so this may NEVER go through...but what the heck...only inconveniencing a few lowly electrons. Greg Smith From d.dick at uws.edu.au Thu Sep 9 22:16:18 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Fri, 10 Sep 2004 13:16:18 +1000 Subject: [AccessD] Mail not delivered...??? In-Reply-To: <1951.216.43.21.235.1094674475.squirrel@cetus.email.starband.net> Message-ID: <001d01c496e4$89e7db80$4a619a89@DDICK> Hi Greg I see it on the list Have only had those sorts of errors (though not the same as yours) if put the AccessD address in the BCC field Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Thursday, 9 September 2004 6:15 AM To: accessd at databaseadvisors.com Subject: [AccessD] Mail not delivered...??? Hi everyone. Apparently others are NOT having the same problem as I am with the email to databaseadvisors. I sent a reply this morning (about 0800 CDT)and now received the following message (between the dash lines): -------------------------------------------------- ********************************************** ** THIS IS A WARNING MESSAGE ONLY ** ** YOU DO NOT NEED TO RESEND YOUR MESSAGE ** ********************************************** The original message was received at Wed, 8 Sep 2004 10:42:22 -0400 from cetus.email.starband.net [148.78.247.27] (may be forged) ----- Transcript of session follows ----- 221 2.0.0 databaseadvisors.com closing connection ... Deferred Warning: message still undelivered after 4 hours Will keep trying until message is 2 days old -------------------------------------------------- Anyone else having this 'issue'? Of course, I'm sending this to the same address where the 'issue' arises so this may NEVER go through...but what the heck...only inconveniencing a few lowly electrons. Greg Smith -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kwilliam at ashlandnet.com Thu Sep 9 09:19:22 2004 From: kwilliam at ashlandnet.com (Keith Williamson) Date: Thu, 9 Sep 2004 10:19:22 -0400 Subject: [AccessD] Synchronizing Subform to Main form based on a date In-Reply-To: <988E2AC88CCB54459286C4077DB662F50129DE53@PDAWB03C.ad.sprint.com> Message-ID: <000401c49678$01f6f420$64aba8c0@ashlandnet.com> Test Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mcgillivray, Donald [ITS] Sent: Wednesday, September 08, 2004 11:25 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Synchronizing Subform to Main form based on a date Thanks for the suggestion, Andy, but no success. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, September 08, 2004 12:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Synchronizing Subform to Main form based on a date Just a thought Donald but if you placed a hidden calc'd control on the main form with =YourDateCombo.Column(0) and put in that in your linking fields would that help? -- 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 john at winhaven.net Thu Sep 9 22:38:20 2004 From: john at winhaven.net (John Bartow) Date: Thu, 9 Sep 2004 22:38:20 -0500 Subject: [AccessD] Mail not delivered...??? In-Reply-To: <001d01c496e4$89e7db80$4a619a89@DDICK> Message-ID: 'tis true, should not put AccessD in BCC or CC fields. I've made the CC mistake a couple of times. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Darren DICK Sent: Thursday, September 09, 2004 10:16 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Mail not delivered...??? Hi Greg I see it on the list Have only had those sorts of errors (though not the same as yours) if put the AccessD address in the BCC field Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Thursday, 9 September 2004 6:15 AM To: accessd at databaseadvisors.com Subject: [AccessD] Mail not delivered...??? Hi everyone. Apparently others are NOT having the same problem as I am with the email to databaseadvisors. I sent a reply this morning (about 0800 CDT)and now received the following message (between the dash lines): -------------------------------------------------- ********************************************** ** THIS IS A WARNING MESSAGE ONLY ** ** YOU DO NOT NEED TO RESEND YOUR MESSAGE ** ********************************************** The original message was received at Wed, 8 Sep 2004 10:42:22 -0400 from cetus.email.starband.net [148.78.247.27] (may be forged) ----- Transcript of session follows ----- 221 2.0.0 databaseadvisors.com closing connection ... Deferred Warning: message still undelivered after 4 hours Will keep trying until message is 2 days old -------------------------------------------------- Anyone else having this 'issue'? Of course, I'm sending this to the same address where the 'issue' arises so this may NEVER go through...but what the heck...only inconveniencing a few lowly electrons. Greg Smith -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Sep 9 23:46:11 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 9 Sep 2004 21:46:11 -0700 Subject: [AccessD] AHOO!!! Got my action pack References: <1496.216.43.21.234.1094654535.squirrel@cetus.email.starband.net> <004701c4967c$d38730a0$80b3fea9@ColbyM6805> <20040909141947.1901151160.serbach@new.rr.com> Message-ID: <061001c496f1$18bcd610$6601a8c0@HAL9002> DVDs? How do you install if your machine has no DVD? Rocky ----- Original Message ----- From: "Steven W. Erbach" To: "Access Developers discussion and problem solving" Sent: Thursday, September 09, 2004 12:19 PM Subject: RE: [AccessD] AHOO!!! Got my action pack > John, > > I'd considered buying the Action Pack, but Hindman turned me on to this: > > http://members.microsoft.com/partner/competency/isvcomp/empower/default.aspx > > It's a full Universal subscription for $375 a year for a maximum of two years. The biggest gotcha is that you must promise to develop a product for commercial distribution within 18 - 24 months. There's no renewal at the discounted price after the two years. > > I went with it because the Universal subscription, of course, includes all the .NET stuff. There's also a goodly amount of beta stuff (VS 2005 Beta, .NET 2.0 Beta, FP 9.0 Beta) for what it's worth. The Enterprise editions are the norm in the Universal subscription. 5 licenses, though, not 10. > > But 14 DVDs crammed with stuff! Holy smokes! > > Regards, > > Steve Erbach > Scientific Marketing > Neenah, WI > 920-969-0504 > > "If you can't say anything nice, run for President." - Argus Hamilton > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Fri Sep 10 00:31:12 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 10 Sep 2004 01:31:12 -0400 Subject: [AccessD] Synchronizing Subform to Main form based on a date In-Reply-To: <988E2AC88CCB54459286C4077DB662F50129DBA5@PDAWB03C.ad.sprint.com> Message-ID: <004e01c496f7$637cd370$80b3fea9@ColbyM6805> Set up a text box and make it pull the value from that column of the combo. Then use the text box as the parent link property. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mcgillivray, Donald [ITS] Sent: Tuesday, September 07, 2004 8:37 PM To: AccessD Subject: [AccessD] Synchronizing Subform to Main form based on a date I'm pulling my hair out on this one. I have a simple main form with two unbound combos, one for a location and the other for a date. The RowSource for the location combo is a table that contains a record for each location - pulling the PK in column 1 and Name in column 2 from that table. Column 1 is bound and its width set to 0 so that only the name displays. The RowSource for the date combo is a summary query pulling from a transaction table with column 1 equal to Int(MyDateFromTrxTable) and column 2 equal to Format(MyDateFromTrxTable,"mm/dd/yyyy"). The query is grouped on column 1 so that only one row for each date appears. Column 1 is bound and width set to 0 so that only the formatted dates appear. I'm having trouble getting a simple subform ([Location], Int([Date]), [ItemDetail]) to synchronize with the main form. Using the location and date values, the only way I've been able to get it to work is to expose the first column of the date combo by setting its width to something other than zero. Of course, I don't want the date serial number to be displayed on the form - just the formatted date. Note that I have restricted both the bound column of the combo and the corresponding value in the subform to just the integer portion of the date. Thus, I don't think this is a matter of trying to match a "date-only" value against a "date-with-time" value. I work with subforms like this all the time, though I don't think I've ever attempted to use a date value as part of the link. Is there some esoteric quality of date values that I need to know about here? Anybody have a clue about why this won't work as advertised? Thanks! Don McGillivray -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Fri Sep 10 01:11:03 2004 From: artful at rogers.com (Arthur Fuller) Date: Fri, 10 Sep 2004 02:11:03 -0400 Subject: [AccessD] Syntax question about control references In-Reply-To: <662716005.20040908093313@cactus.dk> Message-ID: <001001c496fc$f392b6a0$6501a8c0@rock> Interesting. Gonna try this right now. Gonna have some interesting calculations to do. Question, though. Given that the focus has been placed in any given column, how can I determine which column the focus is in? I don't want to do it by name, I want to do it by number. I.e. the current date is 9/10/2004, which places me in column 9/30/2004, which happens to be column 12 of the scrollable columns. So I can derive which column to go into, I'm already there, but how do I determine which column number it is? Is there a way to determine which column number I'm in? A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 08, 2004 3:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Syntax question about control references Hi Arthur You could try playing with the GoToPage method: Forms("frmYourForm").GoToPage 1, x, 0 where x = ([count of columns to move] + Offset) * [Width of column in twips] If you succeed somehow please let us know. /gustav From Chris.Foote at uk.thalesgroup.com Fri Sep 10 01:25:03 2004 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Fri, 10 Sep 2004 07:25:03 +0100 Subject: [AccessD] Mail not delivered...??? Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C31D@ntscxch1.int.rdel.co.uk> Yup! Several posts of mine have failed to make it and couple have been delayed by up to 18-hours. Have got similar warning messages as below ---------------------------------------------------- Your message has been delayed and is still awaiting delivery to the following recipient(s): accessd at databaseadvisors.com Message delayed Your message is delayed Message for domain databaseadvisors.com delayed at mail.uk.thalesgroup.com. Unable to deliver to domain for 20 hours. Will continue trying for 76 hours. No action is required on your part. Last attempt failed because: Did not receive SMTP greeting from host --------------------------------------------- Rgards! Chris F > -----Original Message----- > From: Greg Smith [mailto:GregSmith at starband.net] > Sent: Wednesday, September 08, 2004 9:15 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Mail not delivered...??? > > > Hi everyone. > > Apparently others are NOT having the same problem as I am > with the email > to databaseadvisors. I sent a reply this morning (about 0800 > CDT)and now > received the following message (between the dash lines): -----------(Snipped)---------- From Chris.Foote at uk.thalesgroup.com Fri Sep 10 01:30:37 2004 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Fri, 10 Sep 2004 07:30:37 +0100 Subject: [AccessD] Mail not delivered...??? Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C31E@ntscxch1.int.rdel.co.uk> Good gracious! This one got there and back in under four mins! Looks like the problem's gone then Chris F > -----Original Message----- > From: Foote, Chris [mailto:Chris.Foote at uk.thalesgroup.com] > Sent: Friday, September 10, 2004 7:25 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Mail not delivered...??? > > > Yup! > > Several posts of mine have failed to make it and couple have > been delayed > by up to 18-hours. ----------(Snip)------ From gustav at cactus.dk Fri Sep 10 01:57:13 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Sep 2004 08:57:13 +0200 Subject: [AccessD] Syntax question about control references In-Reply-To: <001001c496fc$f392b6a0$6501a8c0@rock> References: <001001c496fc$f392b6a0$6501a8c0@rock> Message-ID: <1921993085.20040910085713@cactus.dk> Hi Arthur That would be ctl = Me.ActiveControl /gustav > Interesting. Gonna try this right now. Gonna have some interesting > calculations to do. Question, though. Given that the focus has been > placed in any given column, how can I determine which column the focus > is in? I don't want to do it by name, I want to do it by number. I.e. > the current date is 9/10/2004, which places me in column 9/30/2004, > which happens to be column 12 of the scrollable columns. So I can derive > which column to go into, I'm already there, but how do I determine which > column number it is? Is there a way to determine which column number I'm > in? > A. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Wednesday, September 08, 2004 3:33 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Syntax question about control references > Hi Arthur > You could try playing with the GoToPage method: > Forms("frmYourForm").GoToPage 1, x, 0 > where x = ([count of columns to move] + Offset) * [Width of column in > twips] > If you succeed somehow please let us know. > /gustav From R.Griffiths at bury.gov.uk Fri Sep 10 02:56:59 2004 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Fri, 10 Sep 2004 08:56:59 +0100 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: Steve Hope you can assist. Is this offer open to non-US persons? You have to subscribe for 2 years (ie 2 * $375)? I assume after the 2 years you are still able to use all the software and what stops are the updates etc - can you confirm this? Many thanks Richard -----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: 09 September 2004 20:20 To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack John, I'd considered buying the Action Pack, but Hindman turned me on to this: http://members.microsoft.com/partner/competency/isvcomp/empower/default. aspx It's a full Universal subscription for $375 a year for a maximum of two years. The biggest gotcha is that you must promise to develop a product for commercial distribution within 18 - 24 months. There's no renewal at the discounted price after the two years. I went with it because the Universal subscription, of course, includes all the .NET stuff. There's also a goodly amount of beta stuff (VS 2005 Beta, .NET 2.0 Beta, FP 9.0 Beta) for what it's worth. The Enterprise editions are the norm in the Universal subscription. 5 licenses, though, not 10. But 14 DVDs crammed with stuff! Holy smokes! Regards, Steve Erbach Scientific Marketing Neenah, WI 920-969-0504 "If you can't say anything nice, run for President." - Argus Hamilton -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Sep 10 03:38:17 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Sep 2004 10:38:17 +0200 Subject: [AccessD] DLL question (was Broadcast a message) In-Reply-To: <002b01c496aa$442f3e10$b274d0d5@minster33c3r25> References: <002b01c496aa$442f3e10$b274d0d5@minster33c3r25> Message-ID: <728056775.20040910103817@cactus.dk> Hi Andy By second thought, this is code for the NetWare Bindery, not the NDS. Are you sure this is what you want? I looked for the dll on my machine and it is not present. If you can locate it, have you tried registering it using regsvr32.exe? /gustav > It's exactly the code from the link you kindly gave me: > http://www.clippings.vivitec.com.au/pp_article_id_8.html > -- Andy Lacey > http://www.minstersystems.co.uk >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> Gustav Brock >> Sent: 09 September 2004 17:27 >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] DLL question (was Broadcast a message) >> >> >> Hi Andy >> >> What does your complete code look like? >> >> /gustav >> >> >> > Am trying to use Novell messaging for broadcasting >> messages, and have >> > code (thanks for pointer Gustav) to use API calls in >> NWNETAPI.DLL. But >> > whenever I run the code I get a "Path not found: >> NWNETAPI.DLL" error. >> > Even if I put the specific location of the DLL I still get it. Does >> > this mean it uses other DLL's, and if so how do I find out >> what else I >> > need? Or what else could it be? >> >> -- >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/a> ccessd >> Website: >> http://www.databaseadvisors.com >> >> From carbonnb at sympatico.ca Fri Sep 10 04:32:18 2004 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 10 Sep 2004 05:32:18 -0400 Subject: [AccessD] Mail not delivered...??? In-Reply-To: <1951.216.43.21.235.1094674475.squirrel@cetus.email.starband.net> References: <000e01c49558$93bb8fe0$80b3fea9@ColbyM6805> Message-ID: <41413C62.25999.1C4D75@localhost> On 8 Sep 2004 at 15:14, Greg Smith wrote: > Apparently others are NOT having the same problem as I am with the > email to databaseadvisors. I sent a reply this morning (about 0800 > CDT)and now received the following message (between the dash lines): Here's what that means: (and I sent you a note offline too) Your mail server and databaseadvisors.com server are having problems talking to each other. It's just a part of life on the 'net unfortunately :( I'll look at the dba server and see if I can see anything there. In the future, this kind of stuff should really be brought to my attention off-line first. Please and thanks. -- Bryan Carbonnell - carbonnb at sympatico.ca If you can't be a good example, then you'll just have to be a horrible warning. From andy at minstersystems.co.uk Fri Sep 10 05:17:51 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 10 Sep 2004 11:17:51 +0100 Subject: [AccessD] DLL question (was Broadcast a message) Message-ID: <20040910101749.0A192250026@smtp.nildram.co.uk> To be honest Gustav I don't know if it's what I want or not. I just want to send a message across the network, which I thought would be trivial but is proving otherwise. I found the DLL on the network and copied it to the workstation, but it's not working, and attempts to register it fail too. I'm stumped by how difficult this is proving. -- 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] DLL question (was Broadcast a message) Date: 10/09/04 08:41 > > Hi Andy > > By second thought, this is code for the NetWare Bindery, not the NDS. > Are you sure this is what you want? > > I looked for the dll on my machine and it is not present. > If you can locate it, have you tried registering it using regsvr32.exe? > > /gustav > > > > It's exactly the code from the link you kindly gave me: > > > http://www.clippings.vivitec.com.au/pp_article_id_8.html > > > > -- Andy Lacey > > http://www.minstersystems.co.uk > > > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > >> Gustav Brock > >> Sent: 09 September 2004 17:27 > >> To: Access Developers discussion and problem solving > >> Subject: Re: [AccessD] DLL question (was Broadcast a message) > >> > >> > >> Hi Andy > >> > >> What does your complete code look like? > >> > >> /gustav > >> > >> > >> > Am trying to use Novell messaging for broadcasting > >> messages, and have > >> > code (thanks for pointer Gustav) to use API calls in > >> NWNETAPI.DLL. But > >> > whenever I run the code I get a "Path not found: > >> NWNETAPI.DLL" error. > >> > Even if I put the specific location of the DLL I still get it. Does > >> > this mean it uses other DLL's, and if so how do I find out > >> what else I > >> > need? Or what else could it be? > >> > >> -- > >> _______________________________________________ > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/a> ccessd > >> Website: > >> http://www.databaseadvisors.com > >> > >> > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > ________________________________________________ Message sent using UebiMiau 2.7.2 From gustav at cactus.dk Fri Sep 10 06:08:09 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Sep 2004 13:08:09 +0200 Subject: [AccessD] DLL question (was Broadcast a message) In-Reply-To: <20040910101749.0A192250026@smtp.nildram.co.uk> References: <20040910101749.0A192250026@smtp.nildram.co.uk> Message-ID: <6817048614.20040910130809@cactus.dk> Hi Andy > To be honest Gustav I don't know if it's what I want or not. I just want to > send a message across the network, which I thought would be trivial but is > proving otherwise. I found the DLL on the network and copied it to the > workstation, but it's not working, and attempts to register it fail too. I'm > stumped by how difficult this is proving. Don't be. You are working with a solution which reads the bindery which was left with NetWare 3.12 and replaced with NDS now eDirectoy. You can still maintain a bindery but most network admins don't. Here's another link (look for BrdCast and Broadcast): http://developer.novell.com/ndk/doc/samplecode/activex_ndap_sample/index.htm In any case you'll need two ocx'es, nwsrva.ocx and nwdir.ocx, which are free to download. /gustav >> By second thought, this is code for the NetWare Bindery, not the NDS. >> Are you sure this is what you want? >> >> I looked for the dll on my machine and it is not present. >> If you can locate it, have you tried registering it using regsvr32.exe? >> >> /gustav >> >> >> > It's exactly the code from the link you kindly gave me: >> >> > http://www.clippings.vivitec.com.au/pp_article_id_8.html >> >> >> > -- Andy Lacey >> > http://www.minstersystems.co.uk >> >> >> >> -----Original Message----- >> >> From: accessd-bounces at databaseadvisors.com >> >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> >> Gustav Brock >> >> Sent: 09 September 2004 17:27 >> >> To: Access Developers discussion and problem solving >> >> Subject: Re: [AccessD] DLL question (was Broadcast a message) >> >> >> >> >> >> Hi Andy >> >> >> >> What does your complete code look like? >> >> >> >> /gustav >> >> >> >> >> >> > Am trying to use Novell messaging for broadcasting >> >> messages, and have >> >> > code (thanks for pointer Gustav) to use API calls in >> >> NWNETAPI.DLL. But >> >> > whenever I run the code I get a "Path not found: >> >> NWNETAPI.DLL" error. >> >> > Even if I put the specific location of the DLL I still get > it. Does >> >> > this mean it uses other DLL's, and if so how do I find out >> >> what else I >> >> > need? Or what else could it be? From Mark.Mitsules at ngc.com Fri Sep 10 06:40:21 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Fri, 10 Sep 2004 07:40:21 -0400 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: I read this review for the MSDN Universal 7.0 Subscription on PriceGrabber.com. After reading the review, do any of you have any comments regarding the third option listed below. This seems to be the option that is offered at the site Brett suggested below. To reiterate just one of the concerns the reviewer mentioned..."Is there a downside..."? Mark ***************************************** Reviewed by: TallPaulInJax, from FL Date reviewed: 16-Apr-04 Summary: I drove down the rating so you would be more inclined to read this review because it contains very important info. I've been TAKEN for $2000 worth of Office software before and I don't want the same to happen to you. Caveat emptor (aka, beware the buyer): Ok, here is what I think is going on. There are different versions of this software out. (1) Part# 534-02125: this SHOULD BE (doesn't mean it is from some vendors) the retail version which is a 1 YEAR subscription in YOUR name registed by YOU with Microsoft including a 25 digit activation code (newer longer length code). Should be around $2,400. Why anyone would buy this license is beyond me. Keep reading. (2) Part# 534-02031: this is an Open License Program (OLP) version which is a 2 year subscription in YOUR name BUT... you have to qualify for open license, usually a 5 license purchase. The simplest way to do this is to buy 4 cheap OLP licenses (ie, four Encarta licenses at $25 apiece) and one $$$$ license (ie, one MSDN Universal OLP License). Perfectly legal and even recommended by Microsoft. Should be around $2800 to $2900. (3) There is an OEM version. Don't know the part# but I have seen Microsoft use the same part# for Retail and OEM. Unbelievable. I believe that's what most of these cheaper licenses are. The weird thing about some of these vendors is that the software will be activated/registered under THEIR name. Weirder yet, talking with Microsoft about this still has me baffled because Microsoft SAID (I don't believe them) they will activate this license. The only catch on OEM purchases is you have to buy a piece of hardware along with the software. The grey area? In past Microsoft OEM licensing that hardware can be as low priced as a $4 CD audio cable! Some vendors say they won't play this game with OEM licensing because Microsoft could come back and revoke your license unless you're hardware purchase is substantial. What is substantial? A complete PC? A hard drive? A room full of equipment? Is it worth the risk? Is there a problem having the software activated by the vendor as long as you get the media and updates? Is there a downside to buying this license if you buy "substantial" hardware? I don't know the answer to those questions. Perhaps someone could post a response to this message. (4) There are Academic licenses 1 Year licenses which retail around $979. That's all I know about them. (5) Last but not least (and probably not the last, just the last I know about) there are NFR's (Not For Resale) versions given by Microsoft and distributors to let resellers et cetera try out software but they AREN'T SUPPOSED TO RESELL IT. Hey, I hope this helps you figure things out. If it does, send a prayer my way... I could use it. But if it doesn't, join the rest of the club! I spent 3 hours with Microsoft's lead licensing guru one day two years ago and hung up 10X more confused than when I called... Paul ***************************************** -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Thursday, September 09, 2004 11:03 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack Jim, I talked to your contact in April before purchasing our subscriptions, and was quoted a price of $1675 each. He pointed out the Microsoft has changed their distribution strategy and thus has gained more control over prices being charged by independent vendors :-( I shopped around and ended up purchasing from these guys: http://www.softwaremore-usa.com/msun70.html FULL MSDN Universal 7.0 subscription for $1050.00. Not an academic edition, and the disks shipped immediately from MS headquarters. I would highly recommend this vendor. (Back when I purchased mine, MS also had a $300.00 rebate for purchasing this software on DVD. Unfortunately it is no more...) Bobby, Don't waste your time on an Academic subscription. The licensing agreements normally prohibit using it to develop software for clients. All, Even though the MSDN subscription (and updates) lasts for only a year, the software has a perpetual license: http://msdn.microsoft.com/subscriptions/faq/default.aspx#licensing However, there are certain limitations to the use of the software (e.g. you can use SQL Server for development, but you can't run your company's DB server with it!) From JRojas at tnco-inc.com Fri Sep 10 07:12:40 2004 From: JRojas at tnco-inc.com (Joe Rojas) Date: Fri, 10 Sep 2004 08:12:40 -0400 Subject: [AccessD] A2K: Used to work - now it errors SOLVED Message-ID: <0CC84C9461AE6445AD5A602001C41C4B059E90@mercury.tnco-inc.com> If you are referencing both DAO and ADO in the same database, couldn't you just add ADODB or DAO to your dimensions? Dim dbs as DAO.Database JR -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Wednesday, September 08, 2004 2:30 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K: Used to work - now it errors SOLVED Moved DAO above ADO in the ref list now it works Now time to go and see what ADO stuff fails :-(( Thanks y'all DD -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Wednesday, 8 September 2004 3:57 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K: Used to work - now it errors Hello all This used to work now I get Run Time Error 13 - Type Mismatch Then the debugger yellows out the "Set rst" line Any suggestions Dao 3.6 is referenced Dim dbs As Database rst As Recordset iBookingID As Integer Set dbs = CurrentDb iBookingID = [Forms]![frmBookings].[BookingID] ===> this line fails Set rst = dbs.OpenRecordset("SELECT [People].[PersonID] FROM People INNER JOIN BookingPeople ON BookingPeople.PersonID = People.PersonID WHERE not isnull([EmailAddress]) and BookingID = " & iBookingID & ";", dbOpenDynaset) Many thanks in advance Have a great day Darren -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From andy at minstersystems.co.uk Fri Sep 10 07:25:21 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 10 Sep 2004 13:25:21 +0100 Subject: [AccessD] DLL question (was Broadcast a message) Message-ID: <20040910122518.9AE20252466@smtp.nildram.co.uk> Thanks again Gustav. You're a star. I'll download this and give it a try when I have a moment to breath. -- 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] DLL question (was Broadcast a message) Date: 10/09/04 11:12 > > Hi Andy > > > To be honest Gustav I don't know if it's what I want or not. I just want to > > send a message across the network, which I thought would be trivial but is > > proving otherwise. I found the DLL on the network and copied it to the > > workstation, but it's not working, and attempts to register it fail too. I'm > > stumped by how difficult this is proving. > > Don't be. You are working with a solution which reads the bindery > which was left with NetWare 3.12 and replaced with NDS now eDirectoy. > You can still maintain a bindery but most network admins don't. > > Here's another link (look for BrdCast and Broadcast): > > http://developer.novell.com/ndk/doc/samplecode/activex_ndap_sample/index.htm > > In any case you'll need two ocx'es, nwsrva.ocx and nwdir.ocx, which > are free to download. > > /gustav > > > >> By second thought, this is code for the NetWare Bindery, not the NDS. > >> Are you sure this is what you want? > >> > >> I looked for the dll on my machine and it is not present. > >> If you can locate it, have you tried registering it using regsvr32.exe? > >> > >> /gustav > >> > >> > >> &gt; It's exactly the code from the link you kindly gave me: > >> > >> &gt; http://www.clippings.vivitec.com.au/pp_article_id_8.html > >> > >> > >> &gt; -- Andy Lacey > >> &gt; http://www.minstersystems.co.uk > >> > >> > >> &gt;&gt; -----Original Message----- > >> &gt;&gt; From: accessd-bounces at databaseadvisors.com > >> &gt;&gt; [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > >> &gt;&gt; Gustav Brock > >> &gt;&gt; Sent: 09 September 2004 17:27 > >> &gt;&gt; To: Access Developers discussion and problem solving > >> &gt;&gt; Subject: Re: [AccessD] DLL question (was Broadcast a message) > >> &gt;&gt; > >> &gt;&gt; > >> &gt;&gt; Hi Andy > >> &gt;&gt; > >> &gt;&gt; What does your complete code look like? > >> &gt;&gt; > >> &gt;&gt; /gustav > >> &gt;&gt; > >> &gt;&gt; > >> &gt;&gt; &gt; Am trying to use Novell messaging for broadcasting > >> &gt;&gt; messages, and have > >> &gt;&gt; &gt; code (thanks for pointer Gustav) to use API calls in > >> &gt;&gt; NWNETAPI.DLL. But > >> &gt;&gt; &gt; whenever I run the code I get a &quot;Path not found: > >> &gt;&gt; NWNETAPI.DLL&quot; error. > >> &gt;&gt; &gt; Even if I put the specific location of the DLL I still get > > it. Does > >> &gt;&gt; &gt; this mean it uses other DLL's, and if so how do I find out > >> &gt;&gt; what else I > >> &gt;&gt; &gt; need? Or what else could it be? > > -- > _______________________________________________ > 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 bheid at appdevgrp.com Fri Sep 10 07:42:56 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 10 Sep 2004 08:42:56 -0400 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <916187228923D311A6FE00A0CC3FAA3098720A@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB809@ADGSERVER> Ahhh, thanks Jim. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, September 09, 2004 10:31 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack Bobby, <> No, it's the price for the full version. The prices published by Microsoft are suggested list prices. Microsoft Partners however can sell them for whatever they like. I too was skeptical at first, but I've purchased three years running through this reseller and have not had a single problem. First time around I even called Microsoft to confirm that I had a valid subscription. BTW, I just double checked and the price has gone up. $875 was the first year, $1055 second, and $1175 this past year. So there is a bigger difference then $400. I think though that I got the $300 off rebate all 3 years for ordering on DVD. I'd have to go back and check on that. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net From bheid at appdevgrp.com Fri Sep 10 07:46:04 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 10 Sep 2004 08:46:04 -0400 Subject: [AccessD] Shrinking fields in a report In-Reply-To: <916187228923D311A6FE00A0CC3FAA309871FC@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB80A@ADGSERVER> Wow, this took over 12 hours to post! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Thursday, September 09, 2004 10:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shrinking fields in a report All of the fields have to be empty for them all to shrink. Bobby From ssharkins at bellsouth.net Fri Sep 10 07:57:15 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 10 Sep 2004 08:57:15 -0400 Subject: [AccessD] Fw: Tab limits for tab controls Message-ID: <004401c49735$b533aca0$9865fea9@BILLONE> Does anyone know the official limit for the number of tabs on a tab control? I can't get passed 877, which seems a strange number for that limit. I'm using 2003 -- what about earlier versions? I've checked Help, not finding anything on the tab limits, but still looking. Thanks! Susan H. From JHewson at karta.com Fri Sep 10 08:12:11 2004 From: JHewson at karta.com (Jim Hewson) Date: Fri, 10 Sep 2004 08:12:11 -0500 Subject: [AccessD] Fw: Tab limits for tab controls Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0103E2F7@karta-exc-int.Karta.com> Susan, I've got to ask. Why would you need that many? I've used six and thought that was way over the top for most users. Just curious. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Friday, September 10, 2004 7:57 AM To: accessd at databaseadvisors.com Subject: [AccessD] Fw: Tab limits for tab controls Does anyone know the official limit for the number of tabs on a tab control? I can't get passed 877, which seems a strange number for that limit. I'm using 2003 -- what about earlier versions? I've checked Help, not finding anything on the tab limits, but still looking. Thanks! Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Sep 10 08:14:44 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Sep 2004 15:14:44 +0200 Subject: [AccessD] Fw: Tab limits for tab controls In-Reply-To: <004401c49735$b533aca0$9865fea9@BILLONE> References: <004401c49735$b533aca0$9865fea9@BILLONE> Message-ID: <14524644046.20040910151444@cactus.dk> Hi Susan What is wrong with 877? In octal it is 1555 - also a neat number. But sure it's a problem. Phone is keeping ringing here with requests for 1000+ tabs controls! Should I move business to selling beer? /gustav > Does anyone know the official limit for the number of tabs on a tab control? I can't get passed 877, which seems a strange number for that limit. I'm using 2003 -- what about earlier versions? I've > checked Help, not finding anything on the tab limits, but still looking. From Lambert.Heenan at AIG.com Fri Sep 10 08:19:14 2004 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 10 Sep 2004 09:19:14 -0400 Subject: [AccessD] Fw: Tab limits for tab controls Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F02D088E8@xlivmbx21.aig.com> I don't have a clue, nor can my dim mind imagine why you would want suck a large number of tabs or how you would fit them on the screen! :-) Lambert > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Friday, September 10, 2004 8:57 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Fw: Tab limits for tab controls > > Does anyone know the official limit for the number of tabs on a tab > control? I can't get passed 877, which seems a strange number for that > limit. I'm using 2003 -- what about earlier versions? I've checked Help, > not finding anything on the tab limits, but still looking. > > Thanks! > > 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 Fri Sep 10 08:24:06 2004 From: john at winhaven.net (John Bartow) Date: Fri, 10 Sep 2004 08:24:06 -0500 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <061001c496f1$18bcd610$6601a8c0@HAL9002> Message-ID: Rocky, Have to have at least one DVD reader. They do include CD images so you can burn CDs from the DVDs but you would need one DVD reader and a CD writer. The cost of DVD readers is very low these days though. The management of hundreds of CDs versus dozens of DVDs is the catch. For a while, when I received MSDN on CDs I thought I'd have to hire a part time librarian to keep the MSDN CDs in order :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, September 09, 2004 11:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack DVDs? How do you install if your machine has no DVD? Rocky ----- Original Message ----- From: "Steven W. Erbach" To: "Access Developers discussion and problem solving" Sent: Thursday, September 09, 2004 12:19 PM Subject: RE: [AccessD] AHOO!!! Got my action pack > John, > > I'd considered buying the Action Pack, but Hindman turned me on to this: > > http://members.microsoft.com/partner/competency/isvcomp/empower/default.aspx > > It's a full Universal subscription for $375 a year for a maximum of two years. The biggest gotcha is that you must promise to develop a product for commercial distribution within 18 - 24 months. There's no renewal at the discounted price after the two years. > > I went with it because the Universal subscription, of course, includes all the .NET stuff. There's also a goodly amount of beta stuff (VS 2005 Beta, .NET 2.0 Beta, FP 9.0 Beta) for what it's worth. The Enterprise editions are the norm in the Universal subscription. 5 licenses, though, not 10. > > But 14 DVDs crammed with stuff! Holy smokes! > > Regards, > > Steve Erbach > Scientific Marketing > Neenah, WI > 920-969-0504 > > "If you can't say anything nice, run for President." - Argus Hamilton > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Fri Sep 10 08:27:48 2004 From: john at winhaven.net (John Bartow) Date: Fri, 10 Sep 2004 08:27:48 -0500 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: Message-ID: Mark, OEM is a somewhat gray area. I buy OEM products for use with customers where I upgrade machines. For instance if I upgrade a PC's RAM, CPU, etc, so that it can run XP I can also install OEM XP instead of the XP upgrade. Substantial reduction in price on XP. I haven't noticed this aspect of MSDN before. This does seem a bit odd and I'm not sure what to make of it. I have always been under the impression that MSDN products can only be installed on company equipment for testing, evaluation, development, etc. Basically to support my company's efforts in understanding, utilizing and troubleshooting MS products. Maybe I've read more into it than I should have? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Friday, September 10, 2004 6:40 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack I read this review for the MSDN Universal 7.0 Subscription on PriceGrabber.com. After reading the review, do any of you have any comments regarding the third option listed below. This seems to be the option that is offered at the site Brett suggested below. To reiterate just one of the concerns the reviewer mentioned..."Is there a downside..."? Mark ***************************************** Reviewed by: TallPaulInJax, from FL Date reviewed: 16-Apr-04 Summary: I drove down the rating so you would be more inclined to read this review because it contains very important info. I've been TAKEN for $2000 worth of Office software before and I don't want the same to happen to you. Caveat emptor (aka, beware the buyer): Ok, here is what I think is going on. There are different versions of this software out. (1) Part# 534-02125: this SHOULD BE (doesn't mean it is from some vendors) the retail version which is a 1 YEAR subscription in YOUR name registed by YOU with Microsoft including a 25 digit activation code (newer longer length code). Should be around $2,400. Why anyone would buy this license is beyond me. Keep reading. (2) Part# 534-02031: this is an Open License Program (OLP) version which is a 2 year subscription in YOUR name BUT... you have to qualify for open license, usually a 5 license purchase. The simplest way to do this is to buy 4 cheap OLP licenses (ie, four Encarta licenses at $25 apiece) and one $$$$ license (ie, one MSDN Universal OLP License). Perfectly legal and even recommended by Microsoft. Should be around $2800 to $2900. (3) There is an OEM version. Don't know the part# but I have seen Microsoft use the same part# for Retail and OEM. Unbelievable. I believe that's what most of these cheaper licenses are. The weird thing about some of these vendors is that the software will be activated/registered under THEIR name. Weirder yet, talking with Microsoft about this still has me baffled because Microsoft SAID (I don't believe them) they will activate this license. The only catch on OEM purchases is you have to buy a piece of hardware along with the software. The grey area? In past Microsoft OEM licensing that hardware can be as low priced as a $4 CD audio cable! Some vendors say they won't play this game with OEM licensing because Microsoft could come back and revoke your license unless you're hardware purchase is substantial. What is substantial? A complete PC? A hard drive? A room full of equipment? Is it worth the risk? Is there a problem having the software activated by the vendor as long as you get the media and updates? Is there a downside to buying this license if you buy "substantial" hardware? I don't know the answer to those questions. Perhaps someone could post a response to this message. (4) There are Academic licenses 1 Year licenses which retail around $979. That's all I know about them. (5) Last but not least (and probably not the last, just the last I know about) there are NFR's (Not For Resale) versions given by Microsoft and distributors to let resellers et cetera try out software but they AREN'T SUPPOSED TO RESELL IT. Hey, I hope this helps you figure things out. If it does, send a prayer my way... I could use it. But if it doesn't, join the rest of the club! I spent 3 hours with Microsoft's lead licensing guru one day two years ago and hung up 10X more confused than when I called... Paul ***************************************** -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Thursday, September 09, 2004 11:03 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack Jim, I talked to your contact in April before purchasing our subscriptions, and was quoted a price of $1675 each. He pointed out the Microsoft has changed their distribution strategy and thus has gained more control over prices being charged by independent vendors :-( I shopped around and ended up purchasing from these guys: http://www.softwaremore-usa.com/msun70.html FULL MSDN Universal 7.0 subscription for $1050.00. Not an academic edition, and the disks shipped immediately from MS headquarters. I would highly recommend this vendor. (Back when I purchased mine, MS also had a $300.00 rebate for purchasing this software on DVD. Unfortunately it is no more...) Bobby, Don't waste your time on an Academic subscription. The licensing agreements normally prohibit using it to develop software for clients. All, Even though the MSDN subscription (and updates) lasts for only a year, the software has a perpetual license: http://msdn.microsoft.com/subscriptions/faq/default.aspx#licensing However, there are certain limitations to the use of the software (e.g. you can use SQL Server for development, but you can't run your company's DB server with it!) -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Sep 10 08:34:40 2004 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 10 Sep 2004 08:34:40 -0500 Subject: [AccessD] Fw: Tab limits for tab controls In-Reply-To: <28627862.1094822553724.JavaMail.root@sniper2.usinternet.com> Message-ID: <001701c4973a$ed137830$de1811d8@danwaters> Jim, I often use several tabs (9 max so far). But to help users, the focus is set to the tab where the next activity needs to be done. Users like that. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Friday, September 10, 2004 8:12 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: Tab limits for tab controls Susan, I've got to ask. Why would you need that many? I've used six and thought that was way over the top for most users. Just curious. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Friday, September 10, 2004 7:57 AM To: accessd at databaseadvisors.com Subject: [AccessD] Fw: Tab limits for tab controls Does anyone know the official limit for the number of tabs on a tab control? I can't get passed 877, which seems a strange number for that limit. I'm using 2003 -- what about earlier versions? I've checked Help, not finding anything on the tab limits, but still looking. Thanks! Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Fri Sep 10 08:40:55 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Fri, 10 Sep 2004 08:40:55 -0500 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: <100F91B31300334B89EC531C9DCB0865065938@tccexch01.tappeconstruction.net> Not to dispute with a distinguished expert like "TallPaulInJax", but... As far as I can tell, there is no such thing as an OEM MSDN subscription (at least according to Microsoft's website): http://msdn.microsoft.com/subscriptions/licensing/default.aspx I am fairly certain that I purchased a legitimate single user MSDN Universal subscription. Microsoft, not the vendor, activated the software and shipped me the welcome kit from their fufillment center. Each month, my updates are shipped from MS as well. This is not an extra set of NFR disks that a vendor had on hand, since nothing was sent to me from Software More. They take the order, collect the cash, and then MS handles it from there. If there was anything fraudulent going on, Microsoft would have to be in on it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark S. (Newport News) Sent: Friday, September 10, 2004 6:40 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack I read this review for the MSDN Universal 7.0 Subscription on PriceGrabber.com. After reading the review, do any of you have any comments regarding the third option listed below. This seems to be the option that is offered at the site Brett suggested below. To reiterate just one of the concerns the reviewer mentioned..."Is there a downside..."? Mark ***************************************** Reviewed by: TallPaulInJax, from FL Date reviewed: 16-Apr-04 Summary: I drove down the rating so you would be more inclined to read this review because it contains very important info. I've been TAKEN for $2000 worth of Office software before and I don't want the same to happen to you. Caveat emptor (aka, beware the buyer): Ok, here is what I think is going on. There are different versions of this software out. (1) Part# 534-02125: this SHOULD BE (doesn't mean it is from some vendors) the retail version which is a 1 YEAR subscription in YOUR name registed by YOU with Microsoft including a 25 digit activation code (newer longer length code). Should be around $2,400. Why anyone would buy this license is beyond me. Keep reading. (2) Part# 534-02031: this is an Open License Program (OLP) version which is a 2 year subscription in YOUR name BUT... you have to qualify for open license, usually a 5 license purchase. The simplest way to do this is to buy 4 cheap OLP licenses (ie, four Encarta licenses at $25 apiece) and one $$$$ license (ie, one MSDN Universal OLP License). Perfectly legal and even recommended by Microsoft. Should be around $2800 to $2900. (3) There is an OEM version. Don't know the part# but I have seen Microsoft use the same part# for Retail and OEM. Unbelievable. I believe that's what most of these cheaper licenses are. The weird thing about some of these vendors is that the software will be activated/registered under THEIR name. Weirder yet, talking with Microsoft about this still has me baffled because Microsoft SAID (I don't believe them) they will activate this license. The only catch on OEM purchases is you have to buy a piece of hardware along with the software. The grey area? In past Microsoft OEM licensing that hardware can be as low priced as a $4 CD audio cable! Some vendors say they won't play this game with OEM licensing because Microsoft could come back and revoke your license unless you're hardware purchase is substantial. What is substantial? A complete PC? A hard drive? A room full of equipment? Is it worth the risk? Is there a problem having the software activated by the vendor as long as you get the media and updates? Is there a downside to buying this license if you buy "substantial" hardware? I don't know the answer to those questions. Perhaps someone could post a response to this message. (4) There are Academic licenses 1 Year licenses which retail around $979. That's all I know about them. (5) Last but not least (and probably not the last, just the last I know about) there are NFR's (Not For Resale) versions given by Microsoft and distributors to let resellers et cetera try out software but they AREN'T SUPPOSED TO RESELL IT. Hey, I hope this helps you figure things out. If it does, send a prayer my way... I could use it. But if it doesn't, join the rest of the club! I spent 3 hours with Microsoft's lead licensing guru one day two years ago and hung up 10X more confused than when I called... Paul ***************************************** -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From john at winhaven.net Fri Sep 10 08:51:55 2004 From: john at winhaven.net (John Bartow) Date: Fri, 10 Sep 2004 08:51:55 -0500 Subject: [AccessD] Bid announcement Message-ID: Here is a rather odd sounding bid request I received from the state this morning: Bid Title: Furnish E-Scrap removal, processing and disposal services I worked late the last couple of nights so I may be a bit confuso en la cabeza but does anyone know what this means? From serbach at new.rr.com Fri Sep 10 08:52:37 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Fri, 10 Sep 2004 08:52:37 -0500 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <01f201c496ac$675d5e10$6601a8c0@HAL9002> References: <01f201c496ac$675d5e10$6601a8c0@HAL9002> Message-ID: <20040910085237.629179895.serbach@new.rr.com> Rocky, >> What happens after two years? Can you install on another machine? Are your unused licenses still good? << I haven't read the ENTIRE EULA. I do know, however, that after two years I'll have to cough up the ready for a regularly priced MSDN Universal subscription. As far as licenses, each of the products that require those 25-digit serial numbers come with a generic number that you get once you subscribe (it's available on the MSDN web site for subscribers to the Empower program). I've installed Windows XP Pro on four machines out of the allowable five. Every product can be used on five workstations. For example, SQL Server can have up to five users. "Unused licenses?" Again, the serial number for each installation of, say, Microsoft Office is the same. I don't know what happens at the end of two years. I suspect it's more-or-less the honor system. When I signed up it seemed to me that the Empower people hadn't really gotten their act together yet. I actually received a letter saying that my subscription was ended just a week after it started. I also got a nice apology letter, but it showed me that they weren't geared up for it too well. Steve Erbach From ssharkins at bellsouth.net Fri Sep 10 08:43:51 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 10 Sep 2004 09:43:51 -0400 Subject: [AccessD] Fw: Tab limits for tab controls References: <004401c49735$b533aca0$9865fea9@BILLONE> <14524644046.20040910151444@cactus.dk> Message-ID: <003201c4973d$a96d5350$9865fea9@BILLONE> I just thought 877 an odd place to stop. :) But I don't know if that's really the limit or if there's some other problem. I've got a simple procedure that's adding pages for me -- it stops at 877. Susan H. > Hi Susan > > What is wrong with 877? In octal it is 1555 - also a neat number. > > But sure it's a problem. Phone is keeping ringing here with requests > for 1000+ tabs controls! Should I move business to selling beer? > > /gustav > > > > Does anyone know the official limit for the number of tabs on a tab control? I can't get passed 877, which seems a strange number for that limit. I'm using 2003 -- what about earlier versions? I've > > checked Help, not finding anything on the tab limits, but still looking. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Fri Sep 10 08:50:39 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 10 Sep 2004 09:50:39 -0400 Subject: [AccessD] Fw: Tab limits for tab controls References: <9C382E065F54AE48BC3AA7925DCBB01C0103E2F7@karta-exc-int.Karta.com> Message-ID: <003401c4973d$b96af410$9865fea9@BILLONE> I don't need that many -- but I'm writing about them and that's just part of the information -- I need to tell them how many tabs are allowed -- just part of a comprehensive look at the control. Don't worry, I'm also telling the gentle reader to NOT use them all. ;) Susan H. > Susan, > I've got to ask. > Why would you need that many? > I've used six and thought that was way over the top for most users. > Just curious. From serbach at new.rr.com Fri Sep 10 08:57:53 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Fri, 10 Sep 2004 08:57:53 -0500 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <061001c496f1$18bcd610$6601a8c0@HAL9002> References: <1496.216.43.21.234.1094654535.squirrel@cetus.email.starband.net> <004701c4967c$d38730a0$80b3fea9@ColbyM6805> <20040909141947.1901151160.serbach@new.rr.com> <061001c496f1$18bcd610$6601a8c0@HAL9002> Message-ID: <20040910085753.1330559726.serbach@new.rr.com> Rocky, >> DVDs? How do you install if your machine has no DVD? << That is a poser. It seems to me that MS distributes the Universal subscription on CDs, but it must amount to 6 dozen or so CDs. Yikes! I'll bet they charge a premium for that. There are one or two DVDs that contain ISO images so that you can burn installation CDs for things like Windows XP Professional. I did notice that when you want to install Visual Studio .NET 2003 that you have to puzzle out what to install and where to find it. The HTML file MS uses for its index on the DVD doesn't start any installation programs; it just opens My Computer with the contents of one of the folders on the DVD. It took me a while to figure out all the steps I had to perform to get VS.NET installed properly. And there's no free tech support with the Empower program, fwiw. Steve Erbach From JHewson at karta.com Fri Sep 10 09:05:01 2004 From: JHewson at karta.com (Jim Hewson) Date: Fri, 10 Sep 2004 09:05:01 -0500 Subject: [AccessD] Fw: Tab limits for tab controls Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0103E2F8@karta-exc-int.Karta.com> Thanks Dan, It still boggles my mind thinking about it. 877 tabs! I just can't imagine a database that could use that many tabs on a tab control. What would the form look like... what size of screen would need to be used? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Friday, September 10, 2004 8:35 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Fw: Tab limits for tab controls Jim, I often use several tabs (9 max so far). But to help users, the focus is set to the tab where the next activity needs to be done. Users like that. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Friday, September 10, 2004 8:12 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: Tab limits for tab controls Susan, I've got to ask. Why would you need that many? I've used six and thought that was way over the top for most users. Just curious. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Friday, September 10, 2004 7:57 AM To: accessd at databaseadvisors.com Subject: [AccessD] Fw: Tab limits for tab controls Does anyone know the official limit for the number of tabs on a tab control? I can't get passed 877, which seems a strange number for that limit. I'm using 2003 -- what about earlier versions? I've checked Help, not finding anything on the tab limits, but still looking. Thanks! Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Fri Sep 10 09:08:21 2004 From: JHewson at karta.com (Jim Hewson) Date: Fri, 10 Sep 2004 09:08:21 -0500 Subject: [AccessD] Fw: Tab limits for tab controls Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0103E2F9@karta-exc-int.Karta.com> Thanks Susan, It gave me a headache thinking about the concept! BTW - good job on the lead article of the October Issue of Inside Access. You and Drew did a great job. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Friday, September 10, 2004 8:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fw: Tab limits for tab controls I don't need that many -- but I'm writing about them and that's just part of the information -- I need to tell them how many tabs are allowed -- just part of a comprehensive look at the control. Don't worry, I'm also telling the gentle reader to NOT use them all. ;) Susan H. > Susan, > I've got to ask. > Why would you need that many? > I've used six and thought that was way over the top for most users. > Just curious. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From serbach at new.rr.com Fri Sep 10 09:10:10 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Fri, 10 Sep 2004 09:10:10 -0500 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: References: Message-ID: <20040910091010.2093959404.serbach@new.rr.com> Richard, >> Is this offer open to non-US persons? You have to subscribe for 2 years (ie 2 * $375)? I assume after the 2 years you are still able to use all the software and what stops are the updates etc - can you confirm this? << You mean I've gotta look it up in the EULA? Golly! Lets see: "Is this offer open to non-US persons?" Paragraph 23 of the agreement says that only one of these Empower enrollments can be made per company PER COUNTRY. It goes on to say, "For example, if Member has three subsidiaries located in three different countries, your company may be awarded up to four initiative memberships; one for your company and one for each subsidiary." "You have to subscribe for 2 years (ie 2 * $375)?" No, you may subscribe for UP TO two years; you don't need to continue beyond the first year. However the other requirements would still be in force, I believe; namely, that you have to develop and release a "new commercial software solution within 24 months from activation of your initial membership." "I assume after the 2 years you are still able to use all the software and what stops are the updates etc - can you confirm this?" The agreement says (paragraph 11b), "Upon expiration of your enrollment in this initiative, you must remove all copies of the software licensed under this agreement, unless valid licenses are acquired." I hope this answers your questions. Steve Erbach From john at winhaven.net Fri Sep 10 09:20:06 2004 From: john at winhaven.net (John Bartow) Date: Fri, 10 Sep 2004 09:20:06 -0500 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <20040910085237.629179895.serbach@new.rr.com> Message-ID: Steve, With the Universal MSDN you have the license for life not the subscription period. I wasn't going to re-subscribe last year due to the price but when Jim passed on the lower prices he had been getting I went ahead and re-subbed. I have no idea as to if this holds true for empower as I missed that great deal. John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. Erbach Sent: Friday, September 10, 2004 8:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack Rocky, >> What happens after two years? Can you install on another machine? Are your unused licenses still good? << I haven't read the ENTIRE EULA. I do know, however, that after two years I'll have to cough up the ready for a regularly priced MSDN Universal subscription. As far as licenses, each of the products that require those 25-digit serial numbers come with a generic number that you get once you subscribe (it's available on the MSDN web site for subscribers to the Empower program). I've installed Windows XP Pro on four machines out of the allowable five. Every product can be used on five workstations. For example, SQL Server can have up to five users. "Unused licenses?" Again, the serial number for each installation of, say, Microsoft Office is the same. I don't know what happens at the end of two years. I suspect it's more-or-less the honor system. When I signed up it seemed to me that the Empower people hadn't really gotten their act together yet. I actually received a letter saying that my subscription was ended just a week after it started. I also got a nice apology letter, but it showed me that they weren't geared up for it too well. Steve Erbach -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Fri Sep 10 09:31:23 2004 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Fri, 10 Sep 2004 10:31:23 -0400 Subject: [AccessD] Table description Message-ID: <008301c49742$d922f8c0$0a00a8c0@cx470148a> I am trying to find the description of a table (Access 97) using code. I tried the following (which doesn't work): For intI = 0 To db.TableDefs.Count - 1 Set MyDef = db.TableDefs(intI) Debug.Print MyDef.Properties("Description").Value Next intI Any ideas? Thanks, Barb Ryan From Mark.Mitsules at ngc.com Fri Sep 10 09:26:48 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Fri, 10 Sep 2004 10:26:48 -0400 Subject: [AccessD] Bid announcement Message-ID: Get rid of old office equipment...computers, monitors, printers, etc. Mark -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Friday, September 10, 2004 9:52 AM To: _DBA-Access Subject: [AccessD] Bid announcement Here is a rather odd sounding bid request I received from the state this morning: Bid Title: Furnish E-Scrap removal, processing and disposal services I worked late the last couple of nights so I may be a bit confuso en la cabeza but does anyone know what this means? -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Fri Sep 10 09:28:24 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Fri, 10 Sep 2004 10:28:24 -0400 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: Brett, I didn't mean to imply any wrongdoing. As for the "distinguished expert", the author's comments, he assures us, came after lengthy discussions with an M$ "licensing guru". By all accounts, (his, his account of M$'s response, and your experience,) there is nothing "wrong" with this approach. I understand your comment that M$, and not the vendor, is doing the actual activation. But, in the retail version you deal directly with M$, and it seems that in this option the vendor initiates the activation process on your behalf. My underlying question still remains...just as this author asked, "Is there a problem having the software activated by the vendor as long as you get the media and updates?" So far, by all accounts, it seems the answer is no... Mark -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Friday, September 10, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack Not to dispute with a distinguished expert like "TallPaulInJax", but... As far as I can tell, there is no such thing as an OEM MSDN subscription (at least according to Microsoft's website): http://msdn.microsoft.com/subscriptions/licensing/default.aspx I am fairly certain that I purchased a legitimate single user MSDN Universal subscription. Microsoft, not the vendor, activated the software and shipped me the welcome kit from their fufillment center. Each month, my updates are shipped from MS as well. This is not an extra set of NFR disks that a vendor had on hand, since nothing was sent to me from Software More. They take the order, collect the cash, and then MS handles it from there. If there was anything fraudulent going on, Microsoft would have to be in on it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark S. (Newport News) Sent: Friday, September 10, 2004 6:40 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack I read this review for the MSDN Universal 7.0 Subscription on PriceGrabber.com. After reading the review, do any of you have any comments regarding the third option listed below. This seems to be the option that is offered at the site Brett suggested below. To reiterate just one of the concerns the reviewer mentioned..."Is there a downside..."? Mark ***************************************** Reviewed by: TallPaulInJax, from FL Date reviewed: 16-Apr-04 Summary: I drove down the rating so you would be more inclined to read this review because it contains very important info. I've been TAKEN for $2000 worth of Office software before and I don't want the same to happen to you. Caveat emptor (aka, beware the buyer): Ok, here is what I think is going on. There are different versions of this software out. (1) Part# 534-02125: this SHOULD BE (doesn't mean it is from some vendors) the retail version which is a 1 YEAR subscription in YOUR name registed by YOU with Microsoft including a 25 digit activation code (newer longer length code). Should be around $2,400. Why anyone would buy this license is beyond me. Keep reading. (2) Part# 534-02031: this is an Open License Program (OLP) version which is a 2 year subscription in YOUR name BUT... you have to qualify for open license, usually a 5 license purchase. The simplest way to do this is to buy 4 cheap OLP licenses (ie, four Encarta licenses at $25 apiece) and one $$$$ license (ie, one MSDN Universal OLP License). Perfectly legal and even recommended by Microsoft. Should be around $2800 to $2900. (3) There is an OEM version. Don't know the part# but I have seen Microsoft use the same part# for Retail and OEM. Unbelievable. I believe that's what most of these cheaper licenses are. The weird thing about some of these vendors is that the software will be activated/registered under THEIR name. Weirder yet, talking with Microsoft about this still has me baffled because Microsoft SAID (I don't believe them) they will activate this license. The only catch on OEM purchases is you have to buy a piece of hardware along with the software. The grey area? In past Microsoft OEM licensing that hardware can be as low priced as a $4 CD audio cable! Some vendors say they won't play this game with OEM licensing because Microsoft could come back and revoke your license unless you're hardware purchase is substantial. What is substantial? A complete PC? A hard drive? A room full of equipment? Is it worth the risk? Is there a problem having the software activated by the vendor as long as you get the media and updates? Is there a downside to buying this license if you buy "substantial" hardware? I don't know the answer to those questions. Perhaps someone could post a response to this message. (4) There are Academic licenses 1 Year licenses which retail around $979. That's all I know about them. (5) Last but not least (and probably not the last, just the last I know about) there are NFR's (Not For Resale) versions given by Microsoft and distributors to let resellers et cetera try out software but they AREN'T SUPPOSED TO RESELL IT. Hey, I hope this helps you figure things out. If it does, send a prayer my way... I could use it. But if it doesn't, join the rest of the club! I spent 3 hours with Microsoft's lead licensing guru one day two years ago and hung up 10X more confused than when I called... Paul ***************************************** ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From awithing at twcny.rr.com Fri Sep 10 09:30:18 2004 From: awithing at twcny.rr.com (augusta) Date: Fri, 10 Sep 2004 10:30:18 -0400 Subject: [AccessD] emailing a newsletter In-Reply-To: <100F91B31300334B89EC531C9DCB0865065938@tccexch01.tappeconstruction.net> Message-ID: <200409101430.i8AEUIMw016991@ms-smtp-02.nyroc.rr.com> I have a client who has about 700 email addresses within an Access database to whom she would like to send a newsletter. Can anyone suggest a good way of going about this, other than query/copy/paste in to outlook? Also, for some reason when she does it this way, she can only use about 50 address. Thanks augusta From dwaters at usinternet.com Fri Sep 10 09:55:13 2004 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 10 Sep 2004 09:55:13 -0500 Subject: [AccessD] Bid announcement In-Reply-To: <19446489.1094824960729.JavaMail.root@sniper9.usinternet.com> Message-ID: <001801c49746$2d7e3fd0$de1811d8@danwaters> Maybe they want some code to help them sort the recyclables! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, September 10, 2004 8:52 AM To: _DBA-Access Subject: [AccessD] Bid announcement Here is a rather odd sounding bid request I received from the state this morning: Bid Title: Furnish E-Scrap removal, processing and disposal services I worked late the last couple of nights so I may be a bit confuso en la cabeza but does anyone know what this means? -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From R.Griffiths at bury.gov.uk Fri Sep 10 09:58:00 2004 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Fri, 10 Sep 2004 15:58:00 +0100 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: Yes, many thanks -----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: 10 September 2004 15:10 To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack Richard, >> Is this offer open to non-US persons? You have to subscribe for 2 years (ie 2 * $375)? I assume after the 2 years you are still able to use all the software and what stops are the updates etc - can you confirm this? << You mean I've gotta look it up in the EULA? Golly! Lets see: "Is this offer open to non-US persons?" Paragraph 23 of the agreement says that only one of these Empower enrollments can be made per company PER COUNTRY. It goes on to say, "For example, if Member has three subsidiaries located in three different countries, your company may be awarded up to four initiative memberships; one for your company and one for each subsidiary." "You have to subscribe for 2 years (ie 2 * $375)?" No, you may subscribe for UP TO two years; you don't need to continue beyond the first year. However the other requirements would still be in force, I believe; namely, that you have to develop and release a "new commercial software solution within 24 months from activation of your initial membership." "I assume after the 2 years you are still able to use all the software and what stops are the updates etc - can you confirm this?" The agreement says (paragraph 11b), "Upon expiration of your enrollment in this initiative, you must remove all copies of the software licensed under this agreement, unless valid licenses are acquired." I hope this answers your questions. Steve Erbach -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Sep 10 10:01:54 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Sep 2004 17:01:54 +0200 Subject: [AccessD] Fw: Tab limits for tab controls In-Reply-To: <003201c4973d$a96d5350$9865fea9@BILLONE> References: <004401c49735$b533aca0$9865fea9@BILLONE> <14524644046.20040910151444@cactus.dk> <003201c4973d$a96d5350$9865fea9@BILLONE> Message-ID: <15031074232.20040910170154@cactus.dk> Hi Susan > I just thought 877 an odd place to stop. :) But I don't know if that's > really the limit or if there's some other problem. I've got a simple > procedure that's adding pages for me -- it stops at 877. Well, it equals 512 plus 365. That equals a nice 16 * 32 matrix of tabs plus one tab for each day of the year (excluding leap years). Very useful. /gustav >> What is wrong with 877? In octal it is 1555 - also a neat number. >> >> But sure it's a problem. Phone is keeping ringing here with requests >> for 1000+ tabs controls! Should I move business to selling beer? >> >> /gustav >> >> >> > Does anyone know the official limit for the number of tabs on a tab >> > control? I can't get passed 877, which seems a strange number for that >> > limit. I'm using 2003 -- what about earlier versions? I've >> > checked Help, not finding anything on the tab limits, but still looking. From ssharkins at bellsouth.net Fri Sep 10 09:29:53 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 10 Sep 2004 10:29:53 -0400 Subject: [AccessD] Fw: Tab limits for tab controls References: <9C382E065F54AE48BC3AA7925DCBB01C0103E2F9@karta-exc-int.Karta.com> Message-ID: <007701c49743$cc2ada60$9865fea9@BILLONE> Drew's the technique artist -- I just write this stuff up. :) Re: The tabs -- a form with 877 tabs is a mess, and I've noticed that the form does NOT display them in order -- which is odd. I tried it with 255, which I originally assumed was the real limit (and may actually be), and it's the same mess and weird arrangement. I'm wondering if Access will let me add pages to the collection even though the control itself can't support them? Would it do that? Susan H. > Thanks Susan, > It gave me a headache thinking about the concept! > BTW - good job on the lead article of the October Issue of Inside Access. > You and Drew did a great job. > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Friday, September 10, 2004 8:51 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Fw: Tab limits for tab controls > > > I don't need that many -- but I'm writing about them and that's just part of > the information -- I need to tell them how many tabs are allowed -- just > part of a comprehensive look at the control. Don't worry, I'm also telling > the gentle reader to NOT use them all. ;) > > Susan H. > > > > Susan, > > I've got to ask. > > Why would you need that many? > > I've used six and thought that was way over the top for most users. > > Just curious. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Fri Sep 10 10:26:01 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 10 Sep 2004 08:26:01 -0700 Subject: [AccessD] Bid announcement References: <001801c49746$2d7e3fd0$de1811d8@danwaters> Message-ID: <018301c4974a$7ad21960$6601a8c0@HAL9002> It's probably recycling old computers, monitors and other electronics with toxics in them. Big deal now. Turns out old computers are loaded with bad stuff. Here about twice a year you can bring all your stuff to the stadium for recycling. I think HP sponsors it. I understand it's going over to China where they extract the gold and other stuff. Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Friday, September 10, 2004 7:55 AM Subject: RE: [AccessD] Bid announcement > Maybe they want some code to help them sort the recyclables! > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Friday, September 10, 2004 8:52 AM > To: _DBA-Access > Subject: [AccessD] Bid announcement > > Here is a rather odd sounding bid request I received from the state this > morning: > > Bid Title: Furnish E-Scrap removal, processing and disposal services > > > I worked late the last couple of nights so I may be a bit confuso en la > cabeza but does anyone know what this means? > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Fri Sep 10 10:31:13 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Sep 2004 08:31:13 -0700 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: Yes, our office got one of those letters and the apology as well. Charlotte Foust -----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: Friday, September 10, 2004 6:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AHOO!!! Got my action pack Rocky, >> What happens after two years? Can you install on another machine? >> Are your unused licenses still good? << I haven't read the ENTIRE EULA. I do know, however, that after two years I'll have to cough up the ready for a regularly priced MSDN Universal subscription. As far as licenses, each of the products that require those 25-digit serial numbers come with a generic number that you get once you subscribe (it's available on the MSDN web site for subscribers to the Empower program). I've installed Windows XP Pro on four machines out of the allowable five. Every product can be used on five workstations. For example, SQL Server can have up to five users. "Unused licenses?" Again, the serial number for each installation of, say, Microsoft Office is the same. I don't know what happens at the end of two years. I suspect it's more-or-less the honor system. When I signed up it seemed to me that the Empower people hadn't really gotten their act together yet. I actually received a letter saying that my subscription was ended just a week after it started. I also got a nice apology letter, but it showed me that they weren't geared up for it too well. Steve Erbach -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Sep 10 10:39:11 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Sep 2004 08:39:11 -0700 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: That makes no sense at all. MSDN Universal is subscription only and has nothing at all to do with a hardware purchase. I've never heard of an OEM version of MSDN, let alone MSDN Universal. Charlotte Foust -----Original Message----- From: Mitsules, Mark S. (Newport News) [mailto:Mark.Mitsules at ngc.com] Sent: Friday, September 10, 2004 4:40 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack I read this review for the MSDN Universal 7.0 Subscription on PriceGrabber.com. After reading the review, do any of you have any comments regarding the third option listed below. This seems to be the option that is offered at the site Brett suggested below. To reiterate just one of the concerns the reviewer mentioned..."Is there a downside..."? Mark ***************************************** Reviewed by: TallPaulInJax, from FL Date reviewed: 16-Apr-04 Summary: I drove down the rating so you would be more inclined to read this review because it contains very important info. I've been TAKEN for $2000 worth of Office software before and I don't want the same to happen to you. Caveat emptor (aka, beware the buyer): Ok, here is what I think is going on. There are different versions of this software out. (1) Part# 534-02125: this SHOULD BE (doesn't mean it is from some vendors) the retail version which is a 1 YEAR subscription in YOUR name registed by YOU with Microsoft including a 25 digit activation code (newer longer length code). Should be around $2,400. Why anyone would buy this license is beyond me. Keep reading. (2) Part# 534-02031: this is an Open License Program (OLP) version which is a 2 year subscription in YOUR name BUT... you have to qualify for open license, usually a 5 license purchase. The simplest way to do this is to buy 4 cheap OLP licenses (ie, four Encarta licenses at $25 apiece) and one $$$$ license (ie, one MSDN Universal OLP License). Perfectly legal and even recommended by Microsoft. Should be around $2800 to $2900. (3) There is an OEM version. Don't know the part# but I have seen Microsoft use the same part# for Retail and OEM. Unbelievable. I believe that's what most of these cheaper licenses are. The weird thing about some of these vendors is that the software will be activated/registered under THEIR name. Weirder yet, talking with Microsoft about this still has me baffled because Microsoft SAID (I don't believe them) they will activate this license. The only catch on OEM purchases is you have to buy a piece of hardware along with the software. The grey area? In past Microsoft OEM licensing that hardware can be as low priced as a $4 CD audio cable! Some vendors say they won't play this game with OEM licensing because Microsoft could come back and revoke your license unless you're hardware purchase is substantial. What is substantial? A complete PC? A hard drive? A room full of equipment? Is it worth the risk? Is there a problem having the software activated by the vendor as long as you get the media and updates? Is there a downside to buying this license if you buy "substantial" hardware? I don't know the answer to those questions. Perhaps someone could post a response to this message. (4) There are Academic licenses 1 Year licenses which retail around $979. That's all I know about them. (5) Last but not least (and probably not the last, just the last I know about) there are NFR's (Not For Resale) versions given by Microsoft and distributors to let resellers et cetera try out software but they AREN'T SUPPOSED TO RESELL IT. Hey, I hope this helps you figure things out. If it does, send a prayer my way... I could use it. But if it doesn't, join the rest of the club! I spent 3 hours with Microsoft's lead licensing guru one day two years ago and hung up 10X more confused than when I called... Paul ***************************************** -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Thursday, September 09, 2004 11:03 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack Jim, I talked to your contact in April before purchasing our subscriptions, and was quoted a price of $1675 each. He pointed out the Microsoft has changed their distribution strategy and thus has gained more control over prices being charged by independent vendors :-( I shopped around and ended up purchasing from these guys: http://www.softwaremore-usa.com/msun70.html FULL MSDN Universal 7.0 subscription for $1050.00. Not an academic edition, and the disks shipped immediately from MS headquarters. I would highly recommend this vendor. (Back when I purchased mine, MS also had a $300.00 rebate for purchasing this software on DVD. Unfortunately it is no more...) Bobby, Don't waste your time on an Academic subscription. The licensing agreements normally prohibit using it to develop software for clients. All, Even though the MSDN subscription (and updates) lasts for only a year, the software has a perpetual license: http://msdn.microsoft.com/subscriptions/faq/default.aspx#licensing However, there are certain limitations to the use of the software (e.g. you can use SQL Server for development, but you can't run your company's DB server with it!) -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Fri Sep 10 10:39:38 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 10 Sep 2004 11:39:38 -0400 Subject: [AccessD] Fw: Tab limits for tab controls References: <004401c49735$b533aca0$9865fea9@BILLONE><14524644046.20040910151444@cactus.dk><003201c4973d$a96d5350$9865fea9@BILLONE> <15031074232.20040910170154@cactus.dk> Message-ID: <006001c4974c$b155b7b0$9865fea9@BILLONE> > > That equals a nice 16 * 32 matrix of tabs plus one tab for each day of > the year (excluding leap years). Very useful. ===========OK, just on the outside chance that you're not pulling my leg, how would this be useful? ;) Susan H. From cfoust at infostatsystems.com Fri Sep 10 10:41:44 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Sep 2004 08:41:44 -0700 Subject: [AccessD] Fw: Tab limits for tab controls Message-ID: Are you setting the indexes of the tabs and not seeing them in that order? I think one of our forms with 12 tabs in two rows is a mess, but then I didn't create it. ;-} Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Friday, September 10, 2004 7:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fw: Tab limits for tab controls Drew's the technique artist -- I just write this stuff up. :) Re: The tabs -- a form with 877 tabs is a mess, and I've noticed that the form does NOT display them in order -- which is odd. I tried it with 255, which I originally assumed was the real limit (and may actually be), and it's the same mess and weird arrangement. I'm wondering if Access will let me add pages to the collection even though the control itself can't support them? Would it do that? Susan H. > Thanks Susan, > It gave me a headache thinking about the concept! > BTW - good job on the lead article of the October Issue of Inside > Access. You and Drew did a great job. Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > Harkins > Sent: Friday, September 10, 2004 8:51 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Fw: Tab limits for tab controls > > > I don't need that many -- but I'm writing about them and that's just > part of > the information -- I need to tell them how many tabs are allowed -- > just part of a comprehensive look at the control. Don't worry, I'm > also telling the gentle reader to NOT use them all. ;) > > Susan H. > > > > Susan, > > I've got to ask. > > Why would you need that many? > > I've used six and thought that was way over the top for most users. > > Just curious. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Sep 10 10:44:58 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Sep 2004 08:44:58 -0700 Subject: [AccessD] Fw: Tab limits for tab controls Message-ID: If you set the format to buttons, you could build an annual calendar. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Friday, September 10, 2004 8:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fw: Tab limits for tab controls > > That equals a nice 16 * 32 matrix of tabs plus one tab for each day of > the year (excluding leap years). Very useful. ===========OK, just on the outside chance that you're not pulling my leg, how would this be useful? ;) 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 Fri Sep 10 10:45:09 2004 From: john at winhaven.net (John Bartow) Date: Fri, 10 Sep 2004 10:45:09 -0500 Subject: [AccessD] Bid announcement In-Reply-To: <018301c4974a$7ad21960$6601a8c0@HAL9002> Message-ID: I recently read an old National Geographic (mid-1990s) article about Taiwan. It showed heaps of old computer parts with laborers digging through it and separating it by hand for processing. It stated it was mostly shipped in from the U.S. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, September 10, 2004 10:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bid announcement It's probably recycling old computers, monitors and other electronics with toxics in them. Big deal now. Turns out old computers are loaded with bad stuff. Here about twice a year you can bring all your stuff to the stadium for recycling. I think HP sponsors it. I understand it's going over to China where they extract the gold and other stuff. Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Friday, September 10, 2004 7:55 AM Subject: RE: [AccessD] Bid announcement > Maybe they want some code to help them sort the recyclables! > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Friday, September 10, 2004 8:52 AM > To: _DBA-Access > Subject: [AccessD] Bid announcement > > Here is a rather odd sounding bid request I received from the state this > morning: > > Bid Title: Furnish E-Scrap removal, processing and disposal services > > > I worked late the last couple of nights so I may be a bit confuso en la > cabeza but does anyone know what this means? > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reuben at gfconsultants.com Fri Sep 10 10:47:12 2004 From: reuben at gfconsultants.com (Reuben Cummings) Date: Fri, 10 Sep 2004 10:47:12 -0500 Subject: [AccessD] emailing a newsletter In-Reply-To: <200409101430.i8AEUIMw016991@ms-smtp-02.nyroc.rr.com> Message-ID: Augusta, I sent you a copy of a very small db that I have than can do what you are after. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of augusta > Sent: Friday, September 10, 2004 9:30 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] emailing a newsletter > > > I have a client who has about 700 email addresses within an > Access database > to whom she would like to send a newsletter. > > Can anyone suggest a good way of going about this, other than > query/copy/paste in to outlook? Also, for some reason when she > does it this > way, she can only use about 50 address. > > Thanks augusta > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pharold at proftesting.com Fri Sep 10 10:51:52 2004 From: pharold at proftesting.com (Perry Harold) Date: Fri, 10 Sep 2004 11:51:52 -0400 Subject: [AccessD] Bid announcement In-Reply-To: Message-ID: <000601c4974e$174026e0$082da8c0@D58BT131> Since most electronic appliances aren't supposed to go into the landfill, etc they may need someone to collect used monitor, system boxes, etc and dispose of them. It's seems to not be easy to find a place to dispose of such items unless you're in the top 10 to 15 major cities. Perry Harold -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, September 10, 2004 9:52 AM To: _DBA-Access Subject: [AccessD] Bid announcement Here is a rather odd sounding bid request I received from the state this morning: Bid Title: Furnish E-Scrap removal, processing and disposal services I worked late the last couple of nights so I may be a bit confuso en la cabeza but does anyone know what this means? -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Fri Sep 10 10:54:38 2004 From: john at winhaven.net (John Bartow) Date: Fri, 10 Sep 2004 10:54:38 -0500 Subject: [AccessD] Bid announcement In-Reply-To: Message-ID: Could be, every now and then I get some odd bid requests but this tops them all. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Friday, September 10, 2004 9:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bid announcement Get rid of old office equipment...computers, monitors, printers, etc. Mark -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Friday, September 10, 2004 9:52 AM To: _DBA-Access Subject: [AccessD] Bid announcement Here is a rather odd sounding bid request I received from the state this morning: Bid Title: Furnish E-Scrap removal, processing and disposal services I worked late the last couple of nights so I may be a bit confuso en la cabeza but does anyone know what this means? -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Sep 10 10:58:15 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Sep 2004 17:58:15 +0200 Subject: [AccessD] Fw: Tab limits for tab controls In-Reply-To: <006001c4974c$b155b7b0$9865fea9@BILLONE> References: <004401c49735$b533aca0$9865fea9@BILLONE><14524644046.20040910151444@cactus.dk><003201c4973d$a96d5350$9865fea9@BILLONE> <15031074232.20040910170154@cactus.dk> <006001c4974c$b155b7b0$9865fea9@BILLONE> Message-ID: <13634454643.20040910175815@cactus.dk> Hi Susan >> That equals a nice 16 * 32 matrix of tabs plus one tab for each day of >> the year (excluding leap years). Very useful. > ===========OK, just on the outside chance that you're not pulling my leg, > how would this be useful? ;) It's Friday Susan!! Are you settled after the move or are you sitting typing on top of some boxes still waiting to be unpacked (the boxes, not you)? /gustav From ssharkins at bellsouth.net Fri Sep 10 11:13:40 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 10 Sep 2004 12:13:40 -0400 Subject: [AccessD] OT: Express version numbers Message-ID: <009e01c49751$3ba01ab0$9865fea9@BILLONE> sp_dbcmptlevel [[@dbname=] 'database_name'] [,[@new_cmptlevel=] version] If you run this in SQL Server Express using an invalid version number, the error message lists the SQL Server version numbers. It does make sense, if I force it to. ;) I also considered that the error message might just be wrong. Does anyone know if this is supposed to use SQL Server version numbers instead of Express/MSDN version numbers? From Mark.Mitsules at ngc.com Fri Sep 10 11:22:30 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Fri, 10 Sep 2004 12:22:30 -0400 Subject: [AccessD] AHOO!!! Got my action pack Message-ID: Charlotte, The name of the program per se (OEM) is not what is being questioned. What is being questioned is the program that allows you to get this subscription at a deeply discounted rate with the only apparent difference being who initiates the activation process. What you call this program is immaterial, it does exist as evidenced by the following link: http://www.softwaremore-usa.com/msun70.html. The question is: Is there a downside? More examples of this distribution/licensing/pricing program can be found by looking at the cheapest alternatives on PriceGrabber. Hopefully, that is the purpose of this list...to raise awareness to that which we were previously unaware. Mark -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday, September 10, 2004 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack That makes no sense at all. MSDN Universal is subscription only and has nothing at all to do with a hardware purchase. I've never heard of an OEM version of MSDN, let alone MSDN Universal. Charlotte Foust -----Original Message----- From: Mitsules, Mark S. (Newport News) [mailto:Mark.Mitsules at ngc.com] Sent: Friday, September 10, 2004 4:40 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AHOO!!! Got my action pack I read this review for the MSDN Universal 7.0 Subscription on PriceGrabber.com. After reading the review, do any of you have any comments regarding the third option listed below. This seems to be the option that is offered at the site Brett suggested below. To reiterate just one of the concerns the reviewer mentioned..."Is there a downside..."? Mark ***************************************** Reviewed by: TallPaulInJax, from FL Date reviewed: 16-Apr-04 Summary: I drove down the rating so you would be more inclined to read this review because it contains very important info. I've been TAKEN for $2000 worth of Office software before and I don't want the same to happen to you. Caveat emptor (aka, beware the buyer): Ok, here is what I think is going on. There are different versions of this software out. (1) Part# 534-02125: this SHOULD BE (doesn't mean it is from some vendors) the retail version which is a 1 YEAR subscription in YOUR name registed by YOU with Microsoft including a 25 digit activation code (newer longer length code). Should be around $2,400. Why anyone would buy this license is beyond me. Keep reading. (2) Part# 534-02031: this is an Open License Program (OLP) version which is a 2 year subscription in YOUR name BUT... you have to qualify for open license, usually a 5 license purchase. The simplest way to do this is to buy 4 cheap OLP licenses (ie, four Encarta licenses at $25 apiece) and one $$$$ license (ie, one MSDN Universal OLP License). Perfectly legal and even recommended by Microsoft. Should be around $2800 to $2900. (3) There is an OEM version. Don't know the part# but I have seen Microsoft use the same part# for Retail and OEM. Unbelievable. I believe that's what most of these cheaper licenses are. The weird thing about some of these vendors is that the software will be activated/registered under THEIR name. Weirder yet, talking with Microsoft about this still has me baffled because Microsoft SAID (I don't believe them) they will activate this license. The only catch on OEM purchases is you have to buy a piece of hardware along with the software. The grey area? In past Microsoft OEM licensing that hardware can be as low priced as a $4 CD audio cable! Some vendors say they won't play this game with OEM licensing because Microsoft could come back and revoke your license unless you're hardware purchase is substantial. What is substantial? A complete PC? A hard drive? A room full of equipment? Is it worth the risk? Is there a problem having the software activated by the vendor as long as you get the media and updates? Is there a downside to buying this license if you buy "substantial" hardware? I don't know the answer to those questions. Perhaps someone could post a response to this message. (4) There are Academic licenses 1 Year licenses which retail around $979. That's all I know about them. (5) Last but not least (and probably not the last, just the last I know about) there are NFR's (Not For Resale) versions given by Microsoft and distributors to let resellers et cetera try out software but they AREN'T SUPPOSED TO RESELL IT. Hey, I hope this helps you figure things out. If it does, send a prayer my way... I could use it. But if it doesn't, join the rest of the club! I spent 3 hours with Microsoft's lead licensing guru one day two years ago and hung up 10X more confused than when I called... Paul ***************************************** -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Thursday, September 09, 2004 11:03 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack Jim, I talked to your contact in April before purchasing our subscriptions, and was quoted a price of $1675 each. He pointed out the Microsoft has changed their distribution strategy and thus has gained more control over prices being charged by independent vendors :-( I shopped around and ended up purchasing from these guys: http://www.softwaremore-usa.com/msun70.html FULL MSDN Universal 7.0 subscription for $1050.00. Not an academic edition, and the disks shipped immediately from MS headquarters. I would highly recommend this vendor. (Back when I purchased mine, MS also had a $300.00 rebate for purchasing this software on DVD. Unfortunately it is no more...) Bobby, Don't waste your time on an Academic subscription. The licensing agreements normally prohibit using it to develop software for clients. All, Even though the MSDN subscription (and updates) lasts for only a year, the software has a perpetual license: http://msdn.microsoft.com/subscriptions/faq/default.aspx#licensing However, there are certain limitations to the use of the software (e.g. you can use SQL Server for development, but you can't run your company's DB server with it!) -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Sep 10 11:42:11 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 10 Sep 2004 11:42:11 -0500 Subject: [AccessD] Fw: Tab limits for tab controls Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB360@main2.marlow.com> Ack, I didn't get my copy yet! What was it, Shaped Forms? Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Friday, September 10, 2004 9:08 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: Tab limits for tab controls Thanks Susan, It gave me a headache thinking about the concept! BTW - good job on the lead article of the October Issue of Inside Access. You and Drew did a great job. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Friday, September 10, 2004 8:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fw: Tab limits for tab controls I don't need that many -- but I'm writing about them and that's just part of the information -- I need to tell them how many tabs are allowed -- just part of a comprehensive look at the control. Don't worry, I'm also telling the gentle reader to NOT use them all. ;) Susan H. > Susan, > I've got to ask. > Why would you need that many? > I've used six and thought that was way over the top for most users. > Just curious. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Sep 10 11:43:48 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 10 Sep 2004 11:43:48 -0500 Subject: [AccessD] Fw: Tab limits for tab controls Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB361@main2.marlow.com> Yep, you take my techno babble, and turn it into something people can actually understand. Oh the story's I could tell about our co-writing adventures! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Friday, September 10, 2004 9:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fw: Tab limits for tab controls Drew's the technique artist -- I just write this stuff up. :) Re: The tabs -- a form with 877 tabs is a mess, and I've noticed that the form does NOT display them in order -- which is odd. I tried it with 255, which I originally assumed was the real limit (and may actually be), and it's the same mess and weird arrangement. I'm wondering if Access will let me add pages to the collection even though the control itself can't support them? Would it do that? Susan H. > Thanks Susan, > It gave me a headache thinking about the concept! > BTW - good job on the lead article of the October Issue of Inside Access. > You and Drew did a great job. > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Friday, September 10, 2004 8:51 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Fw: Tab limits for tab controls > > > I don't need that many -- but I'm writing about them and that's just part of > the information -- I need to tell them how many tabs are allowed -- just > part of a comprehensive look at the control. Don't worry, I'm also telling > the gentle reader to NOT use them all. ;) > > Susan H. > > > > Susan, > > I've got to ask. > > Why would you need that many? > > I've used six and thought that was way over the top for most users. > > Just curious. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Fri Sep 10 11:00:39 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 10 Sep 2004 12:00:39 -0400 Subject: [AccessD] Fw: Tab limits for tab controls References: Message-ID: <008a01c4974f$fa482860$9865fea9@BILLONE> Charlotte, I'm only adding pages -- I'm not setting any properties. But, I assumed the tabs would be in order -- Page1, Page2, Page3, and while they mostly are -- I don't understand the resulting order. Page1, Page2, and so on, until about Page10 are at the top of the page -- after that I have 877, 876, 875, and so on... going backward. Susan H. > Are you setting the indexes of the tabs and not seeing them in that > order? I think one of our forms with 12 tabs in two rows is a mess, but > then I didn't create it. ;-} > > Charlotte Foust > > > -----Original Message----- > From: Susan Harkins [mailto:ssharkins at bellsouth.net] > Sent: Friday, September 10, 2004 7:30 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Fw: Tab limits for tab controls > > > Drew's the technique artist -- I just write this stuff up. :) > > Re: The tabs -- a form with 877 tabs is a mess, and I've noticed that > the form does NOT display them in order -- which is odd. I tried it with > 255, which I originally assumed was the real limit (and may actually > be), and it's the same mess and weird arrangement. > > I'm wondering if Access will let me add pages to the collection even > though the control itself can't support them? Would it do that? > > Susan H. > > > > Thanks Susan, > > It gave me a headache thinking about the concept! > > BTW - good job on the lead article of the October Issue of Inside > > Access. You and Drew did a great job. Jim > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan > > Harkins > > Sent: Friday, September 10, 2004 8:51 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Fw: Tab limits for tab controls > > > > > > I don't need that many -- but I'm writing about them and that's just > > part > of > > the information -- I need to tell them how many tabs are allowed -- > > just part of a comprehensive look at the control. Don't worry, I'm > > also telling the gentle reader to NOT use them all. ;) > > > > Susan H. > > > > > > > Susan, > > > I've got to ask. > > > Why would you need that many? > > > I've used six and thought that was way over the top for most users. > > > Just curious. > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Fri Sep 10 12:06:10 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 10 Sep 2004 13:06:10 -0400 Subject: [AccessD] Fw: Tab limits for tab controls References: <2F8793082E00D4119A1700B0D0216BF8031BB361@main2.marlow.com> Message-ID: <00c801c49758$83cec960$9865fea9@BILLONE> Drew! You promised not to tell!!!!!!!!! ;) Susan H. > Yep, you take my techno babble, and turn it into something people can > actually understand. > > Oh the story's I could tell about our co-writing adventures! From DWUTKA at marlow.com Fri Sep 10 12:36:10 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 10 Sep 2004 12:36:10 -0500 Subject: [AccessD] Fw: Tab limits for tab controls Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB363@main2.marlow.com> I said the story's I COULD tell. Your secrets are safe with me.....for now.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Friday, September 10, 2004 12:06 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fw: Tab limits for tab controls Drew! You promised not to tell!!!!!!!!! ;) Susan H. > Yep, you take my techno babble, and turn it into something people can > actually understand. > > Oh the story's I could tell about our co-writing adventures! -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Fri Sep 10 13:38:49 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 10 Sep 2004 12:38:49 -0600 Subject: [AccessD] Syntax: Iterate through selected rows in a datasheet? Message-ID: <288450-22004951018384915@christopherhawkins.com> Given the following: 1) Parent form named frmMain. 2) frmMain has a Subform control named sFrm. 3) sFrm.SourceObject = frmSub 4) frmSub is a datasheet. 5) frmMain has a button cmdClickMe. Assume that frmSub presents 10 rows and the user has selected (highlighted) 5 of them. In the OnClick event of cmdClickMe, what would the syntax be to iterate through only the selected rows on frmSub? I've Googled, but nothing. Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From fhtapia at gmail.com Fri Sep 10 14:03:46 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Fri, 10 Sep 2004 12:03:46 -0700 Subject: [AccessD] open a form at cordinates x, y Message-ID: I'd like to be able to be sure that my forms are opening up within cordinates (x,y) off the top left side of the MDI window and hopefully the application itself is at cords(x,y), I remember seeing someone post code that would allow a recently opend window to be opened up at the specified locations... am I making sense? Thanks -- -Francisco From cyx5 at cdc.gov Fri Sep 10 14:18:49 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 10 Sep 2004 15:18:49 -0400 Subject: [AccessD] Section is a Reserved Word? How to refer to a Field of That Name Message-ID: This code works and compiles just fine: If ([Forms]![frmASRSSectInit].[RequestType] <> "site audit" _ And [Forms]![frmASRSSectInit].[Status] = "Open" _ And [Forms]![frmASRSSectInit].[ysnCBRNTest] = 0 _ And Not IsNull([Forms]![frmASRSSectInit].[ASSectCompletedDate])) _ And IsNull([Forms]![frmASRSSectInit].[CBRN_FinalTestReport]) _ Then [Forms]![frmASRSSectInit].[ysnCBRNTest] = -1 End If However, there is a numeric field in my table and on my form named: Section. It must be a reserved word, because when I change the code to specify that the section should equal 2, I get a compile error, argument not optional. Yikes! A Friday headache is upon me. What ever can I do to get around this? I can't change the field name as it is an SQL backend and the damn would break. If ([Forms]![frmASRSSectInit].[RequestType] <> "site audit" _ And [Forms]![frmASRSSectInit].[Status] = "Open" _ And [Forms]![frmASRSSectInit].[ysnCBRNTest] = 0 _ And [Forms]![frmASRSSectInit].[Section] = 1 _ And Not IsNull([Forms]![frmASRSSectInit].[ASSectCompletedDate])) _ And IsNull([Forms]![frmASRSSectInit].[CBRN_FinalTestReport]) _ Then [Forms]![frmASRSSectInit].[ysnCBRNTest] = -1 End If Karen Nicholson National Laboratory Xerox Global Services From cyx5 at cdc.gov Fri Sep 10 14:26:26 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 10 Sep 2004 15:26:26 -0400 Subject: [AccessD] Section is a Reserved Word? How to refer to a Field ofThat Name Message-ID: I got it; I changed the name of the text field on the form and it works now. Jeeze, I never thought of section being a reserved word. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Friday, September 10, 2004 3:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Section is a Reserved Word? How to refer to a Field ofThat Name This code works and compiles just fine: If ([Forms]![frmASRSSectInit].[RequestType] <> "site audit" _ And [Forms]![frmASRSSectInit].[Status] = "Open" _ And [Forms]![frmASRSSectInit].[ysnCBRNTest] = 0 _ And Not IsNull([Forms]![frmASRSSectInit].[ASSectCompletedDate])) _ And IsNull([Forms]![frmASRSSectInit].[CBRN_FinalTestReport]) _ Then [Forms]![frmASRSSectInit].[ysnCBRNTest] = -1 End If However, there is a numeric field in my table and on my form named: Section. It must be a reserved word, because when I change the code to specify that the section should equal 2, I get a compile error, argument not optional. Yikes! A Friday headache is upon me. What ever can I do to get around this? I can't change the field name as it is an SQL backend and the damn would break. If ([Forms]![frmASRSSectInit].[RequestType] <> "site audit" _ And [Forms]![frmASRSSectInit].[Status] = "Open" _ And [Forms]![frmASRSSectInit].[ysnCBRNTest] = 0 _ And [Forms]![frmASRSSectInit].[Section] = 1 _ And Not IsNull([Forms]![frmASRSSectInit].[ASSectCompletedDate])) _ And IsNull([Forms]![frmASRSSectInit].[CBRN_FinalTestReport]) _ Then [Forms]![frmASRSSectInit].[ysnCBRNTest] = -1 End If Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From serbach at new.rr.com Fri Sep 10 14:34:10 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Fri, 10 Sep 2004 14:34:10 -0500 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: References: Message-ID: <20040910143410.852702389.serbach@new.rr.com> Charlotte, >> Right now, we're working with Office XP Developer and SQL 2000 under our original licenses, but we're also working with VisualStudio.Net, WindowsServer2003, IIS, Visio, ASP.Net, etc. ?We saved a bunch of money on the Visual Studio and Visio Enterprise licenses alone. ?Our existing products are in A97 and AXP and SQL 2000 but we're working on .Net versions and web-based versions for future release. << I've never done anything with ASP, so I figured I'd just skip it and jump right to ASP.NET for the project I'm working on now. You're so right about the money saved on VS et al. Good luck with your projects. Steve From carbonnb at gmail.com Fri Sep 10 14:48:42 2004 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 10 Sep 2004 15:48:42 -0400 Subject: [AccessD] DLL question (was Broadcast a message) In-Reply-To: <20040910122518.9AE20252466@smtp.nildram.co.uk> References: <20040910122518.9AE20252466@smtp.nildram.co.uk> Message-ID: On Fri, 10 Sep 2004 13:25:21 +0100, Andy Lacey wrote: > Thanks again Gustav. You're a star. I'll download this and give it a try > when I have a moment to breath. OK, so I'm a bit late to this party, but if you want to figure out the APIs, you can download a sample VB app that shows how to send a message from http://developer.novell.com/support/sample/tids/vbbrdcst/vbbrdcst.htm You can also get the "full" API declarations from the VB samples page at http://developer.novell.com/support/sample/areas/vbs.htm It's in the "Brainshare '98 Nice T111 - Programming to the Client API with Visual Basic" download. -- 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 Drawbridge.Jack at ic.gc.ca Fri Sep 10 14:58:12 2004 From: Drawbridge.Jack at ic.gc.ca (Drawbridge.Jack at ic.gc.ca) Date: Fri, 10 Sep 2004 15:58:12 -0400 Subject: [AccessD] Table description Message-ID: <0F3AFAE449DD4A40BED8B6C4A97ABF5B15B348@MSG-MB3.icent.ic.gc.ca> Barbara, Here's some code that will assist, hopefully. I got some code from AccessD (Bill Mitchell) a few years ago. Just passing some back. Sub testDesc() Dim y As Long Dim db As Database Dim tdf As TableDef Set db = CurrentDb() For y = 0 To db.TableDefs.Count - 1 Set tdf = db.TableDefs(y) For z = 0 To tdf.Properties.Count - 1 If tdf.Properties(z).Name = "Description" Then Debug.Print tdf.Properties(z) Next z Next y End Sub jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Barbara Ryan Sent: Friday, September 10, 2004 10:31 AM To: Access List Subject: [AccessD] Table description I am trying to find the description of a table (Access 97) using code. I tried the following (which doesn't work): For intI = 0 To db.TableDefs.Count - 1 Set MyDef = db.TableDefs(intI) Debug.Print MyDef.Properties("Description").Value Next intI Any ideas? Thanks, Barb Ryan -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Fri Sep 10 15:53:04 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 10 Sep 2004 21:53:04 +0100 Subject: [AccessD] DLL question (was Broadcast a message) In-Reply-To: Message-ID: <006b01c49778$2b7ba650$b274d0d5@minster33c3r25> Thanks Bryan. All contributions gladly accepted. -- 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: 10 September 2004 20:49 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] DLL question (was Broadcast a message) > > > On Fri, 10 Sep 2004 13:25:21 +0100, Andy Lacey > wrote: > > Thanks again Gustav. You're a star. I'll download this and > give it a > > try when I have a moment to breath. > > OK, so I'm a bit late to this party, but if you want to > figure out the APIs, you can download a sample VB app that > shows how to send a message from > http://developer.novell.com/support/sample/tid> s/vbbrdcst/vbbrdcst.htm > > You can also get the "full" API declarations from the VB > samples page at > http://developer.novell.com/support/sample/are> as/vbs.htm > > > It's in the "Brainshare '98 Nice T111 - > Programming to the Client API with Visual Basic" download. > > -- > 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/a> ccessd > Website: > http://www.databaseadvisors.com > > From BarbaraRyan at cox.net Fri Sep 10 16:16:51 2004 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Fri, 10 Sep 2004 17:16:51 -0400 Subject: [AccessD] Table description References: <0F3AFAE449DD4A40BED8B6C4A97ABF5B15B348@MSG-MB3.icent.ic.gc.ca> Message-ID: <002c01c4977b$7e08e420$0a00a8c0@cx470148a> Thanks, Jack....that worked!.................Barb ----- Original Message ----- From: To: Sent: Friday, September 10, 2004 3:58 PM Subject: RE: [AccessD] Table description > Barbara, > > Here's some code that will assist, hopefully. > I got some code from AccessD (Bill Mitchell) a few years ago. > Just passing some back. > > Sub testDesc() > Dim y As Long > Dim db As Database > Dim tdf As TableDef > Set db = CurrentDb() > > For y = 0 To db.TableDefs.Count - 1 > Set tdf = db.TableDefs(y) > For z = 0 To tdf.Properties.Count - 1 > If tdf.Properties(z).Name = "Description" Then > Debug.Print tdf.Properties(z) > Next z > Next y > End Sub > > > jack > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Barbara Ryan > Sent: Friday, September 10, 2004 10:31 AM > To: Access List > Subject: [AccessD] Table description > > > I am trying to find the description of a table (Access 97) using code. I > tried the following (which doesn't work): > > For intI = 0 To db.TableDefs.Count - 1 > Set MyDef = db.TableDefs(intI) > Debug.Print MyDef.Properties("Description").Value > Next intI > > Any ideas? > > Thanks, > Barb Ryan > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Fri Sep 10 16:22:49 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 10 Sep 2004 17:22:49 -0400 Subject: [AccessD] Fw: Tab limits for tab controls References: <004401c49735$b533aca0$9865fea9@BILLONE><14524644046.20040910151444@cactus.dk><003201c4973d$a96d5350$9865fea9@BILLONE><15031074232.20040910170154@cactus.dk><006001c4974c$b155b7b0$9865fea9@BILLONE> <13634454643.20040910175815@cactus.dk> Message-ID: <015a01c4977e$70e90790$9865fea9@BILLONE> > > It's Friday Susan!! =======Well, that explains a lot. ;) > > Are you settled after the move or are you sitting typing on top of > some boxes still waiting to be unpacked (the boxes, not you)? =======Everything's in storage and we're staying with relatives. It will be a while before we're finally settled. It's a mess. Susan H. From ssharkins at bellsouth.net Fri Sep 10 16:42:55 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 10 Sep 2004 17:42:55 -0400 Subject: [AccessD] OT: Express version numbers References: <009e01c49751$3ba01ab0$9865fea9@BILLONE> Message-ID: <016801c4977f$24ea9290$9865fea9@BILLONE> FWIW, also ran SELECT @@version and got 9 -- so I guess it uses the same version numbers as SQL Server. I'm not sure whether I find that odd or not. If anyone knows any different, please let me know. I half expected to see 1.0, 2.0 for the MSDN versions and then something akin to 3.0 for Express. Thanks! Susan H. sp_dbcmptlevel [[@dbname=] 'database_name'] [,[@new_cmptlevel=] version] If you run this in SQL Server Express using an invalid version number, the error message lists the SQL Server version numbers. It does make sense, if I force it to. ;) I also considered that the error message might just be wrong. Does anyone know if this is supposed to use SQL Server version numbers instead of Express/MSDN version numbers? -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From deanellis at iprimus.com.au Fri Sep 10 17:30:22 2004 From: deanellis at iprimus.com.au (Dean Ellis) Date: Sat, 11 Sep 2004 08:00:22 +0930 Subject: [AccessD] open a form at cordinates x, y In-Reply-To: Message-ID: Try placing Docmd.Movesize into your forms on open property. This allows you to place the form x distance from the left, Y form the top as will as stipulating width and height. Cheers -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco Tapia Sent: Saturday, 11 September 2004 4:34 AM To: Access Developers discussion and problem solving Subject: [AccessD] open a form at cordinates x, y I'd like to be able to be sure that my forms are opening up within cordinates (x,y) off the top left side of the MDI window and hopefully the application itself is at cords(x,y), I remember seeing someone post code that would allow a recently opend window to be opened up at the specified locations... am I making sense? Thanks -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Fri Sep 10 17:37:26 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 11 Sep 2004 08:37:26 +1000 Subject: [AccessD] Bid announcement In-Reply-To: Message-ID: <4142B946.10501.81D1D55@lexacorp.com.pg> On 10 Sep 2004 at 8:51, John Bartow wrote: > Here is a rather odd sounding bid request I received from the state this > morning: > > Bid Title: Furnish E-Scrap removal, processing and disposal services > > > I worked late the last couple of nights so I may be a bit confuso en la > cabeza but does anyone know what this means? > > Disposal/recycling (so called eCycling) of unwanted electronic equipment (e-scrap) is a major growth industry worldwide. -- Stuart From stuart at lexacorp.com.pg Fri Sep 10 17:43:52 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 11 Sep 2004 08:43:52 +1000 Subject: [AccessD] emailing a newsletter In-Reply-To: <200409101430.i8AEUIMw016991@ms-smtp-02.nyroc.rr.com> References: <100F91B31300334B89EC531C9DCB0865065938@tccexch01.tappeconstruction.net> Message-ID: <4142BAC8.20539.8230386@lexacorp.com.pg> On 10 Sep 2004 at 10:30, augusta wrote: > I have a client who has about 700 email addresses within an Access database > to whom she would like to send a newsletter. > > Can anyone suggest a good way of going about this, other than > query/copy/paste in to outlook? I generally use Blat (either the exe or dll version) for this sort of thing. http://www.geocities.com/toby_korn/blat/ > Also, for some reason when she does it this > way, she can only use about 50 address. > Many ISPs set up there SMTP servers to only accept 50 or so to addresses in a single message as an anti-spam measure. Using Blat, you can easily send out one message to each address rather than bundling them so the limit doesn;t matter. -- Stuart From stuart at lexacorp.com.pg Fri Sep 10 17:53:17 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 11 Sep 2004 08:53:17 +1000 Subject: [AccessD] Fw: Tab limits for tab controls In-Reply-To: <003401c4973d$b96af410$9865fea9@BILLONE> Message-ID: <4142BCFD.25092.82BA2BD@lexacorp.com.pg> On 10 Sep 2004 at 9:50, Susan Harkins wrote: > I don't need that many -- but I'm writing about them and that's just part of > the information -- I need to tell them how many tabs are allowed -- just > part of a comprehensive look at the control. Don't worry, I'm also telling > the gentle reader to NOT use them all. ;) > I hope you are also covering the material in, or pointing the gentle reader to the Interface Hall of Shame section on tab controls: http://digilander.libero.it/chiediloapippo/Engineering/iarchitect/tabs.htm -- Stuart From ssharkins at bellsouth.net Fri Sep 10 18:42:35 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 10 Sep 2004 19:42:35 -0400 Subject: [AccessD] Fw: Tab limits for tab controls References: <4142BCFD.25092.82BA2BD@lexacorp.com.pg> Message-ID: <004001c4978f$dcdd88c0$9865fea9@BILLONE> Well, no... it's just an introductory look at the control itself -- the basics. :) I told them not to use too many tabs and to not stuff each page full, but other than that, it's all tutorial/technical stuff -- not best practices per se. And publishers generally don't like to direct their readers to the competition. :) But, it's a good piece, although I have to admit -- I never thought I had to click OK just because the Ok button was on the page. Susan H. > > I hope you are also covering the material in, or pointing the gentle reader > to the Interface Hall of Shame section on tab controls: > > http://digilander.libero.it/chiediloapippo/Engineering/iarchitect/tabs.htm From fhtapia at gmail.com Fri Sep 10 18:47:23 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Fri, 10 Sep 2004 16:47:23 -0700 Subject: [AccessD] open a form at cordinates x, y In-Reply-To: References: Message-ID: Thanks :D On Sat, 11 Sep 2004 08:00:22 +0930, Dean Ellis wrote: > Try placing Docmd.Movesize into your forms on open property. This allows you > to place the form x distance from the left, Y form the top as will as > stipulating width and height. > > Cheers > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco > Tapia > Sent: Saturday, 11 September 2004 4:34 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] open a form at cordinates x, y > > I'd like to be able to be sure that my forms are opening up within > cordinates (x,y) off the top left side of the MDI window and hopefully > the application itself is at cords(x,y), I remember seeing someone > post code that would allow a recently opend window to be opened up at > the specified locations... am I making sense? > > Thanks > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From martyconnelly at shaw.ca Fri Sep 10 18:49:18 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 10 Sep 2004 16:49:18 -0700 Subject: [AccessD] emailing a newsletter References: <100F91B31300334B89EC531C9DCB0865065938@tccexch01.tappeconstruction.net> <4142BAC8.20539.8230386@lexacorp.com.pg> Message-ID: <41423D7E.9080906@shaw.ca> Newer versions of McAfee squawk in protest if you send out more than 5 Emails in 5 seconds It is changeable under Advanced WormStopper selections. Stuart McLachlan wrote: >On 10 Sep 2004 at 10:30, augusta wrote: > > > >>I have a client who has about 700 email addresses within an Access database >>to whom she would like to send a newsletter. >> >>Can anyone suggest a good way of going about this, other than >>query/copy/paste in to outlook? >> >> > >I generally use Blat (either the exe or dll version) for this sort of >thing. http://www.geocities.com/toby_korn/blat/ > > > >>Also, for some reason when she does it this >>way, she can only use about 50 address. >> >> >> > >Many ISPs set up there SMTP servers to only accept 50 or so to addresses in >a single message as an anti-spam measure. > >Using Blat, you can easily send out one message to each address rather than >bundling them so the limit doesn;t matter. > > > > > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at colbyconsulting.com Fri Sep 10 19:36:25 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 10 Sep 2004 20:36:25 -0400 Subject: [AccessD] Bid announcement In-Reply-To: Message-ID: <000601c49797$6160db90$e8dafea9@ColbyM6805> Yea, I read a big article on how the (mainland) Chinese are importing these old computers for recycling, mostly the gold. They have few if any real pollution laws so they are creating huge toxic waste dumps when they dump the unrecycled materials. There are LOTS of very nasty stuff in a computer. The West is essentially using them as a legal dumping ground. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, September 10, 2004 11:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bid announcement I recently read an old National Geographic (mid-1990s) article about Taiwan. It showed heaps of old computer parts with laborers digging through it and separating it by hand for processing. It stated it was mostly shipped in from the U.S. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, September 10, 2004 10:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bid announcement It's probably recycling old computers, monitors and other electronics with toxics in them. Big deal now. Turns out old computers are loaded with bad stuff. Here about twice a year you can bring all your stuff to the stadium for recycling. I think HP sponsors it. I understand it's going over to China where they extract the gold and other stuff. Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Friday, September 10, 2004 7:55 AM Subject: RE: [AccessD] Bid announcement > Maybe they want some code to help them sort the recyclables! > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Friday, September 10, 2004 8:52 AM > To: _DBA-Access > Subject: [AccessD] Bid announcement > > Here is a rather odd sounding bid request I received from the state > this > morning: > > Bid Title: Furnish E-Scrap removal, processing and disposal services > > > I worked late the last couple of nights so I may be a bit confuso en > la cabeza but does anyone know what this means? > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Fri Sep 10 23:27:28 2004 From: john at winhaven.net (John Bartow) Date: Fri, 10 Sep 2004 23:27:28 -0500 Subject: [AccessD] Bid announcement In-Reply-To: <000601c49797$6160db90$e8dafea9@ColbyM6805> Message-ID: They dump cheap crap on us via WalMart and we return the favor, eh? :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Friday, September 10, 2004 7:36 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bid announcement Yea, I read a big article on how the (mainland) Chinese are importing these old computers for recycling, mostly the gold. They have few if any real pollution laws so they are creating huge toxic waste dumps when they dump the unrecycled materials. There are LOTS of very nasty stuff in a computer. The West is essentially using them as a legal dumping ground. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, September 10, 2004 11:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bid announcement I recently read an old National Geographic (mid-1990s) article about Taiwan. It showed heaps of old computer parts with laborers digging through it and separating it by hand for processing. It stated it was mostly shipped in from the U.S. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, September 10, 2004 10:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bid announcement It's probably recycling old computers, monitors and other electronics with toxics in them. Big deal now. Turns out old computers are loaded with bad stuff. Here about twice a year you can bring all your stuff to the stadium for recycling. I think HP sponsors it. I understand it's going over to China where they extract the gold and other stuff. Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Friday, September 10, 2004 7:55 AM Subject: RE: [AccessD] Bid announcement > Maybe they want some code to help them sort the recyclables! > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Friday, September 10, 2004 8:52 AM > To: _DBA-Access > Subject: [AccessD] Bid announcement > > Here is a rather odd sounding bid request I received from the state > this > morning: > > Bid Title: Furnish E-Scrap removal, processing and disposal services > > > I worked late the last couple of nights so I may be a bit confuso en > la cabeza but does anyone know what this means? > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Fri Sep 10 22:28:49 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 10 Sep 2004 20:28:49 -0700 Subject: [AccessD] Parts and assemblies design References: <000601c493a6$77855ee0$de1811d8@danwaters> Message-ID: <414270F1.9030906@shaw.ca> Yeah I kinda of figured that, it sounds like what happens with SOX compliance. But the NSA or one of it's alphabet cousins from its orange book certifies the certificate servers like RSA's probably at the B1 level, I know SQL Server 2000 was certified at the lower C2 level. There is a new certification system standard, used worldwide, called Common Criteria. EAL4 is one of the levels equivalent to C2. It is easier to do some of this encryption in .Net as the classes are exposed by the WSE extension, which is more for web services and Soap. These classes allow you to easily get at the 509 certificate stores. Here is another package that allows access to various encryption methods such as Windows Crypto API and X 509 for VB and VBA. One of the complications addressed can be handling integer calculation beyond 32 bits. Developer version is $159, not sure if that is Australian or US http://www.di-mgt.com.au/crypto.html#howto One of the problems they address is encryption of DBCS and Unicode for International character sets which Rocky might run into http://www.di-mgt.com.au/cryptoInternational.html If you want to see what Soap X 509 encryption for an xml message, it looks like this Most of which is boilerplate. 2003-02-11T01:34:01Z 2003-02-11T01:39:01Z YmlKVwXYD8vuGuYliuIYdEAQQPw= UJ64Addf3Fd59XsaQ=??& 4o1b4befwBJu6tzuaygfrAaX0UGtaYKcw2klIbuZPjLi...z8i2ypHN4+w== Dan Waters wrote: >Marty, > >I've talked with the FDA and it turns out that they themselves do not >certify anything related to electronic signatures or records. The FDA does >certify an individual company's usage of such software or hardware. > >This means that if a company like Alphatrust says that they have been >certified by the FDA, they really mean that they have a customer who has >been certified by the FDA. > >The FDA takes this position because what is good for one company may not be >good for another, and the FDA cannot apply a 'blanket' approval for any >particular mechanism. They also don't want to be in the position of >limiting progress in the development of such mechanisms by certifying >something, which then becomes the 'only way to go'. > >So - software developers like us need to work with our customer's Regulatory >Managers to find out what the company's requirements actually are. They >will get more difficult as the medical device becomes more complicated or >more important to saving lives or maintaining health. > >Dan Waters > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Sunday, September 05, 2004 5:46 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Parts and assemblies design > >This may give you an idea what is involved, It is essentially an >envelope around the document >with a seal that says it hasn't been modified after signing. > >If you are looking for signatures either digital or digitized (mouse or >stylus) that are FDA approved >try things like Pronto from Alphatrust >http://www.alphatrust.com/products/pronto/desktop.asp >Their other products require IE access to a certificate server at around >$250 a month. >Getting your own hardware certificate server certified by FDA may start >to cost you in $10,000 range. > > >Rocky Smolin - Beach Access Software wrote: > > > >>Dan: >> >>I have no shame. >> >>But I also have no electronic signature feature in the system. >> >>The system evolved when I first released it (1985) based on what the >>customers wanted. So I suppose the first customer who needs electronic >>signatures will get it. But I have no earthly idea how they work. Yet. >> >>Rocky >> >>----- Original Message ----- >>From: "Dan Waters" >>To: "'Access Developers discussion and problem solving'" >> >>Sent: Sunday, September 05, 2004 12:38 PM >>Subject: RE: [AccessD] Parts and assemblies design >> >> >> >> >> >> >>>Hi Rocky! >>> >>>Yes that was shameless. But good! >>> >>>I was wondering if you address electronic signatures, and if so, what's >>> >>> >>> >>> >>your >> >> >> >> >>>approach? >>> >>>Thanks, >>>Dan Waters >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - >>>Beach Access Software >>>Sent: Sunday, September 05, 2004 2:18 PM >>>To: Access Developers discussion and problem solving >>>Cc: Tom Hintz >>>Subject: Re: [AccessD] Parts and assemblies design >>> >>>Eric: >>> >>>Shameless plug for my manufacturing system. You can check it out at >>>www.ezmrp.com >>> >>>It will do the structured bills of material that they need. >>> >>>I just added a Capacity Requirements Planning module to the system which >>>does not yet show on the web site however. In the CRP module you define >>>work centers and then add routings for each assembly - queue time, set up >>>time and unit run time for each operation. Although it's not part of >>> >>> >>> >>> >>their >> >> >> >> >>>immediate requirement, as a bonus, the CRP Calculate program will >>> >>> >>> >>> >>calculate >> >> >> >> >>>how much of each work center's capacity is being used every day. >>> >>>Once they have that database built, since EZMRP is written in Access, and >>>since the back end is wide open, you could easily write a report in their >>>custom format, although E-Z-MRP does have a traveler report which shows >>> >>> >>> >>> >>the >> >> >> >> >>>start date for each operation based on a specific work order, that work >>>order's due date, and the assembly's lead time and, actually, the report >>> >>> >>> >>> >>you >> >> >> >> >>>model there looks mostly like an indented bill of materials, which, of >>>course, E-Z-MRP does. >>> >>>Starting with E-Z-MRP's framework might save you a LOT of development >>> >>> >>> >>> >>time. >> >> >> >> >>>(BTW, the audit trail that it produces on each inventory transaction, to >>>which you can attach a serial or lot number, also goes along way towards >>>satisfying FDA requirements.) >>> >>>If you're interested after checking the web site, please contact me >>> >>> >>> >>> >>off-line >> >> >> >> >>>at bchacc at san.rr.com and I'll give you a system to evaluate. Or call if >>> >>> >>> >>> >>you >> >> >> >> >>>want to talk about it - 858-259-4334. >>> >>>HTH >>> >>>Rocky Smolin >>>Beach Access Software >>>http://www.e-z-mrp.com >>> >>> >>> >>> >>>----- Original Message ----- >>>From: "Eric Goetz" >>>To: >>>Sent: Sunday, September 05, 2004 11:32 AM >>>Subject: [AccessD] Parts and assemblies design >>> >>> >>>Hi, >>> >>> >>> >>>I am working on a database to replace some paper forms. I get the >>>feeling I'm starting more "from scratch" than I need to. So I thought >>>I'd ask if anyone knows of any examples of solutions for the following >>>problem. >>> >>> >>> >>>A medical device manufacturer needs to track all the actions performed >>>on each device as it moves through manufacturing to meet FDA >>>requirements. The forms are called "travelers." The first traveler gets >>>created when the device is built. A new traveler gets created every time >>>the device returns from the field (for upgrade or repair.) >>> >>> >>> >>>The forms show each part with its revision, part number, lot number, or >>>other attribute. There are different attributes for different types of >>>parts. Such as, software has a checksum, and a revision number while a >>>relay has does not. Instead, a relay has a lot number. >>> >>> >>> >>>Here are a couple of my challenges: >>> >>> >>> >>>I am modeling parts and assemblies, where an assembly is also a part. As >>>the devices come back from the field, they may get upgraded with >>>different parts and assemblies so the hierarchy is flexible. There seems >>>to be a many to many relationship between parts and assemblies. So, I >>>made a basic parts table: >>> >>> >>> >>>Part { ID, PartNumber, Name } where ID is the primary key >>> >>>Sample data: >>> >>>{ 1, 26.026, Enclosure } >>> >>>{ 57, 26.002, PCA } >>> >>>{ 113, 26.100, ECA } >>> >>>{ 114, 26.098, Xfrm } >>> >>>{ 115, 26.022, Xfrm } >>> >>>{ 116, 26.021, Xfrm } >>> >>> >>> >>>And I made another table to hold the many to many assignments between >>>parts and assemblies. >>> >>>AssyPartAssignment { ID, AssyID, PartID, Name } where ID is the primary >>>key and AssyID and PartID are foreign keys for the ID in the Part table. >>> >>>Sample data: >>> >>>{ 1, 113, 57, Controller PCA } >>> >>>{ 2, 113, 1, ECA Enclosure } >>> >>>{ 3, 57, 114, Xfrm T1 } >>> >>>{ 4, 57, 115, Xfrm T2 } >>> >>>{ 5, 57, 116, Xfrm T3 } >>> >>>{ 6, 57, 115, Xfrm T4 } >>> >>> >>> >>>The report needs to show this hierarchy. >>> >>>26.100 - ECA >>> >>> 26.026 - ECA Enclosure >>> >>> 26.002 - Controller PCA >>> >>> 26.098 - Xfrm T1 >>> >>> 26.022 - Xfrm T2 >>> >>> 26.021 - Xfrm T3 >>> >>> 26.022 - Xfrm T4 >>> >>> >>> >>>The same transformer, 26.022 shows up twice in the PCA assembly. >>> >>> >>> >>>I'll build more tables for the different attributes of parts, such as, >>>software with its checksum, and parts that have only lots, and parts >>>that have revisions and lots. I'll use the ID key from the Part table as >>>the primary key for the subtype tables based on the entity relationship >>>chapter from the CJDate book. >>> >>> >>> >>>I need to make the forms to enter these variable hierarchies. >>> >>> >>> >>>Got any suggestions that might put a little more holiday in my Labor >>>Day? >>> >>> >>> >>>Thanks, >>> >>> >>> >>>Eric >>> >>> >>> >>> >>> >>>-- >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>>-- >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>>-- >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >>> >>> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From serbach at new.rr.com Sat Sep 11 07:47:55 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Sat, 11 Sep 2004 07:47:55 -0500 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: References: <20040910085237.629179895.serbach@new.rr.com> Message-ID: <20040911074755.447047747.serbach@new.rr.com> John, >> With the Universal MSDN you have the license for life not the subscription period. I wasn't going to re-subscribe last year due to the price but when Jim passed on the lower prices he had been getting I went ahead and re-subbed. I have no idea as to if this holds true for empower as I missed that great deal. << Isn't it true, though, that with the regular Univeral subscription that you're not on the hook for the extra requirements MS insists on? That is, announce and release a commercial product using MS technologies within two years of signing up; and acquiring one of the MS certifications? I've got a bunch of stuff already for the MCDBA, but where's the time coming from to get certified, eh? Steve From john at winhaven.net Sat Sep 11 09:34:20 2004 From: john at winhaven.net (John Bartow) Date: Sat, 11 Sep 2004 09:34:20 -0500 Subject: [AccessD] AHOO!!! Got my action pack In-Reply-To: <20040911074755.447047747.serbach@new.rr.com> Message-ID: Steve, No requirements at all (that I know). Yes, certification - let's invent some time to do that it, eh? Maybe we can just skip meals and sleep for a few months? John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. Erbach Sent: Saturday, September 11, 2004 7:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] AHOO!!! Got my action pack John, >> With the Universal MSDN you have the license for life not the subscription period. I wasn't going to re-subscribe last year due to the price but when Jim passed on the lower prices he had been getting I went ahead and re-subbed. I have no idea as to if this holds true for empower as I missed that great deal. << Isn't it true, though, that with the regular Univeral subscription that you're not on the hook for the extra requirements MS insists on? That is, announce and release a commercial product using MS technologies within two years of signing up; and acquiring one of the MS certifications? I've got a bunch of stuff already for the MCDBA, but where's the time coming from to get certified, eh? Steve -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgoodhall at comcast.net Sat Sep 11 10:52:21 2004 From: sgoodhall at comcast.net (Steve Goodhall) Date: Sat, 11 Sep 2004 11:52:21 -0400 Subject: [AccessD] emailing a newsletter In-Reply-To: <4142BAC8.20539.8230386@lexacorp.com.pg> Message-ID: <200409111553.i8BFr8630653@databaseadvisors.com> Another option is to send from VBA using the Outlook object model. Depending on the version and how you approach it, you may run across a Microsoft security "feature" that prevents code from accessing the address book. The cure is Outlook Redemption (http://www.dimastr.com/redemption/). I might have some code lying around. If I find it, I will put it up on my website and send another message. Regards, Steve Goodhall www.goodhall.info/steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, September 10, 2004 6:44 PM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] emailing a newsletter On 10 Sep 2004 at 10:30, augusta wrote: > I have a client who has about 700 email addresses within an Access database > to whom she would like to send a newsletter. > > Can anyone suggest a good way of going about this, other than > query/copy/paste in to outlook? I generally use Blat (either the exe or dll version) for this sort of thing. http://www.geocities.com/toby_korn/blat/ > Also, for some reason when she does it this > way, she can only use about 50 address. > Many ISPs set up there SMTP servers to only accept 50 or so to addresses in a single message as an anti-spam measure. Using Blat, you can easily send out one message to each address rather than bundling them so the limit doesn;t matter. -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Joe_Hecht at earthlink.net Sat Sep 11 21:35:25 2004 From: Joe_Hecht at earthlink.net (Joe Hecht) Date: Sat, 11 Sep 2004 19:35:25 -0700 Subject: [AccessD] emailing a newsletter In-Reply-To: <200409101430.i8AEUIMw016991@ms-smtp-02.nyroc.rr.com> Message-ID: <001501c49871$28c768a0$6401a8c0@delllaptop> Check the archives for programs. The clients ISP may have a limit to fight spam. JOE HECHT LOS ANGELES CA jmhla at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Friday, September 10, 2004 7:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] emailing a newsletter I have a client who has about 700 email addresses within an Access database to whom she would like to send a newsletter. Can anyone suggest a good way of going about this, other than query/copy/paste in to outlook? Also, for some reason when she does it this way, she can only use about 50 address. Thanks augusta -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sun Sep 12 19:06:59 2004 From: artful at rogers.com (Arthur Fuller) Date: Sun, 12 Sep 2004 20:06:59 -0400 Subject: [AccessD] Fw: Tab limits for tab controls In-Reply-To: <003401c4973d$b96af410$9865fea9@BILLONE> Message-ID: <018501c49925$96c885a0$6501a8c0@rock> What's wrong with tab controls? I use them a LOT in my interfaces. Mind you, never 877 of them, but quite often say 10 tabs on 1 control, some of whose pages contain another tab containing several pages. I love this kind of interface. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, September 10, 2004 9:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fw: Tab limits for tab controls I don't need that many -- but I'm writing about them and that's just part of the information -- I need to tell them how many tabs are allowed -- just part of a comprehensive look at the control. Don't worry, I'm also telling the gentle reader to NOT use them all. ;) Susan H. From ssharkins at bellsouth.net Sun Sep 12 19:17:27 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 12 Sep 2004 20:17:27 -0400 Subject: [AccessD] Fw: Tab limits for tab controls References: <018501c49925$96c885a0$6501a8c0@rock> Message-ID: <002c01c49927$395da830$9865fea9@BILLONE> I said I told the reader not to use 877 tabs. I did NOT tell the reader not to use tab controls. Susan H. > What's wrong with tab controls? I use them a LOT in my interfaces. Mind > you, never 877 of them, but quite often say 10 tabs on 1 control, some > of whose pages contain another tab containing several pages. I love this > kind of interface. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Friday, September 10, 2004 9:51 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Fw: Tab limits for tab controls > > > I don't need that many -- but I'm writing about them and that's just > part of the information -- I need to tell them how many tabs are allowed > -- just part of a comprehensive look at the control. Don't worry, I'm > also telling the gentle reader to NOT use them all. ;) > > Susan H. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Sun Sep 12 22:55:54 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 13 Sep 2004 13:55:54 +1000 Subject: [AccessD] Fw: Tab limits for tab controls In-Reply-To: <018501c49925$96c885a0$6501a8c0@rock> References: <003401c4973d$b96af410$9865fea9@BILLONE> Message-ID: <4145A6EA.4105.138D6132@lexacorp.com.pg> On 12 Sep 2004 at 20:06, Arthur Fuller wrote: > What's wrong with tab controls? I use them a LOT in my interfaces. Mind > you, never 877 of them, but quite often say 10 tabs on 1 control, some > of whose pages contain another tab containing several pages. I love this > kind of interface. > Nothing wrong with them as long as they are not misused. See http://digilander.libero.it/chiediloapippo/Engineering/iarchitect/tabs.htm -- Stuart From R.Griffiths at bury.gov.uk Mon Sep 13 04:20:05 2004 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Mon, 13 Sep 2004 10:20:05 +0100 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard From viner at EUnet.yu Mon Sep 13 04:46:08 2004 From: viner at EUnet.yu (Ervin Brindza) Date: Mon, 13 Sep 2004 11:46:08 +0200 Subject: [AccessD] Re: emailing a newsletter References: Message-ID: <000201c4997c$c11cc8a0$0100a8c0@razvoj> Reuben, could you share it, please? Many TIA, Ervin ----- Original Message ----- From: "Reuben Cummings" To: "Access Developers discussion and problem solving" Sent: 10 September, 2004 5:47 PM Subject: RE: [AccessD] emailing a newsletter > Augusta, I sent you a copy of a very small db that I have than can do what > you are after. > > Reuben Cummings > GFC, LLC > phone: 812.523.1017 > email: reuben at gfconsultants.com > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of augusta > > Sent: Friday, September 10, 2004 9:30 AM > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] emailing a newsletter > > > > > > I have a client who has about 700 email addresses within an > > Access database > > to whom she would like to send a newsletter. > > > > Can anyone suggest a good way of going about this, other than > > query/copy/paste in to outlook? Also, for some reason when she > > does it this > > way, she can only use about 50 address. > > > > Thanks augusta > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Sep 13 06:46:50 2004 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 13 Sep 2004 06:46:50 -0500 Subject: [AccessD] MS Access to VB6 or VB.net In-Reply-To: <26592636.1095067601864.JavaMail.root@sniper6.usinternet.com> Message-ID: <000001c49987$5ba4d3e0$de1811d8@danwaters> Richard, I've recently seen that whenever I compress a database FE, the compressed size is 20% - 25% of its original size. This would make emailing a FE a bit easier. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 4:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Mon Sep 13 07:02:30 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Mon, 13 Sep 2004 08:02:30 -0400 Subject: [AccessD] MS Access to VB6 or VB.net References: <000001c49987$5ba4d3e0$de1811d8@danwaters> Message-ID: <007201c49989$8ff71340$9865fea9@BILLONE> I'm not a .NET expert by any means and don't plan on becoming one, but I would like to mention that the learning curve is pretty steep. Charlotte and a few others here are tackling it and I'm sure they can give you some excellent advice. Begs the question -- is rewriting or actually creating a new app the best way to learn a new technology? I know that I, personally, probably would not try it -- I don't think I could learn it and do a good job at the same time. But then, I don't "develop" in the same way you guys do - development is not my livlihood. On the other hand, I have the luxury of being able to write about what I learn, as I'm learning, so that takes the edge off of the whole experience for me. I know many of you can't stop working to learn -- you have to try to do both at the same time -- which is what I'm doing myself. Susan H. > What I can't gauge here is how significant these issues are (and any other > issues). So what I am hoping to get here is how you would approach this > conundrum - tried and tested VB6 or new VB.net? From michael at ddisolutions.com.au Mon Sep 13 07:38:12 2004 From: michael at ddisolutions.com.au (Michael Maddison) Date: Mon, 13 Sep 2004 22:38:12 +1000 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D01011B8C@ddi-01.DDI.local> Given your target market I'd probably stick with VB6. VB6 will be supported for many years to come yet! Port to VB, then in your spare time start rewriting in .net You will probably rewrite your 1st attempts a few times as you pick it up anyway so if you are confident in VB6 stick with that for your bread n butter. cheers Michael M Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Sep 13 07:44:35 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 13 Sep 2004 08:44:35 -0400 Subject: [AccessD] MS Access to VB6 or VB.net In-Reply-To: Message-ID: Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Mon Sep 13 07:58:25 2004 From: JHewson at karta.com (Jim Hewson) Date: Mon, 13 Sep 2004 07:58:25 -0500 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0103E2FE@karta-exc-int.Karta.com> I'm at #4. I don't have the time nor the inclination to learn it. Jim Hewson -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Mon Sep 13 08:12:34 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Mon, 13 Sep 2004 09:12:34 -0400 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: <08F823FD83787D4BA0B99CA580AD3C74089B8C@TTNEXCHCL2.hshhp.com> If you're an Access developer and plan on remaining one forever then maybe (and only maybe) you can choose to ignore the .NET platform. There's always talk of a .NET supported Access version so you may well need to look at it at some time. If you're interested in web development than it should not be ignored (and in fact should be considered) and although there are still security issues web services give us a chance to talk to disparate systems and ease creation of distributed applications. There are already hooks into Word and Excel so can Access be far behind? I doubt it (IMHO). Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Monday, September 13, 2004 8:58 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net I'm at #4. I don't have the time nor the inclination to learn it. Jim Hewson -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Jeff at OUTBAKTech.com Mon Sep 13 08:29:26 2004 From: Jeff at OUTBAKTech.com (Jeff Barrows) Date: Mon, 13 Sep 2004 08:29:26 -0500 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: <8DA8776D2F418E46A2A464AC6CE630500326B9@outbaksrv1.outbaktech.com> #2 I even got MCAD, MCSD Certified Jeff B -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Mon 9/13/2004 7:58 AM To: Access Developers discussion and problem solving Cc: Subject: RE: [AccessD] MS Access to VB6 or VB.net I'm at #4. I don't have the time nor the inclination to learn it. Jim Hewson -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From R.Griffiths at bury.gov.uk Mon Sep 13 08:37:24 2004 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Mon, 13 Sep 2004 14:37:24 +0100 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: Dan Its been compacted and mde'd - reports etc take up space (I know I could write a separate FE for reports but this is what I am trying to avoid - using VB and crystal allows new reports to be send quickly and easily for example) thanks Richard -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Mon 13/09/2004 12:46 To: 'Access Developers discussion and problem solving' Cc: Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I've recently seen that whenever I compress a database FE, the compressed size is 20% - 25% of its original size. This would make emailing a FE a bit easier. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 4:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Mon Sep 13 08:40:36 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Mon, 13 Sep 2004 08:40:36 -0500 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: <100F91B31300334B89EC531C9DCB0865065942@tccexch01.tappeconstruction.net> #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From jwcolby at colbyconsulting.com Mon Sep 13 09:03:46 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 13 Sep 2004 10:03:46 -0400 Subject: [AccessD] MS Access to VB6 or VB.net In-Reply-To: <100F91B31300334B89EC531C9DCB0865065942@tccexch01.tappeconstruction.net> Message-ID: <001f01c4999a$80f771d0$e8dafea9@ColbyM6805> >after a week long boot camp course, I firmly believe that it's the best tool for the job The primary function of boot camp is brainwashing. ;-) I went to boot camp, I know! However I agree with you, .net is a VERY powerful tool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From R.Griffiths at bury.gov.uk Mon Sep 13 09:10:52 2004 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Mon, 13 Sep 2004 15:10:52 +0100 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: Hi Thanks for all your replies (keep'em coming). A few months ago I was leaning towards keeping it to VB6 but since then I have started using VB.net...and after initial head scratching it appears to be not that difficult ie learning curve less steep that I first thought (just talking usual VB/VBA application development - not the whole .net thingy). It reminds me a little like when I started using VB6 after many years of MS Access (I thought VB6 was going to be this daunting big programming thing - but its (VB6) as simple (or otherwise) as Access/VBA. I think VB.net will be the same (there is tons of free code to help you on the net). I am also leaning towards .net as when you've programmed for many years I find that sometimes you hit saturation point i.e. you can't face writing another line of code - the one thing that can overcome this is new technology/languages etc. and this challenge refeshes the programming desire within - I find anyway. As I was unsure of the deployment issue I did do some testing this morning and copied dotnetfx.exe (redistributable .net framework) to a W98 machine and installed - no problems. Installed Data Access 2.7 - no problems. I then simply copied an A2K BE mdb over with Vb.net exe . Double-clicked the exe and pleasingly/surprisingly it loaded the form, connected the db and ran okay. (I know this is a limited one machine test). I'm still not sure which way to go (especially as the replies thus far lean away from VB.Net) but I shall welcome further replies. Many thanks Richard -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Mon 13/09/2004 13:44 To: Access Developers discussion and problem solving Cc: Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Sep 13 09:29:48 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 13 Sep 2004 09:29:48 -0500 Subject: [AccessD] Fw: Tab limits for tab controls Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB369@main2.marlow.com> Interesting. only read the first half though. As far as interface flaws, one of the worst I have seen, is the Microsoft Access User Level Security. There is no problem with tabs, but what is extremely aggrevating is the incessant need for the system for you to press Okay after every change. If you don't press Okay, you are prompted if you want to apply the change you just made each and every time. Ugh. I know this applies to Access 97, don't know if later versions changed that or not. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Friday, September 10, 2004 5:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fw: Tab limits for tab controls On 10 Sep 2004 at 9:50, Susan Harkins wrote: > I don't need that many -- but I'm writing about them and that's just part of > the information -- I need to tell them how many tabs are allowed -- just > part of a comprehensive look at the control. Don't worry, I'm also telling > the gentle reader to NOT use them all. ;) > I hope you are also covering the material in, or pointing the gentle reader to the Interface Hall of Shame section on tab controls: http://digilander.libero.it/chiediloapippo/Engineering/iarchitect/tabs.htm -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Sep 13 09:35:58 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 13 Sep 2004 09:35:58 -0500 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB36A@main2.marlow.com> VB 6 is going to last a long time. It is going to take a major, VERY major OS change to require 'upgrading' VB 6.0 applications. If you have some clients that cannot even use VB.NET yet, I would say that isn't even an option then. Just out of curiousity, why change the backend? With a VB interface, Access is no longer required at all, and you can you any version you want. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 4:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Sep 13 09:53:24 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 13 Sep 2004 09:53:24 -0500 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB36B@main2.marlow.com> I got the .Net package from watching those movies. I was pretty much in the #4. Category. I think I am still there. I don't think the learning curve is all that big. I didn't have a problem with it. I've played around with Visual C++ before, though, so I was sort of used to some of the quirks a raw VB programmer wouldn't normally experience. Quite frankly, if they would have come out with a VB 7.0, which stuck to VB 6.0, and just added inheritance, I would be as happy as a pig in mud. That is the only saving grace of .Net, in my opinion. Implements is nice, but is a far cry from inheritance, and it requires a lot more work to even use. .Net has a lot of drawbacks too, which makes the transition that much more difficult to swallow. For one, the .Net Framework is not a small 1.4 meg installation. I have heard of many 'versioning' issues too, though I couldn't personally verify any. Then in the development environment, you have things like the forced tabbed text structure. It doesn't tab incorrectly (or at least I haven't seen an example yet), but it is just plain annoying when you are used to tabbing your own code, the way you like it. It tabs more frequently then I normally would. (Not sure if there is a setting to turn that off, I think I looked but didn't find anything). There is a nifty 'code help' feature, that will underscore code that won't work, and give advice as to fix, but I think they did a half baked job on that. One of the first things I got into, in .NET, was to create a class object. In VB 6, you can use Property Get, Let, and Set statements. In .NET, you actually use Get and Set, but not declared the same way. On top of that, it barks if you use a Property statement, with a Get, but no Set. If you don't use Set, you are supposed to declare the property to be read only. Thought that was kind of stupid, because the compiler should be able to determine that on it's own, based on whether or not there is a Set statement. Like I said, if they had just added inheritance to VB 6.0, they would have done a lot better in getting developers to move to a new platform. That's just my opinion though. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Sep 13 09:58:57 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 13 Sep 2004 09:58:57 -0500 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB36C@main2.marlow.com> Just curious JC, other then inheritance, what else have you found that make .NET that much more powerful then VB? I honestly didn't see anything. I want to know if I'm completely ignoring other capabilities. (I know about .Net's ability to create an NT Service and Command Line utility, but I write VB 6.0 NT Services blind folded now, and they run just fine. Never really had much use for a Command Line utility, either.....) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 9:04 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net >after a week long boot camp course, I firmly believe that it's the best tool for the job The primary function of boot camp is brainwashing. ;-) I went to boot camp, I know! However I agree with you, .net is a VERY powerful tool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ebarro at afsweb.com Mon Sep 13 10:22:07 2004 From: ebarro at afsweb.com (Eric Barro) Date: Mon, 13 Sep 2004 08:22:07 -0700 Subject: [AccessD] MS Access to VB6 or VB.net In-Reply-To: Message-ID: I'm at #1. Most of what I develop is web-based utilizing ASP.NET and SQL server. I also develop applications in VB6 and MS Access 97 and MS Access 2000 but the majority is .NET. There is a learning curve and this applies to any programming language. The only way to get really good at it is to learn it inside and out. So the learning curve is a given. For those contemplating .NET here are some of my personal observations... 1. You can take your VB6 code straight into VB.NET and use the code base by referencing the Microsoft.VisualBasic libraries. That will get you started until you get comfortable rewriting the code to take advantage of .NET's strengths which are outlined in the following points. 2. ADO.NET is way much faster than ADO because of the way the connections are handled. 3. The StringBuilder class addresses one of the weak spots of VB -- string handling. It is faster and more efficient. 4. Has anyone ever used the built-in datagrid control in VB6? Compare that with the datagrid control in .NET and you will realize that the datagrid control in VB6 was a mere prototype. No wonder most VB6 developers avoided it and replaced it with 3rd party controls. 5. You can take the same code and easily transform it into a web-based app as opposed to a windows app. 6. VB.NET and C# (syntax-wise) now look so much more like siblings than they ever did. So you can leverage your VB.NET knowledge and be "conversant" in C#. Performance wise they are now the same since both, when compiled, make use of the Common Language Runtime which is the execution engine for the .NET framework. 7. VB.NET is object oriented programming. 8. As far as application deployment is concerned what can be simpler than having your end-users download and install the .NET framework on their machines? Contrast this with what you currently have with VB6 and the ActiveX/COM interface where you need to ensure that your app, which might be dependent on DLLs and OCXs and OLBs and TLBs, will find those (and mind you...the correct versions too as the ones you used on your development machine) on the users machine? Those are just some of what I've discovered while developing in .NET. .NET examples and articles are the majority of what show up when you Google for VB code samples. There are so many examples out on the web that will help you learn the basics and get your feet wet. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 5:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sep 13 10:24:14 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 13 Sep 2004 11:24:14 -0400 Subject: [AccessD] MS Access to VB6 or VB.net In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8031BB36C@main2.marlow.com> Message-ID: <002601c499a5$bdb11850$e8dafea9@ColbyM6805> I'm not a vb6 programmer so I can't comment on that. However I am talking about prebuilt classes to do things. Look at the collection classes as an example. The class can be subclassed, but already has a ton of stuff already there. Also wrappers to windows API stuff. Things like encryption, and the like. I know it's a huge thing to learn but there are TONS of classes (end user classes) that allow you to do things natively that you'd be out searching the web for code to do in VB or Access. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, September 13, 2004 10:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MS Access to VB6 or VB.net Just curious JC, other then inheritance, what else have you found that make .NET that much more powerful then VB? I honestly didn't see anything. I want to know if I'm completely ignoring other capabilities. (I know about .Net's ability to create an NT Service and Command Line utility, but I write VB 6.0 NT Services blind folded now, and they run just fine. Never really had much use for a Command Line utility, either.....) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 9:04 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net >after a week long boot camp course, I firmly believe that it's the best tool for the job The primary function of boot camp is brainwashing. ;-) I went to boot camp, I know! However I agree with you, .net is a VERY powerful tool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Sep 13 10:40:52 2004 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 13 Sep 2004 10:40:52 -0500 Subject: [AccessD] MS Access to VB6 or VB.net In-Reply-To: <25635600.1095083235247.JavaMail.root@sniper7.usinternet.com> Message-ID: <001001c499a8$0d773c50$de1811d8@danwaters> Richard - I assumed that you had compacted, and hadn't thought of making this an MDE. Now that you've done that, try compressing with WinZip or something similar. Or, you can right-click the file, select Send To, then select Compressed (zipped) Folder. Might help! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 8:37 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Dan Its been compacted and mde'd - reports etc take up space (I know I could write a separate FE for reports but this is what I am trying to avoid - using VB and crystal allows new reports to be send quickly and easily for example) thanks Richard -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Mon 13/09/2004 12:46 To: 'Access Developers discussion and problem solving' Cc: Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I've recently seen that whenever I compress a database FE, the compressed size is 20% - 25% of its original size. This would make emailing a FE a bit easier. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 4:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Sep 13 10:58:17 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 13 Sep 2004 08:58:17 -0700 Subject: [AccessD] Section is a Reserved Word? How to refer to a Field ofThat Name Message-ID: Forms have a section property, so you are probably colliding with that when you try to set a value, especially with the syntax shown in your example. You're referring to the controls as members of an unspecified collection rather than using the bang (!) to specify the controls. If you do that with Section, the jet engine is going to assume you're trying to set a section property and object to the fact that you haven't specified WHICH section (i.e., the missing argument). Access 2000 and up really don't appreciate a field called Section. We had to change fields with that name in all our apps when we migrated. The only way to get around the problem that I know of in code is to use something like [Forms]![MyForm]![Section] for the form, and rst.Fields("Section") for a recordset. You should talk to your DBA about changing that field name before it gives you more headaches. Charlotte Foust -----Original Message----- From: Nicholson, Karen [mailto:cyx5 at cdc.gov] Sent: Friday, September 10, 2004 12:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Section is a Reserved Word? How to refer to a Field ofThat Name This code works and compiles just fine: If ([Forms]![frmASRSSectInit].[RequestType] <> "site audit" _ And [Forms]![frmASRSSectInit].[Status] = "Open" _ And [Forms]![frmASRSSectInit].[ysnCBRNTest] = 0 _ And Not IsNull([Forms]![frmASRSSectInit].[ASSectCompletedDate])) _ And IsNull([Forms]![frmASRSSectInit].[CBRN_FinalTestReport]) _ Then [Forms]![frmASRSSectInit].[ysnCBRNTest] = -1 End If However, there is a numeric field in my table and on my form named: Section. It must be a reserved word, because when I change the code to specify that the section should equal 2, I get a compile error, argument not optional. Yikes! A Friday headache is upon me. What ever can I do to get around this? I can't change the field name as it is an SQL backend and the damn would break. If ([Forms]![frmASRSSectInit].[RequestType] <> "site audit" _ And [Forms]![frmASRSSectInit].[Status] = "Open" _ And [Forms]![frmASRSSectInit].[ysnCBRNTest] = 0 _ And [Forms]![frmASRSSectInit].[Section] = 1 _ And Not IsNull([Forms]![frmASRSSectInit].[ASSectCompletedDate])) _ And IsNull([Forms]![frmASRSSectInit].[CBRN_FinalTestReport]) _ Then [Forms]![frmASRSSectInit].[ysnCBRNTest] = -1 End If Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Sep 13 11:05:37 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 13 Sep 2004 09:05:37 -0700 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: >> How about a quick un-scientific poll? I'm somewhere between #1 and #2. I'm modifying a web-based app another developer started in order to get my feet wet and get my brain more firmly wrapped around VB.Net. I won't say I know it, but I'm learning as I go. Our company has made the decision to move to .Net as Access becomes more firmly positioned as an end-user tool rather than a development platform. I disagree with Microsoft in that respect, and I'll keep working with Access as well, but I also see the handwriting on the wall. Charlotte Foust From accessd at shaw.ca Mon Sep 13 11:25:32 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 13 Sep 2004 09:25:32 -0700 Subject: [AccessD] MS Access to VB6 or VB.net In-Reply-To: Message-ID: Hi Richard: IMHO the best choice would be VB.NET. The main concern I would have was about the reporting issues and that it will most likely require a third-party piece of software if the reports are complicated. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 2:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Sep 13 11:54:19 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 13 Sep 2004 09:54:19 -0700 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: We decided on Active Reports, and we really like them. A lot of their functionality, like the subreports, is very similar to Access reports. Charlotte Foust -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Monday, September 13, 2004 9:26 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Hi Richard: IMHO the best choice would be VB.NET. The main concern I would have was about the reporting issues and that it will most likely require a third-party piece of software if the reports are complicated. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 2:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Mon Sep 13 12:45:40 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Mon, 13 Sep 2004 13:45:40 -0400 Subject: [AccessD] OT: OE question Message-ID: <009a01c499b9$995a7be0$9865fea9@BILLONE> I'm using OE temporarily -- it won't allow attachments. I don't remember having this problem when I used it a few years ago. I've checked Help, the options -- how can I get my attachments? Susan H. From jimdettman at earthlink.net Mon Sep 13 12:55:48 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 13 Sep 2004 13:55:48 -0400 Subject: [AccessD] MS Access to VB6 or VB.net In-Reply-To: <100F91B31300334B89EC531C9DCB0865065942@tccexch01.tappeconstruction.net> Message-ID: Brett, <> I was in the same place several years ago. .Net was brand new and not much was around. I also wanted to get a standalone .EXE, get away from reference headaches with Access, etc. So I picked up VFP (Visual FoxPro). I must say I was disappointed at first because so many people I spoke with raved about it. While it had very strong database and OO capabilities, some of it was just plain junk. That's changed quite a bit as Microsoft has continued to add to the product. It has released two major versions since then with a third on the way. It too had a steep learning curve. <> I said that in light of the fact that .Net has been around for several years now and yet very few shops use it or are just getting into using it. Even Microsoft has said publicly that the response has been poor. They had to back off the whole .Net centric campaign and have refocused once again. And while that may have born some fruit, it seems for the most part that .Net is still not main stream. <> Been there done that and this isn't about that. I was mainly curious if .Net was catching on down in the trenches or still ho-hum. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Mon Sep 13 13:01:51 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Mon, 13 Sep 2004 14:01:51 -0400 Subject: [AccessD] OT: OE question Message-ID: <08F823FD83787D4BA0B99CA580AD3C74089B99@TTNEXCHCL2.hshhp.com> Susan, I can't recall the command but if you find the Options dialog you can enable allowing attachments from there. If you can't find it what I did until I found it was forward the message (but don't send) then open the attachnent from your unforwarded forward. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Monday, September 13, 2004 1:46 PM To: AccessD Subject: [AccessD] OT: OE question I'm using OE temporarily -- it won't allow attachments. I don't remember having this problem when I used it a few years ago. I've checked Help, the options -- how can I get my attachments? Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From cyx5 at cdc.gov Mon Sep 13 13:08:10 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Mon, 13 Sep 2004 14:08:10 -0400 Subject: [AccessD] Section is a Reserved Word? How to refer to a FieldofThat Name Message-ID: I have spent the last 1.5 years doing nothin' but SQL. Now I have a new job and I am taking about ten or eleven bad bad Access 2002 FE's with SQL 2000 BE's and converting a million macros to code, fixing the flat as a board data structure, etc. I guess I have forgotten some things about Access during my time away from it. I am getting back on board and having some fun. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, September 13, 2004 11:58 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Section is a Reserved Word? How to refer to a FieldofThat Name Forms have a section property, so you are probably colliding with that when you try to set a value, especially with the syntax shown in your example. You're referring to the controls as members of an unspecified collection rather than using the bang (!) to specify the controls. If you do that with Section, the jet engine is going to assume you're trying to set a section property and object to the fact that you haven't specified WHICH section (i.e., the missing argument). Access 2000 and up really don't appreciate a field called Section. We had to change fields with that name in all our apps when we migrated. The only way to get around the problem that I know of in code is to use something like [Forms]![MyForm]![Section] for the form, and rst.Fields("Section") for a recordset. You should talk to your DBA about changing that field name before it gives you more headaches. Charlotte Foust -----Original Message----- From: Nicholson, Karen [mailto:cyx5 at cdc.gov] Sent: Friday, September 10, 2004 12:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Section is a Reserved Word? How to refer to a Field ofThat Name This code works and compiles just fine: If ([Forms]![frmASRSSectInit].[RequestType] <> "site audit" _ And [Forms]![frmASRSSectInit].[Status] = "Open" _ And [Forms]![frmASRSSectInit].[ysnCBRNTest] = 0 _ And Not IsNull([Forms]![frmASRSSectInit].[ASSectCompletedDate])) _ And IsNull([Forms]![frmASRSSectInit].[CBRN_FinalTestReport]) _ Then [Forms]![frmASRSSectInit].[ysnCBRNTest] = -1 End If However, there is a numeric field in my table and on my form named: Section. It must be a reserved word, because when I change the code to specify that the section should equal 2, I get a compile error, argument not optional. Yikes! A Friday headache is upon me. What ever can I do to get around this? I can't change the field name as it is an SQL backend and the damn would break. If ([Forms]![frmASRSSectInit].[RequestType] <> "site audit" _ And [Forms]![frmASRSSectInit].[Status] = "Open" _ And [Forms]![frmASRSSectInit].[ysnCBRNTest] = 0 _ And [Forms]![frmASRSSectInit].[Section] = 1 _ And Not IsNull([Forms]![frmASRSSectInit].[ASSectCompletedDate])) _ And IsNull([Forms]![frmASRSSectInit].[CBRN_FinalTestReport]) _ Then [Forms]![frmASRSSectInit].[ysnCBRNTest] = -1 End If Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Mon Sep 13 13:11:43 2004 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 13 Sep 2004 14:11:43 -0400 Subject: [AccessD] OT: OE question In-Reply-To: <009a01c499b9$995a7be0$9865fea9@BILLONE> References: <009a01c499b9$995a7be0$9865fea9@BILLONE> Message-ID: On Mon, 13 Sep 2004 13:45:40 -0400, Susan Harkins wrote: > I'm using OE temporarily -- it won't allow attachments. I don't remember having this problem when I used it a few years ago. I've checked Help, the options -- how can I get my attachments? http://support.microsoft.com/?kbid=329570 will give you the steps to get at your attachments. -- 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 Mon Sep 13 13:24:43 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 13 Sep 2004 11:24:43 -0700 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: It's catching on in *our* trenches! I like working with it and our next major versions are going to be all VB.Net in part because it allows us to do things the clients want but that would have been difficult to impossible in Access. And it allows us to build Web-based interfaces for clients who want them without having to write different code for the Windows-based and web-based interfaces. I think that's worth the learning curve. Charlotte Foust -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, September 13, 2004 10:56 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Brett, <> I was in the same place several years ago. .Net was brand new and not much was around. I also wanted to get a standalone .EXE, get away from reference headaches with Access, etc. So I picked up VFP (Visual FoxPro). I must say I was disappointed at first because so many people I spoke with raved about it. While it had very strong database and OO capabilities, some of it was just plain junk. That's changed quite a bit as Microsoft has continued to add to the product. It has released two major versions since then with a third on the way. It too had a steep learning curve. <> I said that in light of the fact that .Net has been around for several years now and yet very few shops use it or are just getting into using it. Even Microsoft has said publicly that the response has been poor. They had to back off the whole .Net centric campaign and have refocused once again. And while that may have born some fruit, it seems for the most part that .Net is still not main stream. <> Been there done that and this isn't about that. I was mainly curious if .Net was catching on down in the trenches or still ho-hum. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ------------------------------------------------------------------------ ---- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pharold at proftesting.com Mon Sep 13 13:45:32 2004 From: pharold at proftesting.com (Perry Harold) Date: Mon, 13 Sep 2004 14:45:32 -0400 Subject: [AccessD] OT: OE question In-Reply-To: <009a01c499b9$995a7be0$9865fea9@BILLONE> Message-ID: <000a01c499c1$d96d18c0$082da8c0@D58BT131> In Options, Security tab is a check box to allow or disallow attachments. Perry Harold -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, September 13, 2004 1:46 PM To: AccessD Subject: [AccessD] OT: OE question I'm using OE temporarily -- it won't allow attachments. I don't remember having this problem when I used it a few years ago. I've checked Help, the options -- how can I get my attachments? Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pharold at proftesting.com Mon Sep 13 13:46:51 2004 From: pharold at proftesting.com (Perry Harold) Date: Mon, 13 Sep 2004 14:46:51 -0400 Subject: [AccessD] OT: OE question In-Reply-To: <009a01c499b9$995a7be0$9865fea9@BILLONE> Message-ID: <000b01c499c2$0885ad20$082da8c0@D58BT131> Sorry Tools, Options, Security then check or uncheck box. Perry Harold -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, September 13, 2004 1:46 PM To: AccessD Subject: [AccessD] OT: OE question I'm using OE temporarily -- it won't allow attachments. I don't remember having this problem when I used it a few years ago. I've checked Help, the options -- how can I get my attachments? Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Mon Sep 13 14:18:03 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Mon, 13 Sep 2004 15:18:03 -0400 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: <08F823FD83787D4BA0B99CA580AD3C74089B9A@TTNEXCHCL2.hshhp.com> FWIW and not to take anything away from .NET but you *can* use the same data access and biz rules code in VB and ASP apps via compliled code (aka dlls). One big plus for .NET in this arena is that a lot of the display code is either the same or similar between ASP.NET apps and WinForms apps (just look at the code to bind your data to a web grid or windows data grid. It's virtually the same). Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, September 13, 2004 2:25 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net It's catching on in *our* trenches! I like working with it and our next major versions are going to be all VB.Net in part because it allows us to do things the clients want but that would have been difficult to impossible in Access. And it allows us to build Web-based interfaces for clients who want them without having to write different code for the Windows-based and web-based interfaces. I think that's worth the learning curve. Charlotte Foust -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, September 13, 2004 10:56 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Brett, <> I was in the same place several years ago. .Net was brand new and not much was around. I also wanted to get a standalone .EXE, get away from reference headaches with Access, etc. So I picked up VFP (Visual FoxPro). I must say I was disappointed at first because so many people I spoke with raved about it. While it had very strong database and OO capabilities, some of it was just plain junk. That's changed quite a bit as Microsoft has continued to add to the product. It has released two major versions since then with a third on the way. It too had a steep learning curve. <> I said that in light of the fact that .Net has been around for several years now and yet very few shops use it or are just getting into using it. Even Microsoft has said publicly that the response has been poor. They had to back off the whole .Net centric campaign and have refocused once again. And while that may have born some fruit, it seems for the most part that .Net is still not main stream. <> Been there done that and this isn't about that. I was mainly curious if .Net was catching on down in the trenches or still ho-hum. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ------------------------------------------------------------------------ ---- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From ssharkins at bellsouth.net Mon Sep 13 13:28:17 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Mon, 13 Sep 2004 14:28:17 -0400 Subject: [AccessD] OT: OE question References: <08F823FD83787D4BA0B99CA580AD3C74089B99@TTNEXCHCL2.hshhp.com> Message-ID: <002701c499c7$efceb6e0$9865fea9@BILLONE> Thanks jim -- I did find it on Options -- Security -- don't know how I missed it before, but I did. Thanks! Susan H. > Susan, > > I can't recall the command but if you find the Options dialog you can enable allowing attachments from there. If you can't find it what I did until I found it was forward the message (but don't send) then open the attachnent from your unforwarded forward. > > Jim DeMarco > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Monday, September 13, 2004 1:46 PM > To: AccessD > Subject: [AccessD] OT: OE question > > > I'm using OE temporarily -- it won't allow attachments. I don't remember having this problem when I used it a few years ago. I've checked Help, the options -- how can I get my attachments? > > Susan H. > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > > **************************************************************************** ******* > "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > **************************************************************************** ******* > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Sep 13 15:42:03 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 13 Sep 2004 15:42:03 -0500 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB36D@main2.marlow.com> I think it's a matter of perception and scope. API's are second nature to me, so I don't see 'new' features of .Net, I just see repackaged capabilities. If you don't use API's (and know how to find them....(easiest way is to find one, and go up the tree and save it in Favorites as a Bookmark)), then you 'see' new features of .Net as new capabilities, instead of repackaged API's. Take the FileScriptingObject. Just a wrapper. A lot of what VB has native is faster then FSO, and with the API's, it's even faster (and more powerful). Case in point, Mike Mattys and I worked on a site together, which displays pictures of properties based on the MLS numbers. All of the pictures started with their MLS number, but could have anything after it (1, 4,6,whatever....). The site had to be in true ASP (no VB .dll's....though in retrospect, that condition disappeared...grin, cause I'm hosting the site....). In ASP, Dir is not an option. And in FSO, you can't 'search' for a conditional file. So if I wanted to find all of the pics for MLS 12345, with VB, I would use strTemp=Dir("C:\MyPath\12345*.jpg") and just repeat that until it returned an empty string. With FSO, I had two approaches. I had to try to find every possible 'combination', (12345-1, 12345-2), etc, and that took a while, with all of the files in the same folder. (because it went and loaded the files in the Files collection). Dir didn't have that problem. What I ended up doing was to just create an 'update' process that sorted everything into it's own subfolders. A lot more time on the update process, but it allowed the FSO to open a specific folder with only the applicable files. Same with .Net, they may be prepackaging everything, but don't be surprised if certain functionality isn't actually there.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 10:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net I'm not a vb6 programmer so I can't comment on that. However I am talking about prebuilt classes to do things. Look at the collection classes as an example. The class can be subclassed, but already has a ton of stuff already there. Also wrappers to windows API stuff. Things like encryption, and the like. I know it's a huge thing to learn but there are TONS of classes (end user classes) that allow you to do things natively that you'd be out searching the web for code to do in VB or Access. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, September 13, 2004 10:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MS Access to VB6 or VB.net Just curious JC, other then inheritance, what else have you found that make .NET that much more powerful then VB? I honestly didn't see anything. I want to know if I'm completely ignoring other capabilities. (I know about .Net's ability to create an NT Service and Command Line utility, but I write VB 6.0 NT Services blind folded now, and they run just fine. Never really had much use for a Command Line utility, either.....) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 9:04 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net >after a week long boot camp course, I firmly believe that it's the best tool for the job The primary function of boot camp is brainwashing. ;-) I went to boot camp, I know! However I agree with you, .net is a VERY powerful tool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marcus at tsstech.com Mon Sep 13 16:17:05 2004 From: marcus at tsstech.com (Scott Marcus) Date: Mon, 13 Sep 2004 17:17:05 -0400 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: Drew, Are you saying that .Net uses wrappers? The problem with API's is dll hell. My understanding of .Net is that .Net does not rely on those API's. What are you trying to say about searching a directory structure in ASP? Are you talking about ASP or ASP.Net? I've searched a directory structure using VB.Net and didn't have to try to find every possible combination of the file. I'm trying to understand your post. Please clarify. Scott Marcus -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, September 13, 2004 4:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MS Access to VB6 or VB.net I think it's a matter of perception and scope. API's are second nature to me, so I don't see 'new' features of .Net, I just see repackaged capabilities. If you don't use API's (and know how to find them....(easiest way is to find one, and go up the tree and save it in Favorites as a Bookmark)), then you 'see' new features of .Net as new capabilities, instead of repackaged API's. Take the FileScriptingObject. Just a wrapper. A lot of what VB has native is faster then FSO, and with the API's, it's even faster (and more powerful). Case in point, Mike Mattys and I worked on a site together, which displays pictures of properties based on the MLS numbers. All of the pictures started with their MLS number, but could have anything after it (1, 4,6,whatever....). The site had to be in true ASP (no VB .dll's....though in retrospect, that condition disappeared...grin, cause I'm hosting the site....). In ASP, Dir is not an option. And in FSO, you can't 'search' for a conditional file. So if I wanted to find all of the pics for MLS 12345, with VB, I would use strTemp=Dir("C:\MyPath\12345*.jpg") and just repeat that until it returned an empty string. With FSO, I had two approaches. I had to try to find every possible 'combination', (12345-1, 12345-2), etc, and that took a while, with all of the files in the same folder. (because it went and loaded the files in the Files collection). Dir didn't have that problem. What I ended up doing was to just create an 'update' process that sorted everything into it's own subfolders. A lot more time on the update process, but it allowed the FSO to open a specific folder with only the applicable files. Same with .Net, they may be prepackaging everything, but don't be surprised if certain functionality isn't actually there.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 10:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net I'm not a vb6 programmer so I can't comment on that. However I am talking about prebuilt classes to do things. Look at the collection classes as an example. The class can be subclassed, but already has a ton of stuff already there. Also wrappers to windows API stuff. Things like encryption, and the like. I know it's a huge thing to learn but there are TONS of classes (end user classes) that allow you to do things natively that you'd be out searching the web for code to do in VB or Access. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, September 13, 2004 10:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MS Access to VB6 or VB.net Just curious JC, other then inheritance, what else have you found that make .NET that much more powerful then VB? I honestly didn't see anything. I want to know if I'm completely ignoring other capabilities. (I know about .Net's ability to create an NT Service and Command Line utility, but I write VB 6.0 NT Services blind folded now, and they run just fine. Never really had much use for a Command Line utility, either.....) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 9:04 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net >after a week long boot camp course, I firmly believe that it's the best tool for the job The primary function of boot camp is brainwashing. ;-) I went to boot camp, I know! However I agree with you, .net is a VERY powerful tool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ------------------------------------------------------------------------ ---- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Sep 13 16:20:58 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 13 Sep 2004 14:20:58 -0700 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: I think you're just trying to get a "discussion" going, Drew. Nobody said you had to agree or switch. Charlotte Foust -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Monday, September 13, 2004 1:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MS Access to VB6 or VB.net I think it's a matter of perception and scope. API's are second nature to me, so I don't see 'new' features of .Net, I just see repackaged capabilities. If you don't use API's (and know how to find them....(easiest way is to find one, and go up the tree and save it in Favorites as a Bookmark)), then you 'see' new features of .Net as new capabilities, instead of repackaged API's. Take the FileScriptingObject. Just a wrapper. A lot of what VB has native is faster then FSO, and with the API's, it's even faster (and more powerful). Case in point, Mike Mattys and I worked on a site together, which displays pictures of properties based on the MLS numbers. All of the pictures started with their MLS number, but could have anything after it (1, 4,6,whatever....). The site had to be in true ASP (no VB .dll's....though in retrospect, that condition disappeared...grin, cause I'm hosting the site....). In ASP, Dir is not an option. And in FSO, you can't 'search' for a conditional file. So if I wanted to find all of the pics for MLS 12345, with VB, I would use strTemp=Dir("C:\MyPath\12345*.jpg") and just repeat that until it returned an empty string. With FSO, I had two approaches. I had to try to find every possible 'combination', (12345-1, 12345-2), etc, and that took a while, with all of the files in the same folder. (because it went and loaded the files in the Files collection). Dir didn't have that problem. What I ended up doing was to just create an 'update' process that sorted everything into it's own subfolders. A lot more time on the update process, but it allowed the FSO to open a specific folder with only the applicable files. Same with .Net, they may be prepackaging everything, but don't be surprised if certain functionality isn't actually there.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 10:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net I'm not a vb6 programmer so I can't comment on that. However I am talking about prebuilt classes to do things. Look at the collection classes as an example. The class can be subclassed, but already has a ton of stuff already there. Also wrappers to windows API stuff. Things like encryption, and the like. I know it's a huge thing to learn but there are TONS of classes (end user classes) that allow you to do things natively that you'd be out searching the web for code to do in VB or Access. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, September 13, 2004 10:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MS Access to VB6 or VB.net Just curious JC, other then inheritance, what else have you found that make .NET that much more powerful then VB? I honestly didn't see anything. I want to know if I'm completely ignoring other capabilities. (I know about .Net's ability to create an NT Service and Command Line utility, but I write VB 6.0 NT Services blind folded now, and they run just fine. Never really had much use for a Command Line utility, either.....) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 9:04 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net >after a week long boot camp course, I firmly believe that it's the best tool for the job The primary function of boot camp is brainwashing. ;-) I went to boot camp, I know! However I agree with you, .net is a VERY powerful tool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ------------------------------------------------------------------------ ---- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marcus at tsstech.com Mon Sep 13 16:27:33 2004 From: marcus at tsstech.com (Scott Marcus) Date: Mon, 13 Sep 2004 17:27:33 -0400 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: Drew, Because I'm leaving for the day, here is code that easily finds all files in the root directory matching a pattern using .Net. In this case I'm looking for pdf files to process... ' Get list of pdf files to process from the input path Dim pdfDirectory As String() = Directory.GetFiles("C:\", "*.pdf") Dim pdfFile As String For Each pdfFile In pdfDirectory ProcessPDF(pdfFile) Next pdfFile -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Scott Marcus Sent: Monday, September 13, 2004 5:17 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Drew, Are you saying that .Net uses wrappers? The problem with API's is dll hell. My understanding of .Net is that .Net does not rely on those API's. What are you trying to say about searching a directory structure in ASP? Are you talking about ASP or ASP.Net? I've searched a directory structure using VB.Net and didn't have to try to find every possible combination of the file. I'm trying to understand your post. Please clarify. Scott Marcus -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, September 13, 2004 4:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MS Access to VB6 or VB.net I think it's a matter of perception and scope. API's are second nature to me, so I don't see 'new' features of .Net, I just see repackaged capabilities. If you don't use API's (and know how to find them....(easiest way is to find one, and go up the tree and save it in Favorites as a Bookmark)), then you 'see' new features of .Net as new capabilities, instead of repackaged API's. Take the FileScriptingObject. Just a wrapper. A lot of what VB has native is faster then FSO, and with the API's, it's even faster (and more powerful). Case in point, Mike Mattys and I worked on a site together, which displays pictures of properties based on the MLS numbers. All of the pictures started with their MLS number, but could have anything after it (1, 4,6,whatever....). The site had to be in true ASP (no VB .dll's....though in retrospect, that condition disappeared...grin, cause I'm hosting the site....). In ASP, Dir is not an option. And in FSO, you can't 'search' for a conditional file. So if I wanted to find all of the pics for MLS 12345, with VB, I would use strTemp=Dir("C:\MyPath\12345*.jpg") and just repeat that until it returned an empty string. With FSO, I had two approaches. I had to try to find every possible 'combination', (12345-1, 12345-2), etc, and that took a while, with all of the files in the same folder. (because it went and loaded the files in the Files collection). Dir didn't have that problem. What I ended up doing was to just create an 'update' process that sorted everything into it's own subfolders. A lot more time on the update process, but it allowed the FSO to open a specific folder with only the applicable files. Same with .Net, they may be prepackaging everything, but don't be surprised if certain functionality isn't actually there.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 10:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net I'm not a vb6 programmer so I can't comment on that. However I am talking about prebuilt classes to do things. Look at the collection classes as an example. The class can be subclassed, but already has a ton of stuff already there. Also wrappers to windows API stuff. Things like encryption, and the like. I know it's a huge thing to learn but there are TONS of classes (end user classes) that allow you to do things natively that you'd be out searching the web for code to do in VB or Access. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, September 13, 2004 10:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MS Access to VB6 or VB.net Just curious JC, other then inheritance, what else have you found that make .NET that much more powerful then VB? I honestly didn't see anything. I want to know if I'm completely ignoring other capabilities. (I know about .Net's ability to create an NT Service and Command Line utility, but I write VB 6.0 NT Services blind folded now, and they run just fine. Never really had much use for a Command Line utility, either.....) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 9:04 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net >after a week long boot camp course, I firmly believe that it's the best tool for the job The primary function of boot camp is brainwashing. ;-) I went to boot camp, I know! However I agree with you, .net is a VERY powerful tool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ------------------------------------------------------------------------ ---- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Sep 13 17:06:01 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 13 Sep 2004 17:06:01 -0500 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB370@main2.marlow.com> LOL. Not really. Just pointing out that there are differences between NEW features, and repackaged features. OOP is definitely a new feature. The ability to make an NT Service is not new, just repackaged. The discussion was already going, about how people felt about .NET. A lot of VB 6.0's capabilities are not 'visible' as features. With API's, you can do practically anything.....practically. I saw a post about the new version of ADO being faster, I am going to have to look into that.....because that certainly would be an advantage. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, September 13, 2004 4:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net I think you're just trying to get a "discussion" going, Drew. Nobody said you had to agree or switch. Charlotte Foust -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Monday, September 13, 2004 1:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MS Access to VB6 or VB.net I think it's a matter of perception and scope. API's are second nature to me, so I don't see 'new' features of .Net, I just see repackaged capabilities. If you don't use API's (and know how to find them....(easiest way is to find one, and go up the tree and save it in Favorites as a Bookmark)), then you 'see' new features of .Net as new capabilities, instead of repackaged API's. Take the FileScriptingObject. Just a wrapper. A lot of what VB has native is faster then FSO, and with the API's, it's even faster (and more powerful). Case in point, Mike Mattys and I worked on a site together, which displays pictures of properties based on the MLS numbers. All of the pictures started with their MLS number, but could have anything after it (1, 4,6,whatever....). The site had to be in true ASP (no VB .dll's....though in retrospect, that condition disappeared...grin, cause I'm hosting the site....). In ASP, Dir is not an option. And in FSO, you can't 'search' for a conditional file. So if I wanted to find all of the pics for MLS 12345, with VB, I would use strTemp=Dir("C:\MyPath\12345*.jpg") and just repeat that until it returned an empty string. With FSO, I had two approaches. I had to try to find every possible 'combination', (12345-1, 12345-2), etc, and that took a while, with all of the files in the same folder. (because it went and loaded the files in the Files collection). Dir didn't have that problem. What I ended up doing was to just create an 'update' process that sorted everything into it's own subfolders. A lot more time on the update process, but it allowed the FSO to open a specific folder with only the applicable files. Same with .Net, they may be prepackaging everything, but don't be surprised if certain functionality isn't actually there.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 10:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net I'm not a vb6 programmer so I can't comment on that. However I am talking about prebuilt classes to do things. Look at the collection classes as an example. The class can be subclassed, but already has a ton of stuff already there. Also wrappers to windows API stuff. Things like encryption, and the like. I know it's a huge thing to learn but there are TONS of classes (end user classes) that allow you to do things natively that you'd be out searching the web for code to do in VB or Access. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, September 13, 2004 10:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MS Access to VB6 or VB.net Just curious JC, other then inheritance, what else have you found that make .NET that much more powerful then VB? I honestly didn't see anything. I want to know if I'm completely ignoring other capabilities. (I know about .Net's ability to create an NT Service and Command Line utility, but I write VB 6.0 NT Services blind folded now, and they run just fine. Never really had much use for a Command Line utility, either.....) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 9:04 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net >after a week long boot camp course, I firmly believe that it's the best tool for the job The primary function of boot camp is brainwashing. ;-) I went to boot camp, I know! However I agree with you, .net is a VERY powerful tool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ------------------------------------------------------------------------ ---- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Sep 13 17:11:35 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 13 Sep 2004 17:11:35 -0500 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB371@main2.marlow.com> I can't honestly give you an exact answer, because I wasn't involved in the development of .Net, but it certainly wouldn't make sense for .Net to include extra code to handle the same things that API's handle. If it included all of that code, it would be monstrous! As for searching a directory, I was talking about FSO, FileScriptingObject, which you can use in VBScript. You can't use Dir, in ASP (3.0??). It's not allowed. FSO doesn't have a 'searching' feature, other then running through a directory. That can take a LOT of time, if you have tens of thousands of files on your system. FSO is just a 'wrapper' over what you can do with Dir and other direct VB commands, along with API's, but with using the lower level tools, you have a lot more options at your finger tips. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Scott Marcus Sent: Monday, September 13, 2004 4:17 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Drew, Are you saying that .Net uses wrappers? The problem with API's is dll hell. My understanding of .Net is that .Net does not rely on those API's. What are you trying to say about searching a directory structure in ASP? Are you talking about ASP or ASP.Net? I've searched a directory structure using VB.Net and didn't have to try to find every possible combination of the file. I'm trying to understand your post. Please clarify. Scott Marcus -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, September 13, 2004 4:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MS Access to VB6 or VB.net I think it's a matter of perception and scope. API's are second nature to me, so I don't see 'new' features of .Net, I just see repackaged capabilities. If you don't use API's (and know how to find them....(easiest way is to find one, and go up the tree and save it in Favorites as a Bookmark)), then you 'see' new features of .Net as new capabilities, instead of repackaged API's. Take the FileScriptingObject. Just a wrapper. A lot of what VB has native is faster then FSO, and with the API's, it's even faster (and more powerful). Case in point, Mike Mattys and I worked on a site together, which displays pictures of properties based on the MLS numbers. All of the pictures started with their MLS number, but could have anything after it (1, 4,6,whatever....). The site had to be in true ASP (no VB .dll's....though in retrospect, that condition disappeared...grin, cause I'm hosting the site....). In ASP, Dir is not an option. And in FSO, you can't 'search' for a conditional file. So if I wanted to find all of the pics for MLS 12345, with VB, I would use strTemp=Dir("C:\MyPath\12345*.jpg") and just repeat that until it returned an empty string. With FSO, I had two approaches. I had to try to find every possible 'combination', (12345-1, 12345-2), etc, and that took a while, with all of the files in the same folder. (because it went and loaded the files in the Files collection). Dir didn't have that problem. What I ended up doing was to just create an 'update' process that sorted everything into it's own subfolders. A lot more time on the update process, but it allowed the FSO to open a specific folder with only the applicable files. Same with .Net, they may be prepackaging everything, but don't be surprised if certain functionality isn't actually there.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 10:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net I'm not a vb6 programmer so I can't comment on that. However I am talking about prebuilt classes to do things. Look at the collection classes as an example. The class can be subclassed, but already has a ton of stuff already there. Also wrappers to windows API stuff. Things like encryption, and the like. I know it's a huge thing to learn but there are TONS of classes (end user classes) that allow you to do things natively that you'd be out searching the web for code to do in VB or Access. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, September 13, 2004 10:59 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MS Access to VB6 or VB.net Just curious JC, other then inheritance, what else have you found that make .NET that much more powerful then VB? I honestly didn't see anything. I want to know if I'm completely ignoring other capabilities. (I know about .Net's ability to create an NT Service and Command Line utility, but I write VB 6.0 NT Services blind folded now, and they run just fine. Never really had much use for a Command Line utility, either.....) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, September 13, 2004 9:04 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MS Access to VB6 or VB.net >after a week long boot camp course, I firmly believe that it's the best tool for the job The primary function of boot camp is brainwashing. ;-) I went to boot camp, I know! However I agree with you, .net is a VERY powerful tool. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ------------------------------------------------------------------------ ---- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Mon Sep 13 17:20:32 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Mon, 13 Sep 2004 16:20:32 -0600 Subject: [AccessD] Hack Requested - Increase Combo Box Button Size? Message-ID: <198030-22004911322203266@christopherhawkins.com> I suppose the title says it all. I know there are various hacks for playing with the window sizes of everything, but I need to be surgical - I am creating an interface for a touch-screen computer, and it requires the use of a combo box. I need a way to fatten the combo box button and the scroll bar buttons. Has anyone done this before? Either prewritten code or a link in the right direction would be appreciated. -Christopher- Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From stuart at lexacorp.com.pg Mon Sep 13 17:45:23 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 14 Sep 2004 08:45:23 +1000 Subject: [AccessD] MS Access to VB6 or VB.net In-Reply-To: Message-ID: <4146AFA3.32317.17976553@lexacorp.com.pg> On 13 Sep 2004 at 17:17, Scott Marcus wrote: > Drew, > > Are you saying that .Net uses wrappers? > > The problem with API's is dll hell. There's no DLL hell with the API. The Win32 API uses system DLLS which are backward compatible between Windows versions. The majority of API calls work for every version of WIndows from W95 on including all of the most commonly used APIs. If you want to use an API feature that is limited to certain OS versions, you just need to check the OSVersion first. -- Stuart From martyconnelly at shaw.ca Mon Sep 13 15:39:39 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 13 Sep 2004 13:39:39 -0700 Subject: [AccessD] OT: OE question References: <08F823FD83787D4BA0B99CA580AD3C74089B99@TTNEXCHCL2.hshhp.com> <002701c499c7$efceb6e0$9865fea9@BILLONE> Message-ID: <4146058B.1070100@shaw.ca> Good site for Outlook Express FAQ's http://insideoe.tomsterdam.com/ Susan Harkins wrote: >Thanks jim -- I did find it on Options -- Security -- don't know how I >missed it before, but I did. Thanks! > >Susan H. > > > > >>Susan, >> >>I can't recall the command but if you find the Options dialog you can >> >> >enable allowing attachments from there. If you can't find it what I did >until I found it was forward the message (but don't send) then open the >attachnent from your unforwarded forward. > > >>Jim DeMarco >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins >>Sent: Monday, September 13, 2004 1:46 PM >>To: AccessD >>Subject: [AccessD] OT: OE question >> >> >>I'm using OE temporarily -- it won't allow attachments. I don't remember >> >> >having this problem when I used it a few years ago. I've checked Help, the >options -- how can I get my attachments? > > >>Susan H. >>-- >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> >> >> >> >> >> >> >**************************************************************************** >******* > > >>"This electronic message is intended to be for the use only of the named >> >> >recipient, and may contain information from Hudson Health Plan (HHP) that is >confidential or privileged. If you are not the intended recipient, you are >hereby notified that any disclosure, copying, distribution or use of the >contents of this message is strictly prohibited. If you have received this >message in error or are not the named recipient, please notify us >immediately, either by contacting the sender at the electronic mail address >noted above or calling HHP at (914) 631-1611. If you are not the intended >recipient, please do not forward this email to anyone, and delete and >destroy all copies of this message. Thank You". > > >**************************************************************************** >******* > > >>-- >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Mon Sep 13 15:57:17 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 13 Sep 2004 13:57:17 -0700 Subject: [AccessD] MS Access to VB6 or VB.net References: <08F823FD83787D4BA0B99CA580AD3C74089B9A@TTNEXCHCL2.hshhp.com> Message-ID: <414609AD.8020307@shaw.ca> One thing that may start to be difficult is linking the Crypto Api for WSE 2.0 (new methods for securing WebServices). You just call the classes in .Net but it is a real ouch in VB6 or Access if you have to handle encryption of Web Services from scratch. Jim DeMarco wrote: >FWIW and not to take anything away from .NET but you *can* use the same data access and biz rules code in VB and ASP apps via compliled code (aka dlls). One big plus for .NET in this arena is that a lot of the display code is either the same or similar between ASP.NET apps and WinForms apps (just look at the code to bind your data to a web grid or windows data grid. It's virtually the same). > >Jim DeMarco > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte >Foust >Sent: Monday, September 13, 2004 2:25 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] MS Access to VB6 or VB.net > > >It's catching on in *our* trenches! I like working with it and our next >major versions are going to be all VB.Net in part because it allows us >to do things the clients want but that would have been difficult to >impossible in Access. And it allows us to build Web-based interfaces >for clients who want them without having to write different code for the >Windows-based and web-based interfaces. I think that's worth the >learning curve. > >Charlotte Foust > > >-----Original Message----- >From: Jim Dettman [mailto:jimdettman at earthlink.net] >Sent: Monday, September 13, 2004 10:56 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] MS Access to VB6 or VB.net > > >Brett, > ><to me that the new OO capabilities of .NET would be worth the learning >curve.>> > > I was in the same place several years ago. .Net was brand new and not >much was around. I also wanted to get a standalone .EXE, get away from >reference headaches with Access, etc. So I picked up VFP (Visual >FoxPro). I must say I was disappointed at first because so many people I >spoke with raved about it. While it had very strong database and OO >capabilities, some of it was just plain junk. That's changed quite a >bit as Microsoft has continued to add to the product. It has released >two major versions since then with a third on the way. It too had a >steep learning curve. > ><wouldn't say that it has been "poorly received". It's getting tough to >find VB6 articles in print or online.>> > > I said that in light of the fact that .Net has been around for several >years now and yet very few shops use it or are just getting into using >it. Even Microsoft has said publicly that the response has been poor. >They had to back off the whole .Net centric campaign and have refocused >once again. And while that may have born some fruit, it seems for the >most part that .Net is still not main stream. > ><I'll save it this time. However, after a week long boot camp course, I >firmly believe that it's the best tool for the job, regardless of how >many other developers agree.>> > > Been there done that and this isn't about that. I was mainly >curious if .Net was catching on down in the trenches or still ho-hum. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash >Sent: Monday, September 13, 2004 9:41 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] MS Access to VB6 or VB.net > > >#2. >When evaluating dev tools for an upcoming project, it became apparent to >me that the new OO capabilities of .NET would be worth the learning >curve. > >Judging by the developer journals and 3rd party tool developers, I >wouldn't say that it has been "poorly received". It's getting tough to >find VB6 articles in print or online. > >I've already gotten into the "which is better" war on this list, so I'll >save it this time. However, after a week long boot camp course, I >firmly believe that it's the best tool for the job, regardless of how >many other developers agree. > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman >Sent: Monday, September 13, 2004 7:45 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] MS Access to VB6 or VB.net > > >Richard, > > I think rather then the worrying about the front end, you should be >considering the BE and the technology behind it. However without >knowing a lot more about your app, it's hard to say if that's critical >or not. Also, you didn't mention why you were considering moving from >developing the FE in Access itself. > > As for VB.Net, I've been ignoring it for the most part for some of the >same reasons you outline (distribution) plus the fact that it has a >large learning curve. I can't see spending the time on that when I >already have tools at my disposal that do the job fine. And I'm not the >only one. Overall it seems that .Net has been poorly received by the >development community. Most developers I know are happy (for the most >part) with what they already have/know. Of course a lot depends on the >types of apps you develop and the end users you target. I think most of >us on this list are on the smaller end of the scale developing typical >business type apps for 50 concurrent users or less. > > How about a quick un-scientific poll? > >1. Do you currently develop in .Net (you know it and use it on a regular >basis) >2. Are you learning .Net for a project (your just starting out with it >and have done a small project or two). 3. Don't know anything about it, >but are interested in it. 4. Could care less. > > I'm firmly at #4 for the moment. > >Jim Dettman >(315) 699-3443 >jimdettman at earthlink.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, >Richard >Sent: Monday, September 13, 2004 5:20 AM >To: AccessD at databaseadvisors.com >Subject: [AccessD] MS Access to VB6 or VB.net > > >Hi Group > >After advice and thoughts. I have a piece of commercial software >(library s/ware for schools) written with A97 FE and BE. I am about to >rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K >BE.(reason for change to VB as opposed to MS Access is that the VB >footprint will be smaller 1-2mb [easier to email/download and manage >than my 12-13 mb Access FE]). > >On one hand the VB6 route will be quicker to develop (no learning curve) >and I think to deploy. On the other hand VB.Net is the future (most >likely!!)(and learning and developing in this will be more interesting >and will spur me on) but I am concerned (mainly) about deployment as my >users are not very IT literate and their pc's (at this time) are not >up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on >W95). So deployment of .net requires not only the framework but they >need minimal Data Access 2.7, IE 5.01, Windows installer etc also >installed. But 6-12 months down the line I don't want to be in the >posistion that having used VB6 to then consider rewriting in Vb.net. > >What I can't gauge here is how significant these issues are (and any >other issues). So what I am hoping to get here is how you would >approach this conundrum - tried and tested VB6 or new VB.net? > >Thanks > >Richard > > >------------------------------------------------------------------------ >---- >---------------------------------------- >The information in this email may contain confidential information that >is legally privileged. The information is only for the use of the >intended >recipient(s) named above. If you are not the intended recipient(s), you >are hereby notified that any disclosure, copying, distribution, or the >taking of any action in regard to the content of this email is strictly >prohibited. If transmission is incorrect, unclear, or incomplete, please >notify the sender immediately. The authorized recipient(s) of this >information is/are prohibited from disclosing this information to any >other party and is/are required to destroy the information after its >stated need has been fulfilled. > >Any views expressed in this message are those of the individual sender, >except where the sender specifies and with authority, states them to be >the views of Tappe Construction Co. > >This footer also confirms that this email message has been scanned for >the presence of computer viruses.Scanning of this message and addition >of this footer is performed by SurfControl E-mail Filter software in >conjunction with virus detection software. > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > > -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Mon Sep 13 16:21:29 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 13 Sep 2004 14:21:29 -0700 Subject: [AccessD] MS Access to VB6 or VB.net In-Reply-To: Message-ID: Hi Jim: I have been wandering around the .NET pool for some time. This fall I have finally made the commitment to take up diving. A full POS and part accounting package by Christmas. It will be either sink or swim on this one. I do remember the original Access 1, a good start but a long way from a full product. I do not think until A97 we had a product to crow about...a good five years from start to market acceptance. .Net will probably be the same and I believe M$ is committed... Microsoft never had free leatures, gave away documentation and copies of standard FP. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 10:56 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Brett, <> I was in the same place several years ago. .Net was brand new and not much was around. I also wanted to get a standalone .EXE, get away from reference headaches with Access, etc. So I picked up VFP (Visual FoxPro). I must say I was disappointed at first because so many people I spoke with raved about it. While it had very strong database and OO capabilities, some of it was just plain junk. That's changed quite a bit as Microsoft has continued to add to the product. It has released two major versions since then with a third on the way. It too had a steep learning curve. <> I said that in light of the fact that .Net has been around for several years now and yet very few shops use it or are just getting into using it. Even Microsoft has said publicly that the response has been poor. They had to back off the whole .Net centric campaign and have refocused once again. And while that may have born some fruit, it seems for the most part that .Net is still not main stream. <> Been there done that and this isn't about that. I was mainly curious if .Net was catching on down in the trenches or still ho-hum. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Mon Sep 13 18:07:05 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Mon, 13 Sep 2004 17:07:05 -0600 Subject: [AccessD] Outlook security and SendObject? Message-ID: <186970-2200491132375633@christopherhawkins.com> I've been struggling with an app that uses the SendObject command to send eMail from within an Access app. My client is VERY frustrated with the additional delay that Outlook security builds in, having to click 'OK' and then wait for the progress bar every time the app needs to generate an eMail. I was just reading this article: http://support.microsoft.com/default.aspx?scid=kb;EN-US;262701 That outlines dome of the developer issues regarding Outlook security. But it did not offer an concrete workarounds aside form a mention that an administrator can grant a user sufficient permissions to ignore the new security. I guess if you could programatically defeat it, it wouldn't be security. ;) Surely I am not the only one who has to deal with an app that send eMail? There must be a way to avoid the additional wait and mouse clicks that Outlook security requires. Anyone dealt with this before? -C- Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From cfoust at infostatsystems.com Mon Sep 13 18:11:12 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 13 Sep 2004 16:11:12 -0700 Subject: [AccessD] Outlook security and SendObject? Message-ID: We've had numerous discussions on this topic. Many of us use Redemption (http://dimastr.com/redemption/home.htm) to handle this, since it uses extended MAPI calls and bypasses the security holes in Outlook. Another option is ClickYes. Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, September 13, 2004 4:07 PM To: accessd at databaseadvisors.com Subject: [AccessD] Outlook security and SendObject? I've been struggling with an app that uses the SendObject command to send eMail from within an Access app. My client is VERY frustrated with the additional delay that Outlook security builds in, having to click 'OK' and then wait for the progress bar every time the app needs to generate an eMail. I was just reading this article: http://support.microsoft.com/default.aspx?scid=kb;EN-US;262701 That outlines dome of the developer issues regarding Outlook security. But it did not offer an concrete workarounds aside form a mention that an administrator can grant a user sufficient permissions to ignore the new security. I guess if you could programatically defeat it, it wouldn't be security. ;) Surely I am not the only one who has to deal with an app that send eMail? There must be a way to avoid the additional wait and mouse clicks that Outlook security requires. Anyone dealt with this before? -C- Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Mon Sep 13 20:08:30 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Mon, 13 Sep 2004 18:08:30 -0700 Subject: [AccessD] Outlook security and SendObject? In-Reply-To: References: Message-ID: and yet another option is blat... you can configure your application to use their email settings to auto-send messages, w/ blat you can even send attachments, you can find an example on how to set it up here: http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tapia,Francisco On Mon, 13 Sep 2004 16:11:12 -0700, Charlotte Foust wrote: > We've had numerous discussions on this topic. Many of us use Redemption > (http://dimastr.com/redemption/home.htm) to handle this, since it uses > extended MAPI calls and bypasses the security holes in Outlook. Another > option is ClickYes. > > Charlotte Foust > > > > > -----Original Message----- > From: Christopher Hawkins [mailto:clh at christopherhawkins.com] > Sent: Monday, September 13, 2004 4:07 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Outlook security and SendObject? > > I've been struggling with an app that uses the SendObject command to > send eMail from within an Access app. My client is VERY frustrated with > the additional delay that Outlook security builds in, having to click > 'OK' and then wait for the progress bar every time the app needs to > generate an eMail. > > I was just reading this article: > http://support.microsoft.com/default.aspx?scid=kb;EN-US;262701 > > That outlines dome of the developer issues regarding Outlook security. > But it did not offer an concrete workarounds aside form a mention that > an administrator can grant a user sufficient permissions to ignore the > new security. I guess if you could programatically defeat it, it > wouldn't be security. ;) > > Surely I am not the only one who has to deal with an app that send > eMail? There must be a way to avoid the additional wait and mouse > clicks that Outlook security requires. Anyone dealt with this before? > > -C- > Respectfully, > > Christopher Hawkins > Software Developer > (559) 687-7591 > http://www.christopherhawkins.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco From KP at sdsonline.net Mon Sep 13 20:13:21 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 14 Sep 2004 11:13:21 +1000 Subject: [AccessD] Urgent help please - Can't open html page in Frontpage from Access form Message-ID: <003b01c499f8$074c8150$6501a8c0@user> I have wasted ages on this so am now begging assistance........ I have an html file (empty at present - later it will have some basic text) I need to my code to - Make a copy of the template.html file (I can do that) and - give it a new name, eg. Template_BHP_140904.html (I can do that) - Open the html file just created in Frontpage for users to modify the document (That's where I'm stuck....) My problem is a total lack of knowledge of files vs. webs and therefore the syntax I need. Questions: - - Do I have to have a 'web' or 'web folder' - can't I just have an html file and open it? - If I can, what is the alternative syntax to .webs.open - eg. I am looking for a .pages.open property or .files.open ? Here's my code so far - when I run it I get an error - There is no web named "/E:/SDS/Clients/CPP/WebLetters/Template.html" -------------------------------------------------------------------------------- Private Sub CmdOpenFP_Click() Dim oFPweb As FrontPage.Web Dim oFP As FrontPage.Application Dim FrontPageRunning As Boolean 'Determine whether FrontPage is alredy open or not FrontPageRunning = IsFrontPageRunning() If Not FrontPageRunning Then MsgBox ("Frontpage is Closed") Set oFP = CreateObject("Frontpage.Application") Else MsgBox ("Frontpage is already open") Set oFP = GetObject(, "Frontpage.Application") End If 'add code here later to make a copy of my file 'open file in front page------------------------------------------------ oFP.Webs.Open ("E:\Sds\Clients\CPP\Webletters\template.html") 'STUCK HERE ' Show FrontPage oFPweb.Activate 'Set oFP = Nothing End Sub -------------------------------------------------------------------------------- TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net From ebarro at afsweb.com Mon Sep 13 20:31:46 2004 From: ebarro at afsweb.com (Eric Barro) Date: Mon, 13 Sep 2004 18:31:46 -0700 Subject: [AccessD] Urgent help please - Can't open html page in Frontpagefrom Access form In-Reply-To: <003b01c499f8$074c8150$6501a8c0@user> Message-ID: Kath, FP webs expect to open these web folders in reference to the web root folder in IIS. For example: You have IIS (web server) running on the machine and you have a web called MYWEB. IIS sees this as http://localhost/MYWEB. The physical location (assuming the web root is C:\INETPUB\WWWROOT) is C:\INETPUB\WWWROOT\MYWEB\. So...if MYWEB is in a different folder...say C:\INETPUB\WWWROOT\ANOTHERFOLDER\MYWEB\ FP won't be able to recognize that as a web location. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Monday, September 13, 2004 6:13 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Urgent help please - Can't open html page in Frontpagefrom Access form I have wasted ages on this so am now begging assistance........ I have an html file (empty at present - later it will have some basic text) I need to my code to - Make a copy of the template.html file (I can do that) and - give it a new name, eg. Template_BHP_140904.html (I can do that) - Open the html file just created in Frontpage for users to modify the document (That's where I'm stuck....) My problem is a total lack of knowledge of files vs. webs and therefore the syntax I need. Questions: - - Do I have to have a 'web' or 'web folder' - can't I just have an html file and open it? - If I can, what is the alternative syntax to .webs.open - eg. I am looking for a .pages.open property or .files.open ? Here's my code so far - when I run it I get an error - There is no web named "/E:/SDS/Clients/CPP/WebLetters/Template.html" -------------------------------------------------------------------------------- Private Sub CmdOpenFP_Click() Dim oFPweb As FrontPage.Web Dim oFP As FrontPage.Application Dim FrontPageRunning As Boolean 'Determine whether FrontPage is alredy open or not FrontPageRunning = IsFrontPageRunning() If Not FrontPageRunning Then MsgBox ("Frontpage is Closed") Set oFP = CreateObject("Frontpage.Application") Else MsgBox ("Frontpage is already open") Set oFP = GetObject(, "Frontpage.Application") End If 'add code here later to make a copy of my file 'open file in front page------------------------------------------------ oFP.Webs.Open ("E:\Sds\Clients\CPP\Webletters\template.html") 'STUCK HERE ' Show FrontPage oFPweb.Activate 'Set oFP = Nothing End Sub -------------------------------------------------------------------------------- TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ebarro at afsweb.com Mon Sep 13 20:57:43 2004 From: ebarro at afsweb.com (Eric Barro) Date: Mon, 13 Sep 2004 18:57:43 -0700 Subject: [AccessD] Outlook security and SendObject? In-Reply-To: Message-ID: Another good reason to migrate to .NET. Incorporating e-mail functionality is a breeze. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco Tapia Sent: Monday, September 13, 2004 6:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Outlook security and SendObject? and yet another option is blat... you can configure your application to use their email settings to auto-send messages, w/ blat you can even send attachments, you can find an example on how to set it up here: http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tapia,Francisco On Mon, 13 Sep 2004 16:11:12 -0700, Charlotte Foust wrote: > We've had numerous discussions on this topic. Many of us use Redemption > (http://dimastr.com/redemption/home.htm) to handle this, since it uses > extended MAPI calls and bypasses the security holes in Outlook. Another > option is ClickYes. > > Charlotte Foust > > > > > -----Original Message----- > From: Christopher Hawkins [mailto:clh at christopherhawkins.com] > Sent: Monday, September 13, 2004 4:07 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Outlook security and SendObject? > > I've been struggling with an app that uses the SendObject command to > send eMail from within an Access app. My client is VERY frustrated with > the additional delay that Outlook security builds in, having to click > 'OK' and then wait for the progress bar every time the app needs to > generate an eMail. > > I was just reading this article: > http://support.microsoft.com/default.aspx?scid=kb;EN-US;262701 > > That outlines dome of the developer issues regarding Outlook security. > But it did not offer an concrete workarounds aside form a mention that > an administrator can grant a user sufficient permissions to ignore the > new security. I guess if you could programatically defeat it, it > wouldn't be security. ;) > > Surely I am not the only one who has to deal with an app that send > eMail? There must be a way to avoid the additional wait and mouse > clicks that Outlook security requires. Anyone dealt with this before? > > -C- > Respectfully, > > Christopher Hawkins > Software Developer > (559) 687-7591 > http://www.christopherhawkins.com From michael.mattys at adelphia.net Mon Sep 13 21:04:36 2004 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Mon, 13 Sep 2004 22:04:36 -0400 Subject: [AccessD] Hack Requested - Increase Combo Box Button Size? References: <198030-22004911322203266@christopherhawkins.com> Message-ID: <023201c499ff$305df270$6401a8c0@default> ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Monday, September 13, 2004 6:20 PM Subject: [AccessD] Hack Requested - Increase Combo Box Button Size? > I suppose the title says it all. I know there are various hacks for > playing with the window sizes of everything, but I need to be > surgical - I am creating an interface for a touch-screen computer, > and it requires the use of a combo box. > > I need a way to fatten the combo box button and the scroll bar > buttons. Has anyone done this before? Either prewritten code or a > link in the right direction would be appreciated. > Christopher, If you don't get any other answers, try creating your own using a combination of commandbutton, textbox, and a listbox. It should be easy enough, if you're familiar with it, to create a WithEvents class to handle click events for Dropdown, Visible, NotInList, etc. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From clh at christopherhawkins.com Mon Sep 13 23:39:57 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Mon, 13 Sep 2004 22:39:57 -0600 Subject: [AccessD] Hack Requested - Increase Combo Box Button Size? Message-ID: <410-22004921443957342@christopherhawkins.com> I thought about that, but...eeeeeeew. ;) -C- ---- Original Message ---- From: michael.mattys at adelphia.net To: accessd at databaseadvisors.com, Subject: Re: [AccessD] Hack Requested - Increase Combo Box Button Size? Date: Mon, 13 Sep 2004 22:04:36 -0400 >----- Original Message ----- >From: "Christopher Hawkins" >To: >Sent: Monday, September 13, 2004 6:20 PM >Subject: [AccessD] Hack Requested - Increase Combo Box Button Size? > > >> I suppose the title says it all. I know there are various hacks >for >> playing with the window sizes of everything, but I need to be >> surgical - I am creating an interface for a touch-screen computer, >> and it requires the use of a combo box. >> >> I need a way to fatten the combo box button and the scroll bar >> buttons. Has anyone done this before? Either prewritten code or a >> link in the right direction would be appreciated. >> > >Christopher, > > >If you don't get any other answers, try creating your own using a >combination of commandbutton, textbox, and a listbox. > >It should be easy enough, if you're familiar with it, >to create a WithEvents class to handle click events >for Dropdown, Visible, NotInList, etc. > >---- > >Michael R. Mattys >Mattys MapLib for Microsoft MapPoint >http://www.mattysconsulting.com >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From gustav at cactus.dk Tue Sep 14 03:14:34 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 14 Sep 2004 10:14:34 +0200 Subject: [AccessD] OT: Modify the default event handlers to mimic the behavior of VB 6 control arrays (VB .NET) In-Reply-To: References: Message-ID: <1184661242.20040914101434@cactus.dk> Hi all .Net freaks Just noticed this tip from Element K Journals. But is it just me or would this be considered bad programming practice? Whenever I find out an event for one control can be reused by another control, I move that code to a subfunction. /gustav --- If you've been mourning the loss of control arrays in VB .NET, wipe your eyes and listen up. While it's true that .NET put the control Index property out to pasture, you can still point multiple controls to an event subroutine just by modifying the event subroutines .NET exposes automatically when you add a control to a form. For example, suppose you have two buttons on a form named Button1 and Button2. You can make the Click() event subroutine for Button1 also handle the Click() event for Button2 just by adding Button2.Click to the Handles portion of the subroutine, like so: Private Sub Button1_Click(ByVal sender As _ Object, ByVal e As System.EventArgs) _ Handles Button1.Click, Button2.Click You can append as many control Click() events as you'd like to the Handles statement, as long as you separate each event with a comma. As an added bonus, you can also include other Button events or even events from any number of non-button control types on the form. That's more than you could ever do with a VB 6 control array. From gustav at cactus.dk Tue Sep 14 03:59:18 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 14 Sep 2004 10:59:18 +0200 Subject: [AccessD] MS Access to VB6 or VB.net In-Reply-To: References: Message-ID: <737345271.20040914105918@cactus.dk> Hi Jim > I do remember the original Access 1, a good start but a long way from a full > product. I do not think until A97 we had a product to crow about...a good > five years from start to market acceptance. Access 2.0 worked and still works excellent - within its limitations, of course. /gustav From KP at sdsonline.net Tue Sep 14 06:47:24 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 14 Sep 2004 21:47:24 +1000 Subject: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form References: Message-ID: <001501c49a50$9a982560$6501a8c0@user> Thanks Eric - I am finding this so confusing. Yes - I have IIS running here - so my file must be in a folder from C:\Inetpub\wwwroot? I need to allow the database users to share a common file - can it find a web in a network location? To go back to the basic requirements - what I am trying to do is allow users to click on a button in the databse which will open a document which will be published to the web. I want them to be able to create and edit that document by following a link from an access form, because the letter that the users 'create' will be linked to recipients from my database. They could theoretically do it in Word or Notepad (or even within Access), but I want them to see how it will preview on the web before they finalise it, so formatting is done. I don't want to have to worry about whether they are running IIS or create web folders or whatever - just open and edit a simple html file in Frontpage so they can see how it would publish. Am I going about this the wrong way? TIA! Kath ----- Original Message ----- From: Eric Barro To: Access Developers discussion and problem solving Sent: Tuesday, September 14, 2004 11:31 AM Subject: RE: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form Kath, FP webs expect to open these web folders in reference to the web root folder in IIS. For example: You have IIS (web server) running on the machine and you have a web called MYWEB. IIS sees this as http://localhost/MYWEB. The physical location (assuming the web root is C:\INETPUB\WWWROOT) is C:\INETPUB\WWWROOT\MYWEB\. So...if MYWEB is in a different folder...say C:\INETPUB\WWWROOT\ANOTHERFOLDER\MYWEB\ FP won't be able to recognize that as a web location. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Monday, September 13, 2004 6:13 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Urgent help please - Can't open html page in Frontpagefrom Access form I have wasted ages on this so am now begging assistance........ I have an html file (empty at present - later it will have some basic text) I need to my code to - Make a copy of the template.html file (I can do that) and - give it a new name, eg. Template_BHP_140904.html (I can do that) - Open the html file just created in Frontpage for users to modify the document (That's where I'm stuck....) My problem is a total lack of knowledge of files vs. webs and therefore the syntax I need. Questions: - - Do I have to have a 'web' or 'web folder' - can't I just have an html file and open it? - If I can, what is the alternative syntax to .webs.open - eg. I am looking for a .pages.open property or .files.open ? Here's my code so far - when I run it I get an error - There is no web named "/E:/SDS/Clients/CPP/WebLetters/Template.html" -------------------------------------------------------------------------------- Private Sub CmdOpenFP_Click() Dim oFPweb As FrontPage.Web Dim oFP As FrontPage.Application Dim FrontPageRunning As Boolean 'Determine whether FrontPage is alredy open or not FrontPageRunning = IsFrontPageRunning() If Not FrontPageRunning Then MsgBox ("Frontpage is Closed") Set oFP = CreateObject("Frontpage.Application") Else MsgBox ("Frontpage is already open") Set oFP = GetObject(, "Frontpage.Application") End If 'add code here later to make a copy of my file 'open file in front page------------------------------------------------ oFP.Webs.Open ("E:\Sds\Clients\CPP\Webletters\template.html") 'STUCK HERE ' Show FrontPage oFPweb.Activate 'Set oFP = Nothing End Sub -------------------------------------------------------------------------------- TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Tue Sep 14 07:24:45 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 14 Sep 2004 22:24:45 +1000 Subject: [AccessD] A2K: Time diff calcs Message-ID: Hello all I want to calculate then insert into a table the duration of a users logon in HOURS and MINUTES In the logon table the default value for the logon field is Now() and is captured at...You guessed at logon. I then run a query that updates the Logoff field to Now() once the user answers YES to loggin off. The theory being there will be a difference even if it is only 5 or 10 seconds. Unless some clown plays with the clock after loggin on --- but forget all that :-)) Both logon and logoff fields data types in the Logon Table are General Date (01/01/2004 15:45:25PM) So a user logs on at say...14/09/2004 10:08:45 PM and then logs off at say...14/09/2004 10:10:55 PM The time logged on = 2 mins and 10 secs but how do I calculate that? I have udsed DateDiff but with no success... DateDiff("Short Time",[LogonTimeAndDate],Now()) DateDiff("mm",[LogonTimeAndDate],Now()) DateDiff("nn",[LogonTimeAndDate],Now()) etc etc Many thanks in advance Darren From d.dick at uws.edu.au Tue Sep 14 07:36:37 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 14 Sep 2004 22:36:37 +1000 Subject: [AccessD] Hack Requested - Increase Combo Box Button Size? In-Reply-To: <410-22004921443957342@christopherhawkins.com> Message-ID: <001901c49a57$7b21c720$4a619a89@DDICK> Hi Chris Maybe you can still use the combo box Just hide the 'real' drop down arrow with a button the relevant Size with an appropriate graphic Then on the click of that button have some code that says something like... Me.cmbMyCombo.setfocus Me.cmbMyCombo.Dropdown Your users will see the 'real' drop down arrow but see if you can play with it HTH Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: Tuesday, 14 September 2004 2:40 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Hack Requested - Increase Combo Box Button Size? I thought about that, but...eeeeeeew. ;) -C- ---- Original Message ---- From: michael.mattys at adelphia.net To: accessd at databaseadvisors.com, Subject: Re: [AccessD] Hack Requested - Increase Combo Box Button Size? Date: Mon, 13 Sep 2004 22:04:36 -0400 >----- Original Message ----- >From: "Christopher Hawkins" >To: >Sent: Monday, September 13, 2004 6:20 PM >Subject: [AccessD] Hack Requested - Increase Combo Box Button Size? > > >> I suppose the title says it all. I know there are various hacks >for >> playing with the window sizes of everything, but I need to be >> surgical - I am creating an interface for a touch-screen computer, >> and it requires the use of a combo box. >> >> I need a way to fatten the combo box button and the scroll bar >> buttons. Has anyone done this before? Either prewritten code or a >> link in the right direction would be appreciated. >> > >Christopher, > > >If you don't get any other answers, try creating your own using a >combination of commandbutton, textbox, and a listbox. > >It should be easy enough, if you're familiar with it, >to create a WithEvents class to handle click events >for Dropdown, Visible, NotInList, etc. > >---- > >Michael R. Mattys >Mattys MapLib for Microsoft MapPoint >http://www.mattysconsulting.com >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Sep 14 07:51:44 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 14 Sep 2004 14:51:44 +0200 Subject: [AccessD] A2K: Time diff calcs In-Reply-To: References: Message-ID: <16621291255.20040914145144@cactus.dk> Hi Darren That could be: lngDiff = DateDiff("n", [LogonTimeAndDate], Now()) To get hours and minutes: lngH = lngDiff \ 60 lngM = lngDiff Mod 60 To convert to a pseudo time value for easy formatting: datTime = TimeSerial(lngH, lngM, 0) strTime = Format(datTime, "h:nn") Be careful, though, if users (their machines) happen to be logged in for more than 24 hours. /gustav > I want to calculate then insert into a table the duration of a users logon > in HOURS and MINUTES > In the logon table the default value for the logon field is Now() and is > captured at...You guessed at logon. I then run a query that updates the > Logoff field to Now() once the user answers YES to loggin off. The theory > being there will be a difference even if it is only 5 or 10 seconds. Unless > some clown plays with the clock after loggin on --- but forget all that :-)) > Both logon and logoff fields data types in the Logon Table are General Date > (01/01/2004 15:45:25PM) > So a user logs on at say...14/09/2004 10:08:45 PM and then logs off at > say...14/09/2004 10:10:55 PM > The time logged on = 2 mins and 10 secs but how do I calculate that? > I have udsed DateDiff but with no success... > DateDiff("Short Time",[LogonTimeAndDate],Now()) > DateDiff("mm",[LogonTimeAndDate],Now()) > DateDiff("nn",[LogonTimeAndDate],Now()) etc etc > Many thanks in advance > Darren From BBarabash at TappeConstruction.com Tue Sep 14 08:46:23 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue, 14 Sep 2004 08:46:23 -0500 Subject: [AccessD] OT: Modify the default event handlers to mimic thebehavior of VB 6 control arrays (VB .NET) Message-ID: <100F91B31300334B89EC531C9DCB0865065945@tccexch01.tappeconstruction.net> Looks OK to me. Are you saying that if you had consistent behaviors for every button on your form, that you would write separate event handlers for each control to call another proc? Ugh! BTW, you can call your event procedure anything you want. Get rid of the Button1_ moniker and it would be much more readable: Private Sub ButtonClickHandler(ByVal sender As System.Object, ByVal e As System.EventArgs) _ Handles Button1.Click, Button2.Click -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, September 14, 2004 3:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Modify the default event handlers to mimic thebehavior of VB 6 control arrays (VB .NET) Hi all .Net freaks Just noticed this tip from Element K Journals. But is it just me or would this be considered bad programming practice? Whenever I find out an event for one control can be reused by another control, I move that code to a subfunction. /gustav --- If you've been mourning the loss of control arrays in VB .NET, wipe your eyes and listen up. While it's true that .NET put the control Index property out to pasture, you can still point multiple controls to an event subroutine just by modifying the event subroutines .NET exposes automatically when you add a control to a form. For example, suppose you have two buttons on a form named Button1 and Button2. You can make the Click() event subroutine for Button1 also handle the Click() event for Button2 just by adding Button2.Click to the Handles portion of the subroutine, like so: Private Sub Button1_Click(ByVal sender As _ Object, ByVal e As System.EventArgs) _ Handles Button1.Click, Button2.Click You can append as many control Click() events as you'd like to the Handles statement, as long as you separate each event with a comma. As an added bonus, you can also include other Button events or even events from any number of non-button control types on the form. That's more than you could ever do with a VB 6 control array. -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From jwcolby at colbyconsulting.com Tue Sep 14 08:51:54 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 14 Sep 2004 09:51:54 -0400 Subject: [AccessD] OT: Modify the default event handlers to mimic thebehavior of VB 6 control arrays (VB .NET) In-Reply-To: <1184661242.20040914101434@cactus.dk> Message-ID: <005601c49a62$01885180$e8dafea9@ColbyM6805> Gustav, In fact I use something similar using withevents. As you know if a control is dimensioned Withevents, its events can be sunk in that class. What happens however when you have a class for each control, the number of controls monitored can vary, and yet you still want to be able to process each control in a loop and monitor the events for that control? By dimming a single control Withevents, you can now iterate the loop of control classes, get a pointer to the control that the class instance handles, and SET the single control variable to the control in the class. Now if the control (or the class if you are monitoring class events) fires an event, the supervisor can see it and process it. Since the supervisor knows which instance of the class or control it is processing at the moment it is easy to figure out what to do with the event. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, September 14, 2004 4:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Modify the default event handlers to mimic thebehavior of VB 6 control arrays (VB .NET) Hi all .Net freaks Just noticed this tip from Element K Journals. But is it just me or would this be considered bad programming practice? Whenever I find out an event for one control can be reused by another control, I move that code to a subfunction. /gustav --- If you've been mourning the loss of control arrays in VB .NET, wipe your eyes and listen up. While it's true that .NET put the control Index property out to pasture, you can still point multiple controls to an event subroutine just by modifying the event subroutines .NET exposes automatically when you add a control to a form. For example, suppose you have two buttons on a form named Button1 and Button2. You can make the Click() event subroutine for Button1 also handle the Click() event for Button2 just by adding Button2.Click to the Handles portion of the subroutine, like so: Private Sub Button1_Click(ByVal sender As _ Object, ByVal e As System.EventArgs) _ Handles Button1.Click, Button2.Click You can append as many control Click() events as you'd like to the Handles statement, as long as you separate each event with a comma. As an added bonus, you can also include other Button events or even events from any number of non-button control types on the form. That's more than you could ever do with a VB 6 control array. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Sep 14 08:54:28 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 14 Sep 2004 08:54:28 -0500 Subject: [AccessD] Hack Requested - Increase Combo Box Button Size? Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB374@main2.marlow.com> Access forms, and their controls, do not act like other windows. Typically, on a normal window, every control is a 'child window', and thus can be resized with API's. Access only has ONE control window on the form, which 'shapes' around the active window. It's wierd. Anyhow, I can recommend two 'Non-ActiveX' approaches. One, just put a bigger command button next to the combobox, and have it trigger the DropDown method of the combo box. Two, a little more complex, but would allow you to control all aspests, would be to build your own combo box with labels. The beta version of the MiniCalendar does this, for the Month list. Everything is either a picture or a label, but it 'acts' like a combo box. That would allow you to make the 'button' AND the items bigger. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Monday, September 13, 2004 5:21 PM To: accessd at databaseadvisors.com Subject: [AccessD] Hack Requested - Increase Combo Box Button Size? I suppose the title says it all. I know there are various hacks for playing with the window sizes of everything, but I need to be surgical - I am creating an interface for a touch-screen computer, and it requires the use of a combo box. I need a way to fatten the combo box button and the scroll bar buttons. Has anyone done this before? Either prewritten code or a link in the right direction would be appreciated. -Christopher- Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Sep 14 08:56:23 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 14 Sep 2004 08:56:23 -0500 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB375@main2.marlow.com> True for most .dll's. I have had problems with mm.dll, the multimedia .dll. Some software developers think they can tweak that one better, and I've had .avi playing code that just fails on certain machines. Go figure. Other then that, you're right, .dll's are rock solid for APIs. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Monday, September 13, 2004 5:45 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net On 13 Sep 2004 at 17:17, Scott Marcus wrote: > Drew, > > Are you saying that .Net uses wrappers? > > The problem with API's is dll hell. There's no DLL hell with the API. The Win32 API uses system DLLS which are backward compatible between Windows versions. The majority of API calls work for every version of WIndows from W95 on including all of the most commonly used APIs. If you want to use an API feature that is limited to certain OS versions, you just need to check the OSVersion first. -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Sep 14 09:01:14 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 14 Sep 2004 09:01:14 -0500 Subject: [AccessD] Urgent help please - Can't open html page inFrontpa gefrom Access form Message-ID: <2F8793082E00D4119A1700B0D0216BF8031BB376@main2.marlow.com> If you have VB, you can just 'preview' it for them in a simple VB browser. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Tuesday, September 14, 2004 6:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form Thanks Eric - I am finding this so confusing. Yes - I have IIS running here - so my file must be in a folder from C:\Inetpub\wwwroot? I need to allow the database users to share a common file - can it find a web in a network location? To go back to the basic requirements - what I am trying to do is allow users to click on a button in the databse which will open a document which will be published to the web. I want them to be able to create and edit that document by following a link from an access form, because the letter that the users 'create' will be linked to recipients from my database. They could theoretically do it in Word or Notepad (or even within Access), but I want them to see how it will preview on the web before they finalise it, so formatting is done. I don't want to have to worry about whether they are running IIS or create web folders or whatever - just open and edit a simple html file in Frontpage so they can see how it would publish. Am I going about this the wrong way? TIA! Kath ----- Original Message ----- From: Eric Barro To: Access Developers discussion and problem solving Sent: Tuesday, September 14, 2004 11:31 AM Subject: RE: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form Kath, FP webs expect to open these web folders in reference to the web root folder in IIS. For example: You have IIS (web server) running on the machine and you have a web called MYWEB. IIS sees this as http://localhost/MYWEB. The physical location (assuming the web root is C:\INETPUB\WWWROOT) is C:\INETPUB\WWWROOT\MYWEB\. So...if MYWEB is in a different folder...say C:\INETPUB\WWWROOT\ANOTHERFOLDER\MYWEB\ FP won't be able to recognize that as a web location. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Monday, September 13, 2004 6:13 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Urgent help please - Can't open html page in Frontpagefrom Access form I have wasted ages on this so am now begging assistance........ I have an html file (empty at present - later it will have some basic text) I need to my code to - Make a copy of the template.html file (I can do that) and - give it a new name, eg. Template_BHP_140904.html (I can do that) - Open the html file just created in Frontpage for users to modify the document (That's where I'm stuck....) My problem is a total lack of knowledge of files vs. webs and therefore the syntax I need. Questions: - - Do I have to have a 'web' or 'web folder' - can't I just have an html file and open it? - If I can, what is the alternative syntax to .webs.open - eg. I am looking for a .pages.open property or .files.open ? Here's my code so far - when I run it I get an error - There is no web named "/E:/SDS/Clients/CPP/WebLetters/Template.html" ---------------------------------------------------------------------------- ---- Private Sub CmdOpenFP_Click() Dim oFPweb As FrontPage.Web Dim oFP As FrontPage.Application Dim FrontPageRunning As Boolean 'Determine whether FrontPage is alredy open or not FrontPageRunning = IsFrontPageRunning() If Not FrontPageRunning Then MsgBox ("Frontpage is Closed") Set oFP = CreateObject("Frontpage.Application") Else MsgBox ("Frontpage is already open") Set oFP = GetObject(, "Frontpage.Application") End If 'add code here later to make a copy of my file 'open file in front page------------------------------------------------ oFP.Webs.Open ("E:\Sds\Clients\CPP\Webletters\template.html") 'STUCK HERE ' Show FrontPage oFPweb.Activate 'Set oFP = Nothing End Sub ---------------------------------------------------------------------------- ---- TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From deanellis at iprimus.com.au Tue Sep 14 09:26:25 2004 From: deanellis at iprimus.com.au (Dean Ellis) Date: Tue, 14 Sep 2004 23:56:25 +0930 Subject: [AccessD] Details of Tables, queries etc being accessed by Forms. Message-ID: Hi all, I have a database that I work with continually. It works well and people are begining to sit up and take notice of it. (Yes Darren, it's my monster). When I do development work on it, It's become that large that at times, I need to go into the design side of a form and read the code to know what table, or query, or form to open. What I would like to know, and its really for my own benefit, is; Is there a way that I can have a form (just 1 form), That I can access, say using a self created shortcut key, that will detail the table or query being accessed by the form, the names of any subforms on the main form? If this can be done, how much info of this nature can I extract? Thanks in advance. Dean Ellis ph 08 8398 5536 m 0410 474 910 Visit our website: www.jedel.com From Paul.Rogers at SummitMedia.co.uk Tue Sep 14 09:34:51 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Tue, 14 Sep 2004 15:34:51 +0100 Subject: [AccessD]Making windows speaka da English Message-ID: How to change a foreign windows 2k to English, that is the challenge. Anyone ever managed it, please? Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.754 / Virus Database: 504 - Release Date: 06/09/2004 From cyx5 at cdc.gov Tue Sep 14 09:20:13 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Tue, 14 Sep 2004 10:20:13 -0400 Subject: [AccessD] Table TempMSYSAccessObjects Already Exists Message-ID: I was compacting my database when I ran out of room on my L drive. Apparently, I see that I have lots of space, by IT has the drive configured to maintain a mirror backup which is only cleared out every five days. So, the compact fails. I moved the database to my L drive, but now when I try to compact, I get the error message saying Table TempMYSYSAccessObjects already exists. I turned on the feature to view the system tables. Can I delete this table to try to compact that database? Has anyone else run into this? Thanks. Grumble grumble... Karen Nicholson National Laboratory Xerox Global Services From markamatte at hotmail.com Tue Sep 14 09:20:11 2004 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 14 Sep 2004 14:20:11 +0000 Subject: [AccessD] A2K: Time diff calcs Message-ID: Darren, I use something similar for a re-measure tool...(its like a built in stopwatch)...anyway...I just take a datediff of seconds...and then put it through this little sub to split it into seconds and minutes(could be converted for hours also). Please let me know if you have any questions. Thanks, Mark A. Matte Me!EndDTTM = Now() Dim Seconds Dim RMmin Dim RMsec Seconds = DateDiff("s", Me!StartDTTM, Me!EndDTTM) Dim Check, Counter Check = True: Counter = 0 Do Counter = Counter + 1 If Counter * 60 > Seconds Then RMmin = Counter - 1 RMsec = Seconds - ((Counter - 1) * 60) Check = False Exit Do End If Loop Until Check = False Forms!frmRecords!RMCallLengthM.Value = RMmin Forms!frmRecords!RMCallLengthS.Value = RMsec DoCmd.close >From: "Darren DICK" >Reply-To: Access Developers discussion and problem >solving >To: "AccessD List" >Subject: [AccessD] A2K: Time diff calcs >Date: Tue, 14 Sep 2004 22:24:45 +1000 > >Hello all >I want to calculate then insert into a table the duration of a users logon >in HOURS and MINUTES >In the logon table the default value for the logon field is Now() and is >captured at...You guessed at logon. I then run a query that updates the >Logoff field to Now() once the user answers YES to loggin off. The theory >being there will be a difference even if it is only 5 or 10 seconds. Unless >some clown plays with the clock after loggin on --- but forget all that >:-)) > >Both logon and logoff fields data types in the Logon Table are General Date >(01/01/2004 15:45:25PM) > >So a user logs on at say...14/09/2004 10:08:45 PM and then logs off at >say...14/09/2004 10:10:55 PM > >The time logged on = 2 mins and 10 secs but how do I calculate that? > >I have udsed DateDiff but with no success... >DateDiff("Short Time",[LogonTimeAndDate],Now()) >DateDiff("mm",[LogonTimeAndDate],Now()) >DateDiff("nn",[LogonTimeAndDate],Now()) etc etc > >Many thanks in advance > >Darren > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Tue Sep 14 09:52:00 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 15 Sep 2004 00:52:00 +1000 Subject: [AccessD] Details of Tables, queries etc being accessed by Forms. In-Reply-To: Message-ID: <002001c49a6a$63ad5010$4a619a89@DDICK> Hey Deano Dunno if this is what you want but.. Put a label control in the header called lblMyRecSet and the following code on load of the form Me.lblMyRecSet.Caption = "Recordset for this form: '" & Me.Form.Name & "' = " & Me.RecordSource Should work for tables or SQL statements See ya - going to bed now Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dean Ellis Sent: Wednesday, 15 September 2004 12:26 AM To: AccessD Subject: [AccessD] Details of Tables, queries etc being accessed by Forms. Hi all, I have a database that I work with continually. It works well and people are begining to sit up and take notice of it. (Yes Darren, it's my monster). When I do development work on it, It's become that large that at times, I need to go into the design side of a form and read the code to know what table, or query, or form to open. What I would like to know, and its really for my own benefit, is; Is there a way that I can have a form (just 1 form), That I can access, say using a self created shortcut key, that will detail the table or query being accessed by the form, the names of any subforms on the main form? If this can be done, how much info of this nature can I extract? Thanks in advance. Dean Ellis ph 08 8398 5536 m 0410 474 910 Visit our website: www.jedel.com From gustav at cactus.dk Tue Sep 14 09:55:40 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 14 Sep 2004 16:55:40 +0200 Subject: [AccessD] OT: Modify the default event handlers to mimic thebehavior of VB 6 control arrays (VB .NET) In-Reply-To: <100F91B31300334B89EC531C9DCB0865065945@tccexch01.tappeconstruction.net> References: <100F91B31300334B89EC531C9DCB0865065945@tccexch01.tappeconstruction.net> Message-ID: <12428727037.20040914165540@cactus.dk> Hi Brett and John Brett, thanks for clearing this up. I can see I have been victimised by unreadable code as I - as you guessed - wearing my Access goggles read Button1_Click as the event handler. So this in the "reverse" of calling a sub from several events? You specify a sub and specify - withing this - which events should call the sub? Have in mind please, that I'm not familiar with neither VB6 or dot Net. Of course you are both right about WithEvents. However, sometimes you just need to, say, have updating of a checkbox and clicking a button to do the same; then I don't write duplicate code but move it to a sub which I call from the relevant events. /gustav > Looks OK to me. Are you saying that if you had consistent behaviors for > every button on your form, that you would write separate event handlers > for each control to call another proc? Ugh! > BTW, you can call your event procedure anything you want. Get rid of > the Button1_ moniker and it would be much more readable: > Private Sub ButtonClickHandler(ByVal sender As System.Object, ByVal e As > System.EventArgs) _ > Handles Button1.Click, Button2.Click > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Tuesday, September 14, 2004 3:15 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] OT: Modify the default event handlers to mimic > thebehavior of VB 6 control arrays (VB .NET) > Hi all .Net freaks > Just noticed this tip from Element K Journals. > But is it just me or would this be considered bad programming practice? > Whenever I find out an event for one control can be reused by another > control, I move that code to a subfunction. > /gustav > --- > If you've been mourning the loss of control arrays in VB .NET, wipe your > eyes and listen up. While it's true that .NET put the control Index > property out to pasture, you can still point multiple controls to an > event subroutine just by modifying the event subroutines .NET exposes > automatically when you add a control to a form. For example, suppose you > have two buttons on a form named Button1 and Button2. You can make the > Click() event subroutine for Button1 also handle the Click() event for > Button2 just by adding Button2.Click to the Handles portion of the > subroutine, like so: > Private Sub Button1_Click(ByVal sender As _ Object, ByVal e As > System.EventArgs) _ > Handles Button1.Click, Button2.Click > You can append as many control Click() events as you'd like to the > Handles statement, as long as you separate each event with a comma. As > an added bonus, you can also include other Button events or even events > from any number of non-button control types on the form. That's more > than you could ever do with a VB 6 control array. From actebs at actebs.com.au Tue Sep 14 10:56:42 2004 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 15 Sep 2004 01:56:42 +1000 Subject: [AccessD] Re: emailing a newsletter Message-ID: <2025BB6F17FCB54791F23CD5055833280384F1@starfleet.unknown.local> Reuben, I wouldn't mid a copy as well... Thanks Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ervin Brindza Sent: Monday, 13 September 2004 7:46 PM To: Access Developers discussion and problem solving Subject: [AccessD] Re: emailing a newsletter Reuben, could you share it, please? Many TIA, Ervin ----- Original Message ----- From: "Reuben Cummings" To: "Access Developers discussion and problem solving" Sent: 10 September, 2004 5:47 PM Subject: RE: [AccessD] emailing a newsletter > Augusta, I sent you a copy of a very small db that I have than can do > what you are after. > > Reuben Cummings > GFC, LLC > phone: 812.523.1017 > email: reuben at gfconsultants.com > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of augusta > > Sent: Friday, September 10, 2004 9:30 AM > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] emailing a newsletter > > > > > > I have a client who has about 700 email addresses within an Access > > database to whom she would like to send a newsletter. > > > > Can anyone suggest a good way of going about this, other than > > query/copy/paste in to outlook? Also, for some reason when she does > > it this way, she can only use about 50 address. > > > > Thanks augusta > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Tue Sep 14 10:44:59 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue, 14 Sep 2004 10:44:59 -0500 Subject: [AccessD] OT: Modify the default event handlers to mimicthebehavior of VB 6 control arrays (VB .NET) Message-ID: <100F91B31300334B89EC531C9DCB0865065946@tccexch01.tappeconstruction.net> >So this in the "reverse" of calling a sub from several events? >You specify a sub and specify - withing this - which events should call the sub? Exactly, that's what the Handles keyword is all about. Delegation is one of the new VB.NET features that opens up all sorts of possibilities. Notice the argument list for the button click handler: ByVal sender As System.Object, ByVal e As System.EventArgs These standard arguments are used for all handlers. Therefore, you could create a single handler to handle your button click and a checkbox click (and a textbox change for that matter!). The Handles keyword serves as a nice tidy wrapper around the System.Delegate assembly. There are some cool things that can be done through code, like dynamically assigning a method from one class (or control) to be automatically handled by another classes method. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, September 14, 2004 9:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Modify the default event handlers to mimicthebehavior of VB 6 control arrays (VB .NET) Hi Brett and John Brett, thanks for clearing this up. I can see I have been victimised by unreadable code as I - as you guessed - wearing my Access goggles read Button1_Click as the event handler. So this in the "reverse" of calling a sub from several events? You specify a sub and specify - withing this - which events should call the sub? Have in mind please, that I'm not familiar with neither VB6 or dot Net. Of course you are both right about WithEvents. However, sometimes you just need to, say, have updating of a checkbox and clicking a button to do the same; then I don't write duplicate code but move it to a sub which I call from the relevant events. /gustav -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From adtp at touchtelindia.net Tue Sep 14 13:36:16 2004 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Wed, 15 Sep 2004 00:06:16 +0530 Subject: [AccessD] A2K: Time diff calcs References: Message-ID: <00af01c49a89$e9791480$bb1865cb@winxp> Darren, The select query given below should get you the period lapsed in terms of DaysGap (if more than 24 hrs) and TimeGap (over & above the completed days). T_Log is the name of data table. Regards, A.D.Tejpal ================================= SELECT T_Log.LogonTimeAndDate, Int(Now()-[LogonTimeAndDate]) AS DaysGap, Format((Now()-[LogonTimeAndDate]),"hh:nn:ss") AS TimeGap FROM T_Log; ================================= ----- Original Message ----- From: Darren DICK To: AccessD List Sent: Tuesday, September 14, 2004 17:54 Subject: [AccessD] A2K: Time diff calcs Hello all I want to calculate then insert into a table the duration of a users logon in HOURS and MINUTES In the logon table the default value for the logon field is Now() and is captured at...You guessed at logon. I then run a query that updates the Logoff field to Now() once the user answers YES to loggin off. The theory being there will be a difference even if it is only 5 or 10 seconds. Unless some clown plays with the clock after loggin on --- but forget all that :-)) Both logon and logoff fields data types in the Logon Table are General Date (01/01/2004 15:45:25PM) So a user logs on at say...14/09/2004 10:08:45 PM and then logs off at say...14/09/2004 10:10:55 PM The time logged on = 2 mins and 10 secs but how do I calculate that? I have udsed DateDiff but with no success... DateDiff("Short Time",[LogonTimeAndDate],Now()) DateDiff("mm",[LogonTimeAndDate],Now()) DateDiff("nn",[LogonTimeAndDate],Now()) etc etc Many thanks in advance Darren From artful at rogers.com Tue Sep 14 14:33:41 2004 From: artful at rogers.com (Arthur Fuller) Date: Tue, 14 Sep 2004 15:33:41 -0400 Subject: [AccessD] A2K: Time diff calcs In-Reply-To: Message-ID: <027201c49a91$be215f10$6501a8c0@rock> IMHO you should always store time differences in seconds rather than any higher denomination, then leave the formatting of same to the front end. That way, IMO, your back-end data is always correct (and easily calculated), and you can postpone the formatting until the front end is right, confident that your data in the back-end is correct. Just my $.02. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Tuesday, September 14, 2004 8:25 AM To: AccessD List Subject: [AccessD] A2K: Time diff calcs Hello all I want to calculate then insert into a table the duration of a users logon in HOURS and MINUTES In the logon table the default value for the logon field is Now() and is captured at...You guessed at logon. I then run a query that updates the Logoff field to Now() once the user answers YES to loggin off. The theory being there will be a difference even if it is only 5 or 10 seconds. Unless some clown plays with the clock after loggin on --- but forget all that :-)) Both logon and logoff fields data types in the Logon Table are General Date (01/01/2004 15:45:25PM) So a user logs on at say...14/09/2004 10:08:45 PM and then logs off at say...14/09/2004 10:10:55 PM The time logged on = 2 mins and 10 secs but how do I calculate that? I have udsed DateDiff but with no success... DateDiff("Short Time",[LogonTimeAndDate],Now()) DateDiff("mm",[LogonTimeAndDate],Now()) DateDiff("nn",[LogonTimeAndDate],Now()) etc etc Many thanks in advance Darren -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Subscriptions at servicexp.com Tue Sep 14 16:26:05 2004 From: Subscriptions at servicexp.com (Robert Gracie) Date: Tue, 14 Sep 2004 17:26:05 -0400 Subject: [AccessD] Connecting to MySQL across Internet In-Reply-To: <027201c49a91$be215f10$6501a8c0@rock> Message-ID: Hello, I have a program that may need to connect to a MySQL database across the internet, on the fly. It's only for a very small portion of the program so it may or may not be needed to be utilized by many users. So basically what is the best (lightest) way to make this connection on the fly, and only when needed? I think I will be looking at 3-4 tables MAX. Robert Gracie www.servicexp.com From mike at welshfam.org Tue Sep 14 17:03:14 2004 From: mike at welshfam.org (Michael Welsh) Date: Tue, 14 Sep 2004 18:03:14 -0400 Subject: [AccessD] Hack Requested - Increase Combo Box Button Size? In-Reply-To: <410-22004921443957342@christopherhawkins.com> Message-ID: <200409142203.i8EM37616960@databaseadvisors.com> Chris, The scrollbars and dropdown arrows are sized by Windows. If you change the size of the scroll bar in the Display properties, Access changes the size in all of your forms. Display Properties: Appearance: Advanced: select Scrollbar, change size (WindowsXP). Mike -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: Tuesday, September 14, 2004 12:40 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Hack Requested - Increase Combo Box Button Size? I thought about that, but...eeeeeeew. ;) -C- ---- Original Message ---- From: michael.mattys at adelphia.net To: accessd at databaseadvisors.com, Subject: Re: [AccessD] Hack Requested - Increase Combo Box Button Size? Date: Mon, 13 Sep 2004 22:04:36 -0400 >----- Original Message ----- >From: "Christopher Hawkins" >To: >Sent: Monday, September 13, 2004 6:20 PM >Subject: [AccessD] Hack Requested - Increase Combo Box Button Size? > > >> I suppose the title says it all. I know there are various hacks >for >> playing with the window sizes of everything, but I need to be >> surgical - I am creating an interface for a touch-screen computer, >> and it requires the use of a combo box. >> >> I need a way to fatten the combo box button and the scroll bar >> buttons. Has anyone done this before? Either prewritten code or a >> link in the right direction would be appreciated. >> > >Christopher, > > >If you don't get any other answers, try creating your own using a >combination of commandbutton, textbox, and a listbox. > >It should be easy enough, if you're familiar with it, to create a >WithEvents class to handle click events for Dropdown, Visible, >NotInList, etc. > >---- > >Michael R. Mattys >Mattys MapLib for Microsoft MapPoint >http://www.mattysconsulting.com >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pblack at hotmail.com Tue Sep 14 17:16:40 2004 From: pblack at hotmail.com (Paul Black) Date: Tue, 14 Sep 2004 22:16:40 +0000 Subject: [AccessD] Problem with code to change field data type in vba Message-ID: Hi I using Access 97 and can not get the following to work: Private Sub Command0_Click() Dim fld As Field Dim dbs As Database Dim tbl As TableDef Set dbs = CurrentDb() For Each fld In tbl.Fields If Left$(tbl.Name, 2) = "t_" And fld <> "t_proj" And fld <> "t_pt" And fld <> "t_plink" And fld <> "ptlink" And fld <> "t_species" Then fld.Type = dbInteger End If Next fld Beep MsgBox "Done" End Sub It is supposed to change the field data type to integer from text. All field names to change begin with 't_' excluding certain fields listed above. I keep getting an error: Runtime error '91' Object Variable or With Block variable not set Other than the excluded fields above all the data conatined in the fields is numeric or has a Null value... but it is in a text field. The data is coming to me off of a Pocket PC and it won't let me change the field type to numeric. Please help me solve this. Thanks PB _________________________________________________________________ Get ready for school! Find articles, homework help and more in the Back to School Guide! http://special.msn.com/network/04backtoschool.armx From KP at sdsonline.net Tue Sep 14 18:12:05 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Wed, 15 Sep 2004 09:12:05 +1000 Subject: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form References: <2F8793082E00D4119A1700B0D0216BF8031BB376@main2.marlow.com> Message-ID: <006501c49ab0$4255fe30$6501a8c0@user> I don't have VB Drew....... Kath ----- Original Message ----- From: DWUTKA at marlow.com To: accessd at databaseadvisors.com Sent: Wednesday, September 15, 2004 12:01 AM Subject: RE: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form If you have VB, you can just 'preview' it for them in a simple VB browser. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Tuesday, September 14, 2004 6:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form Thanks Eric - I am finding this so confusing. Yes - I have IIS running here - so my file must be in a folder from C:\Inetpub\wwwroot? I need to allow the database users to share a common file - can it find a web in a network location? To go back to the basic requirements - what I am trying to do is allow users to click on a button in the databse which will open a document which will be published to the web. I want them to be able to create and edit that document by following a link from an access form, because the letter that the users 'create' will be linked to recipients from my database. They could theoretically do it in Word or Notepad (or even within Access), but I want them to see how it will preview on the web before they finalise it, so formatting is done. I don't want to have to worry about whether they are running IIS or create web folders or whatever - just open and edit a simple html file in Frontpage so they can see how it would publish. Am I going about this the wrong way? TIA! Kath ----- Original Message ----- From: Eric Barro To: Access Developers discussion and problem solving Sent: Tuesday, September 14, 2004 11:31 AM Subject: RE: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form Kath, FP webs expect to open these web folders in reference to the web root folder in IIS. For example: You have IIS (web server) running on the machine and you have a web called MYWEB. IIS sees this as http://localhost/MYWEB. The physical location (assuming the web root is C:\INETPUB\WWWROOT) is C:\INETPUB\WWWROOT\MYWEB\. So...if MYWEB is in a different folder...say C:\INETPUB\WWWROOT\ANOTHERFOLDER\MYWEB\ FP won't be able to recognize that as a web location. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Monday, September 13, 2004 6:13 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Urgent help please - Can't open html page in Frontpagefrom Access form I have wasted ages on this so am now begging assistance........ I have an html file (empty at present - later it will have some basic text) I need to my code to - Make a copy of the template.html file (I can do that) and - give it a new name, eg. Template_BHP_140904.html (I can do that) - Open the html file just created in Frontpage for users to modify the document (That's where I'm stuck....) My problem is a total lack of knowledge of files vs. webs and therefore the syntax I need. Questions: - - Do I have to have a 'web' or 'web folder' - can't I just have an html file and open it? - If I can, what is the alternative syntax to .webs.open - eg. I am looking for a .pages.open property or .files.open ? Here's my code so far - when I run it I get an error - There is no web named "/E:/SDS/Clients/CPP/WebLetters/Template.html" ---------------------------------------------------------------------------- ---- Private Sub CmdOpenFP_Click() Dim oFPweb As FrontPage.Web Dim oFP As FrontPage.Application Dim FrontPageRunning As Boolean 'Determine whether FrontPage is alredy open or not FrontPageRunning = IsFrontPageRunning() If Not FrontPageRunning Then MsgBox ("Frontpage is Closed") Set oFP = CreateObject("Frontpage.Application") Else MsgBox ("Frontpage is already open") Set oFP = GetObject(, "Frontpage.Application") End If 'add code here later to make a copy of my file 'open file in front page------------------------------------------------ oFP.Webs.Open ("E:\Sds\Clients\CPP\Webletters\template.html") 'STUCK HERE ' Show FrontPage oFPweb.Activate 'Set oFP = Nothing End Sub ---------------------------------------------------------------------------- ---- TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rfv at entelix.com Tue Sep 14 19:17:19 2004 From: rfv at entelix.com (rfv at entelix.com) Date: Tue, 14 Sep 2004 19:17:19 -0500 Subject: [AccessD] (no subject) Message-ID: <200409150017.i8F0HO624634@databaseadvisors.com> Hi, I am not sure if it is correct to post this kind of message on this forum. If it is not, please I apologize. We just uploaded our first beta demo to www.dbxtra.com. DBxtra - enterprise reporting system - is a innovative and comprehensive data-explorer and reporting tool for information delivery, analysis and decision making. It connects to multiple databases across enterprises, and allows exploring your data in unlimited ways in order to take the right business decisions. It does the following 1. Connect to your data (MS Access, SQL Server, Excel, Paradox, DBF and Tetx files) 2. Explore your data 3. Design and deploy your reports 4. Export your data 5. Send your data by E-mail 6. Schedule reports and alerts You can download a demo and test it. After you tested it and if you write us your comments, we will give you a license for free. I am also open minded to receive any critics about the web site. Thanks to all of you. Rudolf F. Vanek www.dbxtra.com From rfv at entelix.com Tue Sep 14 19:17:41 2004 From: rfv at entelix.com (rfv at entelix.com) Date: Tue, 14 Sep 2004 19:17:41 -0500 Subject: [AccessD] DBxtra Message-ID: <200409150017.i8F0Hl625569@databaseadvisors.com> Hi, I am not sure if it is correct to post this kind of message on this forum. If it is not, please I apologize. We just uploaded our first beta demo to www.dbxtra.com. DBxtra - enterprise reporting system - is a innovative and comprehensive data-explorer and reporting tool for information delivery, analysis and decision making. It connects to multiple databases across enterprises, and allows exploring your data in unlimited ways in order to take the right business decisions. It does the following 1. Connect to your data (MS Access, SQL Server, Excel, Paradox, DBF and Tetx files) 2. Explore your data 3. Design and deploy your reports 4. Export your data 5. Send your data by E-mail 6. Schedule reports and alerts You can download a demo and test it. After you tested it and if you write us your comments, we will give you a license for free. I am also open minded to receive any critics about the web site. Thanks to all of you. Rudolf F. Vanek www.dbxtra.com From accessd at shaw.ca Tue Sep 14 22:03:57 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 14 Sep 2004 20:03:57 -0700 Subject: [AccessD] Urgent help please - Can't open html pageinFrontpagefrom Access form In-Reply-To: <006501c49ab0$4255fe30$6501a8c0@user> Message-ID: Hi Kath: If the file is in html format and saved with the html extension. I.e. test.html, then any station with an active browser will display it. Even if the file is originally a document file it can be saved as an html file and Microsoft will do the conversion for you...sometime it is not very pretty but it is simple. All that has to be done for each station to view/run it is that the html 'document' has to be stored in a common shared directory. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Tuesday, September 14, 2004 4:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Urgent help please - Can't open html pageinFrontpagefrom Access form I don't have VB Drew....... Kath ----- Original Message ----- From: DWUTKA at marlow.com To: accessd at databaseadvisors.com Sent: Wednesday, September 15, 2004 12:01 AM Subject: RE: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form If you have VB, you can just 'preview' it for them in a simple VB browser. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Tuesday, September 14, 2004 6:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form Thanks Eric - I am finding this so confusing. Yes - I have IIS running here - so my file must be in a folder from C:\Inetpub\wwwroot? I need to allow the database users to share a common file - can it find a web in a network location? To go back to the basic requirements - what I am trying to do is allow users to click on a button in the databse which will open a document which will be published to the web. I want them to be able to create and edit that document by following a link from an access form, because the letter that the users 'create' will be linked to recipients from my database. They could theoretically do it in Word or Notepad (or even within Access), but I want them to see how it will preview on the web before they finalise it, so formatting is done. I don't want to have to worry about whether they are running IIS or create web folders or whatever - just open and edit a simple html file in Frontpage so they can see how it would publish. Am I going about this the wrong way? TIA! Kath ----- Original Message ----- From: Eric Barro To: Access Developers discussion and problem solving Sent: Tuesday, September 14, 2004 11:31 AM Subject: RE: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form Kath, FP webs expect to open these web folders in reference to the web root folder in IIS. For example: You have IIS (web server) running on the machine and you have a web called MYWEB. IIS sees this as http://localhost/MYWEB. The physical location (assuming the web root is C:\INETPUB\WWWROOT) is C:\INETPUB\WWWROOT\MYWEB\. So...if MYWEB is in a different folder...say C:\INETPUB\WWWROOT\ANOTHERFOLDER\MYWEB\ FP won't be able to recognize that as a web location. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Monday, September 13, 2004 6:13 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Urgent help please - Can't open html page in Frontpagefrom Access form I have wasted ages on this so am now begging assistance........ I have an html file (empty at present - later it will have some basic text) I need to my code to - Make a copy of the template.html file (I can do that) and - give it a new name, eg. Template_BHP_140904.html (I can do that) - Open the html file just created in Frontpage for users to modify the document (That's where I'm stuck....) My problem is a total lack of knowledge of files vs. webs and therefore the syntax I need. Questions: - - Do I have to have a 'web' or 'web folder' - can't I just have an html file and open it? - If I can, what is the alternative syntax to .webs.open - eg. I am looking for a .pages.open property or .files.open ? Here's my code so far - when I run it I get an error - There is no web named "/E:/SDS/Clients/CPP/WebLetters/Template.html" -------------------------------------------------------------------------- -- ---- Private Sub CmdOpenFP_Click() Dim oFPweb As FrontPage.Web Dim oFP As FrontPage.Application Dim FrontPageRunning As Boolean 'Determine whether FrontPage is alredy open or not FrontPageRunning = IsFrontPageRunning() If Not FrontPageRunning Then MsgBox ("Frontpage is Closed") Set oFP = CreateObject("Frontpage.Application") Else MsgBox ("Frontpage is already open") Set oFP = GetObject(, "Frontpage.Application") End If 'add code here later to make a copy of my file 'open file in front page------------------------------------------------ oFP.Webs.Open ("E:\Sds\Clients\CPP\Webletters\template.html") 'STUCK HERE ' Show FrontPage oFPweb.Activate 'Set oFP = Nothing End Sub -------------------------------------------------------------------------- -- ---- TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Tue Sep 14 22:41:42 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 14 Sep 2004 20:41:42 -0700 Subject: [AccessD] Firefox Shameless plug... Message-ID: Version 1.0 is out (PR preview release) to say the least it is awesome... if you subscribe to RSS feeds for anything, you'll probably take to what they are calling LIVE bookmarks... they ARE sweet. -- -Francisco From martyconnelly at shaw.ca Tue Sep 14 23:44:23 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 14 Sep 2004 21:44:23 -0700 Subject: [AccessD] Problem with code to change field data type in vba References: Message-ID: <4147C8A7.90202@shaw.ca> You are missing a statement Set tbl = dbs.TableDefs("Table1") however this method wont work. For Access 97 with DAO '***************************************************************** ' The AlterFieldType Sub procedure requires three string ' parameters. The first string specifies the name of the table ' containing the field to be changed. The second string specifies ' the name of the field to be changed. The third string specifies ' the new data type for the field. '***************************************************************** Sub AlterFieldType (TblName As String, FieldName As String, _ NewDataType As String) Dim db As Database Dim qdf As QueryDef Set db = CurrentDb() ' Create a dummy QueryDef object. Set qdf = db.CreateQueryDef("", "Select * from PROD1") ' Add a temporary field to the table. qdf.SQL = "ALTER TABLE [" & TblName & "] ADD COLUMN_ AlterTempField " & NewDataType qdf.Execute ' Copy the data from old field into the new field. qdf.SQL = "UPDATE DISTINCTROW [" & TblName & "] SET_ AlterTempField = [" & FieldName & "]" qdf.Execute ' Delete the old field. qdf.SQL = "ALTER TABLE [" & TblName & "] DROP COLUMN ["_ & FieldName & "]" qdf.Execute ' Rename the temporary field to the old field's name. db.tabledefs("[" & TblName & "]").Fields("AlterTempField")._ Name = FieldName ' Clean up. End Sub For ADO with 2000 , you could also do this with ADO and 97 by setting an ADO reference and by setting the connection string directly like so Set cnn = New ADODB.Connection cnn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=c:\somepath\myDb.mdb;" & _ "User Id=admin;" & _ "Password=" Sub sChangeDataType() Dim cnn As ADODB.Connection Dim strSQL As String Set cnn = CurrentProject.Connection ' however this sql string might work in Access 97 if using Jet 4.0 rather than 3.51 'by selecting a reference to DAO 3.6 rather than DAO 3.51 strSQL = "ALTER TABLE [Employees] ALTER COLUMN Extension int" cnn.Execute strSQL end sub See also http://support.microsoft.com/default.aspx?scid=kb;EN-US;210304 http://support.microsoft.com/default.aspx?scid=kb;EN-US;128016 Paul Black wrote: > Hi > > I using Access 97 and can not get the following to work: > > Private Sub Command0_Click() > Dim fld As Field > Dim dbs As Database > Dim tbl As TableDef > > Set dbs = CurrentDb() > For Each fld In tbl.Fields > If Left$(tbl.Name, 2) = "t_" And fld <> "t_proj" And fld <> "t_pt" > And fld <> "t_plink" And fld <> "ptlink" And fld <> "t_species" Then > fld.Type = dbInteger > End If > Next fld > > Beep > MsgBox "Done" > End Sub > > It is supposed to change the field data type to integer from text. All > field names to change begin with 't_ > 'excludingcertainfieldslistedabove.I > keep getting an error: > > Runtime error '91' > Object Variable or With Block variable not set > > Other than the excluded fields above all the data conatined in the > fields is numeric or has a Null value... but it is in a text field. > The data is coming to me off of a Pocket PC and it won't let me change > the field type to numeric. > > Please help me solve this. > > Thanks > > PB > > _________________________________________________________________ > Get ready for school! Find articles, homework help and more in the > Back to School Guide! http://special.msn.com/network/04backtoschool.armx > -- Marty Connelly Victoria, B.C. Canada From KP at sdsonline.net Wed Sep 15 00:03:53 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Wed, 15 Sep 2004 15:03:53 +1000 Subject: [AccessD] Urgent help please - Can't open html pageinFrontpagefromAccess form References: Message-ID: <001701c49ae1$661c0d10$6501a8c0@user> Hi Jim - thanks for your comment - these particular users really don't understand (or accept) that the doc. will look different once displayed in the browser, eg. if they have created it in Word and then it is converted by Microsoft to html....and I understand where they are coming from. They have accepted that to create it as a web page they need to do so in Frontpage and then they can see how it will look once it goes live. My problem (and I can't believe that I'm still stuck on this) is providing a link for all staff in the office to be able to open the documents they create, edit them and save them. It is essential that it happen from the database because I am storing a history of documents (just path/s and filename/s) they create and they have complex selection criteria for nominating which clients eventually *see* the doc on the website. Given that it is so easy to create / and link to a doc in Word or Excel from an Access form I thought it would be pretty straightforward to do something like this in Frontpage. I'm still sure that it is.....just not there yet. Kath ----- Original Message ----- From: Jim Lawrence (AccessD) To: Access Developers discussion and problem solving Sent: Wednesday, September 15, 2004 1:03 PM Subject: RE: [AccessD] Urgent help please - Can't open html pageinFrontpagefromAccess form Hi Kath: If the file is in html format and saved with the html extension. I.e. test.html, then any station with an active browser will display it. Even if the file is originally a document file it can be saved as an html file and Microsoft will do the conversion for you...sometime it is not very pretty but it is simple. All that has to be done for each station to view/run it is that the html 'document' has to be stored in a common shared directory. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Tuesday, September 14, 2004 4:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Urgent help please - Can't open html pageinFrontpagefrom Access form I don't have VB Drew....... Kath ----- Original Message ----- From: DWUTKA at marlow.com To: accessd at databaseadvisors.com Sent: Wednesday, September 15, 2004 12:01 AM Subject: RE: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form If you have VB, you can just 'preview' it for them in a simple VB browser. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Tuesday, September 14, 2004 6:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form Thanks Eric - I am finding this so confusing. Yes - I have IIS running here - so my file must be in a folder from C:\Inetpub\wwwroot? I need to allow the database users to share a common file - can it find a web in a network location? To go back to the basic requirements - what I am trying to do is allow users to click on a button in the databse which will open a document which will be published to the web. I want them to be able to create and edit that document by following a link from an access form, because the letter that the users 'create' will be linked to recipients from my database. They could theoretically do it in Word or Notepad (or even within Access), but I want them to see how it will preview on the web before they finalise it, so formatting is done. I don't want to have to worry about whether they are running IIS or create web folders or whatever - just open and edit a simple html file in Frontpage so they can see how it would publish. Am I going about this the wrong way? TIA! Kath ----- Original Message ----- From: Eric Barro To: Access Developers discussion and problem solving Sent: Tuesday, September 14, 2004 11:31 AM Subject: RE: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form Kath, FP webs expect to open these web folders in reference to the web root folder in IIS. For example: You have IIS (web server) running on the machine and you have a web called MYWEB. IIS sees this as http://localhost/MYWEB. The physical location (assuming the web root is C:\INETPUB\WWWROOT) is C:\INETPUB\WWWROOT\MYWEB\. So...if MYWEB is in a different folder...say C:\INETPUB\WWWROOT\ANOTHERFOLDER\MYWEB\ FP won't be able to recognize that as a web location. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Monday, September 13, 2004 6:13 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Urgent help please - Can't open html page in Frontpagefrom Access form I have wasted ages on this so am now begging assistance........ I have an html file (empty at present - later it will have some basic text) I need to my code to - Make a copy of the template.html file (I can do that) and - give it a new name, eg. Template_BHP_140904.html (I can do that) - Open the html file just created in Frontpage for users to modify the document (That's where I'm stuck....) My problem is a total lack of knowledge of files vs. webs and therefore the syntax I need. Questions: - - Do I have to have a 'web' or 'web folder' - can't I just have an html file and open it? - If I can, what is the alternative syntax to .webs.open - eg. I am looking for a .pages.open property or .files.open ? Here's my code so far - when I run it I get an error - There is no web named "/E:/SDS/Clients/CPP/WebLetters/Template.html" -------------------------------------------------------------------------- -- ---- Private Sub CmdOpenFP_Click() Dim oFPweb As FrontPage.Web Dim oFP As FrontPage.Application Dim FrontPageRunning As Boolean 'Determine whether FrontPage is alredy open or not FrontPageRunning = IsFrontPageRunning() If Not FrontPageRunning Then MsgBox ("Frontpage is Closed") Set oFP = CreateObject("Frontpage.Application") Else MsgBox ("Frontpage is already open") Set oFP = GetObject(, "Frontpage.Application") End If 'add code here later to make a copy of my file 'open file in front page------------------------------------------------ oFP.Webs.Open ("E:\Sds\Clients\CPP\Webletters\template.html") 'STUCK HERE ' Show FrontPage oFPweb.Activate 'Set oFP = Nothing End Sub -------------------------------------------------------------------------- -- ---- TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Sep 15 02:05:37 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 15 Sep 2004 17:05:37 +1000 Subject: [AccessD] Urgent help please - Can't open html pageinFrontpagefromAccess form In-Reply-To: <001701c49ae1$661c0d10$6501a8c0@user> Message-ID: <41487661.9605.155D4C@lexacorp.com.pg> On 15 Sep 2004 at 15:03, Kath Pelletti wrote: > It is essential that it happen from the database because I am storing a > history of documents (just path/s and filename/s) they create and they > have complex selection criteria for nominating which clients eventually > *see* the doc on the website. Given that it is so easy to create / and > link to a doc in Word or Excel from an Access form I thought it would be > pretty straightforward to do something like this in Frontpage. I'm still > sure that it is.....just not there yet. > Since Frontpage is not the default application for .htm pages, the simplest way is to use SHELL(). Something like Function OpenWithFrontPage(HTMLFile As String) As Long Dim strCmd As String Dim strFrontPagePath As String strFrontPagePath = "C:\Program files\Frontpage\Frontpage.exe" strCmd = Chr$(34) & strFrontPagePath & Chr$(34) & " " & Chr$(34) & HTMLFile & Chr$(34) Shell strCmd, vbNormalFocus End Function -- Stuart From d.dick at uws.edu.au Wed Sep 15 06:06:06 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 15 Sep 2004 21:06:06 +1000 Subject: [AccessD] A2K: Time diff calcs In-Reply-To: <027201c49a91$be215f10$6501a8c0@rock> Message-ID: <001a01c49b14$00de33f0$4a619a89@DDICK> Hi Arthur Many thanks for the tip and I agree. Store the seconds format when needed. In the relevant table should the data type be Integer? Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, 15 September 2004 5:34 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K: Time diff calcs IMHO you should always store time differences in seconds rather than any higher denomination, then leave the formatting of same to the front end. That way, IMO, your back-end data is always correct (and easily calculated), and you can postpone the formatting until the front end is right, confident that your data in the back-end is correct. Just my $.02. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Tuesday, September 14, 2004 8:25 AM To: AccessD List Subject: [AccessD] A2K: Time diff calcs Hello all I want to calculate then insert into a table the duration of a users logon in HOURS and MINUTES In the logon table the default value for the logon field is Now() and is captured at...You guessed at logon. I then run a query that updates the Logoff field to Now() once the user answers YES to loggin off. The theory being there will be a difference even if it is only 5 or 10 seconds. Unless some clown plays with the clock after loggin on --- but forget all that :-)) Both logon and logoff fields data types in the Logon Table are General Date (01/01/2004 15:45:25PM) So a user logs on at say...14/09/2004 10:08:45 PM and then logs off at say...14/09/2004 10:10:55 PM The time logged on = 2 mins and 10 secs but how do I calculate that? I have udsed DateDiff but with no success... DateDiff("Short Time",[LogonTimeAndDate],Now()) DateDiff("mm",[LogonTimeAndDate],Now()) DateDiff("nn",[LogonTimeAndDate],Now()) etc etc Many thanks in advance Darren -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Sep 15 07:12:32 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 15 Sep 2004 22:12:32 +1000 Subject: [AccessD] A2K: Time diff calcs In-Reply-To: <001a01c49b14$00de33f0$4a619a89@DDICK> References: <027201c49a91$be215f10$6501a8c0@rock> Message-ID: <4148BE50.9564.12E5B13@lexacorp.com.pg> On 15 Sep 2004 at 21:06, Darren DICK wrote: > Hi Arthur > Many thanks for the tip and I agree. Store the seconds format when needed. > In the relevant table should the data type be Integer? > if you need more than 32767 seconds (a bit over 9 hours) you will need to use a long. If you don't need that much, it is debatable. Integers take half the storage of longs, but take a bit longer to process if you are manipulating them. Depends on whether you want to save on storage or optimise processing time. However don't save them as singles or doubles. -- Stuart From gustav at cactus.dk Wed Sep 15 07:29:37 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 15 Sep 2004 14:29:37 +0200 Subject: [AccessD] A2K: Time diff calcs In-Reply-To: <4148BE50.9564.12E5B13@lexacorp.com.pg> References: <027201c49a91$be215f10$6501a8c0@rock> <4148BE50.9564.12E5B13@lexacorp.com.pg> Message-ID: <14521344621.20040915142937@cactus.dk> Hi Darren and Stuart Except for very excessive processing, processing time will be negligible compared to the time for reading and, indeed, writing the data. However, should heavy processing be needed, process the values in Long variables even if they are stored as Integer. For short intervals, four minutes or less, the seconds could even be stored as Byte. /gustav > On 15 Sep 2004 at 21:06, Darren DICK wrote: >> Hi Arthur >> Many thanks for the tip and I agree. Store the seconds format when needed. >> In the relevant table should the data type be Integer? > if you need more than 32767 seconds (a bit over 9 hours) you will need to > use a long. > If you don't need that much, it is debatable. Integers take half the > storage of longs, but take a bit longer to process if you are manipulating > them. Depends on whether you want to save on storage or optimise processing > time. > However don't save them as singles or doubles. > -- > Stuart From carlo at xsit.nl Wed Sep 15 07:59:10 2004 From: carlo at xsit.nl (Carlo van der Zon (Access IT Training)) Date: Wed, 15 Sep 2004 14:59:10 +0200 Subject: [AccessD] ADP Message-ID: <844F188BB505654DBCF15C4B24106C1008DC7B@headcon.headit.nl> Hi Group, Does anybody know how to choose de SQL database in a ADP Runtime? Thanks Carlo From subs1847 at solution-providers.ie Wed Sep 15 08:22:04 2004 From: subs1847 at solution-providers.ie (Mark L. Breen) Date: Wed, 15 Sep 2004 14:22:04 +0100 Subject: [AccessD] Gmail Invite (D) References: <003901c494ba$474923a0$de1118ac@D8TZHN0J><413E0DDB.26661.10EF57B7@lexacorp.com.pg> Message-ID: <006b01c49b29$f803a790$0101a8c0@D8TZHN0J> Thanks Stuart and Francisco, Of course, having asked the question, it seems now that the whole world is talking about gmail, sorry about that, Mark ----- Original Message ----- From: "Francisco Tapia" To: "Access Developers discussion and problem solving" Sent: Tuesday, September 07, 2004 2:02 PM Subject: Re: [AccessD] Gmail Invite (D) > Thanks, > Gmail takes a new approach to email. Not only do you get 1gb of > storage, but you get much more, organization is easier and following > threads in any mailing list is a breeze! I really do dig it, so much > that I've moved many of my current mailing subscriptions to it. > > > On Tue, 07 Sep 2004 19:36:59 +1000, Stuart McLachlan > wrote: > > On 7 Sep 2004 at 10:08, Mark L. Breen wrote: > > > > > Hello Francisco, > > > > > > I have to ask, what is gmail? Sorry if this is obvious > > > > > > > See > > https://gmail.google.com/?dest=http%3A%2F%2Fgmail.google.com%2Fgmail > > > > Then read > > > > http://gmail-is-too-creepy.com/ > > > > -- > > Stuart > > > > > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > -Francisco > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fhtapia at gmail.com Wed Sep 15 10:28:12 2004 From: fhtapia at gmail.com (fhtapia at gmail.com) Date: Wed, 15 Sep 2004 08:28:12 -0700 Subject: [AccessD] Objects.... Message-ID: So I have a label class that has a function to turn the mouse icon to a hand so users know it's a clickable item. I'd like to duplicate a MouseOver event, so for that I'm going to place a hidden box under the labels so when the mouse wanders off, I can change the color off again... I'd like to wrap the box into a class, but I'm having difficulty envisioning how I'd call all the label class objects to change back to the default color. help tips and hints appreciated... doc, url links are appreciated even more :D btw, new version of firefox is out for those that don't know... this is version 1.0 very very nice :) -- -Francisco "Rediscover the web" http://www.mozilla.org/products/firefox/ ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 From fhtapia at gmail.com Wed Sep 15 10:30:07 2004 From: fhtapia at gmail.com (fhtapia at gmail.com) Date: Wed, 15 Sep 2004 08:30:07 -0700 Subject: [AccessD] ADP In-Reply-To: <844F188BB505654DBCF15C4B24106C1008DC7B@headcon.headit.nl> References: <844F188BB505654DBCF15C4B24106C1008DC7B@headcon.headit.nl> Message-ID: File |Connection, then select the full connection settings On Wed, 15 Sep 2004 14:59:10 +0200, Carlo van der Zon (Access IT Training) wrote: > Hi Group, > > Does anybody know how to choose de SQL database in a ADP Runtime? > > Thanks > Carlo > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://www.mozilla.org/products/firefox/ ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 From gustav at cactus.dk Wed Sep 15 10:39:53 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 15 Sep 2004 17:39:53 +0200 Subject: [AccessD] Objects.... In-Reply-To: References: Message-ID: <3632760777.20040915173953@cactus.dk> Hi fhtapia alias Francisco Not quite sure what you are trying to accomplish ... Nevertheless, sounds like a perfect job for WithEvents! I believe JC has a white paper on our own web site. /gustav > So I have a label class that has a function to turn the mouse icon to > a hand so users know it's a clickable item. I'd like to duplicate a > MouseOver event, so for that I'm going to place a hidden box under the > labels so when the mouse wanders off, I can change the color off > again... > I'd like to wrap the box into a class, but I'm having difficulty > envisioning how I'd call all the label class objects to change back to > the default color. > help tips and hints appreciated... doc, url links are appreciated even more :D From lytlenj at yahoo.com Wed Sep 15 11:02:31 2004 From: lytlenj at yahoo.com (Nancy Lytle) Date: Wed, 15 Sep 2004 09:02:31 -0700 (PDT) Subject: [AccessD] Unbound subform Message-ID: <20040915160231.80676.qmail@web53906.mail.yahoo.com> I have a form that contains a subform. I would like this subform to be unbound and not visible until a button is clicked on the main form. I cannot get the subform bound properly. I get the "The expression you entered refers to an object that is closed or doesn't exist" error. I had it at one time and lost it. Any ideas? TIA Nancy The name of the subform control is sbffrmReceiving The name of the subform is frmReceiving I put the name of the subform control it the control's tag property. This is the code I am using: Private sub cmdOpenRec_Click(): Me.sbffrmReceiving.Visible = True Me.sbffrmReceiving.SetFocus If Len(Me.sbffrmReceiving.Form.SourceObject) = 0 Then Me.sbffrmReceiving.Form.SourceObject = Me.sbffrmReceiving.Form.Tag Me.sbffrmReceiving.Form.LinkChildFields = Forms!Me.sbffrmReceiving.Form.LinkChildFields Me.sbffrmReceiving.Form.LinkMasterFields = Me.sbffrmReceiving.Form.LinkMasterFields End If From cyx5 at cdc.gov Wed Sep 15 11:24:34 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Wed, 15 Sep 2004 12:24:34 -0400 Subject: [AccessD] Unbound subform Message-ID: When the main form opens, set the subform.visible=false When the button is clicked on the main form, then fire the subform.visible=true -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nancy Lytle Sent: Wednesday, September 15, 2004 12:03 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Unbound subform I have a form that contains a subform. I would like this subform to be unbound and not visible until a button is clicked on the main form. I cannot get the subform bound properly. I get the "The expression you entered refers to an object that is closed or doesn't exist" error. I had it at one time and lost it. Any ideas? TIA Nancy The name of the subform control is sbffrmReceiving The name of the subform is frmReceiving I put the name of the subform control it the control's tag property. This is the code I am using: Private sub cmdOpenRec_Click(): Me.sbffrmReceiving.Visible = True Me.sbffrmReceiving.SetFocus If Len(Me.sbffrmReceiving.Form.SourceObject) = 0 Then Me.sbffrmReceiving.Form.SourceObject = Me.sbffrmReceiving.Form.Tag Me.sbffrmReceiving.Form.LinkChildFields = Forms!Me.sbffrmReceiving.Form.LinkChildFields Me.sbffrmReceiving.Form.LinkMasterFields = Me.sbffrmReceiving.Form.LinkMasterFields End If -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Wed Sep 15 12:05:19 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 15 Sep 2004 10:05:19 -0700 Subject: [AccessD] Objects.... In-Reply-To: <3632760777.20040915173953@cactus.dk> References: <3632760777.20040915173953@cactus.dk> Message-ID: thanks for the reminder.. btw, I've fixed the outgoing name :D On Wed, 15 Sep 2004 17:39:53 +0200, Gustav Brock wrote: > Hi fhtapia alias Francisco > > Not quite sure what you are trying to accomplish ... > Nevertheless, sounds like a perfect job for WithEvents! > > I believe JC has a white paper on our own web site. > > /gustav > > > > So I have a label class that has a function to turn the mouse icon to > > a hand so users know it's a clickable item. I'd like to duplicate a > > MouseOver event, so for that I'm going to place a hidden box under the > > labels so when the mouse wanders off, I can change the color off > > again... > > > I'd like to wrap the box into a class, but I'm having difficulty > > envisioning how I'd call all the label class objects to change back to > > the default color. > > > help tips and hints appreciated... doc, url links are appreciated even more :D > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://www.mozilla.org/products/firefox/ ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 From KIsmert at TexasSystems.com Wed Sep 15 12:36:49 2004 From: KIsmert at TexasSystems.com (Ken Ismert) Date: Wed, 15 Sep 2004 12:36:49 -0500 Subject: [AccessD] Objects.... In-Reply-To: Message-ID: <00e801c49b4a$956b5120$2a3ca8c0@TEXASSYSTEMS.COM> Francisco, General approach: In an Access form, I have found no simple way to determine when the mouse has moved off of a control. The idea then, is to trap MouseMove events for all controls and sections. When a control that you don't want to animate receives a MouseMove, it must tell all controls that you are animating to turn off their backcolor. A few quick thoughts: * No need for the hidden box - just use the label's own BackColor property * You will need perhaps three objects: 1. MouseOn object - sinks MouseMove event for Labels, TextBoxes, etc. Has two functions. First, when it receives a MouseMove event, it changes the control's BackColor 'on' if it is 'off', and notifies the MouseManager to turn 'off' all other controls. Second, turns 'off' its backcolor when requested by MouseManager. 2. MouseOff object - sinks MouseMove events for Sections, Labels, TextBoxes, etc. Includes all controls on the form that you don't want to animate. Has one function: when it receives a MouseMove event, it notifies the MouseManager to turn 'off' all other controls 3. MouseManager object - maintains two collections: a MouseOn object collection, and a MouseOff object collection. Has methods for adding a MouseOn and a MouseOff object to each collection. Has a method which loops through all MouseOn objects, telling them to turn their backcolors off, except for the active one, if any. It also has a Destruct method which sets both collections to nothing. * When loading, the form then must create the MouseManager object, and tell it to add all controls to either the MouseOn or MouseOff collections. When unloading, the form must destroy the MouseManager object. Finally, you may end up disappointed with the quality of the animation you get after all this effort. It is possible to move the mouse fast enough that none of the controls get a MouseMove event, leaving one of the controls highlighted, even though your cursor is off the form. -Ken -----Original Message----- From: fhtapia at gmail.com [mailto:fhtapia at gmail.com] Sent: Wednesday, September 15, 2004 10:28 AM To: Access Developers discussion and problem solving Subject: [AccessD] Objects.... So I have a label class that has a function to turn the mouse icon to a hand so users know it's a clickable item. I'd like to duplicate a MouseOver event, so for that I'm going to place a hidden box under the labels so when the mouse wanders off, I can change the color off again... I'd like to wrap the box into a class, but I'm having difficulty envisioning how I'd call all the label class objects to change back to the default color. help tips and hints appreciated... doc, url links are appreciated even more :D btw, new version of firefox is out for those that don't know... this is version 1.0 very very nice :) -- -Francisco "Rediscover the web" http://www.mozilla.org/products/firefox/ ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 From fhtapia at gmail.com Wed Sep 15 12:52:20 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 15 Sep 2004 10:52:20 -0700 Subject: [AccessD] Objects.... In-Reply-To: <00e801c49b4a$956b5120$2a3ca8c0@TEXASSYSTEMS.COM> References: <00e801c49b4a$956b5120$2a3ca8c0@TEXASSYSTEMS.COM> Message-ID: thanks for the tips Ken, I will test out a couple of these ideas On Wed, 15 Sep 2004 12:36:49 -0500, Ken Ismert wrote: > > Francisco, > > General approach: > > In an Access form, I have found no simple way to determine when the mouse > has moved off of a control. The idea then, is to trap MouseMove events for > all controls and sections. When a control that you don't want to animate > receives a MouseMove, it must tell all controls that you are animating to > turn off their backcolor. > > A few quick thoughts: > > * No need for the hidden box - just use the label's own BackColor property > > * You will need perhaps three objects: > 1. MouseOn object - sinks MouseMove event for Labels, TextBoxes, etc. Has > two functions. First, when it receives a MouseMove event, it changes the > control's BackColor 'on' if it is 'off', and notifies the MouseManager to > turn 'off' all other controls. Second, turns 'off' its backcolor when > requested by MouseManager. > 2. MouseOff object - sinks MouseMove events for Sections, Labels, > TextBoxes, etc. Includes all controls on the form that you don't want to > animate. Has one function: when it receives a MouseMove event, it notifies > the MouseManager to turn 'off' all other controls > 3. MouseManager object - maintains two collections: a MouseOn object > collection, and a MouseOff object collection. Has methods for adding a > MouseOn and a MouseOff object to each collection. Has a method which loops > through all MouseOn objects, telling them to turn their backcolors off, > except for the active one, if any. It also has a Destruct method which sets > both collections to nothing. > > * When loading, the form then must create the MouseManager object, and tell > it to add all controls to either the MouseOn or MouseOff collections. When > unloading, the form must destroy the MouseManager object. > > Finally, you may end up disappointed with the quality of the animation you > get after all this effort. It is possible to move the mouse fast enough that > none of the controls get a MouseMove event, leaving one of the controls > highlighted, even though your cursor is off the form. > > -Ken > > > > -----Original Message----- > From: fhtapia at gmail.com [mailto:fhtapia at gmail.com] > Sent: Wednesday, September 15, 2004 10:28 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Objects.... > > So I have a label class that has a function to turn the mouse icon to > a hand so users know it's a clickable item. I'd like to duplicate a > MouseOver event, so for that I'm going to place a hidden box under the > labels so when the mouse wanders off, I can change the color off > again... > > I'd like to wrap the box into a class, but I'm having difficulty > envisioning how I'd call all the label class objects to change back to > the default color. > > help tips and hints appreciated... doc, url links are appreciated even more > :D > > btw, new version of firefox is out for those that don't know... this > is version 1.0 very very nice :) > -- > -Francisco > "Rediscover the web" > http://www.mozilla.org/products/firefox/ > ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://www.mozilla.org/products/firefox/ ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 From fhtapia at gmail.com Wed Sep 15 12:55:35 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 15 Sep 2004 10:55:35 -0700 Subject: [AccessD] Unbound subform In-Reply-To: References: Message-ID: you can also set the sourceobject = "" and when the control is clicked, you can set the sourceobject = "frm_yoursubformName" On Wed, 15 Sep 2004 12:24:34 -0400, Nicholson, Karen wrote: > When the main form opens, set the subform.visible=false > When the button is clicked on the main form, then fire the > subform.visible=true > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nancy Lytle > Sent: Wednesday, September 15, 2004 12:03 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Unbound subform > > I have a form that contains a subform. I would like > this subform to be unbound and not visible until a > button is clicked on the main form. I cannot get the > subform bound properly. I get the "The expression you > entered refers to an object that is closed or doesn't > exist" error. > I had it at one time and lost it. > Any ideas? > TIA > Nancy > > The name of the subform control is sbffrmReceiving > The name of the subform is frmReceiving > I put the name of the subform control it the control's > tag property. > > This is the code I am using: > Private sub cmdOpenRec_Click(): > > Me.sbffrmReceiving.Visible = True > Me.sbffrmReceiving.SetFocus > > If Len(Me.sbffrmReceiving.Form.SourceObject) = 0 Then > > Me.sbffrmReceiving.Form.SourceObject = > Me.sbffrmReceiving.Form.Tag > > Me.sbffrmReceiving.Form.LinkChildFields = > Forms!Me.sbffrmReceiving.Form.LinkChildFields > > Me.sbffrmReceiving.Form.LinkMasterFields = > Me.sbffrmReceiving.Form.LinkMasterFields > End If > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://www.mozilla.org/products/firefox/ ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 From serbach at new.rr.com Wed Sep 15 14:08:48 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Wed, 15 Sep 2004 14:08:48 -0500 Subject: [AccessD] Gmail Invite (D) In-Reply-To: References: <003901c494ba$474923a0$de1118ac@D8TZHN0J> <413E0DDB.26661.10EF57B7@lexacorp.com.pg> Message-ID: <20040915140848.2051417651.serbach@new.rr.com> Francisco, I see that Gmail is in beta. There, apparently, is no sign-up at the moment, so your "invite" was the only way to sign up as of now. Interesting. Might be a good address for giving out on web pages and such rather than my bona fide address. I purchased Bloomba back in October. It's forte is searching, too. I've been pretty happy with it except for the fact that I can't figure out how to request a Read Receipt. It's full text indexing is very fast. Steve Erbach Neenah, WI From fhtapia at gmail.com Wed Sep 15 15:13:56 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 15 Sep 2004 13:13:56 -0700 Subject: [AccessD] Gmail Invite (D) In-Reply-To: <20040915140848.2051417651.serbach@new.rr.com> References: <003901c494ba$474923a0$de1118ac@D8TZHN0J> <413E0DDB.26661.10EF57B7@lexacorp.com.pg> <20040915140848.2051417651.serbach@new.rr.com> Message-ID: I've never used Bloomba. I find myself liking Gmail a little more everyday, now especially more because I'm getting used to the keyboard shortcuts :), and on managing filters... I do have one that is my IGNORE thread filter.. you just choose your topic in the subject line such as ("Gmail Invite (D)" OR "Bound vs Unbound") and then select it to auto-trash these messages, and viola, you'll never see those messages hit your inbox again... so far it's worked flawlessly... :) btw,... for those who are using IE, the new JPEG exploit is a real baddy as it can be used to grab uids and pwds from your IE cache and transmit them to the world :( On Wed, 15 Sep 2004 14:08:48 -0500, Steven W. Erbach wrote: > Francisco, > > I see that Gmail is in beta. There, apparently, is no sign-up at the moment, so your "invite" was the only way to sign up as of now. Interesting. Might be a good address for giving out on web pages and such rather than my bona fide address. > > I purchased Bloomba back in October. It's forte is searching, too. I've been pretty happy with it except for the fact that I can't figure out how to request a Read Receipt. It's full text indexing is very fast. > > Steve Erbach > Neenah, WI > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://www.mozilla.org/products/firefox/ ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 From serbach at new.rr.com Wed Sep 15 16:07:01 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Wed, 15 Sep 2004 16:07:01 -0500 Subject: [AccessD] Firefox Shameless plug... In-Reply-To: References: Message-ID: <20040915160701.729623265.serbach@new.rr.com> Francisco, I've downloaded an earlier release of Firefox and now this one. I've got an HTML file on my C: drive that I use for my home page. I've posted it to: http://www.swerbach.com/serbach/erbach.htm Look at it with FireFox and then with Internet Explorer. Firefox, at least on my system, makes the table way too spaced out, to coin a phrase. Steve Erbach Neenah, WI From Jeff at OUTBAKTech.com Wed Sep 15 16:48:03 2004 From: Jeff at OUTBAKTech.com (Jeff Barrows) Date: Wed, 15 Sep 2004 16:48:03 -0500 Subject: [AccessD] Gmail Invite (D) Message-ID: <8DA8776D2F418E46A2A464AC6CE630509349@outbaksrv1.outbaktech.com> Are you looking for a GMail invite? Jeff Barrows MCP, MCAD, MCSD Outbak Technologies, LLC Racine, WI jeff at outbaktech.com -----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: Wednesday, September 15, 2004 2:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Gmail Invite (D) Francisco, I see that Gmail is in beta. There, apparently, is no sign-up at the moment, so your "invite" was the only way to sign up as of now. Interesting. Might be a good address for giving out on web pages and such rather than my bona fide address. I purchased Bloomba back in October. It's forte is searching, too. I've been pretty happy with it except for the fact that I can't figure out how to request a Read Receipt. It's full text indexing is very fast. Steve Erbach Neenah, WI -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Wed Sep 15 17:55:19 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Wed, 15 Sep 2004 18:55:19 -0400 Subject: [AccessD] External IP Address of Local Machine In-Reply-To: <20040915160701.729623265.serbach@new.rr.com> Message-ID: <000401c49b77$13546cd0$0200a8c0@COA3> I am using WDSI, WinInet and various API's to get 2 Access applications to send data to each other over FTP. It is working well, but I want the server to be secure, that is to only allow logins/files to come from specific IP's. This is ok when I am sending, because I know my IP, and I tell the client to allow my IP. When I (hopefully) sell a copy to the client's client, how can they easily determine their IP? I have looked at the Winsock API and can get remote IP's via Host Name. However, when I want to get the IP of the local PC, it returns the 192.168.x.x address; how can I get the external IP that the FTP server needs to know through VB/API? TIA, Steve From KP at sdsonline.net Wed Sep 15 18:11:15 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Thu, 16 Sep 2004 09:11:15 +1000 Subject: [AccessD] Urgent help please - Can't openhtml pageinFrontpagefromAccess form References: <41487661.9605.155D4C@lexacorp.com.pg> Message-ID: <007801c49b79$4d395e90$6501a8c0@user> Thanks Stuart - good to hear from you. I try to avoid the Shell but it looks like the way to go, doesn't it? Thanks for the reminder. I guess the downside is having to hardcode the location of that frontpg.exe file - ...... I might store the 'default' location of the frontpg.exe in a table, but prompt the user with a browse dialog to find it if it's in a different location. Not perfect, but OK?? Kath ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problemsolving Sent: Wednesday, September 15, 2004 5:05 PM Subject: Re: [AccessD] Urgent help please - Can't openhtml pageinFrontpagefromAccess form On 15 Sep 2004 at 15:03, Kath Pelletti wrote: > It is essential that it happen from the database because I am storing a > history of documents (just path/s and filename/s) they create and they > have complex selection criteria for nominating which clients eventually > *see* the doc on the website. Given that it is so easy to create / and > link to a doc in Word or Excel from an Access form I thought it would be > pretty straightforward to do something like this in Frontpage. I'm still > sure that it is.....just not there yet. > Since Frontpage is not the default application for .htm pages, the simplest way is to use SHELL(). Something like Function OpenWithFrontPage(HTMLFile As String) As Long Dim strCmd As String Dim strFrontPagePath As String strFrontPagePath = "C:\Program files\Frontpage\Frontpage.exe" strCmd = Chr$(34) & strFrontPagePath & Chr$(34) & " " & Chr$(34) & HTMLFile & Chr$(34) Shell strCmd, vbNormalFocus End Function -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Sep 15 18:16:02 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 16 Sep 2004 09:16:02 +1000 Subject: [AccessD] Firefox Shameless plug... In-Reply-To: <20040915160701.729623265.serbach@new.rr.com> References: Message-ID: <414959D2.17317.38DC686@lexacorp.com.pg> On 15 Sep 2004 at 16:07, Steven W. Erbach wrote: > Francisco, > > I've downloaded an earlier release of Firefox and now this one. I've got an HTML file on my C: drive that I use for my home page. I've posted it to: > > http://www.swerbach.com/serbach/erbach.htm > > Look at it with FireFox and then with Internet Explorer. Firefox, at least on my system, makes the table way too spaced out, to coin a phrase. > No, IE doesn't space it out enough. :-) You have a

around the text in every table cell. That *should* ( and does in the case of Firefox) force a lead before and after the text. IE is just ignoring these tags for some reason. What did you use to build this page? A MS product by any chance? -- Stuart From stuart at lexacorp.com.pg Wed Sep 15 18:47:48 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 16 Sep 2004 09:47:48 +1000 Subject: [AccessD] External IP Address of Local Machine In-Reply-To: <000401c49b77$13546cd0$0200a8c0@COA3> References: <20040915160701.729623265.serbach@new.rr.com> Message-ID: <41496144.8393.3AADD5D@lexacorp.com.pg> On 15 Sep 2004 at 18:55, Steve Conklin (Developer at UltraDNT) wrote: > I am using WDSI, WinInet and various API's to get 2 Access applications > to send data to each other over FTP. It is working well, but I want the > server to be secure, that is to only allow logins/files to come from > specific IP's. This is ok when I am sending, because I know my IP, and I > tell the client to allow my IP. When I (hopefully) sell a copy to the > client's client, how can they easily determine their IP? > I have looked at the Winsock API and can get remote IP's via Host Name. > However, when I want to get the IP of the local PC, it returns the > 192.168.x.x address; how can I get the external IP that the FTP server > needs to know through VB/API? > If you are working through a router, you can't since only the router knows the external address.. The only way would be to bounce an HTML request of an external website and read the return data. There a numbder of freeware tools available on the web that do just that. See http://www.snapfiles.com/freeware/network/fwip.html for examples If you're machine is directly connected to the Internet, you can iterate through it's IP adddresses. Here's a module to do it (watch for linewrap) Option Compare Database Option Explicit Const MAX_IP = 5 'To make a buffer... i dont think you have more than 5 ip on your pc.. Type IPINFO dwAddr As Long ' IP address dwIndex As Long ' interface index dwMask As Long ' subnet mask dwBCastAddr As Long ' broadcast address dwReasmSize As Long ' assembly size unused1 As Integer ' not currently used unused2 As Integer '; not currently used End Type Type MIB_IPADDRTABLE dEntrys As Long 'number of entries in the table mIPInfo(MAX_IP) As IPINFO 'array of IP address entries End Type Type IP_Array mBuffer As MIB_IPADDRTABLE BufferLen As Long End Type Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long) Public Declare Function GetIpAddrTable Lib "IPHlpApi" (pIPAdrTable As Byte, pdwSize As Long, ByVal Sort As Long) As Long Public Function ConvertAddressToString(longAddr As Long) As String Dim myByte(3) As Byte Dim Cnt As Long CopyMemory myByte(0), longAddr, 4 For Cnt = 0 To 3 ConvertAddressToString = ConvertAddressToString + CStr(myByte(Cnt)) + "." Next Cnt ConvertAddressToString = Left$(ConvertAddressToString, Len(ConvertAddressToString) - 1) End Function Public Function IPAddresses() As Long Dim lngRetVal As Long Dim lngLoop As Long Dim bBytes() As Byte Dim IPList As MIB_IPADDRTABLE GetIpAddrTable ByVal 0&, lngRetVal, True If lngRetVal <= 0 Then Exit Function ReDim bBytes(0 To lngRetVal - 1) As Byte 'retrieve the data GetIpAddrTable bBytes(0), lngRetVal, False 'Get the first 4 bytes to get the entry's.. ip installed CopyMemory IPList.dEntrys, bBytes(0), 4 For lngLoop = 0 To IPList.dEntrys - 1 'Copy whole structure to Listing.. CopyMemory IPList.mIPInfo(lngLoop), bBytes(4 + (lngLoop * Len(IPList.mIPInfo(0)))), Len(IPList.mIPInfo(lngLoop)) Debug.Print "IP address : " & ConvertAddressToString(IPList.mIPInfo(lngLoop).dwAddr) Debug.Print "IP Subnetmask : " & ConvertAddressToString(IPList.mIPInfo(lngLoop).dwMask) Debug.Print "BroadCast IP address : " & ConvertAddressToString(IPList.mIPInfo(lngLoop).dwBCastAddr) Debug.Print "**************************************" Next End Function -- Stuart From serbach at new.rr.com Wed Sep 15 22:21:15 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Wed, 15 Sep 2004 22:21:15 -0500 Subject: [AccessD] Firefox Shameless plug... In-Reply-To: <414959D2.17317.38DC686@lexacorp.com.pg> References: <414959D2.17317.38DC686@lexacorp.com.pg> Message-ID: <20040915222115.113940477.serbach@new.rr.com> Stuart, >> What did you use to build this page? A MS product by any chance? << I must confess that I stole the table design from John Dvorak's web site. I haven't changed the table data cell layout for ages. I should review it to bring it into XHTML 1.0 compliance. Steve Erbach Neenah, WI From serbach at new.rr.com Wed Sep 15 22:22:15 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Wed, 15 Sep 2004 22:22:15 -0500 Subject: [AccessD] Gmail Invite (D) In-Reply-To: <8DA8776D2F418E46A2A464AC6CE630509349@outbaksrv1.outbaktech.com> References: <8DA8776D2F418E46A2A464AC6CE630509349@outbaksrv1.outbaktech.com> Message-ID: <20040915222215.1995836797.serbach@new.rr.com> Jeff, >> Are you looking for a GMail invite? << Well, sure, if ya got one one 'a dem dere tings, eh? Steve Erbach Neenah, WI From Jeff at OUTBAKTech.com Wed Sep 15 23:25:10 2004 From: Jeff at OUTBAKTech.com (Jeff Barrows) Date: Wed, 15 Sep 2004 23:25:10 -0500 Subject: [AccessD] Gmail Invite (D) Message-ID: <8DA8776D2F418E46A2A464AC6CE63050934A@outbaksrv1.outbaktech.com> On its way! Anyone else? Jeff Barrows MCP, MCAD, MCSD Outbak Technologies, LLC Racine, WI jeff at outbaktech.com -----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: Wednesday, September 15, 2004 10:22 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Gmail Invite (D) Jeff, >> Are you looking for a GMail invite? << Well, sure, if ya got one one 'a dem dere tings, eh? Steve Erbach Neenah, WI -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Thu Sep 16 01:02:58 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 15 Sep 2004 23:02:58 -0700 Subject: [AccessD] Firefox Shameless plug... In-Reply-To: <20040915222115.113940477.serbach@new.rr.com> References: <414959D2.17317.38DC686@lexacorp.com.pg> <20040915222115.113940477.serbach@new.rr.com> Message-ID: glad I could help out ;o) On Wed, 15 Sep 2004 22:21:15 -0500, Steven W. Erbach wrote: > Stuart, > > >> What did you use to build this page? A MS product by any chance? << > > I must confess that I stole the table design from John Dvorak's web site. I haven't changed the table data cell layout for ages. I should review it to bring it into XHTML 1.0 compliance. > > Steve Erbach > Neenah, WI > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://www.mozilla.org/products/firefox/ ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 From markamatte at hotmail.com Wed Sep 15 08:19:55 2004 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 15 Sep 2004 13:19:55 +0000 Subject: [AccessD] A2K: Time diff calcs Message-ID: Maybe I missed something...but if you are already storing a start time...and an end time...do you need to store the seconds...can you just calculate the min/sec when you need to display or count? Thanks, Mark >From: Gustav Brock >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: Re: [AccessD] A2K: Time diff calcs >Date: Wed, 15 Sep 2004 14:29:37 +0200 > >Hi Darren and Stuart > >Except for very excessive processing, processing time will be >negligible compared to the time for reading and, indeed, writing the >data. >However, should heavy processing be needed, process the values in Long >variables even if they are stored as Integer. > >For short intervals, four minutes or less, the seconds could even be >stored as Byte. > >/gustav > > > > On 15 Sep 2004 at 21:06, Darren DICK wrote: > > >> Hi Arthur > >> Many thanks for the tip and I agree. Store the seconds format when >needed. > >> In the relevant table should the data type be Integer? > > > if you need more than 32767 seconds (a bit over 9 hours) you will need >to > > use a long. > > If you don't need that much, it is debatable. Integers take half the > > storage of longs, but take a bit longer to process if you are >manipulating > > them. Depends on whether you want to save on storage or optimise >processing > > time. > > > However don't save them as singles or doubles. > > > -- > > Stuart > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From awithing at twcny.rr.com Thu Sep 16 05:51:10 2004 From: awithing at twcny.rr.com (augusta) Date: Thu, 16 Sep 2004 06:51:10 -0400 Subject: [AccessD] Gmail Invite (D) In-Reply-To: <8DA8776D2F418E46A2A464AC6CE63050934A@outbaksrv1.outbaktech.com> Message-ID: <200409161051.i8GApCt3019564@ms-smtp-04.nyroc.rr.com> >On its way! Anyone else? Jeff Barrows MCP, MCAD, MCSD Yes if you have got extra! Thanks augusta From Subscriptions at servicexp.com Thu Sep 16 06:16:31 2004 From: Subscriptions at servicexp.com (Robert Gracie) Date: Thu, 16 Sep 2004 07:16:31 -0400 Subject: [AccessD] Connecting to MySQL across Internet **Anybody???** In-Reply-To: Message-ID: Hello, I have a program that may need to connect to a MySQL database across the internet, on the fly. It's only for a very small portion of the program so it may or may not be needed to be utilized by many users. So basically what is the best (lightest) way to make this connection on the fly, and only when needed? I think I will be looking at 3-4 tables MAX. To add,... it's an A2K .mdb Robert Gracie www.servicexp.com From carbonnb at gmail.com Thu Sep 16 07:15:11 2004 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 16 Sep 2004 08:15:11 -0400 Subject: [AccessD] Test Message-ID: Please Ignoe. This is just a test -- 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 markamatte at hotmail.com Thu Sep 16 07:55:44 2004 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 16 Sep 2004 12:55:44 +0000 Subject: [AccessD] Output Larg Text File Message-ID: Hello All, In A97 or A2k...I have a large report(>60,000 record and >11,000 Pages)...I need to save this as a text/rtf/something...everytime I try...I get an "over flow" error...any suggestions? Thanks, Mark From gustav at cactus.dk Thu Sep 16 08:12:31 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 16 Sep 2004 15:12:31 +0200 Subject: [AccessD] Output Larg Text File In-Reply-To: References: Message-ID: <16521239120.20040916151231@cactus.dk> Hi Mark If this is a simple report you may wish (need) to write it directly (no report) from code which is very fast too. Look up my message from 2004-01-02: "Writing raw RTF document using VBA - Solved" /gustav > In A97 or A2k...I have a large report(>60,000 record and >11,000 Pages)...I > need to save this as a text/rtf/something...everytime I try...I get an "over > flow" error...any suggestions? From stuart at lexacorp.com.pg Thu Sep 16 08:25:53 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 16 Sep 2004 23:25:53 +1000 Subject: [AccessD] Output Larg Text File In-Reply-To: Message-ID: <414A2101.1777.697D330@lexacorp.com.pg> On 16 Sep 2004 at 12:55, Mark A Matte wrote: > Hello All, > > In A97 or A2k...I have a large report(>60,000 record and >11,000 Pages)...I > need to save this as a text/rtf/something...everytime I try...I get an "over > flow" error...any suggestions? > How complex is the report? In this sort of situation, you are often better opening a text file for output, opening the underlying recordset,stepping through the records and writing out the rows. Something like: Dim rs as Recordset Set rs = CurrentDb.OpenRecordset("myquery") Open "myFile.txt" for Output as #1 While not rs.eof Print #1, rs(0) & "," & rs(1) & "," & rs(2)..... Wend Close #1 You can do as much formatting as you like for individual rows using various string manipulation functions, and by checking for changes in header fields you can throw headers rows as required. I did the same thing today to replace a "Docmd.OutputTo" to generate a web page. Writing the raw HTML directly to a file, gave me much better control over the layout of the resulting page and ran about 20 times faster than trying to Output a report to HTML. -- Stuart From Developer at UltraDNT.com Thu Sep 16 09:16:46 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Thu, 16 Sep 2004 10:16:46 -0400 Subject: [AccessD] External IP Address of Local Machine In-Reply-To: <41496144.8393.3AADD5D@lexacorp.com.pg> Message-ID: <001001c49bf7$cce00f80$0200a8c0@COA3> Thanks, Stuart. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, September 15, 2004 7:48 PM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] External IP Address of Local Machine On 15 Sep 2004 at 18:55, Steve Conklin (Developer at UltraDNT) wrote: > I am using WDSI, WinInet and various API's to get 2 Access > applications to send data to each other over FTP. It is working well, > but I want the server to be secure, that is to only allow logins/files > to come from specific IP's. This is ok when I am sending, because I > know my IP, and I tell the client to allow my IP. When I (hopefully) > sell a copy to the client's client, how can they easily determine their IP? > I have looked at the Winsock API and can get remote IP's via Host Name. > However, when I want to get the IP of the local PC, it returns the > 192.168.x.x address; how can I get the external IP that the FTP server > needs to know through VB/API? > If you are working through a router, you can't since only the router knows the external address.. The only way would be to bounce an HTML request of an external website and read the return data. There a numbder of freeware tools available on the web that do just that. See http://www.snapfiles.com/freeware/network/fwip.html for examples If you're machine is directly connected to the Internet, you can iterate through it's IP adddresses. Here's a module to do it (watch for linewrap) Option Compare Database Option Explicit Const MAX_IP = 5 'To make a buffer... i dont think you have more than 5 ip on your pc.. Type IPINFO dwAddr As Long ' IP address dwIndex As Long ' interface index dwMask As Long ' subnet mask dwBCastAddr As Long ' broadcast address dwReasmSize As Long ' assembly size unused1 As Integer ' not currently used unused2 As Integer '; not currently used End Type Type MIB_IPADDRTABLE dEntrys As Long 'number of entries in the table mIPInfo(MAX_IP) As IPINFO 'array of IP address entries End Type Type IP_Array mBuffer As MIB_IPADDRTABLE BufferLen As Long End Type Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long) Public Declare Function GetIpAddrTable Lib "IPHlpApi" (pIPAdrTable As Byte, pdwSize As Long, ByVal Sort As Long) As Long Public Function ConvertAddressToString(longAddr As Long) As String Dim myByte(3) As Byte Dim Cnt As Long CopyMemory myByte(0), longAddr, 4 For Cnt = 0 To 3 ConvertAddressToString = ConvertAddressToString + CStr(myByte(Cnt)) + "." Next Cnt ConvertAddressToString = Left$(ConvertAddressToString, Len(ConvertAddressToString) - 1) End Function Public Function IPAddresses() As Long Dim lngRetVal As Long Dim lngLoop As Long Dim bBytes() As Byte Dim IPList As MIB_IPADDRTABLE GetIpAddrTable ByVal 0&, lngRetVal, True If lngRetVal <= 0 Then Exit Function ReDim bBytes(0 To lngRetVal - 1) As Byte 'retrieve the data GetIpAddrTable bBytes(0), lngRetVal, False 'Get the first 4 bytes to get the entry's.. ip installed CopyMemory IPList.dEntrys, bBytes(0), 4 For lngLoop = 0 To IPList.dEntrys - 1 'Copy whole structure to Listing.. CopyMemory IPList.mIPInfo(lngLoop), bBytes(4 + (lngLoop * Len(IPList.mIPInfo(0)))), Len(IPList.mIPInfo(lngLoop)) Debug.Print "IP address : " & ConvertAddressToString(IPList.mIPInfo(lngLoop).dwAddr) Debug.Print "IP Subnetmask : " & ConvertAddressToString(IPList.mIPInfo(lngLoop).dwMask) Debug.Print "BroadCast IP address : " & ConvertAddressToString(IPList.mIPInfo(lngLoop).dwBCastAddr) Debug.Print "**************************************" Next End Function -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Thu Sep 16 09:39:00 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Thu, 16 Sep 2004 10:39:00 -0400 Subject: [AccessD] .TIFF Image of Report Pages Message-ID: Group, Does anyone have any brilliant ideas on how I could automatically generate a .tiff image for each page in a report? Background: Our company stores issued drawings in .tiff format. In the past, drawings have been scanned in manually in a reproduction department. Currently, I issue drawings using Access reports. It has been suggested that the .tiff creation MAY fall to the engineering department. Mark From Erwin.Craps at ithelps.be Thu Sep 16 09:48:30 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Thu, 16 Sep 2004 16:48:30 +0200 Subject: [AccessD] External IP Address of Local Machine Message-ID: <46B976F2B698FF46A4FE7636509B22DF0ADBD7@stekelbes.ithelps.local> Shields up is a test a webserver test, but just at the startpage (before the test) you can see your dns name and ip address https://www.grc.com/x/ne.dll?bh0bkyd2 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin (Developer at UltraDNT) Sent: Thursday, September 16, 2004 4:17 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] External IP Address of Local Machine Thanks, Stuart. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, September 15, 2004 7:48 PM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] External IP Address of Local Machine On 15 Sep 2004 at 18:55, Steve Conklin (Developer at UltraDNT) wrote: > I am using WDSI, WinInet and various API's to get 2 Access > applications to send data to each other over FTP. It is working well, > but I want the server to be secure, that is to only allow logins/files > to come from specific IP's. This is ok when I am sending, because I > know my IP, and I tell the client to allow my IP. When I (hopefully) > sell a copy to the client's client, how can they easily determine their IP? > I have looked at the Winsock API and can get remote IP's via Host Name. > However, when I want to get the IP of the local PC, it returns the > 192.168.x.x address; how can I get the external IP that the FTP server > needs to know through VB/API? > If you are working through a router, you can't since only the router knows the external address.. The only way would be to bounce an HTML request of an external website and read the return data. There a numbder of freeware tools available on the web that do just that. See http://www.snapfiles.com/freeware/network/fwip.html for examples If you're machine is directly connected to the Internet, you can iterate through it's IP adddresses. Here's a module to do it (watch for linewrap) Option Compare Database Option Explicit Const MAX_IP = 5 'To make a buffer... i dont think you have more than 5 ip on your pc.. Type IPINFO dwAddr As Long ' IP address dwIndex As Long ' interface index dwMask As Long ' subnet mask dwBCastAddr As Long ' broadcast address dwReasmSize As Long ' assembly size unused1 As Integer ' not currently used unused2 As Integer '; not currently used End Type Type MIB_IPADDRTABLE dEntrys As Long 'number of entries in the table mIPInfo(MAX_IP) As IPINFO 'array of IP address entries End Type Type IP_Array mBuffer As MIB_IPADDRTABLE BufferLen As Long End Type Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long) Public Declare Function GetIpAddrTable Lib "IPHlpApi" (pIPAdrTable As Byte, pdwSize As Long, ByVal Sort As Long) As Long Public Function ConvertAddressToString(longAddr As Long) As String Dim myByte(3) As Byte Dim Cnt As Long CopyMemory myByte(0), longAddr, 4 For Cnt = 0 To 3 ConvertAddressToString = ConvertAddressToString + CStr(myByte(Cnt)) + "." Next Cnt ConvertAddressToString = Left$(ConvertAddressToString, Len(ConvertAddressToString) - 1) End Function Public Function IPAddresses() As Long Dim lngRetVal As Long Dim lngLoop As Long Dim bBytes() As Byte Dim IPList As MIB_IPADDRTABLE GetIpAddrTable ByVal 0&, lngRetVal, True If lngRetVal <= 0 Then Exit Function ReDim bBytes(0 To lngRetVal - 1) As Byte 'retrieve the data GetIpAddrTable bBytes(0), lngRetVal, False 'Get the first 4 bytes to get the entry's.. ip installed CopyMemory IPList.dEntrys, bBytes(0), 4 For lngLoop = 0 To IPList.dEntrys - 1 'Copy whole structure to Listing.. CopyMemory IPList.mIPInfo(lngLoop), bBytes(4 + (lngLoop * Len(IPList.mIPInfo(0)))), Len(IPList.mIPInfo(lngLoop)) Debug.Print "IP address : " & ConvertAddressToString(IPList.mIPInfo(lngLoop).dwAddr) Debug.Print "IP Subnetmask : " & ConvertAddressToString(IPList.mIPInfo(lngLoop).dwMask) Debug.Print "BroadCast IP address : " & ConvertAddressToString(IPList.mIPInfo(lngLoop).dwBCastAddr) Debug.Print "**************************************" Next End Function -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carlo at xsit.nl Thu Sep 16 10:12:53 2004 From: carlo at xsit.nl (Carlo van der Zon (Access IT Training)) Date: Thu, 16 Sep 2004 17:12:53 +0200 Subject: [AccessD] ADP Message-ID: <844F188BB505654DBCF15C4B24106C100F9AEE@headcon.headit.nl> Ok, but this is not working in runtime. -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens fhtapia at gmail.com Verzonden: woensdag 15 september 2004 17:30 Aan: Access Developers discussion and problem solving Onderwerp: Re: [AccessD] ADP File |Connection, then select the full connection settings On Wed, 15 Sep 2004 14:59:10 +0200, Carlo van der Zon (Access IT Training) wrote: > Hi Group, > > Does anybody know how to choose de SQL database in a ADP Runtime? > > Thanks > Carlo > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://www.mozilla.org/products/firefox/ ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Thu Sep 16 10:13:13 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Thu, 16 Sep 2004 11:13:13 -0400 Subject: [AccessD] .TIFF Image of Report Pages Message-ID: <08F823FD83787D4BA0B99CA580AD3C74089BD1@TTNEXCHCL2.hshhp.com> If you can store the report as a pdf there are conversions available to get you to TIFF (I think Acrobat 6 saves as TIFF). HTH, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 16, 2004 10:39 AM To: [AccessD] Subject: [AccessD] .TIFF Image of Report Pages Group, Does anyone have any brilliant ideas on how I could automatically generate a .tiff image for each page in a report? Background: Our company stores issued drawings in .tiff format. In the past, drawings have been scanned in manually in a reproduction department. Currently, I issue drawings using Access reports. It has been suggested that the .tiff creation MAY fall to the engineering department. Mark -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From gustav at cactus.dk Thu Sep 16 10:36:18 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 16 Sep 2004 17:36:18 +0200 Subject: [AccessD] .TIFF Image of Report Pages In-Reply-To: References: Message-ID: <6329865764.20040916173618@cactus.dk> Hi Mark The "Print To Picture" printer driver: http://progrex.narod.ru/ptp.html can output to PCX, BMP, or PNG files. Then you can convert to TIFF. /gustav > Does anyone have any brilliant ideas on how I could automatically generate a > .tiff image for each page in a report? > Background: Our company stores issued drawings in .tiff format. In the > past, drawings have been scanned in manually in a reproduction department. > Currently, I issue drawings using Access reports. It has been suggested > that the .tiff creation MAY fall to the engineering department. From Developer at UltraDNT.com Thu Sep 16 11:13:01 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Thu, 16 Sep 2004 12:13:01 -0400 Subject: [AccessD] Connecting to MySQL across Internet **Anybody???** In-Reply-To: Message-ID: <000301c49c08$0a004dc0$0200a8c0@COA3> Ok, I'll take a shot, but this is a strict AFAIK, maybe someone else knows better ... Assuming your Access application is running completely on the client PC (that's why you asked this list), that is, no ASP/IIS going on; then the only way, and its not light, would be MySQL ODBC installed on the client, then you can instantiate an ADO connection only when needed. This is an area where a Web Service could come into play; that would be lighter than ODBC, but much heavier on your development time (web server development to expose the service, application development to request the service, etc, etc) Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Thursday, September 16, 2004 7:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Connecting to MySQL across Internet **Anybody???** Hello, I have a program that may need to connect to a MySQL database across the internet, on the fly. It's only for a very small portion of the program so it may or may not be needed to be utilized by many users. So basically what is the best (lightest) way to make this connection on the fly, and only when needed? I think I will be looking at 3-4 tables MAX. To add,... it's an A2K .mdb Robert Gracie www.servicexp.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Sep 16 12:12:38 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 16 Sep 2004 10:12:38 -0700 Subject: [AccessD] Connecting to MySQL across Internet **Anybody???** References: Message-ID: <4149C986.1020103@shaw.ca> Roughly it would look like this check for correct options or if driver name has changed for MYODBC and or using OLEDB version from http://dev.mysql.com/tech-resources/articles/vb-blob-handling.html 'CREATE CONNECTION OBJECT AND ASSIGN CONNECTION STRING Dim conn As ADODB.Connection Set conn = New ADODB.Connection conn.ConnectionString = "DRIVER={MySQL ODBC 3.51 Driver};" _ & "SERVER=127.0.0.1;" _ & "DATABASE=test;" _ & "UID=testuser;" _ & "PWD=12345;" _ & "OPTION=" & 1 + 2 + 8 + 32 + 2048 + 16384 conn.CursorLocation = adUseClient conn.Open 'OPEN RECORDSET FOR WRITING Dim rs As ADODB.Recordset Set rs = New ADODB.Recordset rs.Open "SELECT * FROM TableName", conn, adOpenStatic, adLockOptimistic ------------------- a program to test an app using MySQL. It uses ADO 2.5 on a MySQL server version 3.23.47. Note - if the MySQL database is off-site (available through the internet), default port 3306 must be open on the server/firewall. Sub TestMySQL() On Error Resume Next Dim cn As New ADODB.Connection Dim sql As String 'Set Connection String cn.ConnectionString = "driver={MySQL ODBC 3.51 Driver};server=xx.xxx.xxx.x;Port=xxxx;uid=user;pwd=passwrd;database=Phonebook" cn.Open 'Add records to table sql = "INSERT INTO Phonelist (ID, FName, LName, PhoneNum) VALUES" _ & "('" & txtID & "','" & txtFName & "','" & txtLName & "','" & txtPhone & "')" cn.Execute sql cn.Close End Sub --------------------------------------------------- Here are some sample or freebie programs that can test your remote connection to MySQL Toad for MySQL ? Preview Release http://www.quest.com/ToadMySQL/index.asp MyAccess MySQL type of EM for MySQL as an Access Addin http://www.hiden.org/myaccess/ How to import Excel, Access or XML data into MySQL database by using a MySQL Client Tool ? Navicat? http://www.stardeveloper.com/articles/display.html?article=2003101901&page=1 Robert Gracie wrote: >Hello, > I have a program that may need to connect to a MySQL database across the >internet, on the fly. It's only for a very small portion of the program so >it may or may not be needed to be utilized by many users. > > So basically what is the best (lightest) way to make this connection on the >fly, and only when needed? I think I will be looking at 3-4 tables MAX. > > >To add,... it's an A2K .mdb > >Robert Gracie >www.servicexp.com > > > > > > > -- Marty Connelly Victoria, B.C. Canada From BBarabash at TappeConstruction.com Thu Sep 16 12:43:40 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 16 Sep 2004 12:43:40 -0500 Subject: [AccessD] .TIFF Image of Report Pages Message-ID: <100F91B31300334B89EC531C9DCB0865065950@tccexch01.tappeconstruction.net> Mark, Try this product: Zan Image Printer http://www.zan1011.com/index.htm It allows you to output to TIFF, JPG or BMP file, and you can setup file location defaults so it will automatically save the files to a specified location. (At $29, I think I might pick up a copy for myself) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 16, 2004 9:39 AM To: [AccessD] Subject: [AccessD] .TIFF Image of Report Pages Group, Does anyone have any brilliant ideas on how I could automatically generate a .tiff image for each page in a report? Background: Our company stores issued drawings in .tiff format. In the past, drawings have been scanned in manually in a reproduction department. Currently, I issue drawings using Access reports. It has been suggested that the .tiff creation MAY fall to the engineering department. Mark -- -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From fhtapia at gmail.com Thu Sep 16 12:54:34 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 16 Sep 2004 10:54:34 -0700 Subject: [AccessD] ADP In-Reply-To: <844F188BB505654DBCF15C4B24106C100F9AEE@headcon.headit.nl> References: <844F188BB505654DBCF15C4B24106C100F9AEE@headcon.headit.nl> Message-ID: oh, in that case you want to do this via code. For your database make sure to add the REFRENCE to "Microsoft OLE DB Service Component 1.0 Type Library" from a code module, then use the following in either an ON click of a button. Dim dl As MSDASC.DataLinks Dim cn As ADODB.Connection Dim rs As ADODB.Recordset Set dl = New MSDASC.DataLinks Set cn = New ADODB.Connection Set rs = New ADODB.Recordset Set cn = dl.PromptNew currentproject.connection.connectionstring = Trim(cn.ConnectionString) On Thu, 16 Sep 2004 17:12:53 +0200, Carlo van der Zon (Access IT Training) wrote: > Ok, but this is not working in runtime. > > -----Oorspronkelijk bericht----- > Van: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] Namens fhtapia at gmail.com > Verzonden: woensdag 15 september 2004 17:30 > Aan: Access Developers discussion and problem solving > Onderwerp: Re: [AccessD] ADP > > File |Connection, then select the full connection settings > > On Wed, 15 Sep 2004 14:59:10 +0200, Carlo van der Zon (Access IT > Training) wrote: > > Hi Group, > > > > Does anybody know how to choose de SQL database in a ADP Runtime? > > > > Thanks > > Carlo > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > -Francisco > "Rediscover the web" > http://www.mozilla.org/products/firefox/ > ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://www.mozilla.org/products/firefox/ ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 From JHewson at karta.com Thu Sep 16 12:55:52 2004 From: JHewson at karta.com (Jim Hewson) Date: Thu, 16 Sep 2004 12:55:52 -0500 Subject: [AccessD] .TIFF Image of Report Pages Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0103E331@karta-exc-int.Karta.com> I have Adobe Acrobat 5 and it allows one to save pdf's as TIFF, JPEG, EPS, PNG, and PS. Each page of the PDF becomes another file. Jim Hewson -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, September 16, 2004 10:13 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] .TIFF Image of Report Pages If you can store the report as a pdf there are conversions available to get you to TIFF (I think Acrobat 6 saves as TIFF). HTH, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 16, 2004 10:39 AM To: [AccessD] Subject: [AccessD] .TIFF Image of Report Pages Group, Does anyone have any brilliant ideas on how I could automatically generate a .tiff image for each page in a report? Background: Our company stores issued drawings in .tiff format. In the past, drawings have been scanned in manually in a reproduction department. Currently, I issue drawings using Access reports. It has been suggested that the .tiff creation MAY fall to the engineering department. Mark -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Sep 16 12:53:53 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 16 Sep 2004 10:53:53 -0700 Subject: [AccessD] External IP Address of Local Machine References: <46B976F2B698FF46A4FE7636509B22DF0ADBD7@stekelbes.ithelps.local> Message-ID: <4149D331.5060703@shaw.ca> I am just curious as to what this WMI code would return working through a router I get something like this without one. I have garbled numbers. DHCPEnabled: True DHCPLeaseExpires: 13/09/2004 5:42:44 AM DHCPLeaseObtained: 09/11/2004 5:42:50 AM DHCPServer: 64.58.156.40 DNSDomain: gv.homecable.net DNSHostName: MyComputer DomainDNSRegistrationEnabled: IPAddress: 24.344.56.566 IPAddresslen: 13 IPConnectionMetric: 30 IPEnabled: True MACAddress: 00:3B:27:43:6A:D1 MTU: Sub testnicconfigS() 'set reference to WMI for WinXP and 2000 'The Win32_NetworkAdapterConfiguration WMI class represents 'the attributes and behaviors of a network adapter. 'This class has been extended to include extra properties and methods 'that support the management of the TCP/IP and Internetworking Packet Exchange (IPX) 'protocols (and are independent of the network adapter). Dim strComputer As String Dim objWMIService As Object Dim colitems As Object Dim objitem As Object On Error Resume Next 'there maybe multiple Nic entries that are empty so skip them strComputer = "." 'default "." specifies local machine name Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colitems = objWMIService.ExecQuery("Select * from Win32_NetworkAdapterConfiguration", , 48) For Each objitem In colitems Debug.Print "DHCPEnabled: " & objitem.DHCPEnabled Debug.Print "DHCPLeaseExpires: " & WMIDateStringToDate (objitem.DHCPLeaseExpires) Debug.Print "DHCPLeaseObtained: " & WMIDateStringToDate (objitem.DHCPLeaseObtained) Debug.Print "DHCPServer: " & objitem.DHCPServer Debug.Print "DNSDomain: " & objitem.DNSDomain Debug.Print "DNSHostName: " & objitem.DNSHostName Debug.Print "DomainDNSRegistrationEnabled: " & objitem.DomainDNSRegistrationEnabled Debug.Print "IPAddress: " & objitem.IPAddress(0) 'this is an array like other undocumented entries 'you will have to find by trial and error 'although there is an isarray property somewhere Debug.Print "IPAddresslen: " & Len(objitem.IPAddress(0)) Debug.Print "IPConnectionMetric: " & objitem.IPConnectionMetric Debug.Print "IPEnabled: " & objitem.IPEnabled Debug.Print "MACAddress: " & objitem.MACAddress Debug.Print "MTU: " & objitem.MTU Next End Sub Function WMIDateStringToDate(dtmInstallDate) As String 'WMI has an odd date format WMIDateStringToDate = CDate(Mid(dtmInstallDate, 5, 2) & "/" & _ Mid(dtmInstallDate, 7, 2) & "/" & Left(dtmInstallDate, 4) _ & " " & Mid(dtmInstallDate, 9, 2) & ":" & _ Mid(dtmInstallDate, 11, 2) & ":" & Mid(dtmInstallDate, _ 13, 2)) End Function Erwin Craps - IT Helps wrote: >Shields up is a test a webserver test, but just at the startpage (before >the test) you can see your dns name and ip address > >https://www.grc.com/x/ne.dll?bh0bkyd2 > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin >(Developer at UltraDNT) >Sent: Thursday, September 16, 2004 4:17 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] External IP Address of Local Machine > >Thanks, Stuart. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart >McLachlan >Sent: Wednesday, September 15, 2004 7:48 PM >To: Access Developers discussion and problemsolving >Subject: Re: [AccessD] External IP Address of Local Machine > > >On 15 Sep 2004 at 18:55, Steve Conklin (Developer at UltraDNT) wrote: > > > >>I am using WDSI, WinInet and various API's to get 2 Access >>applications to send data to each other over FTP. It is working well, >> >> > > > >>but I want the server to be secure, that is to only allow logins/files >> >> > > > >>to come from specific IP's. This is ok when I am sending, because I >>know my IP, and I tell the client to allow my IP. When I (hopefully) >>sell a copy to the client's client, how can they easily determine >> >> >their IP? > > >>I have looked at the Winsock API and can get remote IP's via Host >> >> >Name. > > >>However, when I want to get the IP of the local PC, it returns the >>192.168.x.x address; how can I get the external IP that the FTP server >> >> > > > >>needs to know through VB/API? >> >> >> > >If you are working through a router, you can't since only the router >knows >the external address.. The only way would be to bounce an HTML request >of >an external website and read the return data. There a numbder of >freeware tools available on the web that do just that. See >http://www.snapfiles.com/freeware/network/fwip.html for examples > > >If you're machine is directly connected to the Internet, you can iterate > >through it's IP adddresses. > >Here's a module to do it (watch for linewrap) > >Option Compare Database >Option Explicit > >Const MAX_IP = 5 'To make a buffer... i dont think you have more than >5 ip on your pc.. > >Type IPINFO > dwAddr As Long ' IP address > dwIndex As Long ' interface index > dwMask As Long ' subnet mask > dwBCastAddr As Long ' broadcast address > dwReasmSize As Long ' assembly size > unused1 As Integer ' not currently used > unused2 As Integer '; not currently used End Type > >Type MIB_IPADDRTABLE > dEntrys As Long 'number of entries in the table > mIPInfo(MAX_IP) As IPINFO 'array of IP address entries End Type > >Type IP_Array > mBuffer As MIB_IPADDRTABLE > BufferLen As Long >End Type > >Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" >(Destination As Any, Source As Any, ByVal Length As Long) Public Declare >Function GetIpAddrTable Lib "IPHlpApi" (pIPAdrTable As Byte, pdwSize As >Long, ByVal Sort As Long) As Long > > >Public Function ConvertAddressToString(longAddr As Long) As String > Dim myByte(3) As Byte > Dim Cnt As Long > CopyMemory myByte(0), longAddr, 4 > For Cnt = 0 To 3 > ConvertAddressToString = ConvertAddressToString + >CStr(myByte(Cnt)) + "." > Next Cnt > ConvertAddressToString = Left$(ConvertAddressToString, >Len(ConvertAddressToString) - 1) End Function > >Public Function IPAddresses() As Long >Dim lngRetVal As Long >Dim lngLoop As Long >Dim bBytes() As Byte >Dim IPList As MIB_IPADDRTABLE > > GetIpAddrTable ByVal 0&, lngRetVal, True > > If lngRetVal <= 0 Then Exit Function > ReDim bBytes(0 To lngRetVal - 1) As Byte > 'retrieve the data > GetIpAddrTable bBytes(0), lngRetVal, False > > 'Get the first 4 bytes to get the entry's.. ip installed > CopyMemory IPList.dEntrys, bBytes(0), 4 > > For lngLoop = 0 To IPList.dEntrys - 1 > 'Copy whole structure to Listing.. > CopyMemory IPList.mIPInfo(lngLoop), bBytes(4 + (lngLoop * >Len(IPList.mIPInfo(0)))), Len(IPList.mIPInfo(lngLoop)) > Debug.Print "IP address : " & >ConvertAddressToString(IPList.mIPInfo(lngLoop).dwAddr) > Debug.Print "IP Subnetmask : " & >ConvertAddressToString(IPList.mIPInfo(lngLoop).dwMask) > Debug.Print "BroadCast IP address : " & >ConvertAddressToString(IPList.mIPInfo(lngLoop).dwBCastAddr) > Debug.Print "**************************************" > Next > >End Function > > >-- >Stuart > > > > -- Marty Connelly Victoria, B.C. Canada From Mark.Mitsules at ngc.com Thu Sep 16 13:40:51 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Thu, 16 Sep 2004 14:40:51 -0400 Subject: [AccessD] .TIFF Image of Report Pages Message-ID: Before now I hadn't really paid attention to all the .pdf alternatives. Wasn't there a free .pdf generator...? Something along the lines of pdf99 or similar? Mark -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Thursday, September 16, 2004 1:56 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] .TIFF Image of Report Pages I have Adobe Acrobat 5 and it allows one to save pdf's as TIFF, JPEG, EPS, PNG, and PS. Each page of the PDF becomes another file. Jim Hewson -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, September 16, 2004 10:13 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] .TIFF Image of Report Pages If you can store the report as a pdf there are conversions available to get you to TIFF (I think Acrobat 6 saves as TIFF). HTH, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 16, 2004 10:39 AM To: [AccessD] Subject: [AccessD] .TIFF Image of Report Pages Group, Does anyone have any brilliant ideas on how I could automatically generate a .tiff image for each page in a report? Background: Our company stores issued drawings in .tiff format. In the past, drawings have been scanned in manually in a reproduction department. Currently, I issue drawings using Access reports. It has been suggested that the .tiff creation MAY fall to the engineering department. Mark -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CMackin at quiznos.com Thu Sep 16 13:50:13 2004 From: CMackin at quiznos.com (Mackin, Christopher) Date: Thu, 16 Sep 2004 12:50:13 -0600 Subject: [AccessD] ADP Message-ID: Alternatively, if you want to give the users the ability to modify the Connection, just use this code: DoCmd.RunCommand acCmdConnection It works in both .adp's and .ade's (At least for Access XP) -Chris Mackin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco Tapia Sent: Thursday, September 16, 2004 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADP oh, in that case you want to do this via code. For your database make sure to add the REFRENCE to "Microsoft OLE DB Service Component 1.0 Type Library" from a code module, then use the following in either an ON click of a button. Dim dl As MSDASC.DataLinks Dim cn As ADODB.Connection Dim rs As ADODB.Recordset Set dl = New MSDASC.DataLinks Set cn = New ADODB.Connection Set rs = New ADODB.Recordset Set cn = dl.PromptNew currentproject.connection.connectionstring = Trim(cn.ConnectionString) On Thu, 16 Sep 2004 17:12:53 +0200, Carlo van der Zon (Access IT Training) wrote: > Ok, but this is not working in runtime. > > -----Oorspronkelijk bericht----- > Van: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] Namens fhtapia at gmail.com > Verzonden: woensdag 15 september 2004 17:30 > Aan: Access Developers discussion and problem solving > Onderwerp: Re: [AccessD] ADP > > File |Connection, then select the full connection settings > > On Wed, 15 Sep 2004 14:59:10 +0200, Carlo van der Zon (Access IT > Training) wrote: > > Hi Group, > > > > Does anybody know how to choose de SQL database in a ADP Runtime? > > > > Thanks > > Carlo > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > -Francisco > "Rediscover the web" > http://www.mozilla.org/products/firefox/ > ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://www.mozilla.org/products/firefox/ ttp://spreadfirefox.com/community/?q=affiliates&id=792&t=86 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Thu Sep 16 13:51:22 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Thu, 16 Sep 2004 14:51:22 -0400 Subject: [AccessD] .TIFF Image of Report Pages Message-ID: Thanks Brett. This looks like the quickest route. Mark -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Thursday, September 16, 2004 1:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] .TIFF Image of Report Pages Mark, Try this product: Zan Image Printer http://www.zan1011.com/index.htm It allows you to output to TIFF, JPG or BMP file, and you can setup file location defaults so it will automatically save the files to a specified location. (At $29, I think I might pick up a copy for myself) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 16, 2004 9:39 AM To: [AccessD] Subject: [AccessD] .TIFF Image of Report Pages Group, Does anyone have any brilliant ideas on how I could automatically generate a .tiff image for each page in a report? Background: Our company stores issued drawings in .tiff format. In the past, drawings have been scanned in manually in a reproduction department. Currently, I issue drawings using Access reports. It has been suggested that the .tiff creation MAY fall to the engineering department. Mark -- ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Thu Sep 16 14:41:55 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 16 Sep 2004 14:41:55 -0500 Subject: [AccessD] .TIFF Image of Report Pages Message-ID: <100F91B31300334B89EC531C9DCB0865065951@tccexch01.tappeconstruction.net> GhostScript is free (but quite involved to setup). PDF995 is based off of GhostScript, and charges $9.95 for the reduced headaches. Differences between a PDF995 created document and an Adobe Acrobat document are minimal (Gustav pointed out a few minor differences, should be in the archives). I would recommend PDF995 as an almost-free PDF alternative. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 16, 2004 1:41 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] .TIFF Image of Report Pages Before now I hadn't really paid attention to all the .pdf alternatives. Wasn't there a free .pdf generator...? Something along the lines of pdf99 or similar? Mark -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Thursday, September 16, 2004 1:56 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] .TIFF Image of Report Pages I have Adobe Acrobat 5 and it allows one to save pdf's as TIFF, JPEG, EPS, PNG, and PS. Each page of the PDF becomes another file. Jim Hewson -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, September 16, 2004 10:13 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] .TIFF Image of Report Pages If you can store the report as a pdf there are conversions available to get you to TIFF (I think Acrobat 6 saves as TIFF). HTH, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 16, 2004 10:39 AM To: [AccessD] Subject: [AccessD] .TIFF Image of Report Pages Group, Does anyone have any brilliant ideas on how I could automatically generate a .tiff image for each page in a report? Background: Our company stores issued drawings in .tiff format. In the past, drawings have been scanned in manually in a reproduction department. Currently, I issue drawings using Access reports. It has been suggested that the .tiff creation MAY fall to the engineering department. Mark -- -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From Jim.Hale at FleetPride.com Thu Sep 16 16:14:25 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 16 Sep 2004 16:14:25 -0500 Subject: [AccessD] .TIFF Image of Report Pages Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677217FF11@corp-es01.fleetpride.com> The only significant glitch for me with these non Adobe PDF converters has been the inability to mix landscape with portrait pages in the same document. Jim Hale -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Thursday, September 16, 2004 2:42 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] .TIFF Image of Report Pages GhostScript is free (but quite involved to setup). PDF995 is based off of GhostScript, and charges $9.95 for the reduced headaches. Differences between a PDF995 created document and an Adobe Acrobat document are minimal (Gustav pointed out a few minor differences, should be in the archives). I would recommend PDF995 as an almost-free PDF alternative. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 16, 2004 1:41 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] .TIFF Image of Report Pages Before now I hadn't really paid attention to all the .pdf alternatives. Wasn't there a free .pdf generator...? Something along the lines of pdf99 or similar? Mark -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Thursday, September 16, 2004 1:56 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] .TIFF Image of Report Pages I have Adobe Acrobat 5 and it allows one to save pdf's as TIFF, JPEG, EPS, PNG, and PS. Each page of the PDF becomes another file. Jim Hewson -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Thursday, September 16, 2004 10:13 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] .TIFF Image of Report Pages If you can store the report as a pdf there are conversions available to get you to TIFF (I think Acrobat 6 saves as TIFF). HTH, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Thursday, September 16, 2004 10:39 AM To: [AccessD] Subject: [AccessD] .TIFF Image of Report Pages Group, Does anyone have any brilliant ideas on how I could automatically generate a .tiff image for each page in a report? Background: Our company stores issued drawings in .tiff format. In the past, drawings have been scanned in manually in a reproduction department. Currently, I issue drawings using Access reports. It has been suggested that the .tiff creation MAY fall to the engineering department. Mark -- ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Patricia.O'Connor at dfa.state.ny.us Thu Sep 16 10:22:58 2004 From: Patricia.O'Connor at dfa.state.ny.us (O'Connor, Patricia (OTDA)) Date: Thu, 16 Sep 2004 11:22:58 -0400 Subject: [AccessD] TEST - ignore Message-ID: Just a test to see whether anything I send will get to list. I have tried to send something to list for several days and it is being delayed by my email server. ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at dfa.state.ny.us *(w) mailto:aa1160 at dfa.state.ny.us ****************************************************************** From Patricia.O'Connor at dfa.state.ny.us Wed Sep 15 12:44:24 2004 From: Patricia.O'Connor at dfa.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 15 Sep 2004 13:44:24 -0400 Subject: [AccessD] Project or Task manager ?? Message-ID: Hi all, This has probably been discussed but I tried the archives and can not find it. Does anyone have, know of, or have suggestions for an Access database that does project management - not ms project don't need something that sophisticated. We want to be able to store all the requests that come into our unit, who requested, status, start date, document links etc. We would want to be able to produce reports in various ways; Assignee, requestor, date completed, referencing data (attachments or hyperlinks). Maybe some sub tasks but nothing fancy. All unit member will have to be able to update, print reports, and view. Not a lot of bells and whistles. Would like to not have to roll our own if possible. Expensive software is not an option. Thanks Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at dfa.state.ny.us *(w) mailto:aa1160 at dfa.state.ny.us ****************************************************************** From andy at minstersystems.co.uk Thu Sep 16 16:28:44 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 16 Sep 2004 22:28:44 +0100 Subject: [AccessD] TEST - ignore In-Reply-To: Message-ID: <000201c49c34$2558de30$b274d0d5@minster33c3r25> There is a problem with some posts. Bryan is looking at it. Please be patient. -- Andy Lacey http://www.minstersystems.co.uk From BarbaraRyan at cox.net Thu Sep 16 16:52:32 2004 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Thu, 16 Sep 2004 17:52:32 -0400 Subject: [AccessD] Copy tables from/to databases other than the Current db Message-ID: <001401c49c37$7839ba40$0a00a8c0@cx470148a> Using code in an Access 97 application (let's call it DB1), I need to copy tables from database DB2 to database DB3. I know how to copy objects from DB1 to DB3 (using Transferdatabase), but this is stumping me. More info --- DB1 is the front end of the application; DB2 is the back end (tables) of the application, and DB3 is a temporary database that I create "on the fly" (using code in the front end). I can't copy the tables from DB1 to DB3 because DB1 only contains the links to tables in DB2. Hope this isn't too confusing! Thanks, Barb Ryan From mgauk at btconnect.com Wed Sep 15 04:23:13 2004 From: mgauk at btconnect.com (MG) Date: Wed, 15 Sep 2004 10:23:13 +0100 Subject: [AccessD] Firefox Shameless plug... In-Reply-To: Message-ID: <200409162209.i8GM9ci30409@databaseadvisors.com> Does anybody have any code to link Access to Thurderbird mail client? Thanks Max Sherman -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: 15 September 2004 04:42 To: Discussion of Hardware and Software issues; Access Developers discussion and problem solving Subject: [AccessD] Firefox Shameless plug... Version 1.0 is out (PR preview release) to say the least it is awesome... if you subscribe to RSS feeds for anything, you'll probably take to what they are calling LIVE bookmarks... they ARE sweet. -- -Francisco -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.762 / Virus Database: 510 - Release Date: 13/09/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.762 / Virus Database: 510 - Release Date: 13/09/2004 From Developer at UltraDNT.com Thu Sep 16 18:36:36 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Thu, 16 Sep 2004 19:36:36 -0400 Subject: [AccessD] External IP Address of Local Machine In-Reply-To: <4149D331.5060703@shaw.ca> Message-ID: <000001c49c46$023e5620$0200a8c0@COA3> Marty: It iterated through about 6 times; most entries were blank, on about the 4th pass I got my DSN information, but it was also only showing the LAN IP (192.168.x.x), not the WAN address. I found an external utility form the page Stuart suggested, it looks like I'll have to Shell that to know the user's external IP. The Help/About mentions MFC classes, so its making Windows calls that *should* be exposed somewhere as an API/DLL, but I haven't figured out how yet. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Thursday, September 16, 2004 1:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] External IP Address of Local Machine I am just curious as to what this WMI code would return working through a router I get something like this without one. I have garbled numbers. DHCPEnabled: True DHCPLeaseExpires: 13/09/2004 5:42:44 AM DHCPLeaseObtained: 09/11/2004 5:42:50 AM DHCPServer: 64.58.156.40 DNSDomain: gv.homecable.net DNSHostName: MyComputer DomainDNSRegistrationEnabled: IPAddress: 24.344.56.566 IPAddresslen: 13 IPConnectionMetric: 30 IPEnabled: True MACAddress: 00:3B:27:43:6A:D1 MTU: Sub testnicconfigS() 'set reference to WMI for WinXP and 2000 'The Win32_NetworkAdapterConfiguration WMI class represents 'the attributes and behaviors of a network adapter. 'This class has been extended to include extra properties and methods 'that support the management of the TCP/IP and Internetworking Packet Exchange (IPX) 'protocols (and are independent of the network adapter). Dim strComputer As String Dim objWMIService As Object Dim colitems As Object Dim objitem As Object On Error Resume Next 'there maybe multiple Nic entries that are empty so skip them strComputer = "." 'default "." specifies local machine name Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colitems = objWMIService.ExecQuery("Select * from Win32_NetworkAdapterConfiguration", , 48) For Each objitem In colitems Debug.Print "DHCPEnabled: " & objitem.DHCPEnabled Debug.Print "DHCPLeaseExpires: " & WMIDateStringToDate (objitem.DHCPLeaseExpires) Debug.Print "DHCPLeaseObtained: " & WMIDateStringToDate (objitem.DHCPLeaseObtained) Debug.Print "DHCPServer: " & objitem.DHCPServer Debug.Print "DNSDomain: " & objitem.DNSDomain Debug.Print "DNSHostName: " & objitem.DNSHostName Debug.Print "DomainDNSRegistrationEnabled: " & objitem.DomainDNSRegistrationEnabled Debug.Print "IPAddress: " & objitem.IPAddress(0) 'this is an array like other undocumented entries 'you will have to find by trial and error 'although there is an isarray property somewhere Debug.Print "IPAddresslen: " & Len(objitem.IPAddress(0)) Debug.Print "IPConnectionMetric: " & objitem.IPConnectionMetric Debug.Print "IPEnabled: " & objitem.IPEnabled Debug.Print "MACAddress: " & objitem.MACAddress Debug.Print "MTU: " & objitem.MTU Next End Sub Function WMIDateStringToDate(dtmInstallDate) As String 'WMI has an odd date format WMIDateStringToDate = CDate(Mid(dtmInstallDate, 5, 2) & "/" & _ Mid(dtmInstallDate, 7, 2) & "/" & Left(dtmInstallDate, 4) _ & " " & Mid(dtmInstallDate, 9, 2) & ":" & _ Mid(dtmInstallDate, 11, 2) & ":" & Mid(dtmInstallDate, _ 13, 2)) End Function Erwin Craps - IT Helps wrote: >Shields up is a test a webserver test, but just at the startpage >(before the test) you can see your dns name and ip address > >https://www.grc.com/x/ne.dll?bh0bkyd2 > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve >Conklin >(Developer at UltraDNT) >Sent: Thursday, September 16, 2004 4:17 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] External IP Address of Local Machine > >Thanks, Stuart. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart >McLachlan >Sent: Wednesday, September 15, 2004 7:48 PM >To: Access Developers discussion and problemsolving >Subject: Re: [AccessD] External IP Address of Local Machine > > >On 15 Sep 2004 at 18:55, Steve Conklin (Developer at UltraDNT) wrote: > > > >>I am using WDSI, WinInet and various API's to get 2 Access >>applications to send data to each other over FTP. It is working well, >> >> > > > >>but I want the server to be secure, that is to only allow logins/files >> >> > > > >>to come from specific IP's. This is ok when I am sending, because I >>know my IP, and I tell the client to allow my IP. When I (hopefully) >>sell a copy to the client's client, how can they easily determine >> >> >their IP? > > >>I have looked at the Winsock API and can get remote IP's via Host >> >> >Name. > > >>However, when I want to get the IP of the local PC, it returns the >>192.168.x.x address; how can I get the external IP that the FTP server >> >> > > > >>needs to know through VB/API? >> >> >> > >If you are working through a router, you can't since only the router >knows >the external address.. The only way would be to bounce an HTML request >of >an external website and read the return data. There a numbder of >freeware tools available on the web that do just that. See >http://www.snapfiles.com/freeware/network/fwip.html for examples > > >If you're machine is directly connected to the Internet, you can >iterate > >through it's IP adddresses. > >Here's a module to do it (watch for linewrap) > >Option Compare Database >Option Explicit > >Const MAX_IP = 5 'To make a buffer... i dont think you have more than >5 ip on your pc.. > >Type IPINFO > dwAddr As Long ' IP address > dwIndex As Long ' interface index > dwMask As Long ' subnet mask > dwBCastAddr As Long ' broadcast address > dwReasmSize As Long ' assembly size > unused1 As Integer ' not currently used > unused2 As Integer '; not currently used End Type > >Type MIB_IPADDRTABLE > dEntrys As Long 'number of entries in the table > mIPInfo(MAX_IP) As IPINFO 'array of IP address entries End Type > >Type IP_Array > mBuffer As MIB_IPADDRTABLE > BufferLen As Long >End Type > >Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" >(Destination As Any, Source As Any, ByVal Length As Long) Public >Declare Function GetIpAddrTable Lib "IPHlpApi" (pIPAdrTable As Byte, >pdwSize As Long, ByVal Sort As Long) As Long > > >Public Function ConvertAddressToString(longAddr As Long) As String > Dim myByte(3) As Byte > Dim Cnt As Long > CopyMemory myByte(0), longAddr, 4 > For Cnt = 0 To 3 > ConvertAddressToString = ConvertAddressToString + >CStr(myByte(Cnt)) + "." > Next Cnt > ConvertAddressToString = Left$(ConvertAddressToString, >Len(ConvertAddressToString) - 1) End Function > >Public Function IPAddresses() As Long >Dim lngRetVal As Long >Dim lngLoop As Long >Dim bBytes() As Byte >Dim IPList As MIB_IPADDRTABLE > > GetIpAddrTable ByVal 0&, lngRetVal, True > > If lngRetVal <= 0 Then Exit Function > ReDim bBytes(0 To lngRetVal - 1) As Byte > 'retrieve the data > GetIpAddrTable bBytes(0), lngRetVal, False > > 'Get the first 4 bytes to get the entry's.. ip installed > CopyMemory IPList.dEntrys, bBytes(0), 4 > > For lngLoop = 0 To IPList.dEntrys - 1 > 'Copy whole structure to Listing.. > CopyMemory IPList.mIPInfo(lngLoop), bBytes(4 + (lngLoop * >Len(IPList.mIPInfo(0)))), Len(IPList.mIPInfo(lngLoop)) > Debug.Print "IP address : " & >ConvertAddressToString(IPList.mIPInfo(lngLoop).dwAddr) > Debug.Print "IP Subnetmask : " & >ConvertAddressToString(IPList.mIPInfo(lngLoop).dwMask) > Debug.Print "BroadCast IP address : " & >ConvertAddressToString(IPList.mIPInfo(lngLoop).dwBCastAddr) > Debug.Print "**************************************" > Next > >End Function > > >-- >Stuart > > > > -- Marty Connelly Victoria, B.C. Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Sep 16 18:40:12 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 16 Sep 2004 16:40:12 -0700 Subject: [AccessD] Urgent help please - Can't open htmlpageinFrontpagefromAccess form In-Reply-To: <001701c49ae1$661c0d10$6501a8c0@user> Message-ID: Hi Kath: It is a interest dilemma. One side the users is having difficulty understanding the changes created to a translated word document and on the other side accepting the complexity of building a document/web page in FrontPage. The resultant FP created documents will have to be stored in directories, on your server running IIS, below the tree location \\MyServer\Inetpub\wwwroot\WebDocumentDirectory\.... then they will be able to be run/displayed from anywhere on LAN. When the web based files are stored in this location your IIS server manages their display. I.e. \\MyServer\Inetpub\wwwroot\WebDocumentDirectory\MyNewFPDocument123.html, would run and display from anywhere accessed on your network. Note: If the file, being accessed has an extension that is not supported/configured (not web files like .html, .htm, .php, .pl, .asp, etc... depends on how the IIS is setup), IIS will attempt to download the file to the station selecting it. Hope this is not confusing or over-stated. If it is confusing just ask for clarification. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Tuesday, September 14, 2004 10:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Urgent help please - Can't open htmlpageinFrontpagefromAccess form Hi Jim - thanks for your comment - these particular users really don't understand (or accept) that the doc. will look different once displayed in the browser, eg. if they have created it in Word and then it is converted by Microsoft to html....and I understand where they are coming from. They have accepted that to create it as a web page they need to do so in Frontpage and then they can see how it will look once it goes live. My problem (and I can't believe that I'm still stuck on this) is providing a link for all staff in the office to be able to open the documents they create, edit them and save them. It is essential that it happen from the database because I am storing a history of documents (just path/s and filename/s) they create and they have complex selection criteria for nominating which clients eventually *see* the doc on the website. Given that it is so easy to create / and link to a doc in Word or Excel from an Access form I thought it would be pretty straightforward to do something like this in Frontpage. I'm still sure that it is.....just not there yet. Kath ----- Original Message ----- From: Jim Lawrence (AccessD) To: Access Developers discussion and problem solving Sent: Wednesday, September 15, 2004 1:03 PM Subject: RE: [AccessD] Urgent help please - Can't open html pageinFrontpagefromAccess form Hi Kath: If the file is in html format and saved with the html extension. I.e. test.html, then any station with an active browser will display it. Even if the file is originally a document file it can be saved as an html file and Microsoft will do the conversion for you...sometime it is not very pretty but it is simple. All that has to be done for each station to view/run it is that the html 'document' has to be stored in a common shared directory. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Tuesday, September 14, 2004 4:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Urgent help please - Can't open html pageinFrontpagefrom Access form I don't have VB Drew....... Kath ----- Original Message ----- From: DWUTKA at marlow.com To: accessd at databaseadvisors.com Sent: Wednesday, September 15, 2004 12:01 AM Subject: RE: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form If you have VB, you can just 'preview' it for them in a simple VB browser. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Tuesday, September 14, 2004 6:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form Thanks Eric - I am finding this so confusing. Yes - I have IIS running here - so my file must be in a folder from C:\Inetpub\wwwroot? I need to allow the database users to share a common file - can it find a web in a network location? To go back to the basic requirements - what I am trying to do is allow users to click on a button in the databse which will open a document which will be published to the web. I want them to be able to create and edit that document by following a link from an access form, because the letter that the users 'create' will be linked to recipients from my database. They could theoretically do it in Word or Notepad (or even within Access), but I want them to see how it will preview on the web before they finalise it, so formatting is done. I don't want to have to worry about whether they are running IIS or create web folders or whatever - just open and edit a simple html file in Frontpage so they can see how it would publish. Am I going about this the wrong way? TIA! Kath ----- Original Message ----- From: Eric Barro To: Access Developers discussion and problem solving Sent: Tuesday, September 14, 2004 11:31 AM Subject: RE: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form Kath, FP webs expect to open these web folders in reference to the web root folder in IIS. For example: You have IIS (web server) running on the machine and you have a web called MYWEB. IIS sees this as http://localhost/MYWEB. The physical location (assuming the web root is C:\INETPUB\WWWROOT) is C:\INETPUB\WWWROOT\MYWEB\. So...if MYWEB is in a different folder...say C:\INETPUB\WWWROOT\ANOTHERFOLDER\MYWEB\ FP won't be able to recognize that as a web location. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Monday, September 13, 2004 6:13 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Urgent help please - Can't open html page in Frontpagefrom Access form I have wasted ages on this so am now begging assistance........ I have an html file (empty at present - later it will have some basic text) I need to my code to - Make a copy of the template.html file (I can do that) and - give it a new name, eg. Template_BHP_140904.html (I can do that) - Open the html file just created in Frontpage for users to modify the document (That's where I'm stuck....) My problem is a total lack of knowledge of files vs. webs and therefore the syntax I need. Questions: - - Do I have to have a 'web' or 'web folder' - can't I just have an html file and open it? - If I can, what is the alternative syntax to .webs.open - eg. I am looking for a .pages.open property or .files.open ? Here's my code so far - when I run it I get an error - There is no web named "/E:/SDS/Clients/CPP/WebLetters/Template.html" ------------------------------------------------------------------------ -- -- ---- Private Sub CmdOpenFP_Click() Dim oFPweb As FrontPage.Web Dim oFP As FrontPage.Application Dim FrontPageRunning As Boolean 'Determine whether FrontPage is alredy open or not FrontPageRunning = IsFrontPageRunning() If Not FrontPageRunning Then MsgBox ("Frontpage is Closed") Set oFP = CreateObject("Frontpage.Application") Else MsgBox ("Frontpage is already open") Set oFP = GetObject(, "Frontpage.Application") End If 'add code here later to make a copy of my file 'open file in front page------------------------------------------------ oFP.Webs.Open ("E:\Sds\Clients\CPP\Webletters\template.html") 'STUCK HERE ' Show FrontPage oFPweb.Activate 'Set oFP = Nothing End Sub ------------------------------------------------------------------------ -- -- ---- TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sep 16 20:47:08 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 16 Sep 2004 21:47:08 -0400 Subject: [AccessD] Output Larg Text File In-Reply-To: Message-ID: <004f01c49c58$42ca8440$e8dafea9@ColbyM6805> LOL. Who's going to read an 11 THOUSAND page report? This must be the government? I think you are running into GOD trying to protect her trees. ;-) John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Thursday, September 16, 2004 8:56 AM To: accessd at databaseadvisors.com Subject: [AccessD] Output Larg Text File Hello All, In A97 or A2k...I have a large report(>60,000 record and >11,000 Pages)...I need to save this as a text/rtf/something...everytime I try...I get an "over flow" error...any suggestions? Thanks, Mark -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Fri Sep 17 00:46:03 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 16 Sep 2004 22:46:03 -0700 Subject: [AccessD] External IP Address of Local Machine References: <000001c49c46$023e5620$0200a8c0@COA3> Message-ID: <414A7A1B.4030704@shaw.ca> I tried a couple of other methods grabbing the ip entries from this created text file ; sort of slow even with only 3 hops tracert -h 3 www.microsoft.com > testtrac.txt ---------------------------------------- If you are configuring your router thru http methods "http://192.168.0.1/st_devic.html" is supposed to give you the ip address but then you have to clear the cache use this to clear out IE cached pages for DSL router app. Private Declare Function DeleteUrlCacheEntry Lib "wininet.dll" Alias "DeleteUrlCacheEntryA" (ByVal lpszUrlName As String) As Long DeleteUrlCacheEntry "http://192.168.0.1/st_devic.html" DeleteUrlCacheEntry "http://192.168.0.1/st_stats.html" ---------------- http://checkip.dyndns.org/ can only use every 10 minutes otherwise site gets annoyed Dim objExplorer As Object Dim objDocument As Object Dim strComputer As String Dim objWMIService As Object Dim colLoggedEvents As Object Dim objEvent As Object Dim dtmDate As Variant Dim strReturn As String Set objExplorer = CreateObject("InternetExplorer.Application") 'Set objDocument = objExplorer.Document objExplorer.Navigate "about:blank" objExplorer.Toolbar = 0 objExplorer.StatusBar = 0 objExplorer.Width = 800 objExplorer.Height = 570 objExplorer.Left = 0 objExplorer.Top = 0 objExplorer.Visible = 1 objExplorer.Navigate "http://checkip.dyndns.org/" Do While (objExplorer.Busy) Loop Dim webtx As String Dim strHTML As String 'Set objDocument = objExplorer.Document 'objDocument.Open strHTML = objExplorer.Document.BODY.parentElement.outerHTML Debug.Print strHTML 'parse the string here MsgBox "finished" Set objExplorer = Nothing Set objDocument = Nothing End Sub Steve Conklin (Developer at UltraDNT) wrote: >Marty: >It iterated through about 6 times; most entries were blank, on about the >4th pass I got my DSN information, but it was also only showing the LAN >IP (192.168.x.x), not the WAN address. > >I found an external utility form the page Stuart suggested, it looks >like I'll have to Shell that to know the user's external IP. The >Help/About mentions MFC classes, so its making Windows calls that >*should* be exposed somewhere as an API/DLL, but I haven't figured out >how yet. > > >Steve > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Thursday, September 16, 2004 1:54 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] External IP Address of Local Machine > > >I am just curious as to what this WMI code would return working through > >a router >I get something like this without one. I have garbled numbers. > >DHCPEnabled: True >DHCPLeaseExpires: 13/09/2004 5:42:44 AM >DHCPLeaseObtained: 09/11/2004 5:42:50 AM >DHCPServer: 64.58.156.40 >DNSDomain: gv.homecable.net >DNSHostName: MyComputer >DomainDNSRegistrationEnabled: >IPAddress: 24.344.56.566 >IPAddresslen: 13 >IPConnectionMetric: 30 >IPEnabled: True >MACAddress: 00:3B:27:43:6A:D1 >MTU: > > >Sub testnicconfigS() >'set reference to WMI for WinXP and 2000 >'The Win32_NetworkAdapterConfiguration WMI class represents 'the >attributes and behaviors of a network adapter. 'This class has been >extended to include extra properties and methods 'that support the >management of the TCP/IP and Internetworking Packet Exchange >(IPX) 'protocols (and are independent of the network adapter). Dim >strComputer As String Dim objWMIService As Object Dim colitems As Object >Dim objitem As Object On Error Resume Next 'there maybe multiple Nic >entries that are empty so skip them > >strComputer = "." 'default "." specifies local machine name Set >objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") >Set colitems = objWMIService.ExecQuery("Select * from >Win32_NetworkAdapterConfiguration", , 48) > >For Each objitem In colitems > > Debug.Print "DHCPEnabled: " & objitem.DHCPEnabled > Debug.Print "DHCPLeaseExpires: " & WMIDateStringToDate >(objitem.DHCPLeaseExpires) > Debug.Print "DHCPLeaseObtained: " & WMIDateStringToDate >(objitem.DHCPLeaseObtained) > Debug.Print "DHCPServer: " & objitem.DHCPServer > Debug.Print "DNSDomain: " & objitem.DNSDomain > > Debug.Print "DNSHostName: " & objitem.DNSHostName > > Debug.Print "DomainDNSRegistrationEnabled: " & >objitem.DomainDNSRegistrationEnabled > > Debug.Print "IPAddress: " & objitem.IPAddress(0) > 'this is an array like other undocumented entries > 'you will have to find by trial and error > 'although there is an isarray property somewhere > Debug.Print "IPAddresslen: " & Len(objitem.IPAddress(0)) > Debug.Print "IPConnectionMetric: " & objitem.IPConnectionMetric > Debug.Print "IPEnabled: " & objitem.IPEnabled > Debug.Print "MACAddress: " & objitem.MACAddress > Debug.Print "MTU: " & objitem.MTU > >Next >End Sub >Function WMIDateStringToDate(dtmInstallDate) As String 'WMI has an odd >date format WMIDateStringToDate = CDate(Mid(dtmInstallDate, 5, 2) & "/" >& _ Mid(dtmInstallDate, 7, 2) & "/" & Left(dtmInstallDate, 4) _ & " " & >Mid(dtmInstallDate, 9, 2) & ":" & _ Mid(dtmInstallDate, 11, 2) & ":" & >Mid(dtmInstallDate, _ 13, 2)) End Function > > >Erwin Craps - IT Helps wrote: > > > >>Shields up is a test a webserver test, but just at the startpage >>(before the test) you can see your dns name and ip address >> >>https://www.grc.com/x/ne.dll?bh0bkyd2 >> >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve >>Conklin >>(Developer at UltraDNT) >>Sent: Thursday, September 16, 2004 4:17 PM >>To: 'Access Developers discussion and problem solving' >>Subject: RE: [AccessD] External IP Address of Local Machine >> >>Thanks, Stuart. >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart >>McLachlan >>Sent: Wednesday, September 15, 2004 7:48 PM >>To: Access Developers discussion and problemsolving >>Subject: Re: [AccessD] External IP Address of Local Machine >> >> >>On 15 Sep 2004 at 18:55, Steve Conklin (Developer at UltraDNT) wrote: >> >> >> >> >> >>>I am using WDSI, WinInet and various API's to get 2 Access >>>applications to send data to each other over FTP. It is working well, >>> >>> >>> >>> >> >> >> >> >>>but I want the server to be secure, that is to only allow logins/files >>> >>> >>> >>> >> >> >> >> >>>to come from specific IP's. This is ok when I am sending, because I >>>know my IP, and I tell the client to allow my IP. When I (hopefully) >>>sell a copy to the client's client, how can they easily determine >>> >>> >>> >>> >>their IP? >> >> >> >> >>>I have looked at the Winsock API and can get remote IP's via Host >>> >>> >>> >>> >>Name. >> >> >> >> >>>However, when I want to get the IP of the local PC, it returns the >>>192.168.x.x address; how can I get the external IP that the FTP server >>> >>> >>> >>> >> >> >> >> >>>needs to know through VB/API? >>> >>> >>> >>> >>> >>If you are working through a router, you can't since only the router >>knows >>the external address.. The only way would be to bounce an HTML >> >> >request > > >>of >>an external website and read the return data. There a numbder of >>freeware tools available on the web that do just that. See >>http://www.snapfiles.com/freeware/network/fwip.html for examples >> >> >>If you're machine is directly connected to the Internet, you can >>iterate >> >>through it's IP adddresses. >> >>Here's a module to do it (watch for linewrap) >> >>Option Compare Database >>Option Explicit >> >>Const MAX_IP = 5 'To make a buffer... i dont think you have more than >>5 ip on your pc.. >> >>Type IPINFO >> dwAddr As Long ' IP address >> dwIndex As Long ' interface index >> dwMask As Long ' subnet mask >> dwBCastAddr As Long ' broadcast address >> dwReasmSize As Long ' assembly size >> unused1 As Integer ' not currently used >> unused2 As Integer '; not currently used End Type >> >>Type MIB_IPADDRTABLE >> dEntrys As Long 'number of entries in the table >> mIPInfo(MAX_IP) As IPINFO 'array of IP address entries End Type >> >>Type IP_Array >> mBuffer As MIB_IPADDRTABLE >> BufferLen As Long >>End Type >> >>Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" >>(Destination As Any, Source As Any, ByVal Length As Long) Public >>Declare Function GetIpAddrTable Lib "IPHlpApi" (pIPAdrTable As Byte, >>pdwSize As Long, ByVal Sort As Long) As Long >> >> >>Public Function ConvertAddressToString(longAddr As Long) As String >> Dim myByte(3) As Byte >> Dim Cnt As Long >> CopyMemory myByte(0), longAddr, 4 >> For Cnt = 0 To 3 >> ConvertAddressToString = ConvertAddressToString + >>CStr(myByte(Cnt)) + "." >> Next Cnt >> ConvertAddressToString = Left$(ConvertAddressToString, >>Len(ConvertAddressToString) - 1) End Function >> >>Public Function IPAddresses() As Long >>Dim lngRetVal As Long >>Dim lngLoop As Long >>Dim bBytes() As Byte >>Dim IPList As MIB_IPADDRTABLE >> >> GetIpAddrTable ByVal 0&, lngRetVal, True >> >> If lngRetVal <= 0 Then Exit Function >> ReDim bBytes(0 To lngRetVal - 1) As Byte >> 'retrieve the data >> GetIpAddrTable bBytes(0), lngRetVal, False >> >> 'Get the first 4 bytes to get the entry's.. ip installed >> CopyMemory IPList.dEntrys, bBytes(0), 4 >> >> For lngLoop = 0 To IPList.dEntrys - 1 >> 'Copy whole structure to Listing.. >> CopyMemory IPList.mIPInfo(lngLoop), bBytes(4 + (lngLoop * >>Len(IPList.mIPInfo(0)))), Len(IPList.mIPInfo(lngLoop)) >> Debug.Print "IP address : " & >>ConvertAddressToString(IPList.mIPInfo(lngLoop).dwAddr) >> Debug.Print "IP Subnetmask : " & >>ConvertAddressToString(IPList.mIPInfo(lngLoop).dwMask) >> Debug.Print "BroadCast IP address : " & >>ConvertAddressToString(IPList.mIPInfo(lngLoop).dwBCastAddr) >> Debug.Print "**************************************" >> Next >> >>End Function >> >> >>-- >>Stuart >> >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From lytlenj at yahoo.com Fri Sep 17 05:48:19 2004 From: lytlenj at yahoo.com (Nancy Lytle) Date: Fri, 17 Sep 2004 03:48:19 -0700 (PDT) Subject: [AccessD] Gmail Invite (D) In-Reply-To: <8DA8776D2F418E46A2A464AC6CE63050934A@outbaksrv1.outbaktech.com> Message-ID: <20040917104819.19600.qmail@web53909.mail.yahoo.com> Sure, I'd love one. Nancy Lytle Rockville, MD --- Jeff Barrows wrote: > On its way! Anyone else? > > Jeff Barrows > MCP, MCAD, MCSD > > Outbak Technologies, LLC > Racine, WI > jeff at outbaktech.com > -----Original Message----- > From: Steven W. Erbach [mailto:serbach at new.rr.com] > Sent: Wednesday, September 15, 2004 10:22 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Gmail Invite (D) > > Jeff, > > >> Are you looking for a GMail invite? << > > Well, sure, if ya got one one 'a dem dere tings, eh? > > Steve Erbach > Neenah, WI > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cyx5 at cdc.gov Fri Sep 17 06:19:10 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 17 Sep 2004 07:19:10 -0400 Subject: [AccessD] Gmail Invite (D) Message-ID: I will take one. Thanks -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nancy Lytle Sent: Friday, September 17, 2004 6:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Gmail Invite (D) Sure, I'd love one. Nancy Lytle Rockville, MD --- Jeff Barrows wrote: > On its way! Anyone else? > > Jeff Barrows > MCP, MCAD, MCSD > > Outbak Technologies, LLC > Racine, WI > jeff at outbaktech.com > -----Original Message----- > From: Steven W. Erbach [mailto:serbach at new.rr.com] > Sent: Wednesday, September 15, 2004 10:22 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Gmail Invite (D) > > Jeff, > > >> Are you looking for a GMail invite? << > > Well, sure, if ya got one one 'a dem dere tings, eh? > > Steve Erbach > Neenah, WI > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Fri Sep 17 06:56:03 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 17 Sep 2004 07:56:03 -0400 Subject: [AccessD] Copy tables from/to databases other than the Current db In-Reply-To: <916187228923D311A6FE00A0CC3FAA30995ADD@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB849@ADGSERVER> Could you not use a make-table query? Something like: SELECT sometable1.* INTO sometable2 IN 'D:\Data\DB3.mdb' FROM sometable1; Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan Sent: Thursday, September 16, 2004 5:53 PM To: Access List Subject: [AccessD] Copy tables from/to databases other than the Current db Using code in an Access 97 application (let's call it DB1), I need to copy tables from database DB2 to database DB3. I know how to copy objects from DB1 to DB3 (using Transferdatabase), but this is stumping me. More info --- DB1 is the front end of the application; DB2 is the back end (tables) of the application, and DB3 is a temporary database that I create "on the fly" (using code in the front end). I can't copy the tables from DB1 to DB3 because DB1 only contains the links to tables in DB2. Hope this isn't too confusing! Thanks, Barb Ryan -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Fri Sep 17 06:50:26 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Fri, 17 Sep 2004 07:50:26 -0400 Subject: [AccessD] .TIFF Image of Report Pages Message-ID: Many thanks to you all. After a little research into how other divisions have handled this creation of .tiff files from AutoCAD .dwg files, I'm a little disappointed. I mean that, just on the hint that we might have to take over this responsibility, it has only taken 12 hours for you kind folks to provide a multitude of viable options. What scares me is that some divisions are actually doing this manually by scanning a hard copy. So, in comparison, would I be considered lazy or efficient for wanting a better way? ;) Mark -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, September 16, 2004 11:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] .TIFF Image of Report Pages Hi Mark The "Print To Picture" printer driver: http://progrex.narod.ru/ptp.html can output to PCX, BMP, or PNG files. Then you can convert to TIFF. /gustav > Does anyone have any brilliant ideas on how I could automatically generate a > .tiff image for each page in a report? > Background: Our company stores issued drawings in .tiff format. In the > past, drawings have been scanned in manually in a reproduction department. > Currently, I issue drawings using Access reports. It has been suggested > that the .tiff creation MAY fall to the engineering department. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Paul.Rogers at SummitMedia.co.uk Fri Sep 17 07:15:48 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Fri, 17 Sep 2004 13:15:48 +0100 Subject: [AccessD] Gmail Invite (D) Message-ID: Yes, please! -----Original Message----- From: Nancy Lytle [mailto:lytlenj at yahoo.com] Sent: 17 September 2004 11:48 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Gmail Invite (D) Sure, I'd love one. Nancy Lytle Rockville, MD --- Jeff Barrows wrote: > On its way! Anyone else? > > Jeff Barrows > MCP, MCAD, MCSD > > Outbak Technologies, LLC > Racine, WI > jeff at outbaktech.com > -----Original Message----- > From: Steven W. Erbach [mailto:serbach at new.rr.com] > Sent: Wednesday, September 15, 2004 10:22 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Gmail Invite (D) > > Jeff, > > >> Are you looking for a GMail invite? << > > Well, sure, if ya got one one 'a dem dere tings, eh? > > Steve Erbach > Neenah, WI > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.754 / Virus Database: 504 - Release Date: 06/09/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.754 / Virus Database: 504 - Release Date: 06/09/2004 From carbonnb at sympatico.ca Fri Sep 17 07:22:06 2004 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 17 Sep 2004 8:22:06 -0400 Subject: [AccessD] Gmail Invite (D) Message-ID: <20040917122207.ZLCY14661.tomts7-srv.bellnexxia.net@mxmta.bellnexxia.net> OK folks, Let's take these me too's off list. Please and thanks. -- Bryan Carbonnell - carbonnb at sympatico.ca Unfortunately common sense isn't so common! From markamatte at hotmail.com Fri Sep 17 08:03:47 2004 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 17 Sep 2004 13:03:47 +0000 Subject: [AccessD] Output Larg Text File Message-ID: John, lol...I agree...and you're close...its one of those deals where the judge says "You will provide every single piece of documentation you have on this matter, or any like it". The way data is stored...is not the way lawyers and judges like to see it. So I wanted to have a single document...well...due to time constraints(and business sign-off)...I sent them an A97 db with a report built of the 60K records...turned out to be around 13k pages. Hopefully this will appease them. Thanks, Mark P.S...I wonder if your gender reference to the Almighty will stir any comments? >From: "John W. Colby" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: RE: [AccessD] Output Larg Text File >Date: Thu, 16 Sep 2004 21:47:08 -0400 > >LOL. Who's going to read an 11 THOUSAND page report? This must be the >government? I think you are running into GOD trying to protect her trees. >;-) > >John W. Colby >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Thursday, September 16, 2004 8:56 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Output Larg Text File > > >Hello All, > >In A97 or A2k...I have a large report(>60,000 record and >11,000 Pages)...I >need to save this as a text/rtf/something...everytime I try...I get an >"over > >flow" error...any suggestions? > >Thanks, > >Mark > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Fri Sep 17 08:11:06 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Fri, 17 Sep 2004 09:11:06 -0400 Subject: [AccessD] External IP Address of Local Machine In-Reply-To: <414A7A1B.4030704@shaw.ca> Message-ID: <000f01c49cb7$caa92f10$0200a8c0@COA3> Marty: Most cool, the third one, going to dynip, did the job. The tracert didn't include mine, it just showed the ip's of my provider. The second method, as written, didn't work. I assume its because my router is not using 0.1 ... Routers cannot be counted on to use 192.168.0.1; some are 0.0, 100.1, 1.1, etc. (this early in the morning, I forget what mine is, but I'll try it later.) Also, are these pages "industry standard"? All router mfgr's use these (like st_devic.html)? Anyway, if I used that, I'd need discovery code for the router first. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, September 17, 2004 1:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] External IP Address of Local Machine I tried a couple of other methods grabbing the ip entries from this created text file ; sort of slow even with only 3 hops tracert -h 3 www.microsoft.com > testtrac.txt ---------------------------------------- If you are configuring your router thru http methods "http://192.168.0.1/st_devic.html" is supposed to give you the ip address but then you have to clear the cache use this to clear out IE cached pages for DSL router app. Private Declare Function DeleteUrlCacheEntry Lib "wininet.dll" Alias "DeleteUrlCacheEntryA" (ByVal lpszUrlName As String) As Long DeleteUrlCacheEntry "http://192.168.0.1/st_devic.html" DeleteUrlCacheEntry "http://192.168.0.1/st_stats.html" ---------------- http://checkip.dyndns.org/ can only use every 10 minutes otherwise site gets annoyed Dim objExplorer As Object Dim objDocument As Object Dim strComputer As String Dim objWMIService As Object Dim colLoggedEvents As Object Dim objEvent As Object Dim dtmDate As Variant Dim strReturn As String Set objExplorer = CreateObject("InternetExplorer.Application") 'Set objDocument = objExplorer.Document objExplorer.Navigate "about:blank" objExplorer.Toolbar = 0 objExplorer.StatusBar = 0 objExplorer.Width = 800 objExplorer.Height = 570 objExplorer.Left = 0 objExplorer.Top = 0 objExplorer.Visible = 1 objExplorer.Navigate "http://checkip.dyndns.org/" Do While (objExplorer.Busy) Loop Dim webtx As String Dim strHTML As String 'Set objDocument = objExplorer.Document 'objDocument.Open strHTML = objExplorer.Document.BODY.parentElement.outerHTML Debug.Print strHTML 'parse the string here MsgBox "finished" Set objExplorer = Nothing Set objDocument = Nothing End Sub Steve Conklin (Developer at UltraDNT) wrote: >Marty: >It iterated through about 6 times; most entries were blank, on about >the 4th pass I got my DSN information, but it was also only showing the >LAN IP (192.168.x.x), not the WAN address. > >I found an external utility form the page Stuart suggested, it looks >like I'll have to Shell that to know the user's external IP. The >Help/About mentions MFC classes, so its making Windows calls that >*should* be exposed somewhere as an API/DLL, but I haven't figured out >how yet. > > >Steve > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >MartyConnelly >Sent: Thursday, September 16, 2004 1:54 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] External IP Address of Local Machine > > >I am just curious as to what this WMI code would return working >through > >a router >I get something like this without one. I have garbled numbers. > >DHCPEnabled: True >DHCPLeaseExpires: 13/09/2004 5:42:44 AM >DHCPLeaseObtained: 09/11/2004 5:42:50 AM >DHCPServer: 64.58.156.40 >DNSDomain: gv.homecable.net >DNSHostName: MyComputer >DomainDNSRegistrationEnabled: >IPAddress: 24.344.56.566 >IPAddresslen: 13 >IPConnectionMetric: 30 >IPEnabled: True >MACAddress: 00:3B:27:43:6A:D1 >MTU: > > >Sub testnicconfigS() >'set reference to WMI for WinXP and 2000 >'The Win32_NetworkAdapterConfiguration WMI class represents 'the >attributes and behaviors of a network adapter. 'This class has been >extended to include extra properties and methods 'that support the >management of the TCP/IP and Internetworking Packet Exchange >(IPX) 'protocols (and are independent of the network adapter). Dim >strComputer As String Dim objWMIService As Object Dim colitems As >Object Dim objitem As Object On Error Resume Next 'there maybe multiple >Nic entries that are empty so skip them > >strComputer = "." 'default "." specifies local machine name Set >objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") >Set colitems = objWMIService.ExecQuery("Select * from >Win32_NetworkAdapterConfiguration", , 48) > >For Each objitem In colitems > > Debug.Print "DHCPEnabled: " & objitem.DHCPEnabled > Debug.Print "DHCPLeaseExpires: " & WMIDateStringToDate >(objitem.DHCPLeaseExpires) > Debug.Print "DHCPLeaseObtained: " & WMIDateStringToDate >(objitem.DHCPLeaseObtained) > Debug.Print "DHCPServer: " & objitem.DHCPServer > Debug.Print "DNSDomain: " & objitem.DNSDomain > > Debug.Print "DNSHostName: " & objitem.DNSHostName > > Debug.Print "DomainDNSRegistrationEnabled: " & >objitem.DomainDNSRegistrationEnabled > > Debug.Print "IPAddress: " & objitem.IPAddress(0) > 'this is an array like other undocumented entries > 'you will have to find by trial and error > 'although there is an isarray property somewhere > Debug.Print "IPAddresslen: " & Len(objitem.IPAddress(0)) > Debug.Print "IPConnectionMetric: " & objitem.IPConnectionMetric > Debug.Print "IPEnabled: " & objitem.IPEnabled > Debug.Print "MACAddress: " & objitem.MACAddress > Debug.Print "MTU: " & objitem.MTU > >Next >End Sub >Function WMIDateStringToDate(dtmInstallDate) As String 'WMI has an odd >date format WMIDateStringToDate = CDate(Mid(dtmInstallDate, 5, 2) & "/" >& _ Mid(dtmInstallDate, 7, 2) & "/" & Left(dtmInstallDate, 4) _ & " " & >Mid(dtmInstallDate, 9, 2) & ":" & _ Mid(dtmInstallDate, 11, 2) & ":" & >Mid(dtmInstallDate, _ 13, 2)) End Function > > >Erwin Craps - IT Helps wrote: > > > >>Shields up is a test a webserver test, but just at the startpage >>(before the test) you can see your dns name and ip address >> >>https://www.grc.com/x/ne.dll?bh0bkyd2 >> >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve >>Conklin >>(Developer at UltraDNT) >>Sent: Thursday, September 16, 2004 4:17 PM >>To: 'Access Developers discussion and problem solving' >>Subject: RE: [AccessD] External IP Address of Local Machine >> >>Thanks, Stuart. >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart >>McLachlan >>Sent: Wednesday, September 15, 2004 7:48 PM >>To: Access Developers discussion and problemsolving >>Subject: Re: [AccessD] External IP Address of Local Machine >> >> >>On 15 Sep 2004 at 18:55, Steve Conklin (Developer at UltraDNT) wrote: >> >> >> >> >> >>>I am using WDSI, WinInet and various API's to get 2 Access >>>applications to send data to each other over FTP. It is working well, >>> >>> >>> >>> >> >> >> >> >>>but I want the server to be secure, that is to only allow >>>logins/files >>> >>> >>> >>> >> >> >> >> >>>to come from specific IP's. This is ok when I am sending, because I >>>know my IP, and I tell the client to allow my IP. When I (hopefully) >>>sell a copy to the client's client, how can they easily determine >>> >>> >>> >>> >>their IP? >> >> >> >> >>>I have looked at the Winsock API and can get remote IP's via Host >>> >>> >>> >>> >>Name. >> >> >> >> >>>However, when I want to get the IP of the local PC, it returns the >>>192.168.x.x address; how can I get the external IP that the FTP server >>> >>> >>> >>> >> >> >> >> >>>needs to know through VB/API? >>> >>> >>> >>> >>> >>If you are working through a router, you can't since only the router >>knows >>the external address.. The only way would be to bounce an HTML >> >> >request > > >>of >>an external website and read the return data. There a numbder of >>freeware tools available on the web that do just that. See >>http://www.snapfiles.com/freeware/network/fwip.html for examples >> >> >>If you're machine is directly connected to the Internet, you can >>iterate >> >>through it's IP adddresses. >> >>Here's a module to do it (watch for linewrap) >> >>Option Compare Database >>Option Explicit >> >>Const MAX_IP = 5 'To make a buffer... i dont think you have more than >>5 ip on your pc.. >> >>Type IPINFO >> dwAddr As Long ' IP address >> dwIndex As Long ' interface index >> dwMask As Long ' subnet mask >> dwBCastAddr As Long ' broadcast address >> dwReasmSize As Long ' assembly size >> unused1 As Integer ' not currently used >> unused2 As Integer '; not currently used End Type >> >>Type MIB_IPADDRTABLE >> dEntrys As Long 'number of entries in the table >> mIPInfo(MAX_IP) As IPINFO 'array of IP address entries End Type >> >>Type IP_Array >> mBuffer As MIB_IPADDRTABLE >> BufferLen As Long >>End Type >> >>Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" >>(Destination As Any, Source As Any, ByVal Length As Long) Public >>Declare Function GetIpAddrTable Lib "IPHlpApi" (pIPAdrTable As Byte, >>pdwSize As Long, ByVal Sort As Long) As Long >> >> >>Public Function ConvertAddressToString(longAddr As Long) As String >> Dim myByte(3) As Byte >> Dim Cnt As Long >> CopyMemory myByte(0), longAddr, 4 >> For Cnt = 0 To 3 >> ConvertAddressToString = ConvertAddressToString + >>CStr(myByte(Cnt)) + "." >> Next Cnt >> ConvertAddressToString = Left$(ConvertAddressToString, >>Len(ConvertAddressToString) - 1) End Function >> >>Public Function IPAddresses() As Long >>Dim lngRetVal As Long >>Dim lngLoop As Long >>Dim bBytes() As Byte >>Dim IPList As MIB_IPADDRTABLE >> >> GetIpAddrTable ByVal 0&, lngRetVal, True >> >> If lngRetVal <= 0 Then Exit Function >> ReDim bBytes(0 To lngRetVal - 1) As Byte >> 'retrieve the data >> GetIpAddrTable bBytes(0), lngRetVal, False >> >> 'Get the first 4 bytes to get the entry's.. ip installed >> CopyMemory IPList.dEntrys, bBytes(0), 4 >> >> For lngLoop = 0 To IPList.dEntrys - 1 >> 'Copy whole structure to Listing.. >> CopyMemory IPList.mIPInfo(lngLoop), bBytes(4 + (lngLoop * >>Len(IPList.mIPInfo(0)))), Len(IPList.mIPInfo(lngLoop)) >> Debug.Print "IP address : " & >>ConvertAddressToString(IPList.mIPInfo(lngLoop).dwAddr) >> Debug.Print "IP Subnetmask : " & >>ConvertAddressToString(IPList.mIPInfo(lngLoop).dwMask) >> Debug.Print "BroadCast IP address : " & >>ConvertAddressToString(IPList.mIPInfo(lngLoop).dwBCastAddr) >> Debug.Print "**************************************" >> Next >> >>End Function >> >> >>-- >>Stuart >> >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Sep 17 10:37:22 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 17 Sep 2004 08:37:22 -0700 Subject: [AccessD] MS Access to VB6 or VB.net Message-ID: Sure, but we weren't using VB, we were using Access. We skipped VB6 entirely and we avoided installing anything but the Access runtime and our app on client machines, so dlls were out. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hudsonhealthplan.org] Sent: Monday, September 13, 2004 12:18 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net FWIW and not to take anything away from .NET but you *can* use the same data access and biz rules code in VB and ASP apps via compliled code (aka dlls). One big plus for .NET in this arena is that a lot of the display code is either the same or similar between ASP.NET apps and WinForms apps (just look at the code to bind your data to a web grid or windows data grid. It's virtually the same). Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, September 13, 2004 2:25 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net It's catching on in *our* trenches! I like working with it and our next major versions are going to be all VB.Net in part because it allows us to do things the clients want but that would have been difficult to impossible in Access. And it allows us to build Web-based interfaces for clients who want them without having to write different code for the Windows-based and web-based interfaces. I think that's worth the learning curve. Charlotte Foust -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, September 13, 2004 10:56 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Brett, <> I was in the same place several years ago. .Net was brand new and not much was around. I also wanted to get a standalone .EXE, get away from reference headaches with Access, etc. So I picked up VFP (Visual FoxPro). I must say I was disappointed at first because so many people I spoke with raved about it. While it had very strong database and OO capabilities, some of it was just plain junk. That's changed quite a bit as Microsoft has continued to add to the product. It has released two major versions since then with a third on the way. It too had a steep learning curve. <> I said that in light of the fact that .Net has been around for several years now and yet very few shops use it or are just getting into using it. Even Microsoft has said publicly that the response has been poor. They had to back off the whole .Net centric campaign and have refocused once again. And while that may have born some fruit, it seems for the most part that .Net is still not main stream. <> Been there done that and this isn't about that. I was mainly curious if .Net was catching on down in the trenches or still ho-hum. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Monday, September 13, 2004 9:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net #2. When evaluating dev tools for an upcoming project, it became apparent to me that the new OO capabilities of .NET would be worth the learning curve. Judging by the developer journals and 3rd party tool developers, I wouldn't say that it has been "poorly received". It's getting tough to find VB6 articles in print or online. I've already gotten into the "which is better" war on this list, so I'll save it this time. However, after a week long boot camp course, I firmly believe that it's the best tool for the job, regardless of how many other developers agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 13, 2004 7:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MS Access to VB6 or VB.net Richard, I think rather then the worrying about the front end, you should be considering the BE and the technology behind it. However without knowing a lot more about your app, it's hard to say if that's critical or not. Also, you didn't mention why you were considering moving from developing the FE in Access itself. As for VB.Net, I've been ignoring it for the most part for some of the same reasons you outline (distribution) plus the fact that it has a large learning curve. I can't see spending the time on that when I already have tools at my disposal that do the job fine. And I'm not the only one. Overall it seems that .Net has been poorly received by the development community. Most developers I know are happy (for the most part) with what they already have/know. Of course a lot depends on the types of apps you develop and the end users you target. I think most of us on this list are on the smaller end of the scale developing typical business type apps for 50 concurrent users or less. How about a quick un-scientific poll? 1. Do you currently develop in .Net (you know it and use it on a regular basis) 2. Are you learning .Net for a project (your just starting out with it and have done a small project or two). 3. Don't know anything about it, but are interested in it. 4. Could care less. I'm firmly at #4 for the moment. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: Monday, September 13, 2004 5:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MS Access to VB6 or VB.net Hi Group After advice and thoughts. I have a piece of commercial software (library s/ware for schools) written with A97 FE and BE. I am about to rewrite and can't decide over VB6 FE/A2K(DAO) BE or VB.net FE / A2K BE.(reason for change to VB as opposed to MS Access is that the VB footprint will be smaller 1-2mb [easier to email/download and manage than my 12-13 mb Access FE]). On one hand the VB6 route will be quicker to develop (no learning curve) and I think to deploy. On the other hand VB.Net is the future (most likely!!)(and learning and developing in this will be more interesting and will spur me on) but I am concerned (mainly) about deployment as my users are not very IT literate and their pc's (at this time) are not up-to-date (some W95 many W98 32-64mb ram - I know .net is no go on W95). So deployment of .net requires not only the framework but they need minimal Data Access 2.7, IE 5.01, Windows installer etc also installed. But 6-12 months down the line I don't want to be in the posistion that having used VB6 to then consider rewriting in Vb.net. What I can't gauge here is how significant these issues are (and any other issues). So what I am hoping to get here is how you would approach this conundrum - tried and tested VB6 or new VB.net? Thanks Richard ------------------------------------------------------------------------ ---- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From donald.a.Mcgillivray at mail.sprint.com Fri Sep 17 11:05:19 2004 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Fri, 17 Sep 2004 11:05:19 -0500 Subject: [AccessD] Urgent help please - Can't open html page in Frontpagefrom Access form Message-ID: <988E2AC88CCB54459286C4077DB662F50155B2D8@PDAWB03C.ad.sprint.com> Firstly, I have only passing familiarity with Front Page and web stuff - DEFINITELY no kind of expert! But since you seem to be in a similar situation, maybe my experience will prove useful. In FP 98 (newer versions may be different) the html editor is a separate application that can be run independently from the FP web designer interface. Since my ISP doesn't support FP extensions at my subscription level, I just use the FP editor (not the web designer) to create pages (VERY simple ones, to be sure) and upload them via FTP to my web space. Basically, the FP html editor allows you to open, edit and save ANY html doc to ANY place you please - doesn't have to be a part of a "Front Page web" at all. Things could get a little tricky if the html doc contains hyperlinks to other pages within the web site - in my situation I mimic the directory structure of my web space on my PC, and make any hyperlinks relative to the page location - and I have no idea what happens if you just slip a page into a FP web thru the "back door" (does the FP web automatically 'know' the new page is there, or do you have to use the web designer to make it available?) All this having been said, I don't know whether the FP html editor (as distinct from the web designer) has an exposed object model that you can automate from your VBA code (I'm at work and my FP is installed at home) but if it does, you ought to be able to open and work a document independent of any web specs and then move it to the web via a separate process when the user is finished. Hope this helps! Don McGillivray -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, September 13, 2004 6:13 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Urgent help please - Can't open html page in Frontpagefrom Access form I have wasted ages on this so am now begging assistance........ I have an html file (empty at present - later it will have some basic text) I need to my code to - Make a copy of the template.html file (I can do that) and - give it a new name, eg. Template_BHP_140904.html (I can do that) - Open the html file just created in Frontpage for users to modify the document (That's where I'm stuck....) My problem is a total lack of knowledge of files vs. webs and therefore the syntax I need. Questions: - - Do I have to have a 'web' or 'web folder' - can't I just have an html file and open it? - If I can, what is the alternative syntax to .webs.open - eg. I am looking for a .pages.open property or .files.open ? Here's my code so far - when I run it I get an error - There is no web named "/E:/SDS/Clients/CPP/WebLetters/Template.html" ------------------------------------------------------------------------ -------- Private Sub CmdOpenFP_Click() Dim oFPweb As FrontPage.Web Dim oFP As FrontPage.Application Dim FrontPageRunning As Boolean 'Determine whether FrontPage is alredy open or not FrontPageRunning = IsFrontPageRunning() If Not FrontPageRunning Then MsgBox ("Frontpage is Closed") Set oFP = CreateObject("Frontpage.Application") Else MsgBox ("Frontpage is already open") Set oFP = GetObject(, "Frontpage.Application") End If 'add code here later to make a copy of my file 'open file in front page------------------------------------------------ oFP.Webs.Open ("E:\Sds\Clients\CPP\Webletters\template.html") 'STUCK HERE ' Show FrontPage oFPweb.Activate 'Set oFP = Nothing End Sub ------------------------------------------------------------------------ -------- TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Fri Sep 17 11:17:20 2004 From: artful at rogers.com (Arthur Fuller) Date: Fri, 17 Sep 2004 12:17:20 -0400 Subject: [AccessD] ADP In-Reply-To: <844F188BB505654DBCF15C4B24106C1008DC7B@headcon.headit.nl> Message-ID: <02b401c49cd1$cedd6410$6501a8c0@rock> The question as asked is a little bit ambiguous. You could mean, when creating the ADP -- in that case the wizard lets you pick the database. Or you could mean that you want the user to be able to switch from one version of the database to another, on the fly. In this case, create a reference to the SQL-DMO library, which contains a bunch of useful objects for this sort of thing. I have code in an app I did a while back that lists the servers available in a listbox, then the databases of the selected server in another listbox, and lets the user connect to the selected database, basically by creating a new connection object. This route risks ungracefulness, however, since in theory the user could select a completely inappropriate database and have your pretty Access ADP application blow up unmercifully. We got around this by naming the parallel databases using a naming scheme, so then we could eliminate any irrelvant databases before populating the listbox. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Carlo van der Zon (Access IT Training) Sent: Wednesday, September 15, 2004 8:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] ADP Hi Group, Does anybody know how to choose de SQL database in a ADP Runtime? Thanks Carlo -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Fri Sep 17 11:45:31 2004 From: artful at rogers.com (Arthur Fuller) Date: Fri, 17 Sep 2004 12:45:31 -0400 Subject: [AccessD] ADP In-Reply-To: <844F188BB505654DBCF15C4B24106C100F9AEE@headcon.headit.nl> Message-ID: <02ca01c49cd5$bf39f470$6501a8c0@rock> See my earlier reply about using SQL-DMO. This is exactly why I took that route. I too needed to ship a run-time. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Carlo van der Zon (Access IT Training) Sent: Thursday, September 16, 2004 11:13 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADP Ok, but this is not working in runtime. -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens fhtapia at gmail.com Verzonden: woensdag 15 september 2004 17:30 Aan: Access Developers discussion and problem solving Onderwerp: Re: [AccessD] ADP File |Connection, then select the full connection settings From clh at christopherhawkins.com Fri Sep 17 13:05:35 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 17 Sep 2004 12:05:35 -0600 Subject: [AccessD] Connecting to SQL from Access w/a single login? Message-ID: <191490-2200495171853536@christopherhawkins.com> This is driving me nuts. I know I did this a few years ago, but right now I'm totally stumped. A client of mine wrote himself an Access app for use around his office. Eventually the back-end swelled up to 500MB and problems ensued, so they decided to go to SQL Server. He upsized the database himself and then called me in to help get the Access front-end working against SQL Server. Here's my current issue; I want all the Access clients to use the same SQL Server login rather than having a unique SQL Server login for each domain account. I went ahead and created an AppUser login and gave it the appropriate permissions to the application database. I have the AppUser login and password set in the ODBC DSN. But whenever a user tries to connect, an error message appears stating that his domain login was not recognized by the SQL Server. It's not even paying attention to the AppUser info. I'm surfing BOL right now, but haven't yet figured out what I missed. And I know I'm missing something. Any suggestions? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From dwilliams_78704 at yahoo.com Fri Sep 17 13:17:07 2004 From: dwilliams_78704 at yahoo.com (dan williams) Date: Fri, 17 Sep 2004 11:17:07 -0700 (PDT) Subject: [AccessD] Gmail Invite (D) In-Reply-To: <8DA8776D2F418E46A2A464AC6CE63050934A@outbaksrv1.outbaktech.com> Message-ID: <20040917181707.78818.qmail@web50804.mail.yahoo.com> sure would like one please --- Jeff Barrows wrote: > On its way! Anyone else? > > Jeff Barrows > MCP, MCAD, MCSD > > Outbak Technologies, LLC > Racine, WI > jeff at outbaktech.com > -----Original Message----- > From: Steven W. Erbach [mailto:serbach at new.rr.com] > Sent: Wednesday, September 15, 2004 10:22 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Gmail Invite (D) > > Jeff, > > >> Are you looking for a GMail invite? << > > Well, sure, if ya got one one 'a dem dere tings, eh? > > Steve Erbach > Neenah, WI > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail From mikedorism at adelphia.net Fri Sep 17 13:23:01 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Fri, 17 Sep 2004 14:23:01 -0400 Subject: [AccessD] Connecting to SQL from Access w/a single login? In-Reply-To: <191490-2200495171853536@christopherhawkins.com> Message-ID: <000001c49ce3$5e1f10e0$2f08a845@hargrove.internal> Easiest way is to use your Global Domain master account and use Windows NT authentication to set up a trusted connection to the server. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: Friday, September 17, 2004 2:06 PM To: accessd at databaseadvisors.com Subject: [AccessD] Connecting to SQL from Access w/a single login? This is driving me nuts. I know I did this a few years ago, but right now I'm totally stumped. A client of mine wrote himself an Access app for use around his office. Eventually the back-end swelled up to 500MB and problems ensued, so they decided to go to SQL Server. He upsized the database himself and then called me in to help get the Access front-end working against SQL Server. Here's my current issue; I want all the Access clients to use the same SQL Server login rather than having a unique SQL Server login for each domain account. I went ahead and created an AppUser login and gave it the appropriate permissions to the application database. I have the AppUser login and password set in the ODBC DSN. But whenever a user tries to connect, an error message appears stating that his domain login was not recognized by the SQL Server. It's not even paying attention to the AppUser info. I'm surfing BOL right now, but haven't yet figured out what I missed. And I know I'm missing something. Any suggestions? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Fri Sep 17 13:34:16 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 17 Sep 2004 12:34:16 -0600 Subject: [AccessD] Connecting to SQL from Access w/a single login? Message-ID: <73990-220049517183416589@christopherhawkins.com> Can you elaborate? ---- Original Message ---- From: mikedorism at adelphia.net To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Connecting to SQL from Access w/a single login? Date: Fri, 17 Sep 2004 14:23:01 -0400 >Easiest way is to use your Global Domain master account and use >Windows NT >authentication to set up a trusted connection to the server. > >Doris Manning >Database Administrator >Hargrove Inc. >www.hargroveinc.com > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >Christopher >Hawkins >Sent: Friday, September 17, 2004 2:06 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Connecting to SQL from Access w/a single login? > > >This is driving me nuts. I know I did this a few years ago, but >right now >I'm totally stumped. > >A client of mine wrote himself an Access app for use around his >office. >Eventually the back-end swelled up to 500MB and problems ensued, so >they >decided to go to SQL Server. He upsized the database himself and >then >called me in to help get the Access front-end working against SQL >Server. > >Here's my current issue; I want all the Access clients to use the >same SQL >Server login rather than having a unique SQL Server login for each >domain >account. > >I went ahead and created an AppUser login and gave it the appropriate >permissions to the application database. I have the AppUser login >and >password set in the ODBC DSN. But whenever a user tries to connect, >an >error message appears stating that his domain login was not >recognized by >the SQL Server. It's not even paying attention to the AppUser info. > >I'm surfing BOL right now, but haven't yet figured out what I >missed. And I >know I'm missing something. > >Any suggestions? >Respectfully, > >Christopher Hawkins >Software Developer >(559) 687-7591 >http://www.christopherhawkins.com > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From ebarro at afsweb.com Fri Sep 17 13:40:08 2004 From: ebarro at afsweb.com (Eric Barro) Date: Fri, 17 Sep 2004 11:40:08 -0700 Subject: [AccessD] Connecting to SQL from Access w/a single login? In-Reply-To: <191490-2200495171853536@christopherhawkins.com> Message-ID: Check SQL server authentication if it is Windows based or SQL based. User management in SQL server goes like this... 1. Create the login first under the Security section 2. Create privileges for the login 3. Create the user and associate it with a login --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Friday, September 17, 2004 11:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] Connecting to SQL from Access w/a single login? This is driving me nuts. I know I did this a few years ago, but right now I'm totally stumped. A client of mine wrote himself an Access app for use around his office. Eventually the back-end swelled up to 500MB and problems ensued, so they decided to go to SQL Server. He upsized the database himself and then called me in to help get the Access front-end working against SQL Server. Here's my current issue; I want all the Access clients to use the same SQL Server login rather than having a unique SQL Server login for each domain account. I went ahead and created an AppUser login and gave it the appropriate permissions to the application database. I have the AppUser login and password set in the ODBC DSN. But whenever a user tries to connect, an error message appears stating that his domain login was not recognized by the SQL Server. It's not even paying attention to the AppUser info. I'm surfing BOL right now, but haven't yet figured out what I missed. And I know I'm missing something. Any suggestions? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. From accessd at shaw.ca Fri Sep 17 13:49:12 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri, 17 Sep 2004 11:49:12 -0700 Subject: [AccessD] Connecting to SQL from Access w/a single login? In-Reply-To: <191490-2200495171853536@christopherhawkins.com> Message-ID: Hi Christopher: The SQL server has it's own way of dealing with access rights. They are through an internal 'sa' type account or it is through 'NT authentication'. Traditionally, I only use the 'sa' accounts as a backdoor for an administrator. Your best option would be to go with 'NT authentication'. The setup is fairly easy, if network has a domain. Go to the main server, login as an administrator, 'right-click' MyComputer (assuming a Windows2000 system), select the 'Manage' option, choose 'Local Users and Groups' then: One; create a login group called something like 'sqlusers'. Two; create or add individual login to the group. Once all the appropriate users have been added to this group the access the SQL Enterprise manager. 'EM'. One; Expand the current SQL server, the 'Security' directory and the 'click' on the logins icon. Two; 'right mouse click', select 'New login' and, on the General tab, from the popdown list select your 'sqlusers' group. Make sure that the 'Authentication' radio button is selected and the current domain/server is visible. Three; Go back to the 'Database' and 'MyDatabase' directory and subdirectory and 'right mouse click' the users icon. Four; Select 'New database user' and select the new group you have just added from the popdown menu. There is some clean up and defining to do but you have basically defined access rights. Now all you do is attempt a connection at the point where the user accesses the FE Access DB and if the connection fails, close and exit the program. (If you need a sample of code that will connect to your server just request it.) You will find this way very clean, secure and not intrusive to the users. This way is the only way I now ever setup user accounts. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Friday, September 17, 2004 11:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] Connecting to SQL from Access w/a single login? This is driving me nuts. I know I did this a few years ago, but right now I'm totally stumped. A client of mine wrote himself an Access app for use around his office. Eventually the back-end swelled up to 500MB and problems ensued, so they decided to go to SQL Server. He upsized the database himself and then called me in to help get the Access front-end working against SQL Server. Here's my current issue; I want all the Access clients to use the same SQL Server login rather than having a unique SQL Server login for each domain account. I went ahead and created an AppUser login and gave it the appropriate permissions to the application database. I have the AppUser login and password set in the ODBC DSN. But whenever a user tries to connect, an error message appears stating that his domain login was not recognized by the SQL Server. It's not even paying attention to the AppUser info. I'm surfing BOL right now, but haven't yet figured out what I missed. And I know I'm missing something. Any suggestions? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Fri Sep 17 13:53:05 2004 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 17 Sep 2004 19:53:05 +0100 Subject: [AccessD] Connecting to SQL from Access w/a single login? References: Message-ID: <000801c49ce7$9183d110$0100a8c0@Martin> You could also look at Application Roles where your app as opposed to the individual users are authenicated. Martin ----- Original Message ----- From: "Eric Barro" To: "Access Developers discussion and problem solving" Sent: Friday, September 17, 2004 7:40 PM Subject: RE: [AccessD] Connecting to SQL from Access w/a single login? > Check SQL server authentication if it is Windows based or SQL based. > > User management in SQL server goes like this... > > 1. Create the login first under the Security section > 2. Create privileges for the login > 3. Create the user and associate it with a login > > --- > Eric Barro > Senior Systems Analyst > Advanced Field Services > (208) 772-7060 > http://www.afsweb.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher > Hawkins > Sent: Friday, September 17, 2004 11:06 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Connecting to SQL from Access w/a single login? > > > This is driving me nuts. I know I did this a few years ago, but > right now I'm totally stumped. > > A client of mine wrote himself an Access app for use around his > office. Eventually the back-end swelled up to 500MB and problems > ensued, so they decided to go to SQL Server. He upsized the database > himself and then called me in to help get the Access front-end > working against SQL Server. > > Here's my current issue; I want all the Access clients to use the > same SQL Server login rather than having a unique SQL Server login > for each domain account. > > I went ahead and created an AppUser login and gave it the appropriate > permissions to the application database. I have the AppUser login > and password set in the ODBC DSN. But whenever a user tries to > connect, an error message appears stating that his domain login was > not recognized by the SQL Server. It's not even paying attention to > the AppUser info. > > I'm surfing BOL right now, but haven't yet figured out what I missed. > And I know I'm missing something. > > Any suggestions? > Respectfully, > > Christopher Hawkins > Software Developer > (559) 687-7591 > http://www.christopherhawkins.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > ----------------------------------------- > The information contained in this e-mail message and any file, document, > previous e-mail message and/or attachment transmitted herewith is > confidential and may be legally privileged. It is intended solely for the > private use of the addressee and must not be disclosed to or used by > anyone other than the addressee. If you receive this transmission by > error, please immediately notify the sender by reply e-mail and destroy > the original transmission and its attachments without reading or saving it > in any manner. If you are not the intended recipient, or a person > responsible for delivering it to the intended recipient, you are hereby > notified that any disclosure, copying, distribution or use of any of the > information contained in or attached to this transmission is STRICTLY > PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error > free as information could be intercepted, corrupted, lost, destroyed, > arrive late or incomplete, or contain viruses. The sender theref! > ore does not accept liability for any errors or omissions in the contents > of this message, which arise as a result of email transmission. Users and > employees of the e-mail system are expressly required not to make > defamatory statements and not to infringe or authorize any infringement of > copyright or any other legal right by email communications. Any such > communication is contrary to company policy. The company will not accept > any liability in respect of such communication. > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From BBarabash at TappeConstruction.com Fri Sep 17 14:29:46 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Fri, 17 Sep 2004 14:29:46 -0500 Subject: [AccessD] Connecting to SQL from Access w/a single login? Message-ID: <100F91B31300334B89EC531C9DCB0865065955@tccexch01.tappeconstruction.net> To all who use NT authentication: Do you (or your network admins) have any concerns about end users potentially linking to the raw data in other apps? For example, a savvy power user could easily setup an ODBC connection in Excel/MS Query and directly query the table data. If the database relies on NT authentication, and the table is available to them, they can link to the data directly. I found this to be problemattic, since I don't really want my users bypassing the business rules and manually generating their own reports with sensitive data. Christopher: I had this problem a while back using SQL Server authentication on an Access 2000 MDB file. The problem is that the Access attach tables dialog doesn't save the password info. I was able to get around it by writing the following DAO routine (make sure you have a DAO reference set in your project). This routine will loop through all of your attached tables, and relink them using the specified UserID and Password. Public Sub FixAttachments(ByVal strServer As String, ByVal strUID As String, ByVal strPWD As String) Dim db As DAO.Database Dim rs As DAO.Recordset Dim tdf As DAO.TableDef Dim strSQL As String Set db = DBEngine.Workspaces(0).Databases(0) strSQL = "SELECT MSysObjects.Name, " & _ "MSysObjects.ForeignName, " & _ "MSysObjects.Connect " & _ "FROM MSysObjects " & _ "WHERE MSysObjects.Type=4 " & _ "ORDER BY MSysObjects.Name;" Set rs = db.OpenRecordset(strSQL, dbOpenSnapshot) db.TableDefs.Refresh Do Until rs.EOF Debug.Print rs!Name Set tdf = db.CreateTableDef(rs!Name) tdf.Connect = "ODBC;" & _ ExtractArg(rs!Connect, "DRIVER") & ";" & _ "SERVER=" & strServer & ";" & _ ExtractArg(rs!Connect, "DATABASE") & ";" & _ "UID=" & strUID & ";" & _ "PWD=" & strPWD tdf.Attributes = dbAttachSavePWD tdf.SourceTableName = rs!ForeignName db.TableDefs.Delete rs!Name db.TableDefs.Append tdf rs.MoveNext Loop db.TableDefs.Refresh rs.Close End Sub Public Function ExtractArg(ByVal strIn As String, ByVal strName As String) As String Dim lngPos As Long strIn = strIn & ";" lngPos = InStr(strIn, strName & "=") If lngPos > 0 Then ExtractArg = Mid$(strIn, lngPos, InStr(lngPos, strIn, ";") - lngPos) End If End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence (AccessD) Sent: Friday, September 17, 2004 1:49 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Connecting to SQL from Access w/a single login? Hi Christopher: The SQL server has it's own way of dealing with access rights. They are through an internal 'sa' type account or it is through 'NT authentication'. Traditionally, I only use the 'sa' accounts as a backdoor for an administrator. Your best option would be to go with 'NT authentication'. The setup is fairly easy, if network has a domain. Go to the main server, login as an administrator, 'right-click' MyComputer (assuming a Windows2000 system), select the 'Manage' option, choose 'Local Users and Groups' then: One; create a login group called something like 'sqlusers'. Two; create or add individual login to the group. Once all the appropriate users have been added to this group the access the SQL Enterprise manager. 'EM'. One; Expand the current SQL server, the 'Security' directory and the 'click' on the logins icon. Two; 'right mouse click', select 'New login' and, on the General tab, from the popdown list select your 'sqlusers' group. Make sure that the 'Authentication' radio button is selected and the current domain/server is visible. Three; Go back to the 'Database' and 'MyDatabase' directory and subdirectory and 'right mouse click' the users icon. Four; Select 'New database user' and select the new group you have just added from the popdown menu. There is some clean up and defining to do but you have basically defined access rights. Now all you do is attempt a connection at the point where the user accesses the FE Access DB and if the connection fails, close and exit the program. (If you need a sample of code that will connect to your server just request it.) You will find this way very clean, secure and not intrusive to the users. This way is the only way I now ever setup user accounts. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Friday, September 17, 2004 11:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] Connecting to SQL from Access w/a single login? This is driving me nuts. I know I did this a few years ago, but right now I'm totally stumped. A client of mine wrote himself an Access app for use around his office. Eventually the back-end swelled up to 500MB and problems ensued, so they decided to go to SQL Server. He upsized the database himself and then called me in to help get the Access front-end working against SQL Server. Here's my current issue; I want all the Access clients to use the same SQL Server login rather than having a unique SQL Server login for each domain account. I went ahead and created an AppUser login and gave it the appropriate permissions to the application database. I have the AppUser login and password set in the ODBC DSN. But whenever a user tries to connect, an error message appears stating that his domain login was not recognized by the SQL Server. It's not even paying attention to the AppUser info. I'm surfing BOL right now, but haven't yet figured out what I missed. And I know I'm missing something. Any suggestions? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From mikedorism at adelphia.net Fri Sep 17 14:47:42 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Fri, 17 Sep 2004 15:47:42 -0400 Subject: [AccessD] Connecting to SQL from Access w/a single login? In-Reply-To: <100F91B31300334B89EC531C9DCB0865065955@tccexch01.tappeconstruction.net> Message-ID: <000001c49cef$3296d8c0$2f08a845@hargrove.internal> I don't because we use an ADP and 95% of our users have Office Standard/ Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Friday, September 17, 2004 3:30 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Connecting to SQL from Access w/a single login? To all who use NT authentication: Do you (or your network admins) have any concerns about end users potentially linking to the raw data in other apps? For example, a savvy power user could easily setup an ODBC connection in Excel/MS Query and directly query the table data. If the database relies on NT authentication, and the table is available to them, they can link to the data directly. I found this to be problemattic, since I don't really want my users bypassing the business rules and manually generating their own reports with sensitive data. Christopher: I had this problem a while back using SQL Server authentication on an Access 2000 MDB file. The problem is that the Access attach tables dialog doesn't save the password info. I was able to get around it by writing the following DAO routine (make sure you have a DAO reference set in your project). This routine will loop through all of your attached tables, and relink them using the specified UserID and Password. Public Sub FixAttachments(ByVal strServer As String, ByVal strUID As String, ByVal strPWD As String) Dim db As DAO.Database Dim rs As DAO.Recordset Dim tdf As DAO.TableDef Dim strSQL As String Set db = DBEngine.Workspaces(0).Databases(0) strSQL = "SELECT MSysObjects.Name, " & _ "MSysObjects.ForeignName, " & _ "MSysObjects.Connect " & _ "FROM MSysObjects " & _ "WHERE MSysObjects.Type=4 " & _ "ORDER BY MSysObjects.Name;" Set rs = db.OpenRecordset(strSQL, dbOpenSnapshot) db.TableDefs.Refresh Do Until rs.EOF Debug.Print rs!Name Set tdf = db.CreateTableDef(rs!Name) tdf.Connect = "ODBC;" & _ ExtractArg(rs!Connect, "DRIVER") & ";" & _ "SERVER=" & strServer & ";" & _ ExtractArg(rs!Connect, "DATABASE") & ";" & _ "UID=" & strUID & ";" & _ "PWD=" & strPWD tdf.Attributes = dbAttachSavePWD tdf.SourceTableName = rs!ForeignName db.TableDefs.Delete rs!Name db.TableDefs.Append tdf rs.MoveNext Loop db.TableDefs.Refresh rs.Close End Sub Public Function ExtractArg(ByVal strIn As String, ByVal strName As String) As String Dim lngPos As Long strIn = strIn & ";" lngPos = InStr(strIn, strName & "=") If lngPos > 0 Then ExtractArg = Mid$(strIn, lngPos, InStr(lngPos, strIn, ";") - lngPos) End If End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence (AccessD) Sent: Friday, September 17, 2004 1:49 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Connecting to SQL from Access w/a single login? Hi Christopher: The SQL server has it's own way of dealing with access rights. They are through an internal 'sa' type account or it is through 'NT authentication'. Traditionally, I only use the 'sa' accounts as a backdoor for an administrator. Your best option would be to go with 'NT authentication'. The setup is fairly easy, if network has a domain. Go to the main server, login as an administrator, 'right-click' MyComputer (assuming a Windows2000 system), select the 'Manage' option, choose 'Local Users and Groups' then: One; create a login group called something like 'sqlusers'. Two; create or add individual login to the group. Once all the appropriate users have been added to this group the access the SQL Enterprise manager. 'EM'. One; Expand the current SQL server, the 'Security' directory and the 'click' on the logins icon. Two; 'right mouse click', select 'New login' and, on the General tab, from the popdown list select your 'sqlusers' group. Make sure that the 'Authentication' radio button is selected and the current domain/server is visible. Three; Go back to the 'Database' and 'MyDatabase' directory and subdirectory and 'right mouse click' the users icon. Four; Select 'New database user' and select the new group you have just added from the popdown menu. There is some clean up and defining to do but you have basically defined access rights. Now all you do is attempt a connection at the point where the user accesses the FE Access DB and if the connection fails, close and exit the program. (If you need a sample of code that will connect to your server just request it.) You will find this way very clean, secure and not intrusive to the users. This way is the only way I now ever setup user accounts. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Friday, September 17, 2004 11:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] Connecting to SQL from Access w/a single login? This is driving me nuts. I know I did this a few years ago, but right now I'm totally stumped. A client of mine wrote himself an Access app for use around his office. Eventually the back-end swelled up to 500MB and problems ensued, so they decided to go to SQL Server. He upsized the database himself and then called me in to help get the Access front-end working against SQL Server. Here's my current issue; I want all the Access clients to use the same SQL Server login rather than having a unique SQL Server login for each domain account. I went ahead and created an AppUser login and gave it the appropriate permissions to the application database. I have the AppUser login and password set in the ODBC DSN. But whenever a user tries to connect, an error message appears stating that his domain login was not recognized by the SQL Server. It's not even paying attention to the AppUser info. I'm surfing BOL right now, but haven't yet figured out what I missed. And I know I'm missing something. Any suggestions? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Fri Sep 17 15:25:57 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 17 Sep 2004 13:25:57 -0700 Subject: [AccessD] External IP Address of Local Machine References: <000f01c49cb7$caa92f10$0200a8c0@COA3> Message-ID: <414B4855.9000301@shaw.ca> st_devic.html will probably only work for D-Link routers. Steve Conklin (Developer at UltraDNT) wrote: >Marty: >Most cool, the third one, going to dynip, did the job. > >The tracert didn't include mine, it just showed the ip's of my provider. >The second method, as written, didn't work. I assume its because my >router is not using 0.1 ... Routers cannot be counted on to use >192.168.0.1; some are 0.0, 100.1, 1.1, etc. (this early in the morning, >I forget what mine is, but I'll try it later.) Also, are these pages >"industry standard"? All router mfgr's use these (like st_devic.html)? >Anyway, if I used that, I'd need discovery code for the router first. > >Steve > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Friday, September 17, 2004 1:46 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] External IP Address of Local Machine > > >I tried a couple of other methods > >grabbing the ip entries from this created text file ; sort of slow even >with only 3 hops >tracert -h 3 www.microsoft.com > testtrac.txt >---------------------------------------- >If you are configuring your router thru http methods >"http://192.168.0.1/st_devic.html" >is supposed to give you the ip address >but then you have to clear the cache >use this to clear out IE cached pages for DSL router app. > >Private Declare Function DeleteUrlCacheEntry Lib "wininet.dll" Alias > >"DeleteUrlCacheEntryA" (ByVal lpszUrlName As String) As Long > >DeleteUrlCacheEntry "http://192.168.0.1/st_devic.html" > >DeleteUrlCacheEntry "http://192.168.0.1/st_stats.html" >---------------- >http://checkip.dyndns.org/ >can only use every 10 minutes otherwise site gets annoyed > >Dim objExplorer As Object >Dim objDocument As Object >Dim strComputer As String >Dim objWMIService As Object >Dim colLoggedEvents As Object >Dim objEvent As Object >Dim dtmDate As Variant >Dim strReturn As String > >Set objExplorer = CreateObject("InternetExplorer.Application") >'Set objDocument = objExplorer.Document >objExplorer.Navigate "about:blank" >objExplorer.Toolbar = 0 >objExplorer.StatusBar = 0 >objExplorer.Width = 800 >objExplorer.Height = 570 >objExplorer.Left = 0 >objExplorer.Top = 0 >objExplorer.Visible = 1 > >objExplorer.Navigate "http://checkip.dyndns.org/" >Do While (objExplorer.Busy) >Loop >Dim webtx As String >Dim strHTML As String >'Set objDocument = objExplorer.Document >'objDocument.Open > >strHTML = objExplorer.Document.BODY.parentElement.outerHTML > Debug.Print strHTML >'parse the string here > >MsgBox "finished" >Set objExplorer = Nothing >Set objDocument = Nothing > >End Sub > > > >Steve Conklin (Developer at UltraDNT) wrote: > > > >>Marty: >>It iterated through about 6 times; most entries were blank, on about >>the 4th pass I got my DSN information, but it was also only showing the >> >> > > > >>LAN IP (192.168.x.x), not the WAN address. >> >>I found an external utility form the page Stuart suggested, it looks >>like I'll have to Shell that to know the user's external IP. The >>Help/About mentions MFC classes, so its making Windows calls that >>*should* be exposed somewhere as an API/DLL, but I haven't figured out >>how yet. >> >> >>Steve >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >>MartyConnelly >>Sent: Thursday, September 16, 2004 1:54 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] External IP Address of Local Machine >> >> >>I am just curious as to what this WMI code would return working >>through >> >>a router >>I get something like this without one. I have garbled numbers. >> >>DHCPEnabled: True >>DHCPLeaseExpires: 13/09/2004 5:42:44 AM >>DHCPLeaseObtained: 09/11/2004 5:42:50 AM >>DHCPServer: 64.58.156.40 >>DNSDomain: gv.homecable.net >>DNSHostName: MyComputer >>DomainDNSRegistrationEnabled: >>IPAddress: 24.344.56.566 >>IPAddresslen: 13 >>IPConnectionMetric: 30 >>IPEnabled: True >>MACAddress: 00:3B:27:43:6A:D1 >>MTU: >> >> >>Sub testnicconfigS() >>'set reference to WMI for WinXP and 2000 >>'The Win32_NetworkAdapterConfiguration WMI class represents 'the >>attributes and behaviors of a network adapter. 'This class has been >>extended to include extra properties and methods 'that support the >>management of the TCP/IP and Internetworking Packet Exchange >>(IPX) 'protocols (and are independent of the network adapter). Dim >>strComputer As String Dim objWMIService As Object Dim colitems As >>Object Dim objitem As Object On Error Resume Next 'there maybe multiple >> >> > > > >>Nic entries that are empty so skip them >> >>strComputer = "." 'default "." specifies local machine name Set >>objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") >>Set colitems = objWMIService.ExecQuery("Select * from >>Win32_NetworkAdapterConfiguration", , 48) >> >>For Each objitem In colitems >> >> Debug.Print "DHCPEnabled: " & objitem.DHCPEnabled >> Debug.Print "DHCPLeaseExpires: " & WMIDateStringToDate >>(objitem.DHCPLeaseExpires) >> Debug.Print "DHCPLeaseObtained: " & WMIDateStringToDate >>(objitem.DHCPLeaseObtained) >> Debug.Print "DHCPServer: " & objitem.DHCPServer >> Debug.Print "DNSDomain: " & objitem.DNSDomain >> >> Debug.Print "DNSHostName: " & objitem.DNSHostName >> >> Debug.Print "DomainDNSRegistrationEnabled: " & >>objitem.DomainDNSRegistrationEnabled >> >> Debug.Print "IPAddress: " & objitem.IPAddress(0) >> 'this is an array like other undocumented entries >> 'you will have to find by trial and error >> 'although there is an isarray property somewhere >> Debug.Print "IPAddresslen: " & Len(objitem.IPAddress(0)) >> Debug.Print "IPConnectionMetric: " & objitem.IPConnectionMetric >> Debug.Print "IPEnabled: " & objitem.IPEnabled >> Debug.Print "MACAddress: " & objitem.MACAddress >> Debug.Print "MTU: " & objitem.MTU >> >>Next >>End Sub >>Function WMIDateStringToDate(dtmInstallDate) As String 'WMI has an odd >>date format WMIDateStringToDate = CDate(Mid(dtmInstallDate, 5, 2) & "/" >> >> > > > >>& _ Mid(dtmInstallDate, 7, 2) & "/" & Left(dtmInstallDate, 4) _ & " " & >> >> > > > >>Mid(dtmInstallDate, 9, 2) & ":" & _ Mid(dtmInstallDate, 11, 2) & ":" & >>Mid(dtmInstallDate, _ 13, 2)) End Function >> >> >>Erwin Craps - IT Helps wrote: >> >> >> >> >> >>>Shields up is a test a webserver test, but just at the startpage >>>(before the test) you can see your dns name and ip address >>> >>>https://www.grc.com/x/ne.dll?bh0bkyd2 >>> >>> >>> >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve >>>Conklin >>>(Developer at UltraDNT) >>>Sent: Thursday, September 16, 2004 4:17 PM >>>To: 'Access Developers discussion and problem solving' >>>Subject: RE: [AccessD] External IP Address of Local Machine >>> >>>Thanks, Stuart. >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart >>>McLachlan >>>Sent: Wednesday, September 15, 2004 7:48 PM >>>To: Access Developers discussion and problemsolving >>>Subject: Re: [AccessD] External IP Address of Local Machine >>> >>> >>>On 15 Sep 2004 at 18:55, Steve Conklin (Developer at UltraDNT) wrote: >>> >>> >>> >>> >>> >>> >>> >>>>I am using WDSI, WinInet and various API's to get 2 Access >>>>applications to send data to each other over FTP. It is working >>>> >>>> >well, > > >>>> >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >>> >>>>but I want the server to be secure, that is to only allow >>>>logins/files >>>> >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >>> >>>>to come from specific IP's. This is ok when I am sending, because I >>>>know my IP, and I tell the client to allow my IP. When I (hopefully) >>>> >>>> > > > >>>>sell a copy to the client's client, how can they easily determine >>>> >>>> >>>> >>>> >>>> >>>> >>>their IP? >>> >>> >>> >>> >>> >>> >>>>I have looked at the Winsock API and can get remote IP's via Host >>>> >>>> >>>> >>>> >>>> >>>> >>>Name. >>> >>> >>> >>> >>> >>> >>>>However, when I want to get the IP of the local PC, it returns the >>>>192.168.x.x address; how can I get the external IP that the FTP >>>> >>>> >server > > >>>> >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >>> >>>>needs to know through VB/API? >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>If you are working through a router, you can't since only the router >>>knows >>>the external address.. The only way would be to bounce an HTML >>> >>> >>> >>> >>request >> >> >> >> >>>of >>>an external website and read the return data. There a numbder of >>>freeware tools available on the web that do just that. See >>>http://www.snapfiles.com/freeware/network/fwip.html for examples >>> >>> >>>If you're machine is directly connected to the Internet, you can >>>iterate >>> >>>through it's IP adddresses. >>> >>>Here's a module to do it (watch for linewrap) >>> >>>Option Compare Database >>>Option Explicit >>> >>>Const MAX_IP = 5 'To make a buffer... i dont think you have more >>> >>> >than > > >>>5 ip on your pc.. >>> >>>Type IPINFO >>> dwAddr As Long ' IP address >>> dwIndex As Long ' interface index >>> dwMask As Long ' subnet mask >>> dwBCastAddr As Long ' broadcast address >>> dwReasmSize As Long ' assembly size >>> unused1 As Integer ' not currently used >>> unused2 As Integer '; not currently used End Type >>> >>>Type MIB_IPADDRTABLE >>> dEntrys As Long 'number of entries in the table >>> mIPInfo(MAX_IP) As IPINFO 'array of IP address entries End Type >>> >>>Type IP_Array >>> mBuffer As MIB_IPADDRTABLE >>> BufferLen As Long >>>End Type >>> >>>Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" >>>(Destination As Any, Source As Any, ByVal Length As Long) Public >>>Declare Function GetIpAddrTable Lib "IPHlpApi" (pIPAdrTable As Byte, >>>pdwSize As Long, ByVal Sort As Long) As Long >>> >>> >>>Public Function ConvertAddressToString(longAddr As Long) As String >>> Dim myByte(3) As Byte >>> Dim Cnt As Long >>> CopyMemory myByte(0), longAddr, 4 >>> For Cnt = 0 To 3 >>> ConvertAddressToString = ConvertAddressToString + >>>CStr(myByte(Cnt)) + "." >>> Next Cnt >>> ConvertAddressToString = Left$(ConvertAddressToString, >>>Len(ConvertAddressToString) - 1) End Function >>> >>>Public Function IPAddresses() As Long >>>Dim lngRetVal As Long >>>Dim lngLoop As Long >>>Dim bBytes() As Byte >>>Dim IPList As MIB_IPADDRTABLE >>> >>> GetIpAddrTable ByVal 0&, lngRetVal, True >>> >>> If lngRetVal <= 0 Then Exit Function >>> ReDim bBytes(0 To lngRetVal - 1) As Byte >>> 'retrieve the data >>> GetIpAddrTable bBytes(0), lngRetVal, False >>> >>> 'Get the first 4 bytes to get the entry's.. ip installed >>> CopyMemory IPList.dEntrys, bBytes(0), 4 >>> >>> For lngLoop = 0 To IPList.dEntrys - 1 >>> 'Copy whole structure to Listing.. >>> CopyMemory IPList.mIPInfo(lngLoop), bBytes(4 + (lngLoop * >>>Len(IPList.mIPInfo(0)))), Len(IPList.mIPInfo(lngLoop)) >>> Debug.Print "IP address : " & >>>ConvertAddressToString(IPList.mIPInfo(lngLoop).dwAddr) >>> Debug.Print "IP Subnetmask : " & >>>ConvertAddressToString(IPList.mIPInfo(lngLoop).dwMask) >>> Debug.Print "BroadCast IP address : " & >>>ConvertAddressToString(IPList.mIPInfo(lngLoop).dwBCastAddr) >>> Debug.Print "**************************************" >>> Next >>> >>>End Function >>> >>> >>>-- >>>Stuart >>> >>> >>> >>> >>> >>> >>> >>> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From clh at christopherhawkins.com Fri Sep 17 17:19:43 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 17 Sep 2004 16:19:43 -0600 Subject: [AccessD] Connecting to SQL from Access w/a single login? Message-ID: <274490-22004951722194342@christopherhawkins.com> Brett, I'm using a similar routine currently. I have a metadata table full of information about the data tables. It contains the localname, path and sourceobject name of the table I'm linking to in SQL Server. The actual linking is fine, but as you said remembering the password is an issue. Mind you, the password is in the metadata table. But it seems to get ignored. Here is a sample of the string I'm using to create the link: [code] ODBC;DSN=MyDataSource;Description=My SQL Server Date;UID=MyUser;PASSWORD=MyPassword;APP=Microsoft Office 2003;WSID=MyWorkstation;DATABASE=MyDatabaseName[/code] Here's my function. How can I ensure that the password that's baked into the path gets remembered? I'm thinking that there must be a way to emulate checking the 'Remember Password' checkbox in the Linked Table dialog. [code] Public Sub LinkTables() ' Given a database with no linked tables, this function ' will establish links to all tables enumerated in zTable Dim db As Database Dim rsTable As dao.Recordset Dim sSQL As String Dim tdAttach As TableDef On Error GoTo Err_LinkTables Set db = CurrentDb sSQL = "SELECT * FROM zTable" Set rsTable = db.OpenRecordset(sSQL) rsTable.MoveFirst Do Until rsTable.EOF = True Debug.Print "Linking " & rsTable("TableName") Set tdAttach = db.CreateTableDef(rsTable("TableName")) ' Set the connection info in the tabledef object With tdAttach .Connect = rsTable("Path") .SourceTableName = rsTable("SourceTable") .Properties("ODBC: Remember Password") = True End With ' Append the new tabledef db.TableDefs.Append tdAttach rsTable.MoveNext Loop Exit_LinkTables: Exit Sub Err_LinkTables: If Err.Number = 3012 Then Resume Next Else MsgBox Err.Description End If Resume Exit_LinkTables End Sub [/code] -C- ---- Original Message ---- From: BBarabash at tappeconstruction.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Connecting to SQL from Access w/a single login? Date: Fri, 17 Sep 2004 14:29:46 -0500 >To all who use NT authentication: >Do you (or your network admins) have any concerns about end users >potentially linking to the raw data in other apps? > >For example, a savvy power user could easily setup an ODBC >connection in >Excel/MS Query and directly query the table data. If the database >relies on NT authentication, and the table is available to them, they >can link to the data directly. > >I found this to be problemattic, since I don't really want my users >bypassing the business rules and manually generating their own >reports >with sensitive data. > >Christopher: >I had this problem a while back using SQL Server authentication on an >Access 2000 MDB file. The problem is that the Access attach tables >dialog doesn't save the password info. I was able to get around it >by >writing the following DAO routine (make sure you have a DAO reference >set in your project). This routine will loop through all of your >attached tables, and relink them using the specified UserID and >Password. > >Public Sub FixAttachments(ByVal strServer As String, ByVal strUID As >String, ByVal strPWD As String) > > Dim db As DAO.Database > Dim rs As DAO.Recordset > Dim tdf As DAO.TableDef > Dim strSQL As String > > Set db = DBEngine.Workspaces(0).Databases(0) > strSQL = "SELECT MSysObjects.Name, " & _ > "MSysObjects.ForeignName, " & _ > "MSysObjects.Connect " & _ > "FROM MSysObjects " & _ > "WHERE MSysObjects.Type=4 " & _ > "ORDER BY MSysObjects.Name;" > Set rs = db.OpenRecordset(strSQL, dbOpenSnapshot) > > db.TableDefs.Refresh > > Do Until rs.EOF > Debug.Print rs!Name > Set tdf = db.CreateTableDef(rs!Name) > > tdf.Connect = "ODBC;" & _ > ExtractArg(rs!Connect, "DRIVER") & ";" & _ > "SERVER=" & strServer & ";" & _ > ExtractArg(rs!Connect, "DATABASE") & ";" & _ > "UID=" & strUID & ";" & _ > "PWD=" & strPWD > > tdf.Attributes = dbAttachSavePWD > tdf.SourceTableName = rs!ForeignName > db.TableDefs.Delete rs!Name > db.TableDefs.Append tdf > > rs.MoveNext > Loop > > db.TableDefs.Refresh > rs.Close > >End Sub > >Public Function ExtractArg(ByVal strIn As String, ByVal strName As >String) As String > > Dim lngPos As Long > > strIn = strIn & ";" > lngPos = InStr(strIn, strName & "=") > > If lngPos > 0 Then > ExtractArg = Mid$(strIn, lngPos, InStr(lngPos, strIn, ";") - >lngPos) > End If > >End Function > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim >Lawrence >(AccessD) >Sent: Friday, September 17, 2004 1:49 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Connecting to SQL from Access w/a single >login? > > >Hi Christopher: > >The SQL server has it's own way of dealing with access rights. They >are >through an internal 'sa' type account or it is through 'NT >authentication'. > >Traditionally, I only use the 'sa' accounts as a backdoor for an >administrator. Your best option would be to go with 'NT >authentication'. > >The setup is fairly easy, if network has a domain. Go to the main >server, login as an administrator, 'right-click' MyComputer >(assuming a >Windows2000 system), select the 'Manage' option, choose 'Local Users >and >Groups' then: >One; create a login group called something like 'sqlusers'. >Two; create or add individual login to the group. > >Once all the appropriate users have been added to this group the >access >the SQL Enterprise manager. 'EM'. >One; Expand the current SQL server, the 'Security' directory and the >'click' >on the logins icon. >Two; 'right mouse click', select 'New login' and, on the General tab, >from the popdown list select your 'sqlusers' group. Make sure that >the >'Authentication' radio button is selected and the current >domain/server >is visible. >Three; Go back to the 'Database' and 'MyDatabase' directory and >subdirectory and 'right mouse click' the users icon. >Four; Select 'New database user' and select the new group you have >just >added from the popdown menu. > >There is some clean up and defining to do but you have basically >defined >access rights. Now all you do is attempt a connection at the point >where >the user accesses the FE Access DB and if the connection fails, close >and exit the program. (If you need a sample of code that will >connect >to your server just request it.) > >You will find this way very clean, secure and not intrusive to the >users. >This way is the only way I now ever setup user accounts. > >HTH >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >Hawkins >Sent: Friday, September 17, 2004 11:06 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Connecting to SQL from Access w/a single login? > > >This is driving me nuts. I know I did this a few years ago, but >right >now I'm totally stumped. > >A client of mine wrote himself an Access app for use around his >office. >Eventually the back-end swelled up to 500MB and problems ensued, so >they >decided to go to SQL Server. He upsized the database himself and >then >called me in to help get the Access front-end working against SQL >Server. > >Here's my current issue; I want all the Access clients to use the >same >SQL Server login rather than having a unique SQL Server login for >each >domain account. > >I went ahead and created an AppUser login and gave it the appropriate >permissions to the application database. I have the AppUser login >and >password set in the ODBC DSN. But whenever a user tries to connect, >an >error message appears stating that his domain login was not >recognized >by the SQL Server. It's not even paying attention to the AppUser >info. > >I'm surfing BOL right now, but haven't yet figured out what I missed. >And I know I'm missing something. > >Any suggestions? >Respectfully, > >Christopher Hawkins >Software Developer >(559) 687-7591 >http://www.christopherhawkins.com > > >--------------------------------------------------------------------- >----------------------------------------------- >The information in this email may contain confidential information >that >is legally privileged. The information is only for the use of the >intended >recipient(s) named above. If you are not the intended recipient(s), >you >are hereby notified that any disclosure, copying, distribution, or >the taking >of any action in regard to the content of this email is strictly >prohibited. If >transmission is incorrect, unclear, or incomplete, please notify the >sender >immediately. The authorized recipient(s) of this information is/are >prohibited >from disclosing this information to any other party and is/are >required to >destroy the information after its stated need has been fulfilled. > >Any views expressed in this message are those of the individual >sender, except where the sender specifies and with authority, >states them to be the views of Tappe Construction Co. > >This footer also confirms that this email message has been scanned >for the presence of computer viruses.Scanning of this message and >addition of this footer is performed by SurfControl E-mail Filter >software >in conjunction with virus detection software. > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From jwcolby at colbyconsulting.com Fri Sep 17 21:00:25 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 17 Sep 2004 22:00:25 -0400 Subject: [AccessD] If you need storage - Check this deal In-Reply-To: Message-ID: <001901c49d23$46a919c0$e8dafea9@ColbyM6805> http://shop1.outpost.com/product/3700356 John W. Colby www.ColbyConsulting.com From starkey at wanadoo.nl Sat Sep 18 04:05:04 2004 From: starkey at wanadoo.nl (StaRKeY) Date: Sat, 18 Sep 2004 11:05:04 +0200 Subject: [AccessD] Connecting to SQL from Access w/a single login? In-Reply-To: <191490-2200495171853536@christopherhawkins.com> Message-ID: <20040918090159.9082B1820A@smtp6.wanadoo.nl> Hi Christopher, Have you also given an Applicationrole some thought? This has the advantage over an AppUser that you are still able recognise the true connected user in case you'd need this plus it's pretty practical since no users have to be given any rights but being able to connect to the specific SQL database. By giving the applicationrole all the nescessary rights you achive the same goal as by using a single user account but more flexible. I'm using it at this moment in an adp using ADO for all the data manipulation/views and it's working like a charme.. Nice touch is that the 'access datasheet look & feel' can be kept while all forms/sheets are unbound! Regards, Eric Starkenburg -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Christopher Hawkins Verzonden: vrijdag 17 september 2004 20:06 Aan: accessd at databaseadvisors.com Onderwerp: [AccessD] Connecting to SQL from Access w/a single login? This is driving me nuts. I know I did this a few years ago, but right now I'm totally stumped. A client of mine wrote himself an Access app for use around his office. Eventually the back-end swelled up to 500MB and problems ensued, so they decided to go to SQL Server. He upsized the database himself and then called me in to help get the Access front-end working against SQL Server. Here's my current issue; I want all the Access clients to use the same SQL Server login rather than having a unique SQL Server login for each domain account. I went ahead and created an AppUser login and gave it the appropriate permissions to the application database. I have the AppUser login and password set in the ODBC DSN. But whenever a user tries to connect, an error message appears stating that his domain login was not recognized by the SQL Server. It's not even paying attention to the AppUser info. I'm surfing BOL right now, but haven't yet figured out what I missed. And I know I'm missing something. Any suggestions? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ avast! Antivirus : Uitgaande bericht is niet besmet. Virus Gegevensbestand (VPS): 0438-3, 17-09-2004 Getest op: 18-9-2004 11:05:04 avast! auteursrecht (c) 2000-2004 ALWIL Software. From barbara.march at surveyrisk.co.uk Sat Sep 18 10:28:36 2004 From: barbara.march at surveyrisk.co.uk (Barbara March) Date: Sat, 18 Sep 2004 16:28:36 +0100 Subject: [AccessD] Gmail Invite (D) In-Reply-To: <20040917181707.78818.qmail@web50804.mail.yahoo.com> Message-ID: Yes please Barbara (^-^)/ UK -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dan williams Sent: Friday 17 September 2004 19:17 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Gmail Invite (D) sure would like one please --- Jeff Barrows wrote: > On its way! Anyone else? > > Jeff Barrows > MCP, MCAD, MCSD > > Outbak Technologies, LLC > Racine, WI > jeff at outbaktech.com > -----Original Message----- > From: Steven W. Erbach [mailto:serbach at new.rr.com] > Sent: Wednesday, September 15, 2004 10:22 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Gmail Invite (D) > > Jeff, > > >> Are you looking for a GMail invite? << > > Well, sure, if ya got one one 'a dem dere tings, eh? > > Steve Erbach > Neenah, WI > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat Sep 18 13:14:37 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 18 Sep 2004 11:14:37 -0700 Subject: [AccessD] GDI updates In-Reply-To: <001901c49d23$46a919c0$e8dafea9@ColbyM6805> Message-ID: Hi All: Has anyone heard of Microsoft's GDI update tools before...ramification? http://www.microsoft.com/security/bulletins/200409_jpeg_tool.mspx Jim From BBarabash at TappeConstruction.com Sat Sep 18 14:27:14 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Sat, 18 Sep 2004 14:27:14 -0500 Subject: [AccessD] Connecting to SQL from Access w/a single login? Message-ID: <100F91B31300334B89EC531C9DCB086506595D@tccexch01.tappeconstruction.net> Try setting tdAttach.Attributes = dbAttachSavePWD -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: Friday, September 17, 2004 5:20 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Connecting to SQL from Access w/a single login? Brett, I'm using a similar routine currently. I have a metadata table full of information about the data tables. It contains the localname, path and sourceobject name of the table I'm linking to in SQL Server. The actual linking is fine, but as you said remembering the password is an issue. Mind you, the password is in the metadata table. But it seems to get ignored. Here is a sample of the string I'm using to create the link: [code] ODBC;DSN=MyDataSource;Description=My SQL Server Date;UID=MyUser;PASSWORD=MyPassword;APP=Microsoft Office 2003;WSID=MyWorkstation;DATABASE=MyDatabaseName[/code] Here's my function. How can I ensure that the password that's baked into the path gets remembered? I'm thinking that there must be a way to emulate checking the 'Remember Password' checkbox in the Linked Table dialog. [code] Public Sub LinkTables() ' Given a database with no linked tables, this function ' will establish links to all tables enumerated in zTable Dim db As Database Dim rsTable As dao.Recordset Dim sSQL As String Dim tdAttach As TableDef On Error GoTo Err_LinkTables Set db = CurrentDb sSQL = "SELECT * FROM zTable" Set rsTable = db.OpenRecordset(sSQL) rsTable.MoveFirst Do Until rsTable.EOF = True Debug.Print "Linking " & rsTable("TableName") Set tdAttach = db.CreateTableDef(rsTable("TableName")) ' Set the connection info in the tabledef object With tdAttach .Connect = rsTable("Path") .SourceTableName = rsTable("SourceTable") .Properties("ODBC: Remember Password") = True End With ' Append the new tabledef db.TableDefs.Append tdAttach rsTable.MoveNext Loop Exit_LinkTables: Exit Sub Err_LinkTables: If Err.Number = 3012 Then Resume Next Else MsgBox Err.Description End If Resume Exit_LinkTables End Sub [/code] -C- ---- Original Message ---- From: BBarabash at tappeconstruction.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Connecting to SQL from Access w/a single login? Date: Fri, 17 Sep 2004 14:29:46 -0500 >To all who use NT authentication: >Do you (or your network admins) have any concerns about end users >potentially linking to the raw data in other apps? > >For example, a savvy power user could easily setup an ODBC connection >in Excel/MS Query and directly query the table data. If the database >relies on NT authentication, and the table is available to them, they >can link to the data directly. > >I found this to be problemattic, since I don't really want my users >bypassing the business rules and manually generating their own reports >with sensitive data. > >Christopher: >I had this problem a while back using SQL Server authentication on an >Access 2000 MDB file. The problem is that the Access attach tables >dialog doesn't save the password info. I was able to get around it by >writing the following DAO routine (make sure you have a DAO reference >set in your project). This routine will loop through all of your >attached tables, and relink them using the specified UserID and >Password. > >Public Sub FixAttachments(ByVal strServer As String, ByVal strUID As >String, ByVal strPWD As String) > > Dim db As DAO.Database > Dim rs As DAO.Recordset > Dim tdf As DAO.TableDef > Dim strSQL As String > > Set db = DBEngine.Workspaces(0).Databases(0) > strSQL = "SELECT MSysObjects.Name, " & _ > "MSysObjects.ForeignName, " & _ > "MSysObjects.Connect " & _ > "FROM MSysObjects " & _ > "WHERE MSysObjects.Type=4 " & _ > "ORDER BY MSysObjects.Name;" > Set rs = db.OpenRecordset(strSQL, dbOpenSnapshot) > > db.TableDefs.Refresh > > Do Until rs.EOF > Debug.Print rs!Name > Set tdf = db.CreateTableDef(rs!Name) > > tdf.Connect = "ODBC;" & _ > ExtractArg(rs!Connect, "DRIVER") & ";" & _ > "SERVER=" & strServer & ";" & _ > ExtractArg(rs!Connect, "DATABASE") & ";" & _ > "UID=" & strUID & ";" & _ > "PWD=" & strPWD > > tdf.Attributes = dbAttachSavePWD > tdf.SourceTableName = rs!ForeignName > db.TableDefs.Delete rs!Name > db.TableDefs.Append tdf > > rs.MoveNext > Loop > > db.TableDefs.Refresh > rs.Close > >End Sub > >Public Function ExtractArg(ByVal strIn As String, ByVal strName As >String) As String > > Dim lngPos As Long > > strIn = strIn & ";" > lngPos = InStr(strIn, strName & "=") > > If lngPos > 0 Then > ExtractArg = Mid$(strIn, lngPos, InStr(lngPos, strIn, ";") - >lngPos) > End If > >End Function > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence >(AccessD) >Sent: Friday, September 17, 2004 1:49 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Connecting to SQL from Access w/a single login? > > >Hi Christopher: > >The SQL server has it's own way of dealing with access rights. They are >through an internal 'sa' type account or it is through 'NT >authentication'. > >Traditionally, I only use the 'sa' accounts as a backdoor for an >administrator. Your best option would be to go with 'NT >authentication'. > >The setup is fairly easy, if network has a domain. Go to the main >server, login as an administrator, 'right-click' MyComputer (assuming a >Windows2000 system), select the 'Manage' option, choose 'Local Users >and Groups' then: >One; create a login group called something like 'sqlusers'. >Two; create or add individual login to the group. > >Once all the appropriate users have been added to this group the access >the SQL Enterprise manager. 'EM'. >One; Expand the current SQL server, the 'Security' directory and the >'click' >on the logins icon. >Two; 'right mouse click', select 'New login' and, on the General tab, >from the popdown list select your 'sqlusers' group. Make sure that the >'Authentication' radio button is selected and the current domain/server >is visible. >Three; Go back to the 'Database' and 'MyDatabase' directory and >subdirectory and 'right mouse click' the users icon. >Four; Select 'New database user' and select the new group you have just >added from the popdown menu. > >There is some clean up and defining to do but you have basically >defined access rights. Now all you do is attempt a connection at the >point where the user accesses the FE Access DB and if the connection >fails, close and exit the program. (If you need a sample of code that >will connect to your server just request it.) > >You will find this way very clean, secure and not intrusive to the >users. >This way is the only way I now ever setup user accounts. > >HTH >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >Hawkins >Sent: Friday, September 17, 2004 11:06 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Connecting to SQL from Access w/a single login? > > >This is driving me nuts. I know I did this a few years ago, but right >now I'm totally stumped. > >A client of mine wrote himself an Access app for use around his office. >Eventually the back-end swelled up to 500MB and problems ensued, so >they decided to go to SQL Server. He upsized the database himself and >then called me in to help get the Access front-end working against SQL >Server. > >Here's my current issue; I want all the Access clients to use the same >SQL Server login rather than having a unique SQL Server login for each >domain account. > >I went ahead and created an AppUser login and gave it the appropriate >permissions to the application database. I have the AppUser login and >password set in the ODBC DSN. But whenever a user tries to connect, an >error message appears stating that his domain login was not recognized >by the SQL Server. It's not even paying attention to the AppUser info. > >I'm surfing BOL right now, but haven't yet figured out what I missed. >And I know I'm missing something. > >Any suggestions? >Respectfully, > >Christopher Hawkins >Software Developer >(559) 687-7591 >http://www.christopherhawkins.com -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From stuart at lexacorp.com.pg Sat Sep 18 17:25:48 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 19 Sep 2004 08:25:48 +1000 Subject: [AccessD] GDI updates In-Reply-To: References: <001901c49d23$46a919c0$e8dafea9@ColbyM6805> Message-ID: <414D428C.13099.12D2CB34@lexacorp.com.pg> On 18 Sep 2004 at 11:14, Jim Lawrence (AccessD) wrote: > Hi All: > > Has anyone heard of Microsoft's GDI update tools before...ramification? > http://www.microsoft.com/security/bulletins/200409_jpeg_tool.mspx > It's a patch to fix a recently identified security flaw in the handling of jpeg images. A specially craffted jpg image can contain code that will be executed. Grab it. -- Stuart From jwcolby at colbyconsulting.com Sun Sep 19 00:58:28 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 19 Sep 2004 01:58:28 -0400 Subject: [AccessD] test In-Reply-To: <001901c49d23$46a919c0$e8dafea9@ColbyM6805> Message-ID: <002b01c49e0d$b27d3510$e8dafea9@ColbyM6805> Nothing today from any of our lists. Just a quiet day? John W. Colby www.ColbyConsulting.com From andy at minstersystems.co.uk Sun Sep 19 05:06:05 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun, 19 Sep 2004 11:06:05 +0100 Subject: [AccessD] test In-Reply-To: <002b01c49e0d$b27d3510$e8dafea9@ColbyM6805> Message-ID: <000901c49e30$47007e50$b274d0d5@minster33c3r25> I reckon so. Morning John. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > John W. Colby > Sent: 19 September 2004 06:58 > To: 'Access Developers discussion and problem solving'; > dba-sqlserver at databaseadvisors.com > Subject: [AccessD] test > > > Nothing today from any of our lists. Just a quiet day? > > John W. Colby > www.ColbyConsulting.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From accessd at shaw.ca Sun Sep 19 08:22:14 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sun, 19 Sep 2004 06:22:14 -0700 Subject: [AccessD] GDI updates In-Reply-To: <414D428C.13099.12D2CB34@lexacorp.com.pg> Message-ID: Who would have guessed it? Is nothing safe or sacred. Thanks Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Saturday, September 18, 2004 3:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] GDI updates On 18 Sep 2004 at 11:14, Jim Lawrence (AccessD) wrote: > Hi All: > > Has anyone heard of Microsoft's GDI update tools before...ramification? > http://www.microsoft.com/security/bulletins/200409_jpeg_tool.mspx > It's a patch to fix a recently identified security flaw in the handling of jpeg images. A specially craffted jpg image can contain code that will be executed. Grab it. -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Sep 19 09:56:09 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 19 Sep 2004 16:56:09 +0200 Subject: [AccessD] Connecting to SQL from Access w/a single login? In-Reply-To: <100F91B31300334B89EC531C9DCB086506595D@tccexch01.tappeconstruction.net> References: <100F91B31300334B89EC531C9DCB086506595D@tccexch01.tappeconstruction.net> Message-ID: <706286609.20040919165609@cactus.dk> Hi Brett > Try setting tdAttach.Attributes = dbAttachSavePWD First, I think this is for attached Jet databases only. Second, I guess this should be: tdAttach.Attributes = tdAttach.Attributes Or dbAttachSavePWD or you would kill any other attribute (or raise an error). Also, this should not be necessary: > Do Until rs.EOF > Debug.Print rs!Name > Set tdf = db.CreateTableDef(rs!Name) > > tdf.Connect = "ODBC;" & _ > ExtractArg(rs!Connect, "DRIVER") & ";" & _ > "SERVER=" & strServer & ";" & _ > ExtractArg(rs!Connect, "DATABASE") & ";" & _ > "UID=" & strUID & ";" & _ > "PWD=" & strPWD > > tdf.Attributes = dbAttachSavePWD > tdf.SourceTableName = rs!ForeignName > db.TableDefs.Delete rs!Name > db.TableDefs.Append tdf > > rs.MoveNext > Loop A Refresh is normally fine (and faster): Set tdf = db.TableDefs(rs!Name) tdf.Connect = "ODBC;" & _ ... tdf.Attributes = dbAttachSavePWD tdf.SourceTableName = rs!ForeignName tdf.Refresh /gustav > I'm using a similar routine currently. I have a metadata table full of > information about the data tables. It contains the localname, path and > sourceobject name of the table I'm linking to in SQL Server. > The actual linking is fine, but as you said remembering the password is > an issue. From gustav at cactus.dk Sun Sep 19 10:01:36 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 19 Sep 2004 17:01:36 +0200 Subject: [AccessD] Connecting to SQL from Access w/a single login? In-Reply-To: <274490-22004951722194342@christopherhawkins.com> References: <274490-22004951722194342@christopherhawkins.com> Message-ID: <1646613790.20040919170136@cactus.dk> Hi Christopher How are you looking for the password? It will not be present in the Msys-tables but should be present in the Connect property of the tabledef. /gustav > Mind you, the password is in the metadata table. But it seems to get > ignored. Here is a sample of the string I'm using to create the link: > [code] > ODBC;DSN=MyDataSource;Description=My SQL Server > Date;UID=MyUser;PASSWORD=MyPassword;APP=Microsoft Office > 2003;WSID=MyWorkstation;DATABASE=MyDatabaseName[/code] > Here's my function. How can I ensure that the password that's baked > into the path gets remembered? I'm thinking that there must be a way > to emulate checking the 'Remember Password' checkbox in the Linked > Table dialog. From Joe_Hecht at earthlink.net Sun Sep 19 16:02:25 2004 From: Joe_Hecht at earthlink.net (Joe Hecht) Date: Sun, 19 Sep 2004 14:02:25 -0700 Subject: [AccessD] test In-Reply-To: <002b01c49e0d$b27d3510$e8dafea9@ColbyM6805> Message-ID: <001001c49e8b$f9e89ab0$6401a8c0@delllaptop> yups JOE HECHT LOS ANGELES CA jmhla at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Saturday, September 18, 2004 10:58 PM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com Subject: [AccessD] test Nothing today from any of our lists. Just a quiet day? John W. Colby www.ColbyConsulting.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From forefront at ig.com.br Sat Sep 18 19:23:48 2004 From: forefront at ig.com.br (Forefront) Date: Sat, 18 Sep 2004 21:23:48 -0300 Subject: [AccessD] .TIFF Image of Report Pages In-Reply-To: <100F91B31300334B89EC531C9DCB0865065951@tccexch01.tappeconstruction.net> References: <100F91B31300334B89EC531C9DCB0865065951@tccexch01.tappeconstruction.net> Message-ID: <414CD194.3020808@ig.com.br> Brett Barabash wrote: > GhostScript is free (but quite involved to setup). PDF995 is based off > of GhostScript, and charges $9.95 for the reduced headaches. > > Differences between a PDF995 created document and an Adobe Acrobat > document are minimal (Gustav pointed out a few minor differences, should > be in the archives). > > I would recommend PDF995 as an almost-free PDF alternative. > CutePDF and PrimoPDF are also good alternatives to PDF995. ;-) -- ************************************************ * Forefront em Inform?tica e Consultoria Ltda. * * Carlos Alberto Alves * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * Phone Direct: 55-21-9169-1596 * * mailto:forefront at ig.com.br * ************************************************ From john at winhaven.net Mon Sep 20 09:35:31 2004 From: john at winhaven.net (John Bartow) Date: Mon, 20 Sep 2004 09:35:31 -0500 Subject: [AccessD] .TIFF Image of Report Pages In-Reply-To: Message-ID: Mark, I've seen situations where things were being done in a rather labor intensive, inefficient manner just as you describe. I've proposed better solutions and people have initially gotten a bit excited about the idea but in the end they kept doing it the same way. Sooo. I'd say you're going to get to labeled as: 1. a genius :-) 2. a lazy tehcno-geek who thinks the computers can do everything but doesn't realize that not everybody can run the computers as well as you (i.e. the scanner staff would have to be trained to run the software to do this-it would be too efficient to just have the engineers do it.) ;-) 3. a trouble maker who is trying to put all those people with jobs in the scanning section out of work! :-( John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Friday, September 17, 2004 6:50 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] .TIFF Image of Report Pages Many thanks to you all. After a little research into how other divisions have handled this creation of .tiff files from AutoCAD .dwg files, I'm a little disappointed. I mean that, just on the hint that we might have to take over this responsibility, it has only taken 12 hours for you kind folks to provide a multitude of viable options. What scares me is that some divisions are actually doing this manually by scanning a hard copy. So, in comparison, would I be considered lazy or efficient for wanting a better way? ;) Mark -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, September 16, 2004 11:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] .TIFF Image of Report Pages Hi Mark The "Print To Picture" printer driver: http://progrex.narod.ru/ptp.html can output to PCX, BMP, or PNG files. Then you can convert to TIFF. /gustav > Does anyone have any brilliant ideas on how I could automatically generate a > .tiff image for each page in a report? > Background: Our company stores issued drawings in .tiff format. In the > past, drawings have been scanned in manually in a reproduction department. > Currently, I issue drawings using Access reports. It has been suggested > that the .tiff creation MAY fall to the engineering department. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Mon Sep 20 09:59:48 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Mon, 20 Sep 2004 09:59:48 -0500 Subject: [AccessD] Connecting to SQL from Access w/a single login? Message-ID: <100F91B31300334B89EC531C9DCB086506595F@tccexch01.tappeconstruction.net> >First, I think this is for attached Jet databases only. No, I have used this extensively for attaching to our SQL Server 2000 databases. >Second, I guess this should be: >tdAttach.Attributes = tdAttach.Attributes Or dbAttachSavePWD Good point. >Also, this should not be necessary: A couple of points here: 1. The TableDef object doesn't have a Refresh method. Perhaps RefreshLink? 2. If you try this, omit the tdf.SourceTableName = rs!ForeignName line. It blows up. 3. I can't remember the exact reason why I dropped and recreated the table. I can recall trying the simple update and RefreshLink but had difficulties. Can't remember much more than that. Seems to work OK now, though. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, September 19, 2004 9:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Connecting to SQL from Access w/a single login? Hi Brett > Try setting tdAttach.Attributes = dbAttachSavePWD First, I think this is for attached Jet databases only. Second, I guess this should be: tdAttach.Attributes = tdAttach.Attributes Or dbAttachSavePWD or you would kill any other attribute (or raise an error). Also, this should not be necessary: > Do Until rs.EOF > Debug.Print rs!Name > Set tdf = db.CreateTableDef(rs!Name) > > tdf.Connect = "ODBC;" & _ > ExtractArg(rs!Connect, "DRIVER") & ";" & _ > "SERVER=" & strServer & ";" & _ > ExtractArg(rs!Connect, "DATABASE") & ";" & _ > "UID=" & strUID & ";" & _ > "PWD=" & strPWD > > tdf.Attributes = dbAttachSavePWD > tdf.SourceTableName = rs!ForeignName > db.TableDefs.Delete rs!Name > db.TableDefs.Append tdf > > rs.MoveNext > Loop A Refresh is normally fine (and faster): Set tdf = db.TableDefs(rs!Name) tdf.Connect = "ODBC;" & _ ... tdf.Attributes = dbAttachSavePWD tdf.SourceTableName = rs!ForeignName tdf.Refresh /gustav > I'm using a similar routine currently. I have a metadata table full > of information about the data tables. It contains the localname, path > and sourceobject name of the table I'm linking to in SQL Server. > The actual linking is fine, but as you said remembering the password > is an issue. -- -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From Drawbridge.Jack at ic.gc.ca Mon Sep 20 11:04:47 2004 From: Drawbridge.Jack at ic.gc.ca (Drawbridge.Jack at ic.gc.ca) Date: Mon, 20 Sep 2004 12:04:47 -0400 Subject: [AccessD] Problem with code to change field data type in vba Message-ID: <0F3AFAE449DD4A40BED8B6C4A97ABF5B15B360@MSG-MB3.icent.ic.gc.ca> Here's code that could do the job, but I'd be real cautious about losing existing data. Private Sub TestThis() Dim fld As Field Dim dbs As DATABASE Dim tbl As TableDef Set dbs = CurrentDb() ' '== Do the DATATYPE Change to Integer ' For Each tbl In dbs.TableDefs If Left$(tbl.NAME, 2) = "t_" Then For Each fld In tbl.Fields If fld.NAME <> "t_proj" And fld.NAME <> "t_pt" And _ fld.NAME <> "t_plink" And fld.NAME <> "ptlink" _ And fld.NAME <> "t_species" Then Debug.Print "Before change: - " & tbl.NAME & " - field Name /Type : " & fld.NAME & "/" & fld.Type dbs.Execute "ALTER TABLE " & tbl.NAME _ & " DROP column " & fld.NAME & ";" dbs.Execute "ALTER TABLE " & tbl.NAME _ & " Add column " & fld.NAME & " integer;" 'Debug.Print "After change: - " & tbl.NAME & " - field Name /Type : " & fld.NAME & "/" & fld.Type Else End If Next fld Else End If Next tbl dbs.Close ' '===CHECK The results of datatype change ============== Set dbs = CurrentDb For Each tbl In dbs.TableDefs If Left$(tbl.NAME, 2) = "t_" Then For Each fld In tbl.Fields If fld.NAME <> "t_proj" And fld.NAME <> "t_pt" And _ fld.NAME <> "t_plink" And fld.NAME <> "ptlink" _ And fld.NAME <> "t_species" Then Debug.Print "After change: - " & tbl.NAME & " - field Name /Type : " & fld.NAME & "/" & fld.Type Else End If Next fld Else End If Next tbl Beep MsgBox "Done" dbs.Close End Sub jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Paul Black Sent: Tuesday, September 14, 2004 6:17 PM To: accessd at databaseadvisors.com Subject: [AccessD] Problem with code to change field data type in vba Hi I using Access 97 and can not get the following to work: Private Sub Command0_Click() Dim fld As Field Dim dbs As Database Dim tbl As TableDef Set dbs = CurrentDb() For Each fld In tbl.Fields If Left$(tbl.Name, 2) = "t_" And fld <> "t_proj" And fld <> "t_pt" And fld <> "t_plink" And fld <> "ptlink" And fld <> "t_species" Then fld.Type = dbInteger End If Next fld Beep MsgBox "Done" End Sub It is supposed to change the field data type to integer from text. All field names to change begin with 't_' excluding certain fields listed above. I keep getting an error: Runtime error '91' Object Variable or With Block variable not set Other than the excluded fields above all the data conatined in the fields is numeric or has a Null value... but it is in a text field. The data is coming to me off of a Pocket PC and it won't let me change the field type to numeric. Please help me solve this. Thanks PB _________________________________________________________________ Get ready for school! Find articles, homework help and more in the Back to School Guide! http://special.msn.com/network/04backtoschool.armx -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DElam at jenkens.com Mon Sep 20 14:30:08 2004 From: DElam at jenkens.com (Elam, Debbie) Date: Mon, 20 Sep 2004 14:30:08 -0500 Subject: [AccessD] ADPs and Exclusive Access Warnings Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0248548D@natexch.jenkens.com> I have 2 different .adps created in Access 2002. Both of these are giving a message "You do not have exclusive access at this time...." In both instances, the user should not be saving any changes to the database anyhow. I do not understand why these are popping up. Personally I would just prefer to suppress the message, but set warnings to false does not do the trick. Any ideas on either preventing the message, or simply suppressing it from displaying? Debbie - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From fhtapia at gmail.com Mon Sep 20 14:48:27 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Mon, 20 Sep 2004 12:48:27 -0700 Subject: [AccessD] ADPs and Exclusive Access Warnings In-Reply-To: <7B1961ED924D1A459E378C9B1BB22B4C0248548D@natexch.jenkens.com> References: <7B1961ED924D1A459E378C9B1BB22B4C0248548D@natexch.jenkens.com> Message-ID: are you sharing the ADP w/ anyone? On Mon, 20 Sep 2004 14:30:08 -0500, Elam, Debbie wrote: > I have 2 different .adps created in Access 2002. Both of these are giving a > message "You do not have exclusive access at this time...." In both > instances, the user should not be saving any changes to the database anyhow. > I do not understand why these are popping up. Personally I would just > prefer to suppress the message, but set warnings to false does not do the > trick. Any ideas on either preventing the message, or simply suppressing it > from displaying? > > Debbie > - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject > to the Attorney-Client Privilege, (2) an attorney work product, or (3) > strictly confidential. If you are not the intended recipient of this > message, you may not disclose, print, copy or disseminate this information. > If you have received this in error, please reply and notify the sender > (only) and delete the message. Unauthorized interception of this e-mail is a > violation of federal criminal law. > This communication does not reflect an intention by the sender or the > sender's client or principal to conduct a transaction or make any agreement > by electronic means. Nothing contained in this message or in any attachment > shall satisfy the requirements for a writing, and nothing contained herein > shall constitute a contract or electronic signature under the Electronic > Signatures in Global and National Commerce Act, any version of the Uniform > Electronic Transactions Act or any other statute governing electronic > transactions. > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://spreadfirefox.com/community/?q=affiliates&id=792&t=86 http://ft316db.VOTEorNOT.org From DElam at jenkens.com Mon Sep 20 15:13:21 2004 From: DElam at jenkens.com (Elam, Debbie) Date: Mon, 20 Sep 2004 15:13:21 -0500 Subject: [AccessD] ADPs and Exclusive Access Warnings Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0248548F@natexch.jenkens.com> Both adps are shared with several people. I normally try to put front ends on the computer, rather than share to the network, but for a variety of reasons that is impractical in this case. Debbie -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Monday, September 20, 2004 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADPs and Exclusive Access Warnings are you sharing the ADP w/ anyone? On Mon, 20 Sep 2004 14:30:08 -0500, Elam, Debbie wrote: > I have 2 different .adps created in Access 2002. Both of these are giving a > message "You do not have exclusive access at this time...." In both > instances, the user should not be saving any changes to the database anyhow. > I do not understand why these are popping up. Personally I would just > prefer to suppress the message, but set warnings to false does not do the > trick. Any ideas on either preventing the message, or simply suppressing it > from displaying? > > Debbie > - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject > to the Attorney-Client Privilege, (2) an attorney work product, or (3) > strictly confidential. If you are not the intended recipient of this > message, you may not disclose, print, copy or disseminate this information. > If you have received this in error, please reply and notify the sender > (only) and delete the message. Unauthorized interception of this e-mail is a > violation of federal criminal law. > This communication does not reflect an intention by the sender or the > sender's client or principal to conduct a transaction or make any agreement > by electronic means. Nothing contained in this message or in any attachment > shall satisfy the requirements for a writing, and nothing contained herein > shall constitute a contract or electronic signature under the Electronic > Signatures in Global and National Commerce Act, any version of the Uniform > Electronic Transactions Act or any other statute governing electronic > transactions. > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://spreadfirefox.com/community/?q=affiliates&id=792&t=86 http://ft316db.VOTEorNOT.org -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From martyconnelly at shaw.ca Mon Sep 20 16:29:51 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 20 Sep 2004 14:29:51 -0700 Subject: [AccessD] .TIFF Image of Report Pages References: <100F91B31300334B89EC531C9DCB0865065951@tccexch01.tappeconstruction.net> <414CD194.3020808@ig.com.br> Message-ID: <414F4BCF.10301@shaw.ca> Or you could try this from SourceForge PDF Creator http://sourceforge.net/projects/pdfcreator/ You will have to add your own .ini files for multi language support. Forefront wrote: > Brett Barabash wrote: > >> GhostScript is free (but quite involved to setup). PDF995 is based off >> of GhostScript, and charges $9.95 for the reduced headaches. >> Differences between a PDF995 created document and an Adobe Acrobat >> document are minimal (Gustav pointed out a few minor differences, should >> be in the archives). >> >> I would recommend PDF995 as an almost-free PDF alternative. >> > > CutePDF and PrimoPDF are also good alternatives to PDF995. > ;-) -- Marty Connelly Victoria, B.C. Canada From fhtapia at gmail.com Mon Sep 20 16:41:54 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Mon, 20 Sep 2004 14:41:54 -0700 Subject: [AccessD] ADPs and Exclusive Access Warnings In-Reply-To: <7B1961ED924D1A459E378C9B1BB22B4C0248548F@natexch.jenkens.com> References: <7B1961ED924D1A459E378C9B1BB22B4C0248548F@natexch.jenkens.com> Message-ID: If you change certain settings including the "connection Settings" then the ADP want's exclusive access... I dunno why you would not want to distribute as a normal FE one each pc... but this may be one of those Access error messages. On Mon, 20 Sep 2004 15:13:21 -0500, Elam, Debbie wrote: > Both adps are shared with several people. I normally try to put front ends > on the computer, rather than share to the network, but for a variety of > reasons that is impractical in this case. > > Debbie > > > > -----Original Message----- > From: Francisco Tapia [mailto:fhtapia at gmail.com] > Sent: Monday, September 20, 2004 2:48 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] ADPs and Exclusive Access Warnings > > are you sharing the ADP w/ anyone? > > On Mon, 20 Sep 2004 14:30:08 -0500, Elam, Debbie wrote: > > I have 2 different .adps created in Access 2002. Both of these are giving > a > > message "You do not have exclusive access at this time...." In both > > instances, the user should not be saving any changes to the database > anyhow. > > I do not understand why these are popping up. Personally I would just > > prefer to suppress the message, but set warnings to false does not do the > > trick. Any ideas on either preventing the message, or simply suppressing > it > > from displaying? > > > > Debbie > > - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) > subject > > to the Attorney-Client Privilege, (2) an attorney work product, or (3) > > strictly confidential. If you are not the intended recipient of this > > message, you may not disclose, print, copy or disseminate this > information. > > If you have received this in error, please reply and notify the sender > > (only) and delete the message. Unauthorized interception of this e-mail is > a > > violation of federal criminal law. > > This communication does not reflect an intention by the sender or the > > sender's client or principal to conduct a transaction or make any > agreement > > by electronic means. Nothing contained in this message or in any > attachment > > shall satisfy the requirements for a writing, and nothing contained herein > > shall constitute a contract or electronic signature under the Electronic > > Signatures in Global and National Commerce Act, any version of the Uniform > > Electronic Transactions Act or any other statute governing electronic > > transactions. > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > -Francisco > "Rediscover the web" > http://spreadfirefox.com/community/?q=affiliates&id=792&t=86 > http://ft316db.VOTEorNOT.org > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject > > > to the Attorney-Client Privilege, (2) an attorney work product, or (3) > strictly confidential. If you are not the intended recipient of this > message, you may not disclose, print, copy or disseminate this information. > If you have received this in error, please reply and notify the sender > (only) and delete the message. Unauthorized interception of this e-mail is a > violation of federal criminal law. > This communication does not reflect an intention by the sender or the > sender's client or principal to conduct a transaction or make any agreement > by electronic means. Nothing contained in this message or in any attachment > shall satisfy the requirements for a writing, and nothing contained herein > shall constitute a contract or electronic signature under the Electronic > Signatures in Global and National Commerce Act, any version of the Uniform > Electronic Transactions Act or any other statute governing electronic > transactions. > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://spreadfirefox.com/community/?q=affiliates&id=792&t=86 http://ft316db.VOTEorNOT.org From KP at sdsonline.net Mon Sep 20 20:09:24 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 21 Sep 2004 11:09:24 +1000 Subject: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form References: <988E2AC88CCB54459286C4077DB662F50155B2D8@PDAWB03C.ad.sprint.com> Message-ID: <000d01c49f77$a2f2eb10$6501a8c0@user> Hi Donald - thanks for the reply. I didn't know that there was an FP html editor as opposed to normal FP- that would certainly solve the problem as these pages will also be very simple - I will look further into that. Thanks Kath ----- Original Message ----- From: Mcgillivray, Donald [ITS] To: Access Developers discussion and problem solving Sent: Saturday, September 18, 2004 2:05 AM Subject: RE: [AccessD] Urgent help please - Can't open html page inFrontpagefrom Access form Firstly, I have only passing familiarity with Front Page and web stuff - DEFINITELY no kind of expert! But since you seem to be in a similar situation, maybe my experience will prove useful. In FP 98 (newer versions may be different) the html editor is a separate application that can be run independently from the FP web designer interface. Since my ISP doesn't support FP extensions at my subscription level, I just use the FP editor (not the web designer) to create pages (VERY simple ones, to be sure) and upload them via FTP to my web space. Basically, the FP html editor allows you to open, edit and save ANY html doc to ANY place you please - doesn't have to be a part of a "Front Page web" at all. Things could get a little tricky if the html doc contains hyperlinks to other pages within the web site - in my situation I mimic the directory structure of my web space on my PC, and make any hyperlinks relative to the page location - and I have no idea what happens if you just slip a page into a FP web thru the "back door" (does the FP web automatically 'know' the new page is there, or do you have to use the web designer to make it available?) All this having been said, I don't know whether the FP html editor (as distinct from the web designer) has an exposed object model that you can automate from your VBA code (I'm at work and my FP is installed at home) but if it does, you ought to be able to open and work a document independent of any web specs and then move it to the web via a separate process when the user is finished. Hope this helps! Don McGillivray -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, September 13, 2004 6:13 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Urgent help please - Can't open html page in Frontpagefrom Access form I have wasted ages on this so am now begging assistance........ I have an html file (empty at present - later it will have some basic text) I need to my code to - Make a copy of the template.html file (I can do that) and - give it a new name, eg. Template_BHP_140904.html (I can do that) - Open the html file just created in Frontpage for users to modify the document (That's where I'm stuck....) My problem is a total lack of knowledge of files vs. webs and therefore the syntax I need. Questions: - - Do I have to have a 'web' or 'web folder' - can't I just have an html file and open it? - If I can, what is the alternative syntax to .webs.open - eg. I am looking for a .pages.open property or .files.open ? Here's my code so far - when I run it I get an error - There is no web named "/E:/SDS/Clients/CPP/WebLetters/Template.html" ------------------------------------------------------------------------ -------- Private Sub CmdOpenFP_Click() Dim oFPweb As FrontPage.Web Dim oFP As FrontPage.Application Dim FrontPageRunning As Boolean 'Determine whether FrontPage is alredy open or not FrontPageRunning = IsFrontPageRunning() If Not FrontPageRunning Then MsgBox ("Frontpage is Closed") Set oFP = CreateObject("Frontpage.Application") Else MsgBox ("Frontpage is already open") Set oFP = GetObject(, "Frontpage.Application") End If 'add code here later to make a copy of my file 'open file in front page------------------------------------------------ oFP.Webs.Open ("E:\Sds\Clients\CPP\Webletters\template.html") 'STUCK HERE ' Show FrontPage oFPweb.Activate 'Set oFP = Nothing End Sub ------------------------------------------------------------------------ -------- TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From roz.clarke at donnslaw.co.uk Tue Sep 21 03:08:10 2004 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Tue, 21 Sep 2004 09:08:10 +0100 Subject: [AccessD] ADPs and Exclusive Access Warnings Message-ID: <61F915314798D311A2F800A0C9C8318805CED47C@dibble.observatory.donnslaw.co.uk> I can't speak for Debbie but I have similar problems with .mdbs and .mdes and I have to use a shared FE because we are a Terminal Services site. Users do not get to change connection settings or design of objects and yet the applications still frequently lock. I was hoping that .adps would NOT present the same problems, as we are currently developing one for 200+ users (30 users at a time can be in one FE on a terminal server). :( -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: 20 September 2004 22:42 To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADPs and Exclusive Access Warnings If you change certain settings including the "connection Settings" then the ADP want's exclusive access... I dunno why you would not want to distribute as a normal FE one each pc... but this may be one of those Access error messages. On Mon, 20 Sep 2004 15:13:21 -0500, Elam, Debbie wrote: > Both adps are shared with several people. I normally try to put front > ends on the computer, rather than share to the network, but for a > variety of reasons that is impractical in this case. > > Debbie > > > > -----Original Message----- > From: Francisco Tapia [mailto:fhtapia at gmail.com] > Sent: Monday, September 20, 2004 2:48 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] ADPs and Exclusive Access Warnings > > are you sharing the ADP w/ anyone? > > On Mon, 20 Sep 2004 14:30:08 -0500, Elam, Debbie > wrote: > > I have 2 different .adps created in Access 2002. Both of these are > > giving > a > > message "You do not have exclusive access at this time...." In both > > instances, the user should not be saving any changes to the database > anyhow. > > I do not understand why these are popping up. Personally I would > > just prefer to suppress the message, but set warnings to false does > > not do the trick. Any ideas on either preventing the message, or > > simply suppressing > it > > from displaying? > > > > Debbie > > - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) > subject > > to the Attorney-Client Privilege, (2) an attorney work product, or > > (3) strictly confidential. If you are not the intended recipient of > > this message, you may not disclose, print, copy or disseminate this > information. > > If you have received this in error, please reply and notify the > > sender > > (only) and delete the message. Unauthorized interception of this e-mail is > a > > violation of federal criminal law. > > This communication does not reflect an intention by the sender or > > the sender's client or principal to conduct a transaction or make > > any > agreement > > by electronic means. Nothing contained in this message or in any > attachment > > shall satisfy the requirements for a writing, and nothing contained > > herein shall constitute a contract or electronic signature under the > > Electronic Signatures in Global and National Commerce Act, any > > version of the Uniform Electronic Transactions Act or any other > > statute governing electronic transactions. > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > -Francisco > "Rediscover the web" > http://spreadfirefox.com/community/?q=affiliates&id=792&t=86 > http://ft316db.VOTEorNOT.org > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) > subject > > > to the Attorney-Client Privilege, (2) an attorney work product, or (3) > strictly confidential. If you are not the intended recipient of this > message, you may not disclose, print, copy or disseminate this > information. If you have received this in error, please reply and > notify the sender > (only) and delete the message. Unauthorized interception of this e-mail is a > violation of federal criminal law. > This communication does not reflect an intention by the sender or the > sender's client or principal to conduct a transaction or make any agreement > by electronic means. Nothing contained in this message or in any attachment > shall satisfy the requirements for a writing, and nothing contained herein > shall constitute a contract or electronic signature under the Electronic > Signatures in Global and National Commerce Act, any version of the Uniform > Electronic Transactions Act or any other statute governing electronic > transactions. > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://spreadfirefox.com/community/?q=affiliates&id=792&t=86 http://ft316db.VOTEorNOT.org -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From gustav at cactus.dk Tue Sep 21 06:25:26 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 21 Sep 2004 13:25:26 +0200 Subject: [AccessD] ADPs and Exclusive Access Warnings In-Reply-To: <61F915314798D311A2F800A0C9C8318805CED47C@dibble.observatory.donnslaw.co.uk> References: <61F915314798D311A2F800A0C9C8318805CED47C@dibble.observatory.donnslaw.co.uk> Message-ID: <112712810.20040921132526@cactus.dk> Hi Roz and Debbie Have you tried to write protect the frontend file? /gustav > I can't speak for Debbie but I have similar problems with .mdbs and .mdes > and I have to use a shared FE because we are a Terminal Services site. Users > do not get to change connection settings or design of objects and yet the > applications still frequently lock. From DElam at jenkens.com Tue Sep 21 07:15:11 2004 From: DElam at jenkens.com (Elam, Debbie) Date: Tue, 21 Sep 2004 07:15:11 -0500 Subject: [AccessD] ADPs and Exclusive Access Warnings Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C02485491@natexch.jenkens.com> No, I have not tried to write protect the front end at all. Debbie -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday, September 21, 2004 6:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADPs and Exclusive Access Warnings Hi Roz and Debbie Have you tried to write protect the frontend file? /gustav > I can't speak for Debbie but I have similar problems with .mdbs and .mdes > and I have to use a shared FE because we are a Terminal Services site. Users > do not get to change connection settings or design of objects and yet the > applications still frequently lock. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From Jeff at OUTBAKTech.com Tue Sep 21 08:49:11 2004 From: Jeff at OUTBAKTech.com (Jeff Barrows) Date: Tue, 21 Sep 2004 08:49:11 -0500 Subject: [AccessD] Installation Software (cross posted) Message-ID: <8DA8776D2F418E46A2A464AC6CE630500326BD@outbaksrv1.outbaktech.com> Anyone know where to get the best price on a newer version, single user copy of Installshield? Jeff From fhtapia at gmail.com Tue Sep 21 10:59:31 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 21 Sep 2004 08:59:31 -0700 Subject: [AccessD] ADPs and Exclusive Access Warnings In-Reply-To: <7B1961ED924D1A459E378C9B1BB22B4C02485491@natexch.jenkens.com> References: <7B1961ED924D1A459E378C9B1BB22B4C02485491@natexch.jenkens.com> Message-ID: did you say you get this error on an ADE as well as an MDE? On Tue, 21 Sep 2004 07:15:11 -0500, Elam, Debbie wrote: > No, I have not tried to write protect the front end at all. > > Debbie > > > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Tuesday, September 21, 2004 6:25 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] ADPs and Exclusive Access Warnings > > Hi Roz and Debbie > > Have you tried to write protect the frontend file? > > /gustav > > > I can't speak for Debbie but I have similar problems with .mdbs and .mdes > > and I have to use a shared FE because we are a Terminal Services site. > Users > > do not get to change connection settings or design of objects and yet the > > applications still frequently lock. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject > to the Attorney-Client Privilege, (2) an attorney work product, or (3) > strictly confidential. If you are not the intended recipient of this > message, you may not disclose, print, copy or disseminate this information. > If you have received this in error, please reply and notify the sender > (only) and delete the message. Unauthorized interception of this e-mail is a > violation of federal criminal law. > This communication does not reflect an intention by the sender or the > sender's client or principal to conduct a transaction or make any agreement > by electronic means. Nothing contained in this message or in any attachment > shall satisfy the requirements for a writing, and nothing contained herein > shall constitute a contract or electronic signature under the Electronic > Signatures in Global and National Commerce Act, any version of the Uniform > Electronic Transactions Act or any other statute governing electronic > transactions. > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://spreadfirefox.com/community/?q=affiliates&id=792&t=86 http://ft316db.VOTEorNOT.org From DElam at jenkens.com Tue Sep 21 11:37:56 2004 From: DElam at jenkens.com (Elam, Debbie) Date: Tue, 21 Sep 2004 11:37:56 -0500 Subject: [AccessD] ADPs and Exclusive Access Warnings Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0248549E@natexch.jenkens.com> The MDB I was using before did not have this error, the ADP I created to serve basically the same purpose and used in the same spot does have this error. I do not have an MDE that I have used like this. Debbie -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Tuesday, September 21, 2004 11:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADPs and Exclusive Access Warnings did you say you get this error on an ADE as well as an MDE? On Tue, 21 Sep 2004 07:15:11 -0500, Elam, Debbie wrote: > No, I have not tried to write protect the front end at all. > > Debbie > > > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Tuesday, September 21, 2004 6:25 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] ADPs and Exclusive Access Warnings > > Hi Roz and Debbie > > Have you tried to write protect the frontend file? > > /gustav > > > I can't speak for Debbie but I have similar problems with .mdbs and .mdes > > and I have to use a shared FE because we are a Terminal Services site. > Users > > do not get to change connection settings or design of objects and yet the > > applications still frequently lock. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject > to the Attorney-Client Privilege, (2) an attorney work product, or (3) > strictly confidential. If you are not the intended recipient of this > message, you may not disclose, print, copy or disseminate this information. > If you have received this in error, please reply and notify the sender > (only) and delete the message. Unauthorized interception of this e-mail is a > violation of federal criminal law. > This communication does not reflect an intention by the sender or the > sender's client or principal to conduct a transaction or make any agreement > by electronic means. Nothing contained in this message or in any attachment > shall satisfy the requirements for a writing, and nothing contained herein > shall constitute a contract or electronic signature under the Electronic > Signatures in Global and National Commerce Act, any version of the Uniform > Electronic Transactions Act or any other statute governing electronic > transactions. > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco "Rediscover the web" http://spreadfirefox.com/community/?q=affiliates&id=792&t=86 http://ft316db.VOTEorNOT.org -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From davide at dalyn.co.nz Tue Sep 21 15:25:25 2004 From: davide at dalyn.co.nz (David Emerson) Date: Wed, 22 Sep 2004 08:25:25 +1200 Subject: [AccessD] ADPs and Exclusive Access Warnings In-Reply-To: <61F915314798D311A2F800A0C9C8318805CED47C@dibble.observator y.donnslaw.co.uk> Message-ID: <5.2.0.9.0.20040922082307.00bd8790@mail.dalyn.co.nz> If it is any consolation, I have an 2002 ADP/SQL2000 configuration running on Terminal server with up to 10 concurrent users and it works with no hitches. Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Churton Park Wellington, New Zealand Ph/Fax (04) 478-7456 Mobile 027-280-9348 At 21/09/2004, you wrote: >I can't speak for Debbie but I have similar problems with .mdbs and .mdes >and I have to use a shared FE because we are a Terminal Services site. Users >do not get to change connection settings or design of objects and yet the >applications still frequently lock. > >I was hoping that .adps would NOT present the same problems, as we are >currently developing one for 200+ users (30 users at a time can be in one FE >on a terminal server). > >:( > >-----Original Message----- >From: Francisco Tapia [mailto:fhtapia at gmail.com] >Sent: 20 September 2004 22:42 >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] ADPs and Exclusive Access Warnings > > >If you change certain settings including the "connection Settings" then the >ADP want's exclusive access... I dunno why you would not want to distribute >as a normal FE one each pc... but this may be one of those Access error >messages. > > >On Mon, 20 Sep 2004 15:13:21 -0500, Elam, Debbie wrote: > > Both adps are shared with several people. I normally try to put front > > ends on the computer, rather than share to the network, but for a > > variety of reasons that is impractical in this case. > > > > Debbie > > > > > > > > -----Original Message----- > > From: Francisco Tapia [mailto:fhtapia at gmail.com] > > Sent: Monday, September 20, 2004 2:48 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] ADPs and Exclusive Access Warnings > > > > are you sharing the ADP w/ anyone? > > > > On Mon, 20 Sep 2004 14:30:08 -0500, Elam, Debbie > > wrote: > > > I have 2 different .adps created in Access 2002. Both of these are > > > giving > > a > > > message "You do not have exclusive access at this time...." In both > > > instances, the user should not be saving any changes to the database > > anyhow. > > > I do not understand why these are popping up. Personally I would > > > just prefer to suppress the message, but set warnings to false does > > > not do the trick. Any ideas on either preventing the message, or > > > simply suppressing > > it > > > from displaying? > > > > > > Debbie >Website: http://www.databaseadvisors.com From davide at dalyn.co.nz Tue Sep 21 16:17:07 2004 From: davide at dalyn.co.nz (David Emerson) Date: Wed, 22 Sep 2004 09:17:07 +1200 Subject: [AccessD] ADPs and Exclusive Access Warnings In-Reply-To: <5.2.0.9.0.20040922082307.00bd8790@mail.dalyn.co.nz> References: <61F915314798D311A2F800A0C9C8318805CED47C@dibble.observator y.donnslaw.co.uk> Message-ID: <5.2.0.9.0.20040922091637.00bdf060@mail.dalyn.co.nz> Correction - It is an ade David At 22/09/2004, you wrote: >If it is any consolation, I have an 2002 ADP/SQL2000 configuration running >on Terminal server with up to 10 concurrent users and it works with no hitches. > >Regards > >David Emerson >Dalyn Software Ltd >25 Cunliffe St, Churton Park >Wellington, New Zealand >Ph/Fax (04) 478-7456 >Mobile 027-280-9348 > >At 21/09/2004, you wrote: >>I can't speak for Debbie but I have similar problems with .mdbs and .mdes >>and I have to use a shared FE because we are a Terminal Services site. Users >>do not get to change connection settings or design of objects and yet the >>applications still frequently lock. >> >>I was hoping that .adps would NOT present the same problems, as we are >>currently developing one for 200+ users (30 users at a time can be in one FE >>on a terminal server). >> >>:( >> >>-----Original Message----- >>From: Francisco Tapia [mailto:fhtapia at gmail.com] >>Sent: 20 September 2004 22:42 >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] ADPs and Exclusive Access Warnings >> >> >>If you change certain settings including the "connection Settings" then the >>ADP want's exclusive access... I dunno why you would not want to distribute >>as a normal FE one each pc... but this may be one of those Access error >>messages. >> >> >>On Mon, 20 Sep 2004 15:13:21 -0500, Elam, Debbie wrote: >> > Both adps are shared with several people. I normally try to put front >> > ends on the computer, rather than share to the network, but for a >> > variety of reasons that is impractical in this case. >> > >> > Debbie >> > >> > >> > >> > -----Original Message----- >> > From: Francisco Tapia [mailto:fhtapia at gmail.com] >> > Sent: Monday, September 20, 2004 2:48 PM >> > To: Access Developers discussion and problem solving >> > Subject: Re: [AccessD] ADPs and Exclusive Access Warnings >> > >> > are you sharing the ADP w/ anyone? >> > >> > On Mon, 20 Sep 2004 14:30:08 -0500, Elam, Debbie >> > wrote: >> > > I have 2 different .adps created in Access 2002. Both of these are >> > > giving >> > a >> > > message "You do not have exclusive access at this time...." In both >> > > instances, the user should not be saving any changes to the database >> > anyhow. >> > > I do not understand why these are popping up. Personally I would >> > > just prefer to suppress the message, but set warnings to false does >> > > not do the trick. Any ideas on either preventing the message, or >> > > simply suppressing >> > it >> > > from displaying? >> > > >> > > Debbie >>Website: http://www.databaseadvisors.com > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Tue Sep 21 16:49:41 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 21 Sep 2004 14:49:41 -0700 Subject: [AccessD] ADPs in the future References: <5.2.0.9.0.20040922082307.00bd8790@mail.dalyn.co.nz> Message-ID: <4150A1F5.3050506@shaw.ca> Just in passing concerning future design about ADP's from Access 2003 on down that will not play fair with SQL Server 2005 Express (replacement for MSDE). Re: Access 2002 and SQL Express From: "Mary Chipman [MSFT]" Sent: 8/20/2004 11:30:58 AM You will not be able to use any of the designers with SQLS 2005 databases, whether it's SQL Express or the Developer edition. IOW, you won't be able to create databases, tables, views or any other database objects from an ADP. The only support that is envisioned is that you will be able to connect an Access front-end to a SQLS 2005 back end if it is running in SQLS 2000 compatibility mode, so your forms, reports and other local Access objects should still run. There is no service pack or quick fix being planned as far as I know because of the amount of work it would entail. If you stop to think about it, it's pretty hard to see how accomodating new Yukon features like CLR assemblies and complex data types in the ADP designers could be achieved without a complete rewrite. --Mary Chipman -- Marty Connelly Victoria, B.C. Canada From d.dick at uws.edu.au Tue Sep 21 19:35:48 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 22 Sep 2004 10:35:48 +1000 Subject: [AccessD] A2K: Getting MAC Address Message-ID: <200409220036.i8M0a3XH020021@cooper.uws.edu.au> Hi All I have some code to get the machine name and the IP address/es but does anyone have any samples to get a MAC Address off a machine?? Many thank in advance Darren From stuart at lexacorp.com.pg Tue Sep 21 19:53:17 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 22 Sep 2004 10:53:17 +1000 Subject: [AccessD] A2K: Getting MAC Address In-Reply-To: <200409220036.i8M0a3XH020021@cooper.uws.edu.au> Message-ID: <4151599D.4174.45B9E73@lexacorp.com.pg> On 22 Sep 2004 at 10:35, Darren DICK wrote: > Hi All > I have some code to get the machine name and the IP address/es > but does anyone have any samples to get a MAC Address off a machine?? > Here's code to give you just about everything you could want for all adapters installed. (Watch for wrap) The "Physical Address" returns the MAC Address Option Compare Database Option Explicit Public Const MAX_HOSTNAME_LEN = 132 Public Const MAX_DOMAIN_NAME_LEN = 132 Public Const MAX_SCOPE_ID_LEN = 260 Public Const MAX_ADAPTER_NAME_LENGTH = 260 Public Const MAX_ADAPTER_ADDRESS_LENGTH = 8 Public Const MAX_ADAPTER_DESCRIPTION_LENGTH = 132 Public Const ERROR_BUFFER_OVERFLOW = 111 Public Const MIB_IF_TYPE_ETHERNET = 1 Public Const MIB_IF_TYPE_TOKENRING = 2 Public Const MIB_IF_TYPE_FDDI = 3 Public Const MIB_IF_TYPE_PPP = 4 Public Const MIB_IF_TYPE_LOOPBACK = 5 Public Const MIB_IF_TYPE_SLIP = 6 Type IP_ADDR_STRING Next As Long IpAddress As String * 16 IpMask As String * 16 Context As Long End Type Type IP_ADAPTER_INFO Next As Long ComboIndex As Long AdapterName As String * MAX_ADAPTER_NAME_LENGTH Description As String * MAX_ADAPTER_DESCRIPTION_LENGTH AddressLength As Long Address(MAX_ADAPTER_ADDRESS_LENGTH - 1) As Byte Index As Long Type As Long DhcpEnabled As Long CurrentIpAddress As Long IpAddressList As IP_ADDR_STRING GatewayList As IP_ADDR_STRING DhcpServer As IP_ADDR_STRING HaveWins As Boolean PrimaryWinsServer As IP_ADDR_STRING SecondaryWinsServer As IP_ADDR_STRING LeaseObtained As Long LeaseExpires As Long End Type Type FIXED_INFO HostName As String * MAX_HOSTNAME_LEN DomainName As String * MAX_DOMAIN_NAME_LEN CurrentDnsServer As Long DnsServerList As IP_ADDR_STRING NodeType As Long ScopeId As String * MAX_SCOPE_ID_LEN EnableRouting As Long EnableProxy As Long EnableDns As Long End Type Public Declare Function GetNetworkParams Lib "IPHlpApi" (FixedInfo As Any, pOutBufLen As Long) As Long Public Declare Function GetAdaptersInfo Lib "IPHlpApi" (IpAdapterInfo As Any, pOutBufLen As Long) As Long Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long) Function NWInfo() As Long 'This example was created by George Bernier (bernig at dinomail.qc.ca) Dim error As Long Dim FixedInfoSize As Long Dim AdapterInfoSize As Long Dim i As Integer Dim PhysicalAddress As String Dim NewTime As Date Dim AdapterInfo As IP_ADAPTER_INFO Dim Adapt As IP_ADAPTER_INFO Dim AddrStr As IP_ADDR_STRING Dim FixedInfo As FIXED_INFO Dim Buffer As IP_ADDR_STRING Dim pAddrStr As Long Dim pAdapt As Long Dim Buffer2 As IP_ADAPTER_INFO Dim FixedInfoBuffer() As Byte Dim AdapterInfoBuffer() As Byte 'Get the main IP configuration information for this machine using a FIXED_INFO structure FixedInfoSize = 0 error = GetNetworkParams(ByVal 0&, FixedInfoSize) If error <> 0 Then If error <> ERROR_BUFFER_OVERFLOW Then MsgBox "GetNetworkParams sizing failed with error " & error Exit Function End If End If ReDim FixedInfoBuffer(FixedInfoSize - 1) error = GetNetworkParams(FixedInfoBuffer(0), FixedInfoSize) If error = 0 Then CopyMemory FixedInfo, FixedInfoBuffer(0), Len(FixedInfo) MsgBox "Host Name: " & FixedInfo.HostName 'host name MsgBox "DNS Servers: " & FixedInfo.DnsServerList.IpAddress 'dns server IP pAddrStr = FixedInfo.DnsServerList.Next Do While pAddrStr <> 0 CopyMemory Buffer, ByVal pAddrStr, Len(Buffer) MsgBox "DNS Servers: " & Buffer.IpAddress 'dns server IP pAddrStr = Buffer.Next Loop Select Case FixedInfo.NodeType 'node type Case 1 MsgBox "Node type: Broadcast" Case 2 MsgBox "Node type: Peer to peer" Case 4 MsgBox "Node type: Mixed" Case 8 MsgBox "Node type: Hybrid" Case Else MsgBox "Unknown node type" End Select MsgBox "NetBIOS Scope ID: " & FixedInfo.ScopeId 'scope ID 'routing If FixedInfo.EnableRouting Then MsgBox "IP Routing Enabled " Else MsgBox "IP Routing not enabled" End If ' proxy If FixedInfo.EnableProxy Then MsgBox "WINS Proxy Enabled " Else MsgBox "WINS Proxy not Enabled " End If ' netbios If FixedInfo.EnableDns Then MsgBox "NetBIOS Resolution Uses DNS " Else MsgBox "NetBIOS Resolution Does not use DNS " End If Else MsgBox "GetNetworkParams failed with error " & error Exit Function End If 'Enumerate all of the adapter specific information using the IP_ADAPTER_INFO structure. 'Note: IP_ADAPTER_INFO contains a linked list of adapter entries. AdapterInfoSize = 0 error = GetAdaptersInfo(ByVal 0&, AdapterInfoSize) If error <> 0 Then If error <> ERROR_BUFFER_OVERFLOW Then MsgBox "GetAdaptersInfo sizing failed with error " & error Exit Function End If End If ReDim AdapterInfoBuffer(AdapterInfoSize - 1) ' Get actual adapter information error = GetAdaptersInfo(AdapterInfoBuffer(0), AdapterInfoSize) If error <> 0 Then MsgBox "GetAdaptersInfo failed with error " & error Exit Function End If CopyMemory AdapterInfo, AdapterInfoBuffer(0), Len(AdapterInfo) pAdapt = AdapterInfo.Next Do While pAdapt <> 0 CopyMemory Buffer2, AdapterInfo, Len(Buffer2) Select Case Buffer2.Type Case MIB_IF_TYPE_ETHERNET MsgBox "Ethernet adapter " Case MIB_IF_TYPE_TOKENRING MsgBox "Token Ring adapter " Case MIB_IF_TYPE_FDDI MsgBox "FDDI adapter " Case MIB_IF_TYPE_PPP MsgBox "PPP adapter" Case MIB_IF_TYPE_LOOPBACK MsgBox "Loopback adapter " Case MIB_IF_TYPE_SLIP MsgBox "Slip adapter " Case Else MsgBox "Other adapter " End Select MsgBox " AdapterName: " & Buffer2.AdapterName MsgBox "AdapterDescription: " & Buffer2.Description 'adatpter name For i = 0 To Buffer2.AddressLength - 1 PhysicalAddress = PhysicalAddress & Hex(Buffer2.Address(i)) If i < Buffer2.AddressLength - 1 Then PhysicalAddress = PhysicalAddress & "-" End If Next MsgBox "Physical Address: " & PhysicalAddress 'mac address If Buffer2.DhcpEnabled Then MsgBox "DHCP Enabled " Else MsgBox "DHCP disabled" End If pAddrStr = Buffer2.IpAddressList.Next Do While pAddrStr <> 0 CopyMemory Buffer, Buffer2.IpAddressList, LenB(Buffer) MsgBox "IP Address: " & Buffer.IpAddress MsgBox "Subnet Mask: " & Buffer.IpMask pAddrStr = Buffer.Next If pAddrStr <> 0 Then CopyMemory Buffer2.IpAddressList, ByVal pAddrStr, Len(Buffer2.IpAddressList) End If Loop MsgBox "Default Gateway: " & Buffer2.GatewayList.IpAddress pAddrStr = Buffer2.GatewayList.Next Do While pAddrStr <> 0 CopyMemory Buffer, Buffer2.GatewayList, Len(Buffer) MsgBox "IP Address: " & Buffer.IpAddress pAddrStr = Buffer.Next If pAddrStr <> 0 Then CopyMemory Buffer2.GatewayList, ByVal pAddrStr, Len(Buffer2.GatewayList) End If Loop MsgBox "DHCP Server: " & Buffer2.DhcpServer.IpAddress MsgBox "Primary WINS Server: " & Buffer2.PrimaryWinsServer.IpAddress MsgBox "Secondary WINS Server: " & Buffer2.SecondaryWinsServer.IpAddress ' Display time NewTime = CDate(Adapt.LeaseObtained) MsgBox "Lease Obtained: " & CStr(NewTime) NewTime = CDate(Adapt.LeaseExpires) MsgBox "Lease Expires : " & CStr(NewTime) pAdapt = Buffer2.Next If pAdapt <> 0 Then CopyMemory AdapterInfo, ByVal pAdapt, Len(AdapterInfo) End If Loop End Function -- Stuart From d.dick at uws.edu.au Tue Sep 21 21:32:35 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 22 Sep 2004 12:32:35 +1000 Subject: [AccessD] A2K: Getting MAC Address In-Reply-To: <4151599D.4174.45B9E73@lexacorp.com.pg> Message-ID: <200409220232.i8M2WxXH003528@cooper.uws.edu.au> Hi Stuart Wow this is way cool I have a prob though :-(( At the point in the code where it says - Do While pAdapt <> 0 It just gets bypassed and no more message boxes from that point ()The code just exits) If I msgbox the pAdapt value it says Zero - that's why the code bypasses it (the most important bit) If I change that line to Do While pAdapt = 0 it works as expected with The relevant MSGBOX's but of course it puts itself into an endless loop Any idea why the pAdapt bit is returning 0?? Many thanks Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 22 September 2004 10:53 AM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] A2K: Getting MAC Address On 22 Sep 2004 at 10:35, Darren DICK wrote: > Hi All > I have some code to get the machine name and the IP address/es but > does anyone have any samples to get a MAC Address off a machine?? > Here's code to give you just about everything you could want for all adapters installed. (Watch for wrap) The "Physical Address" returns the MAC Address Option Compare Database Option Explicit Public Const MAX_HOSTNAME_LEN = 132 Public Const MAX_DOMAIN_NAME_LEN = 132 Public Const MAX_SCOPE_ID_LEN = 260 Public Const MAX_ADAPTER_NAME_LENGTH = 260 Public Const MAX_ADAPTER_ADDRESS_LENGTH = 8 Public Const MAX_ADAPTER_DESCRIPTION_LENGTH = 132 Public Const ERROR_BUFFER_OVERFLOW = 111 Public Const MIB_IF_TYPE_ETHERNET = 1 Public Const MIB_IF_TYPE_TOKENRING = 2 Public Const MIB_IF_TYPE_FDDI = 3 Public Const MIB_IF_TYPE_PPP = 4 Public Const MIB_IF_TYPE_LOOPBACK = 5 Public Const MIB_IF_TYPE_SLIP = 6 Type IP_ADDR_STRING Next As Long IpAddress As String * 16 IpMask As String * 16 Context As Long End Type Type IP_ADAPTER_INFO Next As Long ComboIndex As Long AdapterName As String * MAX_ADAPTER_NAME_LENGTH Description As String * MAX_ADAPTER_DESCRIPTION_LENGTH AddressLength As Long Address(MAX_ADAPTER_ADDRESS_LENGTH - 1) As Byte Index As Long Type As Long DhcpEnabled As Long CurrentIpAddress As Long IpAddressList As IP_ADDR_STRING GatewayList As IP_ADDR_STRING DhcpServer As IP_ADDR_STRING HaveWins As Boolean PrimaryWinsServer As IP_ADDR_STRING SecondaryWinsServer As IP_ADDR_STRING LeaseObtained As Long LeaseExpires As Long End Type Type FIXED_INFO HostName As String * MAX_HOSTNAME_LEN DomainName As String * MAX_DOMAIN_NAME_LEN CurrentDnsServer As Long DnsServerList As IP_ADDR_STRING NodeType As Long ScopeId As String * MAX_SCOPE_ID_LEN EnableRouting As Long EnableProxy As Long EnableDns As Long End Type Public Declare Function GetNetworkParams Lib "IPHlpApi" (FixedInfo As Any, pOutBufLen As Long) As Long Public Declare Function GetAdaptersInfo Lib "IPHlpApi" (IpAdapterInfo As Any, pOutBufLen As Long) As Long Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long) Function NWInfo() As Long 'This example was created by George Bernier (bernig at dinomail.qc.ca) Dim error As Long Dim FixedInfoSize As Long Dim AdapterInfoSize As Long Dim i As Integer Dim PhysicalAddress As String Dim NewTime As Date Dim AdapterInfo As IP_ADAPTER_INFO Dim Adapt As IP_ADAPTER_INFO Dim AddrStr As IP_ADDR_STRING Dim FixedInfo As FIXED_INFO Dim Buffer As IP_ADDR_STRING Dim pAddrStr As Long Dim pAdapt As Long Dim Buffer2 As IP_ADAPTER_INFO Dim FixedInfoBuffer() As Byte Dim AdapterInfoBuffer() As Byte 'Get the main IP configuration information for this machine using a FIXED_INFO structure FixedInfoSize = 0 error = GetNetworkParams(ByVal 0&, FixedInfoSize) If error <> 0 Then If error <> ERROR_BUFFER_OVERFLOW Then MsgBox "GetNetworkParams sizing failed with error " & error Exit Function End If End If ReDim FixedInfoBuffer(FixedInfoSize - 1) error = GetNetworkParams(FixedInfoBuffer(0), FixedInfoSize) If error = 0 Then CopyMemory FixedInfo, FixedInfoBuffer(0), Len(FixedInfo) MsgBox "Host Name: " & FixedInfo.HostName 'host name MsgBox "DNS Servers: " & FixedInfo.DnsServerList.IpAddress 'dns server IP pAddrStr = FixedInfo.DnsServerList.Next Do While pAddrStr <> 0 CopyMemory Buffer, ByVal pAddrStr, Len(Buffer) MsgBox "DNS Servers: " & Buffer.IpAddress 'dns server IP pAddrStr = Buffer.Next Loop Select Case FixedInfo.NodeType 'node type Case 1 MsgBox "Node type: Broadcast" Case 2 MsgBox "Node type: Peer to peer" Case 4 MsgBox "Node type: Mixed" Case 8 MsgBox "Node type: Hybrid" Case Else MsgBox "Unknown node type" End Select MsgBox "NetBIOS Scope ID: " & FixedInfo.ScopeId 'scope ID 'routing If FixedInfo.EnableRouting Then MsgBox "IP Routing Enabled " Else MsgBox "IP Routing not enabled" End If ' proxy If FixedInfo.EnableProxy Then MsgBox "WINS Proxy Enabled " Else MsgBox "WINS Proxy not Enabled " End If ' netbios If FixedInfo.EnableDns Then MsgBox "NetBIOS Resolution Uses DNS " Else MsgBox "NetBIOS Resolution Does not use DNS " End If Else MsgBox "GetNetworkParams failed with error " & error Exit Function End If 'Enumerate all of the adapter specific information using the IP_ADAPTER_INFO structure. 'Note: IP_ADAPTER_INFO contains a linked list of adapter entries. AdapterInfoSize = 0 error = GetAdaptersInfo(ByVal 0&, AdapterInfoSize) If error <> 0 Then If error <> ERROR_BUFFER_OVERFLOW Then MsgBox "GetAdaptersInfo sizing failed with error " & error Exit Function End If End If ReDim AdapterInfoBuffer(AdapterInfoSize - 1) ' Get actual adapter information error = GetAdaptersInfo(AdapterInfoBuffer(0), AdapterInfoSize) If error <> 0 Then MsgBox "GetAdaptersInfo failed with error " & error Exit Function End If CopyMemory AdapterInfo, AdapterInfoBuffer(0), Len(AdapterInfo) pAdapt = AdapterInfo.Next Do While pAdapt <> 0 CopyMemory Buffer2, AdapterInfo, Len(Buffer2) Select Case Buffer2.Type Case MIB_IF_TYPE_ETHERNET MsgBox "Ethernet adapter " Case MIB_IF_TYPE_TOKENRING MsgBox "Token Ring adapter " Case MIB_IF_TYPE_FDDI MsgBox "FDDI adapter " Case MIB_IF_TYPE_PPP MsgBox "PPP adapter" Case MIB_IF_TYPE_LOOPBACK MsgBox "Loopback adapter " Case MIB_IF_TYPE_SLIP MsgBox "Slip adapter " Case Else MsgBox "Other adapter " End Select MsgBox " AdapterName: " & Buffer2.AdapterName MsgBox "AdapterDescription: " & Buffer2.Description 'adatpter name For i = 0 To Buffer2.AddressLength - 1 PhysicalAddress = PhysicalAddress & Hex(Buffer2.Address(i)) If i < Buffer2.AddressLength - 1 Then PhysicalAddress = PhysicalAddress & "-" End If Next MsgBox "Physical Address: " & PhysicalAddress 'mac address If Buffer2.DhcpEnabled Then MsgBox "DHCP Enabled " Else MsgBox "DHCP disabled" End If pAddrStr = Buffer2.IpAddressList.Next Do While pAddrStr <> 0 CopyMemory Buffer, Buffer2.IpAddressList, LenB(Buffer) MsgBox "IP Address: " & Buffer.IpAddress MsgBox "Subnet Mask: " & Buffer.IpMask pAddrStr = Buffer.Next If pAddrStr <> 0 Then CopyMemory Buffer2.IpAddressList, ByVal pAddrStr, Len(Buffer2.IpAddressList) End If Loop MsgBox "Default Gateway: " & Buffer2.GatewayList.IpAddress pAddrStr = Buffer2.GatewayList.Next Do While pAddrStr <> 0 CopyMemory Buffer, Buffer2.GatewayList, Len(Buffer) MsgBox "IP Address: " & Buffer.IpAddress pAddrStr = Buffer.Next If pAddrStr <> 0 Then CopyMemory Buffer2.GatewayList, ByVal pAddrStr, Len(Buffer2.GatewayList) End If Loop MsgBox "DHCP Server: " & Buffer2.DhcpServer.IpAddress MsgBox "Primary WINS Server: " & Buffer2.PrimaryWinsServer.IpAddress MsgBox "Secondary WINS Server: " & Buffer2.SecondaryWinsServer.IpAddress ' Display time NewTime = CDate(Adapt.LeaseObtained) MsgBox "Lease Obtained: " & CStr(NewTime) NewTime = CDate(Adapt.LeaseExpires) MsgBox "Lease Expires : " & CStr(NewTime) pAdapt = Buffer2.Next If pAdapt <> 0 Then CopyMemory AdapterInfo, ByVal pAdapt, Len(AdapterInfo) End If Loop End Function -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Tue Sep 21 22:03:21 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 22 Sep 2004 13:03:21 +1000 Subject: [AccessD] A2K: Getting MAC Address In-Reply-To: <200409220232.i8M2WxXH003528@cooper.uws.edu.au> References: <4151599D.4174.45B9E73@lexacorp.com.pg> Message-ID: <41517819.18435.58E4D@lexacorp.com.pg> On 22 Sep 2004 at 12:32, Darren DICK wrote: > If I change that line to Do While pAdapt = 0 it works as expected with > The relevant MSGBOX's but of course it puts itself into an endless loop > > Any idea why the pAdapt bit is returning 0?? > No idea, it works fine on this machine. You could try dropping the loop code completely and just doing a single pass through. That will always return the values for the first adapter if you have one. -- Stuart From stephen at bondsoftware.co.nz Tue Sep 21 22:07:53 2004 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Wed, 22 Sep 2004 15:07:53 +1200 Subject: [AccessD] A2K: Getting MAC Address Message-ID: <70F3D727890C784291D8433E9C418F290888B1@server.bondsoftware.co.nz> Yep, agree with that, good stuff - I have already adapted this to display on the 'debug' form in the next project. Had to strip nulls but worth the effort ... Stephen Bond > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Wednesday, 22 September 2004 2:33 p.m. > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] A2K: Getting MAC Address > > > Hi Stuart > Wow this is way cool > I have a prob though :-(( > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stuart McLachlan > Sent: Wednesday, 22 September 2004 10:53 AM > To: Access Developers discussion and problemsolving > Subject: Re: [AccessD] A2K: Getting MAC Address > > On 22 Sep 2004 at 10:35, Darren DICK wrote: > > > Hi All > > I have some code to get the machine name and the IP address/es but > > does anyone have any samples to get a MAC Address off a machine?? > > > Here's code to give you just about everything you could want for all > adapters installed. (Watch for wrap) > > The "Physical Address" returns the MAC Address > > Option Compare Database > Option Explicit > > Public Const MAX_HOSTNAME_LEN = 132 > Public Const MAX_DOMAIN_NAME_LEN = 132 > Public Const MAX_SCOPE_ID_LEN = 260 > Public Const MAX_ADAPTER_NAME_LENGTH = 260 Public Const > MAX_ADAPTER_ADDRESS_LENGTH = 8 Public Const > MAX_ADAPTER_DESCRIPTION_LENGTH = > 132 Public Const ERROR_BUFFER_OVERFLOW = 111 Public Const > MIB_IF_TYPE_ETHERNET = 1 Public Const MIB_IF_TYPE_TOKENRING = > 2 Public Const > MIB_IF_TYPE_FDDI = 3 Public Const MIB_IF_TYPE_PPP = 4 Public Const > MIB_IF_TYPE_LOOPBACK = 5 Public Const MIB_IF_TYPE_SLIP = 6 > > Type IP_ADDR_STRING > Next As Long > IpAddress As String * 16 > IpMask As String * 16 > Context As Long > End Type > > Type IP_ADAPTER_INFO > Next As Long > ComboIndex As Long > AdapterName As String * MAX_ADAPTER_NAME_LENGTH > Description As String * MAX_ADAPTER_DESCRIPTION_LENGTH > AddressLength As Long > Address(MAX_ADAPTER_ADDRESS_LENGTH - 1) As Byte > Index As Long > Type As Long > DhcpEnabled As Long > CurrentIpAddress As Long > IpAddressList As IP_ADDR_STRING > GatewayList As IP_ADDR_STRING > DhcpServer As IP_ADDR_STRING > HaveWins As Boolean > PrimaryWinsServer As IP_ADDR_STRING > SecondaryWinsServer As IP_ADDR_STRING > LeaseObtained As Long > LeaseExpires As Long > End Type > > Type FIXED_INFO > HostName As String * MAX_HOSTNAME_LEN > DomainName As String * MAX_DOMAIN_NAME_LEN > CurrentDnsServer As Long > DnsServerList As IP_ADDR_STRING > NodeType As Long > ScopeId As String * MAX_SCOPE_ID_LEN > EnableRouting As Long > EnableProxy As Long > EnableDns As Long > End Type > > Public Declare Function GetNetworkParams Lib "IPHlpApi" > (FixedInfo As Any, > pOutBufLen As Long) As Long Public Declare Function > GetAdaptersInfo Lib > "IPHlpApi" (IpAdapterInfo As Any, pOutBufLen As Long) As Long > Public Declare > Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" > (Destination As Any, > Source As Any, ByVal Length As Long) > > Function NWInfo() As Long > 'This example was created by George Bernier > (bernig at dinomail.qc.ca) > Dim error As Long > Dim FixedInfoSize As Long > Dim AdapterInfoSize As Long > Dim i As Integer > Dim PhysicalAddress As String > Dim NewTime As Date > Dim AdapterInfo As IP_ADAPTER_INFO > Dim Adapt As IP_ADAPTER_INFO > Dim AddrStr As IP_ADDR_STRING > Dim FixedInfo As FIXED_INFO > Dim Buffer As IP_ADDR_STRING > Dim pAddrStr As Long > Dim pAdapt As Long > Dim Buffer2 As IP_ADAPTER_INFO > Dim FixedInfoBuffer() As Byte > Dim AdapterInfoBuffer() As Byte > > 'Get the main IP configuration information for this > machine using a > FIXED_INFO structure > FixedInfoSize = 0 > error = GetNetworkParams(ByVal 0&, FixedInfoSize) > If error <> 0 Then > If error <> ERROR_BUFFER_OVERFLOW Then > MsgBox "GetNetworkParams sizing failed with error " & error > Exit Function > End If > End If > ReDim FixedInfoBuffer(FixedInfoSize - 1) > > error = GetNetworkParams(FixedInfoBuffer(0), FixedInfoSize) > If error = 0 Then > CopyMemory FixedInfo, FixedInfoBuffer(0), Len(FixedInfo) > MsgBox "Host Name: " & FixedInfo.HostName 'host name > MsgBox "DNS Servers: " & > FixedInfo.DnsServerList.IpAddress 'dns > server IP > pAddrStr = FixedInfo.DnsServerList.Next > Do While pAddrStr <> 0 > CopyMemory Buffer, ByVal pAddrStr, Len(Buffer) > MsgBox "DNS Servers: " & Buffer.IpAddress > 'dns server IP > pAddrStr = Buffer.Next > Loop > > Select Case FixedInfo.NodeType 'node type > Case 1 > MsgBox "Node type: Broadcast" > Case 2 > MsgBox "Node type: Peer to peer" > Case 4 > MsgBox "Node type: Mixed" > Case 8 > MsgBox "Node type: Hybrid" > Case Else > MsgBox "Unknown node type" > End Select > > MsgBox "NetBIOS Scope ID: " & FixedInfo.ScopeId 'scope ID > 'routing > If FixedInfo.EnableRouting Then > MsgBox "IP Routing Enabled " > Else > MsgBox "IP Routing not enabled" > End If > ' proxy > If FixedInfo.EnableProxy Then > MsgBox "WINS Proxy Enabled " > Else > MsgBox "WINS Proxy not Enabled " > End If > ' netbios > If FixedInfo.EnableDns Then > MsgBox "NetBIOS Resolution Uses DNS " > Else > MsgBox "NetBIOS Resolution Does not use DNS " > End If > Else > MsgBox "GetNetworkParams failed with error " & error > Exit Function > End If > > 'Enumerate all of the adapter specific information using the > IP_ADAPTER_INFO structure. > 'Note: IP_ADAPTER_INFO contains a linked list of adapter entries. > > AdapterInfoSize = 0 > error = GetAdaptersInfo(ByVal 0&, AdapterInfoSize) > If error <> 0 Then > If error <> ERROR_BUFFER_OVERFLOW Then > MsgBox "GetAdaptersInfo sizing failed with error " & error > Exit Function > End If > End If > ReDim AdapterInfoBuffer(AdapterInfoSize - 1) > > ' Get actual adapter information > error = GetAdaptersInfo(AdapterInfoBuffer(0), AdapterInfoSize) > If error <> 0 Then > MsgBox "GetAdaptersInfo failed with error " & error > Exit Function > End If > CopyMemory AdapterInfo, AdapterInfoBuffer(0), Len(AdapterInfo) > pAdapt = AdapterInfo.Next > > Do While pAdapt <> 0 > CopyMemory Buffer2, AdapterInfo, Len(Buffer2) > Select Case Buffer2.Type > Case MIB_IF_TYPE_ETHERNET > MsgBox "Ethernet adapter " > Case MIB_IF_TYPE_TOKENRING > MsgBox "Token Ring adapter " > Case MIB_IF_TYPE_FDDI > MsgBox "FDDI adapter " > Case MIB_IF_TYPE_PPP > MsgBox "PPP adapter" > Case MIB_IF_TYPE_LOOPBACK > MsgBox "Loopback adapter " > Case MIB_IF_TYPE_SLIP > MsgBox "Slip adapter " > Case Else > MsgBox "Other adapter " > End Select > MsgBox " AdapterName: " & Buffer2.AdapterName > MsgBox "AdapterDescription: " & Buffer2.Description 'adatpter name > > For i = 0 To Buffer2.AddressLength - 1 > PhysicalAddress = PhysicalAddress & Hex(Buffer2.Address(i)) > If i < Buffer2.AddressLength - 1 Then > PhysicalAddress = PhysicalAddress & "-" > End If > > Next > MsgBox "Physical Address: " & PhysicalAddress 'mac address > If Buffer2.DhcpEnabled Then > MsgBox "DHCP Enabled " > Else > MsgBox "DHCP disabled" > End If > > pAddrStr = Buffer2.IpAddressList.Next > Do While pAddrStr <> 0 > CopyMemory Buffer, Buffer2.IpAddressList, LenB(Buffer) > MsgBox "IP Address: " & Buffer.IpAddress > MsgBox "Subnet Mask: " & Buffer.IpMask > pAddrStr = Buffer.Next > If pAddrStr <> 0 Then > CopyMemory Buffer2.IpAddressList, ByVal pAddrStr, > Len(Buffer2.IpAddressList) > End If > Loop > MsgBox "Default Gateway: " & Buffer2.GatewayList.IpAddress > pAddrStr = Buffer2.GatewayList.Next > Do While pAddrStr <> 0 > CopyMemory Buffer, Buffer2.GatewayList, Len(Buffer) > MsgBox "IP Address: " & Buffer.IpAddress > pAddrStr = Buffer.Next > If pAddrStr <> 0 Then > CopyMemory Buffer2.GatewayList, ByVal pAddrStr, > Len(Buffer2.GatewayList) > End If > Loop > > MsgBox "DHCP Server: " & Buffer2.DhcpServer.IpAddress > MsgBox "Primary WINS Server: " & > Buffer2.PrimaryWinsServer.IpAddress > MsgBox "Secondary WINS Server: " & > Buffer2.SecondaryWinsServer.IpAddress > > ' Display time > NewTime = CDate(Adapt.LeaseObtained) > MsgBox "Lease Obtained: " & CStr(NewTime) > > NewTime = CDate(Adapt.LeaseExpires) > MsgBox "Lease Expires : " & CStr(NewTime) > pAdapt = Buffer2.Next > If pAdapt <> 0 Then > CopyMemory AdapterInfo, ByVal pAdapt, Len(AdapterInfo) > End If > > Loop > > End Function > > -- > Stuart > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From d.dick at uws.edu.au Tue Sep 21 22:22:52 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 22 Sep 2004 13:22:52 +1000 Subject: [AccessD] A2K: Getting MAC Address In-Reply-To: <41517819.18435.58E4D@lexacorp.com.pg> Message-ID: <200409220323.i8M3N6XH028290@cooper.uws.edu.au> Thanks I'll give it a go See ya -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 22 September 2004 1:03 PM To: Access Developers discussion and problemsolving Subject: RE: [AccessD] A2K: Getting MAC Address On 22 Sep 2004 at 12:32, Darren DICK wrote: > If I change that line to Do While pAdapt = 0 it works as expected with > The relevant MSGBOX's but of course it puts itself into an endless > loop > > Any idea why the pAdapt bit is returning 0?? > No idea, it works fine on this machine. You could try dropping the loop code completely and just doing a single pass through. That will always return the values for the first adapter if you have one. -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Wed Sep 22 00:38:52 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Wed, 22 Sep 2004 07:38:52 +0200 Subject: [AccessD] A2K: Getting MAC Address Message-ID: <46B976F2B698FF46A4FE7636509B22DF735C@stekelbes.ithelps.local> The first adapter could be (when wrongly configured) a RAS adapter that has no connection. That returns a 0... You must loop until you find the right adapter. Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Darren DICK Verzonden: woensdag 22 september 2004 5:23 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] A2K: Getting MAC Address Thanks I'll give it a go See ya -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 22 September 2004 1:03 PM To: Access Developers discussion and problemsolving Subject: RE: [AccessD] A2K: Getting MAC Address On 22 Sep 2004 at 12:32, Darren DICK wrote: > If I change that line to Do While pAdapt = 0 it works as expected with > The relevant MSGBOX's but of course it puts itself into an endless > loop > > Any idea why the pAdapt bit is returning 0?? > No idea, it works fine on this machine. You could try dropping the loop code completely and just doing a single pass through. That will always return the values for the first adapter if you have one. -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Wed Sep 22 00:54:29 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 22 Sep 2004 15:54:29 +1000 Subject: [AccessD] A2K: Getting MAC Address In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF735C@stekelbes.ithelps.local> Message-ID: <200409220554.i8M5sYXH002318@cooper.uws.edu.au> Thanks Irwin I removed the loop set It now works fine Many thanks to all Especially Stuart See y'all DD -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Wednesday, 22 September 2004 3:39 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Getting MAC Address The first adapter could be (when wrongly configured) a RAS adapter that has no connection. That returns a 0... You must loop until you find the right adapter. Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Darren DICK Verzonden: woensdag 22 september 2004 5:23 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] A2K: Getting MAC Address Thanks I'll give it a go See ya -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 22 September 2004 1:03 PM To: Access Developers discussion and problemsolving Subject: RE: [AccessD] A2K: Getting MAC Address On 22 Sep 2004 at 12:32, Darren DICK wrote: > If I change that line to Do While pAdapt = 0 it works as expected with > The relevant MSGBOX's but of course it puts itself into an endless > loop > > Any idea why the pAdapt bit is returning 0?? > No idea, it works fine on this machine. You could try dropping the loop code completely and just doing a single pass through. That will always return the values for the first adapter if you have one. -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Sep 22 04:47:21 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 22 Sep 2004 11:47:21 +0200 Subject: [AccessD] ADPs in the future In-Reply-To: <4150A1F5.3050506@shaw.ca> References: <5.2.0.9.0.20040922082307.00bd8790@mail.dalyn.co.nz> <4150A1F5.3050506@shaw.ca> Message-ID: <377660415.20040922114721@cactus.dk> Hi Marty Though I haven't played with the "Express" versions, this sounds interesting. I have, however, no idea why "CLR assemblies and complex data types" would require a complete rewrite, so could you please spell out for SQL 2005 dummies like me, what this message means? What I read is that an Access ADP cannot - and will not be able to - work with SQL 2005 ... I guess "SQLS 2000 compatibility mode" is not something you can turn on and off but something you choose at installation time. /gustav > Just in passing concerning future design > about ADP's from Access 2003 on down that will not play fair with SQL > Server 2005 Express (replacement for MSDE). > Re: Access 2002 and SQL Express > From: "Mary Chipman [MSFT]" Sent: > 8/20/2004 11:30:58 AM > You will not be able to use any of the designers with SQLS 2005 > databases, whether it's SQL Express or the Developer edition. IOW, you > won't be able to create databases, tables, views or any other database > objects from an ADP. The only support that is envisioned is that you > will be able to connect an Access front-end to a SQLS 2005 back end if > it is running in SQLS 2000 compatibility mode, so your forms, reports > and other local Access objects should still run. There is no service > pack or quick fix being planned as far as I know because of the amount > of work it would entail. If you stop to think about it, it's pretty > hard to see how accomodating new Yukon features like CLR assemblies > and complex data types in the ADP designers could be achieved without > a complete rewrite. > --Mary Chipman > -- > Marty Connelly > Victoria, B.C. > Canada From Rich_Lavsa at pghcorning.com Wed Sep 22 06:38:41 2004 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Wed, 22 Sep 2004 07:38:41 -0400 Subject: [AccessD] OT: send email receive fax Message-ID: <833956F5C117124A89417638FDB11290EBD2AC@goexchange.pghcorning.com> Hello all listers, I am just looking for software/service suggestions from anyone who has used anything that takes a simple email and processes it and sends it to a fax phone number. Whether is was used as an integrated part of your exchange server, or if it was a service you simply send an email to and they take care of sending it as a fax which contains the body and attachments of the email. Any suggestions would be appreciated. Currently I'm testing www.send2fax.com 's software. Seems to be ok so far.. But still looking for suggestions on anything anyone has working reliably for a period of time. Thanks, Rich From Erwin.Craps at ithelps.be Wed Sep 22 07:58:48 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Wed, 22 Sep 2004 14:58:48 +0200 Subject: [AccessD] OT: send email receive fax Message-ID: <46B976F2B698FF46A4FE7636509B22DF0ADBFA@stekelbes.ithelps.local> GFI faxmaker http://www.gfi.com/ It's not the best but I been using it for 4 years now and works pretty fine for a reasonable price. Sending a fax is trugh E-mail client. The to address forms like this [FAX:Erwin Craps at IT HELPS at +3216296405] You can include .FAX, .XLS, .PDF attachement to your E-mail and it will be faxed from the exchange server.... Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lavsa, Rich Sent: Wednesday, September 22, 2004 1:39 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: send email receive fax Hello all listers, I am just looking for software/service suggestions from anyone who has used anything that takes a simple email and processes it and sends it to a fax phone number. Whether is was used as an integrated part of your exchange server, or if it was a service you simply send an email to and they take care of sending it as a fax which contains the body and attachments of the email. Any suggestions would be appreciated. Currently I'm testing www.send2fax.com 's software. Seems to be ok so far.. But still looking for suggestions on anything anyone has working reliably for a period of time. Thanks, Rich -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Sep 22 08:18:46 2004 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 22 Sep 2004 08:18:46 -0500 Subject: [AccessD] ADPs in the future In-Reply-To: <15910694.1095847442624.JavaMail.root@sniper5.usinternet.com> Message-ID: <001201c4a0a6$b1529090$de1811d8@danwaters> Hello to All, Well, I am now confused. I have read that Access 2003, as an ADP, includes a builder for stored procedures. Why would MS add this feature to a product if it can't be used? There has to be more to this story. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 22, 2004 4:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADPs in the future Hi Marty Though I haven't played with the "Express" versions, this sounds interesting. I have, however, no idea why "CLR assemblies and complex data types" would require a complete rewrite, so could you please spell out for SQL 2005 dummies like me, what this message means? What I read is that an Access ADP cannot - and will not be able to - work with SQL 2005 ... I guess "SQLS 2000 compatibility mode" is not something you can turn on and off but something you choose at installation time. /gustav > Just in passing concerning future design > about ADP's from Access 2003 on down that will not play fair with SQL > Server 2005 Express (replacement for MSDE). > Re: Access 2002 and SQL Express > From: "Mary Chipman [MSFT]" Sent: > 8/20/2004 11:30:58 AM > You will not be able to use any of the designers with SQLS 2005 > databases, whether it's SQL Express or the Developer edition. IOW, you > won't be able to create databases, tables, views or any other database > objects from an ADP. The only support that is envisioned is that you > will be able to connect an Access front-end to a SQLS 2005 back end if > it is running in SQLS 2000 compatibility mode, so your forms, reports > and other local Access objects should still run. There is no service > pack or quick fix being planned as far as I know because of the amount > of work it would entail. If you stop to think about it, it's pretty > hard to see how accomodating new Yukon features like CLR assemblies > and complex data types in the ADP designers could be achieved without > a complete rewrite. > --Mary Chipman > -- > Marty Connelly > Victoria, B.C. > Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Wed Sep 22 09:27:01 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 22 Sep 2004 10:27:01 -0400 Subject: [AccessD] ADPs in the future In-Reply-To: <4150A1F5.3050506@shaw.ca> Message-ID: If I'm not mistaken, Martin alluded to this some time ago, basically making the statement that the Access world was going to have a serious departure from SQL within the next version or two and there would be a lot of unhappy folks. Looks like its about to happen. Jim (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Tuesday, September 21, 2004 5:50 PM To: Access Developers discussion and problem solving Subject: [AccessD] ADPs in the future Just in passing concerning future design about ADP's from Access 2003 on down that will not play fair with SQL Server 2005 Express (replacement for MSDE). Re: Access 2002 and SQL Express From: "Mary Chipman [MSFT]" Sent: 8/20/2004 11:30:58 AM You will not be able to use any of the designers with SQLS 2005 databases, whether it's SQL Express or the Developer edition. IOW, you won't be able to create databases, tables, views or any other database objects from an ADP. The only support that is envisioned is that you will be able to connect an Access front-end to a SQLS 2005 back end if it is running in SQLS 2000 compatibility mode, so your forms, reports and other local Access objects should still run. There is no service pack or quick fix being planned as far as I know because of the amount of work it would entail. If you stop to think about it, it's pretty hard to see how accomodating new Yukon features like CLR assemblies and complex data types in the ADP designers could be achieved without a complete rewrite. --Mary Chipman -- Marty Connelly Victoria, B.C. Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Wed Sep 22 08:37:43 2004 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 22 Sep 2004 14:37:43 +0100 Subject: [AccessD] ADPs in the future References: <001201c4a0a6$b1529090$de1811d8@danwaters> Message-ID: <000f01c4a0a9$5672fc70$9111758f@aine> The problem has been know about for some time. SQL Server 2005 is a major rewrite and at the time they began development they decided they would not provide access to its features from Access and ADPs mainly becasue they view Access as a power user application - STILL. Lot of .NET stuff built into SQLS erver 2005 and they figured it wasnt worth the cost or effort to rewrite the ADP functionality in Access to deal with this. The next version of Access is being previewed in the UK at a user group meeting on 11 Nov. According to the publicity they (MS)have rebuilt the Access dev team including a new prroduct manager and it is believed major changes are being worked on. I remember replying to that email from Mary Chipman on an MS Newsgroup saying this was one of Microsofts more stupid ideas. I also recollect telling the Access project manager the same thing at least a year ago. Martin ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, September 22, 2004 2:18 PM Subject: RE: [AccessD] ADPs in the future > Hello to All, > > Well, I am now confused. I have read that Access 2003, as an ADP, > includes > a builder for stored procedures. Why would MS add this feature to a > product > if it can't be used? > > There has to be more to this story. > > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Wednesday, September 22, 2004 4:47 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] ADPs in the future > > Hi Marty > > Though I haven't played with the "Express" versions, this sounds > interesting. I have, however, no idea why "CLR assemblies and complex > data types" would require a complete rewrite, so could you please > spell out for SQL 2005 dummies like me, what this message means? > > What I read is that an Access ADP cannot - and will not be able to - > work with SQL 2005 ... I guess "SQLS 2000 compatibility mode" is not > something you can turn on and off but something you choose at > installation time. > > /gustav > > >> Just in passing concerning future design >> about ADP's from Access 2003 on down that will not play fair with SQL >> Server 2005 Express (replacement for MSDE). > >> Re: Access 2002 and SQL Express >> From: "Mary Chipman [MSFT]" Sent: >> 8/20/2004 11:30:58 AM > >> You will not be able to use any of the designers with SQLS 2005 >> databases, whether it's SQL Express or the Developer edition. IOW, you >> won't be able to create databases, tables, views or any other database >> objects from an ADP. The only support that is envisioned is that you >> will be able to connect an Access front-end to a SQLS 2005 back end if >> it is running in SQLS 2000 compatibility mode, so your forms, reports >> and other local Access objects should still run. There is no service >> pack or quick fix being planned as far as I know because of the amount >> of work it would entail. If you stop to think about it, it's pretty >> hard to see how accomodating new Yukon features like CLR assemblies >> and complex data types in the ADP designers could be achieved without >> a complete rewrite. > >> --Mary Chipman > >> -- >> Marty Connelly >> Victoria, B.C. >> Canada > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dwaters at usinternet.com Wed Sep 22 10:01:58 2004 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 22 Sep 2004 10:01:58 -0500 Subject: [AccessD] ADPs in the future In-Reply-To: <15366821.1095864657480.JavaMail.root@sniper8.usinternet.com> Message-ID: <001601c4a0b5$1bcb2780$de1811d8@danwaters> Martin, Thanks for the info. Will it be possible for you to let us know what the changes are planned for Access after 11 Nov? I'll pace around till then . . . . Thanks Again, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, September 22, 2004 8:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADPs in the future The problem has been know about for some time. SQL Server 2005 is a major rewrite and at the time they began development they decided they would not provide access to its features from Access and ADPs mainly becasue they view Access as a power user application - STILL. Lot of .NET stuff built into SQLS erver 2005 and they figured it wasnt worth the cost or effort to rewrite the ADP functionality in Access to deal with this. The next version of Access is being previewed in the UK at a user group meeting on 11 Nov. According to the publicity they (MS)have rebuilt the Access dev team including a new prroduct manager and it is believed major changes are being worked on. I remember replying to that email from Mary Chipman on an MS Newsgroup saying this was one of Microsofts more stupid ideas. I also recollect telling the Access project manager the same thing at least a year ago. Martin ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, September 22, 2004 2:18 PM Subject: RE: [AccessD] ADPs in the future > Hello to All, > > Well, I am now confused. I have read that Access 2003, as an ADP, > includes > a builder for stored procedures. Why would MS add this feature to a > product > if it can't be used? > > There has to be more to this story. > > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Wednesday, September 22, 2004 4:47 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] ADPs in the future > > Hi Marty > > Though I haven't played with the "Express" versions, this sounds > interesting. I have, however, no idea why "CLR assemblies and complex > data types" would require a complete rewrite, so could you please > spell out for SQL 2005 dummies like me, what this message means? > > What I read is that an Access ADP cannot - and will not be able to - > work with SQL 2005 ... I guess "SQLS 2000 compatibility mode" is not > something you can turn on and off but something you choose at > installation time. > > /gustav > > >> Just in passing concerning future design >> about ADP's from Access 2003 on down that will not play fair with SQL >> Server 2005 Express (replacement for MSDE). > >> Re: Access 2002 and SQL Express >> From: "Mary Chipman [MSFT]" Sent: >> 8/20/2004 11:30:58 AM > >> You will not be able to use any of the designers with SQLS 2005 >> databases, whether it's SQL Express or the Developer edition. IOW, you >> won't be able to create databases, tables, views or any other database >> objects from an ADP. The only support that is envisioned is that you >> will be able to connect an Access front-end to a SQLS 2005 back end if >> it is running in SQLS 2000 compatibility mode, so your forms, reports >> and other local Access objects should still run. There is no service >> pack or quick fix being planned as far as I know because of the amount >> of work it would entail. If you stop to think about it, it's pretty >> hard to see how accomodating new Yukon features like CLR assemblies >> and complex data types in the ADP designers could be achieved without >> a complete rewrite. > >> --Mary Chipman > >> -- >> Marty Connelly >> Victoria, B.C. >> Canada > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Wed Sep 22 10:08:04 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Wed, 22 Sep 2004 11:08:04 -0400 Subject: [AccessD] ADPs in the future In-Reply-To: <000f01c4a0a9$5672fc70$9111758f@aine> Message-ID: <004a01c4a0b5$f5a65560$0200a8c0@COA3> Is it known yet - will Office VBA become .Net next Office/Access version (or VSTO expanded to include Access)? If so, the ADP issue doesn't seem to matter that much, imo, since SQL will support .net in sp's, then what was a module can then run on the server. That's where the performance bottleneck is for me; linked tables on a 100 mbit LAN runs fast enough that I don't get complaints about that. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, September 22, 2004 9:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADPs in the future The problem has been know about for some time. SQL Server 2005 is a major rewrite and at the time they began development they decided they would not provide access to its features from Access and ADPs mainly becasue they view Access as a power user application - STILL. Lot of .NET stuff built into SQLS erver 2005 and they figured it wasnt worth the cost or effort to rewrite the ADP functionality in Access to deal with this. The next version of Access is being previewed in the UK at a user group meeting on 11 Nov. According to the publicity they (MS)have rebuilt the Access dev team including a new prroduct manager and it is believed major changes are being worked on. I remember replying to that email from Mary Chipman on an MS Newsgroup saying this was one of Microsofts more stupid ideas. I also recollect telling the Access project manager the same thing at least a year ago. Martin ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, September 22, 2004 2:18 PM Subject: RE: [AccessD] ADPs in the future > Hello to All, > > Well, I am now confused. I have read that Access 2003, as an ADP, > includes > a builder for stored procedures. Why would MS add this feature to a > product > if it can't be used? > > There has to be more to this story. > > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock > Sent: Wednesday, September 22, 2004 4:47 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] ADPs in the future > > Hi Marty > > Though I haven't played with the "Express" versions, this sounds > interesting. I have, however, no idea why "CLR assemblies and complex > data types" would require a complete rewrite, so could you please > spell out for SQL 2005 dummies like me, what this message means? > > What I read is that an Access ADP cannot - and will not be able to - > work with SQL 2005 ... I guess "SQLS 2000 compatibility mode" is not > something you can turn on and off but something you choose at > installation time. > > /gustav > > >> Just in passing concerning future design >> about ADP's from Access 2003 on down that will not play fair with SQL >> Server 2005 Express (replacement for MSDE). > >> Re: Access 2002 and SQL Express >> From: "Mary Chipman [MSFT]" Sent: >> 8/20/2004 11:30:58 AM > >> You will not be able to use any of the designers with SQLS 2005 >> databases, whether it's SQL Express or the Developer edition. IOW, >> you won't be able to create databases, tables, views or any other >> database objects from an ADP. The only support that is envisioned is >> that you will be able to connect an Access front-end to a SQLS 2005 >> back end if it is running in SQLS 2000 compatibility mode, so your >> forms, reports and other local Access objects should still run. There >> is no service pack or quick fix being planned as far as I know >> because of the amount of work it would entail. If you stop to think >> about it, it's pretty hard to see how accomodating new Yukon features >> like CLR assemblies and complex data types in the ADP designers could >> be achieved without a complete rewrite. > >> --Mary Chipman > >> -- >> Marty Connelly >> Victoria, B.C. >> Canada > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Sep 22 10:36:08 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Sep 2004 08:36:08 -0700 Subject: [AccessD] ADPs in the future Message-ID: CLR is the common language runtime, the lingua franca that managed code is compiled into in VS.Net. They would have to rewrite the ADP designers to speak .Net, and that apparently is not in the works. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, September 22, 2004 2:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADPs in the future Hi Marty Though I haven't played with the "Express" versions, this sounds interesting. I have, however, no idea why "CLR assemblies and complex data types" would require a complete rewrite, so could you please spell out for SQL 2005 dummies like me, what this message means? What I read is that an Access ADP cannot - and will not be able to - work with SQL 2005 ... I guess "SQLS 2000 compatibility mode" is not something you can turn on and off but something you choose at installation time. /gustav > Just in passing concerning future design > about ADP's from Access 2003 on down that will not play fair with SQL > Server 2005 Express (replacement for MSDE). > Re: Access 2002 and SQL Express > From: "Mary Chipman [MSFT]" Sent: > 8/20/2004 11:30:58 AM > You will not be able to use any of the designers with SQLS 2005 > databases, whether it's SQL Express or the Developer edition. IOW, you > won't be able to create databases, tables, views or any other database > objects from an ADP. The only support that is envisioned is that you > will be able to connect an Access front-end to a SQLS 2005 back end if > it is running in SQLS 2000 compatibility mode, so your forms, reports > and other local Access objects should still run. There is no service > pack or quick fix being planned as far as I know because of the amount > of work it would entail. If you stop to think about it, it's pretty > hard to see how accomodating new Yukon features like CLR assemblies > and complex data types in the ADP designers could be achieved without > a complete rewrite. > --Mary Chipman > -- > Marty Connelly > Victoria, B.C. > Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Sep 22 10:37:18 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Sep 2004 08:37:18 -0700 Subject: [AccessD] ADPs in the future Message-ID: Access 2003 is designed to work with SQL Server 2000, not the next version of SQL Server. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, September 22, 2004 6:19 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Hello to All, Well, I am now confused. I have read that Access 2003, as an ADP, includes a builder for stored procedures. Why would MS add this feature to a product if it can't be used? There has to be more to this story. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 22, 2004 4:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADPs in the future Hi Marty Though I haven't played with the "Express" versions, this sounds interesting. I have, however, no idea why "CLR assemblies and complex data types" would require a complete rewrite, so could you please spell out for SQL 2005 dummies like me, what this message means? What I read is that an Access ADP cannot - and will not be able to - work with SQL 2005 ... I guess "SQLS 2000 compatibility mode" is not something you can turn on and off but something you choose at installation time. /gustav > Just in passing concerning future design > about ADP's from Access 2003 on down that will not play fair with SQL > Server 2005 Express (replacement for MSDE). > Re: Access 2002 and SQL Express > From: "Mary Chipman [MSFT]" Sent: > 8/20/2004 11:30:58 AM > You will not be able to use any of the designers with SQLS 2005 > databases, whether it's SQL Express or the Developer edition. IOW, you > won't be able to create databases, tables, views or any other database > objects from an ADP. The only support that is envisioned is that you > will be able to connect an Access front-end to a SQLS 2005 back end if > it is running in SQLS 2000 compatibility mode, so your forms, reports > and other local Access objects should still run. There is no service > pack or quick fix being planned as far as I know because of the amount > of work it would entail. If you stop to think about it, it's pretty > hard to see how accomodating new Yukon features like CLR assemblies > and complex data types in the ADP designers could be achieved without > a complete rewrite. > --Mary Chipman > -- > Marty Connelly > Victoria, B.C. > Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Wed Sep 22 11:04:15 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 22 Sep 2004 17:04:15 +0100 Subject: [AccessD] OT: send email receive fax In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF0ADBFA@stekelbes.ithelps.local> Message-ID: <009d01c4a0bd$cef25e70$b274d0d5@minster33c3r25> Or Zetafax, see http://www.equisys.com , which integrates with Outlook and Exchange Server. You pick an address from your Outlook address book and if it is a fax number rather than an email address it gets faxed. Alternatively you can just type in a fax number inoto Zetafax's own client. And like Erwin's suggestion it takes PDF attachments and a few other sorts. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Erwin Craps - IT Helps > Sent: 22 September 2004 13:59 > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: send email receive fax > > > GFI faxmaker > http://www.gfi.com/ > > It's not the best but I been using it for 4 years now and > works pretty fine for a reasonable price. > > Sending a fax is trugh E-mail client. > > The to address forms like this > > [FAX:Erwin Craps at IT HELPS at +3216296405] > > You can include .FAX, .XLS, .PDF attachement to your E-mail > and it will be faxed from the exchange server.... > > > Erwin > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lavsa, Rich > Sent: Wednesday, September 22, 2004 1:39 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] OT: send email receive fax > > Hello all listers, > > I am just looking for software/service suggestions from > anyone who has used anything that takes a simple email and > processes it and sends it to a fax phone number. Whether is > was used as an integrated part of your exchange server, or if > it was a service you simply send an email to and they take > care of sending it as a fax which contains the body and > attachments of the email. > > Any suggestions would be appreciated. Currently I'm testing > www.send2fax.com 's software. Seems to be ok so far.. But > still looking for suggestions on anything anyone has working > reliably for a period of time. > > Thanks, > Rich > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Wed Sep 22 13:44:23 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Wed, 22 Sep 2004 12:44:23 -0600 Subject: [AccessD] Operation must use an updatable query...and it does. Message-ID: <13680-220049322184423717@christopherhawkins.com> This is weird. I'm refitting an Access 2000 app that a client of mine wrote to run his business. One of the issues that has recently started happening (after the client exported all the objects from a corrupted MDB into a fresh MDB container) is that a query being run from a form triggers the following error: "Operation must use an updatable query" Here is the code that is firing the query: [code] DoCmd.SetWarnings False DoCmd.OpenQuery "qryUpdateNotesCount" DoCmd.SetWarnings True [/code] Primitive, but OK. I figure the query is written incorrectly or has recently been changed, and prepare myself to go clean it up/fix it. But here's the kicker: 1) This exact code - and this exact query - has been running fine for years. I can dig up previous versions of the app with this code and query in them, and this line of code executes just fine. 2) If I actually go to the queries tab and double-click qryUpdateNoteCount, it works just fine, even immediately after trying to execute that code and throwing an error. So now I'm scratching my head. This is very perplexing. This is the only build of the app in which this line of code errors out. Yet, I can manually execute the query just fine in this build. Even worse, it only fails on some machines. Whiskey Tango Foxtrot, over? This used to work on every machine in the house. Here is the syntax of the query: [code] UPDATE Job SET Job.JobNotes = DCount("Note","tblNotes","JobID =" & [forms]![frmfcod]![jobid]) WHERE (((Job.JobID)=[Forms]![frmFcod]![JobID])); [/code] I decompiled, recompiled, compacted & repaired. No change. I am considering going through the app and replacing this line of code with something else to update this field. But I'm loathe to do so until I understand why the failure is occurring to start with. Any ideas? -Christopher Hawkins, the Great and Terrible- Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From bchacc at san.rr.com Wed Sep 22 14:11:49 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 22 Sep 2004 12:11:49 -0700 Subject: [AccessD] Operation must use an updatable query...and it does. References: <13680-220049322184423717@christopherhawkins.com> Message-ID: <03e001c4a0d8$035e7a80$6601a8c0@HAL9002> So when you go to the query itself it runs OK? I the code you're using identical to the SQL view in the query window? Rocky ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Wednesday, September 22, 2004 11:44 AM Subject: [AccessD] Operation must use an updatable query...and it does. > This is weird. > > I'm refitting an Access 2000 app that a client of mine wrote to run > his business. One of the issues that has recently started happening > (after the client exported all the objects from a corrupted MDB into > a fresh MDB container) is that a query being run from a form triggers > the following error: > > "Operation must use an updatable query" > > Here is the code that is firing the query: > > [code] > > DoCmd.SetWarnings False > DoCmd.OpenQuery "qryUpdateNotesCount" > DoCmd.SetWarnings True > > [/code] > > Primitive, but OK. I figure the query is written incorrectly or has > recently been changed, and prepare myself to go clean it up/fix it. > But here's the kicker: > > 1) This exact code - and this exact query - has been running fine for > years. I can dig up previous versions of the app with this code and > query in them, and this line of code executes just fine. > > 2) If I actually go to the queries tab and double-click > qryUpdateNoteCount, it works just fine, even immediately after trying > to execute that code and throwing an error. > > So now I'm scratching my head. This is very perplexing. This is the > only build of the app in which this line of code errors out. Yet, I > can manually execute the query just fine in this build. Even worse, > it only fails on some machines. Whiskey Tango Foxtrot, over? This > used to work on every machine in the house. > > Here is the syntax of the query: > > [code] > > UPDATE Job SET Job.JobNotes = DCount("Note","tblNotes","JobID =" & > [forms]![frmfcod]![jobid]) > WHERE (((Job.JobID)=[Forms]![frmFcod]![JobID])); > [/code] > > I decompiled, recompiled, compacted & repaired. No change. > > I am considering going through the app and replacing this line of > code with something else to update this field. But I'm loathe to do > so until I understand why the failure is occurring to start with. > > Any ideas? > > -Christopher Hawkins, the Great and Terrible- > Respectfully, > > Christopher Hawkins > Software Developer > (559) 687-7591 > http://www.christopherhawkins.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From davide at dalyn.co.nz Wed Sep 22 14:22:47 2004 From: davide at dalyn.co.nz (David Emerson) Date: Thu, 23 Sep 2004 07:22:47 +1200 Subject: [AccessD] Operation must use an updatable query...and it does. In-Reply-To: <03e001c4a0d8$035e7a80$6601a8c0@HAL9002> References: <13680-220049322184423717@christopherhawkins.com> Message-ID: <5.2.0.9.0.20040923072018.00bb4d80@mail.dalyn.co.nz> Just a very long shot, but does the Job table have a primary key? I have found using SQL2000 that a recordset is only updateable via a form if the table has a primary key. I don't know if this is relevant in your situation. Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Churton Park Wellington, New Zealand Ph/Fax (04) 478-7456 Mobile 027-280-9348 At 22/09/2004, you wrote: >So when you go to the query itself it runs OK? > >I the code you're using identical to the SQL view in the query window? > >Rocky > >----- Original Message ----- >From: "Christopher Hawkins" >To: >Sent: Wednesday, September 22, 2004 11:44 AM >Subject: [AccessD] Operation must use an updatable query...and it does. > > > > This is weird. > > > > I'm refitting an Access 2000 app that a client of mine wrote to run > > his business. One of the issues that has recently started happening > > (after the client exported all the objects from a corrupted MDB into > > a fresh MDB container) is that a query being run from a form triggers > > the following error: > > > > "Operation must use an updatable query" > > > > Here is the code that is firing the query: > > > > [code] > > > > DoCmd.SetWarnings False > > DoCmd.OpenQuery "qryUpdateNotesCount" > > DoCmd.SetWarnings True > > > > [/code] > > > > Primitive, but OK. I figure the query is written incorrectly or has > > recently been changed, and prepare myself to go clean it up/fix it. > > But here's the kicker: > > > > 1) This exact code - and this exact query - has been running fine for > > years. I can dig up previous versions of the app with this code and > > query in them, and this line of code executes just fine. > > > > 2) If I actually go to the queries tab and double-click > > qryUpdateNoteCount, it works just fine, even immediately after trying > > to execute that code and throwing an error. > > > > So now I'm scratching my head. This is very perplexing. This is the > > only build of the app in which this line of code errors out. Yet, I > > can manually execute the query just fine in this build. Even worse, > > it only fails on some machines. Whiskey Tango Foxtrot, over? This > > used to work on every machine in the house. > > > > Here is the syntax of the query: > > > > [code] > > > > UPDATE Job SET Job.JobNotes = DCount("Note","tblNotes","JobID =" & > > [forms]![frmfcod]![jobid]) > > WHERE (((Job.JobID)=[Forms]![frmFcod]![JobID])); > > [/code] > > > > I decompiled, recompiled, compacted & repaired. No change. > > > > I am considering going through the app and replacing this line of > > code with something else to update this field. But I'm loathe to do > > so until I understand why the failure is occurring to start with. > > > > Any ideas? > > > > -Christopher Hawkins, the Great and Terrible- > > Respectfully, > > > > Christopher Hawkins > > Software Developer > > (559) 687-7591 > > http://www.christopherhawkins.com From jimdettman at earthlink.net Wed Sep 22 14:35:13 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 22 Sep 2004 15:35:13 -0400 Subject: [AccessD] Operation must use an updatable query...and it does. In-Reply-To: <13680-220049322184423717@christopherhawkins.com> Message-ID: Chris, make sure your up to date on SP's for JET and MDAC. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Wednesday, September 22, 2004 2:44 PM To: accessd at databaseadvisors.com Subject: [AccessD] Operation must use an updatable query...and it does. This is weird. I'm refitting an Access 2000 app that a client of mine wrote to run his business. One of the issues that has recently started happening (after the client exported all the objects from a corrupted MDB into a fresh MDB container) is that a query being run from a form triggers the following error: "Operation must use an updatable query" Here is the code that is firing the query: [code] DoCmd.SetWarnings False DoCmd.OpenQuery "qryUpdateNotesCount" DoCmd.SetWarnings True [/code] Primitive, but OK. I figure the query is written incorrectly or has recently been changed, and prepare myself to go clean it up/fix it. But here's the kicker: 1) This exact code - and this exact query - has been running fine for years. I can dig up previous versions of the app with this code and query in them, and this line of code executes just fine. 2) If I actually go to the queries tab and double-click qryUpdateNoteCount, it works just fine, even immediately after trying to execute that code and throwing an error. So now I'm scratching my head. This is very perplexing. This is the only build of the app in which this line of code errors out. Yet, I can manually execute the query just fine in this build. Even worse, it only fails on some machines. Whiskey Tango Foxtrot, over? This used to work on every machine in the house. Here is the syntax of the query: [code] UPDATE Job SET Job.JobNotes = DCount("Note","tblNotes","JobID =" & [forms]![frmfcod]![jobid]) WHERE (((Job.JobID)=[Forms]![frmFcod]![JobID])); [/code] I decompiled, recompiled, compacted & repaired. No change. I am considering going through the app and replacing this line of code with something else to update this field. But I'm loathe to do so until I understand why the failure is occurring to start with. Any ideas? -Christopher Hawkins, the Great and Terrible- Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Sep 22 15:19:34 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Sep 2004 13:19:34 -0700 Subject: [AccessD] Operation must use an updatable query...and it does. Message-ID: Try adding the Distinctrow keyword to SQL. Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Wednesday, September 22, 2004 11:44 AM To: accessd at databaseadvisors.com Subject: [AccessD] Operation must use an updatable query...and it does. This is weird. I'm refitting an Access 2000 app that a client of mine wrote to run his business. One of the issues that has recently started happening (after the client exported all the objects from a corrupted MDB into a fresh MDB container) is that a query being run from a form triggers the following error: "Operation must use an updatable query" Here is the code that is firing the query: [code] DoCmd.SetWarnings False DoCmd.OpenQuery "qryUpdateNotesCount" DoCmd.SetWarnings True [/code] Primitive, but OK. I figure the query is written incorrectly or has recently been changed, and prepare myself to go clean it up/fix it. But here's the kicker: 1) This exact code - and this exact query - has been running fine for years. I can dig up previous versions of the app with this code and query in them, and this line of code executes just fine. 2) If I actually go to the queries tab and double-click qryUpdateNoteCount, it works just fine, even immediately after trying to execute that code and throwing an error. So now I'm scratching my head. This is very perplexing. This is the only build of the app in which this line of code errors out. Yet, I can manually execute the query just fine in this build. Even worse, it only fails on some machines. Whiskey Tango Foxtrot, over? This used to work on every machine in the house. Here is the syntax of the query: [code] UPDATE Job SET Job.JobNotes = DCount("Note","tblNotes","JobID =" & [forms]![frmfcod]![jobid]) WHERE (((Job.JobID)=[Forms]![frmFcod]![JobID])); [/code] I decompiled, recompiled, compacted & repaired. No change. I am considering going through the app and replacing this line of code with something else to update this field. But I'm loathe to do so until I understand why the failure is occurring to start with. Any ideas? -Christopher Hawkins, the Great and Terrible- Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From skirlic at tbmc.com Wed Sep 22 15:37:04 2004 From: skirlic at tbmc.com (Sead Kirlic) Date: Wed, 22 Sep 2004 15:37:04 -0500 Subject: [AccessD] Overflow Message-ID: I need help on this one. One of reports in my database will not open. Message I receive is "Overflow". There are total of 6 reports and 5 of them are OK. Sezak99 From carlo at xsit.nl Wed Sep 22 17:41:03 2004 From: carlo at xsit.nl (Carlo van der Zon (Access IT Training)) Date: Thu, 23 Sep 2004 00:41:03 +0200 Subject: [AccessD] Create ADE from ADP Message-ID: <844F188BB505654DBCF15C4B24106C101D4D05@headcon.headit.nl> Hi Group, I have fine working ADP, but how to create an ADE? Access tells me it's not possible. Thanks Carlo From roz.clarke at donnslaw.co.uk Thu Sep 23 03:32:46 2004 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Thu, 23 Sep 2004 09:32:46 +0100 Subject: [AccessD] ADPs - accessing SQL Views Message-ID: <61F915314798D311A2F800A0C9C8318805CED4D7@dibble.observatory.donnslaw.co.uk> Dear all I have had this problem raised by one of the developers on my team. Can anyone assist? "Using ADO objects via OLE DB, I can access data in my SQL Server database in the form of tables and stored procs with no problem. When I try and retrieve records from a SQL Server view, I get an OLE DB error. I have tried using all the different ways, command objects, recordsets etc." TIA Roz -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From gustav at cactus.dk Thu Sep 23 03:08:48 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 23 Sep 2004 10:08:48 +0200 Subject: [AccessD] ADPs in the future In-Reply-To: References: Message-ID: <933849044.20040923100848@cactus.dk> Hi Charlotte Thanks. /gustav > CLR is the common language runtime, the lingua franca that managed code > is compiled into in VS.Net. They would have to rewrite the ADP > designers to speak .Net, and that apparently is not in the works. > Charlotte Foust > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Wednesday, September 22, 2004 2:47 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] ADPs in the future > Hi Marty > Though I haven't played with the "Express" versions, this sounds > interesting. I have, however, no idea why "CLR assemblies and complex > data types" would require a complete rewrite, so could you please spell > out for SQL 2005 dummies like me, what this message means? > What I read is that an Access ADP cannot - and will not be able to - > work with SQL 2005 ... I guess "SQLS 2000 compatibility mode" is not > something you can turn on and off but something you choose at > installation time. > /gustav >> Just in passing concerning future design >> about ADP's from Access 2003 on down that will not play fair with SQL >> Server 2005 Express (replacement for MSDE). >> Re: Access 2002 and SQL Express >> From: "Mary Chipman [MSFT]" Sent: >> 8/20/2004 11:30:58 AM >> You will not be able to use any of the designers with SQLS 2005 >> databases, whether it's SQL Express or the Developer edition. IOW, you >> won't be able to create databases, tables, views or any other database >> objects from an ADP. The only support that is envisioned is that you >> will be able to connect an Access front-end to a SQLS 2005 back end if >> it is running in SQLS 2000 compatibility mode, so your forms, reports >> and other local Access objects should still run. There is no service >> pack or quick fix being planned as far as I know because of the amount >> of work it would entail. If you stop to think about it, it's pretty >> hard to see how accomodating new Yukon features like CLR assemblies >> and complex data types in the ADP designers could be achieved without >> a complete rewrite. >> --Mary Chipman >> -- >> Marty Connelly >> Victoria, B.C. >> Canada > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Sep 23 03:55:12 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 23 Sep 2004 10:55:12 +0200 Subject: [AccessD] Operation must use an updatable query...and it does. In-Reply-To: <13680-220049322184423717@christopherhawkins.com> References: <13680-220049322184423717@christopherhawkins.com> Message-ID: <406633498.20040923105512@cactus.dk> Hi Christopher First, specify the control as a parameter: PARAMETERS [Forms]![frmFcod]![JobID] Long; UPDATE Job SET Job.JobNotes = DCount("Note","tblNotes","JobID =" & [Forms]![frmFcod]![JobID]) WHERE (((Job.JobID)=[Forms]![frmFcod]![JobID])); If that doesn't work, why not rewrite it: PARAMETERS JobNo Long, NoteCount Long; UPDATE Job SET Job.JobNotes = NoteCount WHERE (Job.JobID = JobNo); and then: lngJobID = Nz([Forms]![frmFcod]![JobID], 0) lngNoteCount = DCount("Note", "tblNotes", "JobID = " & lngJobID & "") Set dbs = CurrentDb() Set qdy = dbs.QueryDefs("qryUpdateNotesCount") Set qdy.Parameters("JobNo").Value = lngJobID Set qdy.Parameters("NoteCount").Value = lngNoteCount qdy.Execute qdy.Close This may turn out faster than debugging the current code. /gustav > This is weird. > I'm refitting an Access 2000 app that a client of mine wrote to run > his business. One of the issues that has recently started happening > (after the client exported all the objects from a corrupted MDB into > a fresh MDB container) is that a query being run from a form triggers > the following error: > "Operation must use an updatable query" > Here is the code that is firing the query: > [code] > DoCmd.SetWarnings False > DoCmd.OpenQuery "qryUpdateNotesCount" > DoCmd.SetWarnings True > [/code] > Primitive, but OK. I figure the query is written incorrectly or has > recently been changed, and prepare myself to go clean it up/fix it. > But here's the kicker: > 1) This exact code - and this exact query - has been running fine for > years. I can dig up previous versions of the app with this code and > query in them, and this line of code executes just fine. > 2) If I actually go to the queries tab and double-click > qryUpdateNoteCount, it works just fine, even immediately after trying > to execute that code and throwing an error. > So now I'm scratching my head. This is very perplexing. This is the > only build of the app in which this line of code errors out. Yet, I > can manually execute the query just fine in this build. Even worse, > it only fails on some machines. Whiskey Tango Foxtrot, over? This > used to work on every machine in the house. > Here is the syntax of the query: > [code] > UPDATE Job SET Job.JobNotes = DCount("Note","tblNotes","JobID =" & > [forms]![frmfcod]![jobid]) > WHERE (((Job.JobID)=[Forms]![frmFcod]![JobID])); > [/code] > I decompiled, recompiled, compacted & repaired. No change. > I am considering going through the app and replacing this line of > code with something else to update this field. But I'm loathe to do > so until I understand why the failure is occurring to start with. > Any ideas? > -Christopher Hawkins, the Great and Terrible- > Respectfully, > Christopher Hawkins > Software Developer > (559) 687-7591 > http://www.christopherhawkins.com From Paul.Rogers at SummitMedia.co.uk Thu Sep 23 04:01:14 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Thu, 23 Sep 2004 10:01:14 +0100 Subject: [AccessD] Emailing directly from the form Message-ID: Is there a simple way to email from the form, specifying certain fields like [Name], [Department], [Date] please, Craftsfolk? (I use Outlook and Access2K) Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 From prodevmg at yahoo.com Thu Sep 23 04:32:24 2004 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 23 Sep 2004 02:32:24 -0700 (PDT) Subject: [AccessD] Overflow In-Reply-To: Message-ID: <20040923093224.19763.qmail@web20423.mail.yahoo.com> Check to see if there is a field that does some type of mathmatical calculation like division and see if there is possible division by zero. Access does not like that. Sead Kirlic wrote:I need help on this one. One of reports in my database will not open. Message I receive is "Overflow". There are total of 6 reports and 5 of them are OK. Sezak99 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. From prodevmg at yahoo.com Thu Sep 23 04:36:26 2004 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 23 Sep 2004 02:36:26 -0700 (PDT) Subject: [AccessD] Emailing directly from the form In-Reply-To: Message-ID: <20040923093626.53675.qmail@web20426.mail.yahoo.com> If you know VBA you can set up a button on your form and in the Click Event you can use the DoCmd.SendObject command and in the parameters for the recipient and subject and so on, you can reference a field on your form. Paul Rodgers wrote:Is there a simple way to email from the form, specifying certain fields like [Name], [Department], [Date] please, Craftsfolk? (I use Outlook and Access2K) Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. From roz.clarke at donnslaw.co.uk Thu Sep 23 04:53:10 2004 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Thu, 23 Sep 2004 10:53:10 +0100 Subject: [AccessD] Emailing directly from the form Message-ID: <61F915314798D311A2F800A0C9C8318805CED4DC@dibble.observatory.donnslaw.co.uk> All you need, as far as I can see, is the SendObject method. You can pass form fields as string variables into the header or body of the email. HTH Roz -----Original Message----- From: Paul Rodgers [mailto:Paul.Rogers at summitmedia.co.uk] Sent: 23 September 2004 10:01 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Emailing directly from the form Is there a simple way to email from the form, specifying certain fields like [Name], [Department], [Date] please, Craftsfolk? (I use Outlook and Access2K) Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From Paul.Rogers at SummitMedia.co.uk Thu Sep 23 05:03:36 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Thu, 23 Sep 2004 11:03:36 +0100 Subject: [AccessD] Emailing directly from the form Message-ID: Brilliant, Lonnie. I haven't done this before, and expected complications. Thanks very much. Cheers paul -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: 23 September 2004 10:36 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Emailing directly from the form If you know VBA you can set up a button on your form and in the Click Event you can use the DoCmd.SendObject command and in the parameters for the recipient and subject and so on, you can reference a field on your form. Paul Rodgers wrote:Is there a simple way to email from the form, specifying certain fields like [Name], [Department], [Date] please, Craftsfolk? (I use Outlook and Access2K) Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 From Paul.Rogers at SummitMedia.co.uk Thu Sep 23 05:10:04 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Thu, 23 Sep 2004 11:10:04 +0100 Subject: [AccessD] Emailing directly from the form Message-ID: Thanks, Roz. Yes, I have it now. Gratefully paul -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: 23 September 2004 10:53 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Emailing directly from the form All you need, as far as I can see, is the SendObject method. You can pass form fields as string variables into the header or body of the email. HTH Roz ----- --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 From stuart at lexacorp.com.pg Thu Sep 23 05:52:53 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 23 Sep 2004 20:52:53 +1000 Subject: [AccessD] Overflow In-Reply-To: <20040923093224.19763.qmail@web20423.mail.yahoo.com> References: Message-ID: <415337A5.25841.1AF8491@lexacorp.com.pg> On 23 Sep 2004 at 2:32, Lonnie Johnson wrote: > Check to see if there is a field that does some type of mathmatical > calculation like division and see if there is possible division by zero. > Access does not like that. > Or, more likely, a calculation which results in a variable being bigger than it's bounds such as an Integer value > 32767 -- Stuart From rbgajewski at adelphia.net Thu Sep 23 06:34:43 2004 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Thu, 23 Sep 2004 07:34:43 -0400 Subject: [AccessD] Emailing directly from the form In-Reply-To: Message-ID: Paul An example (watch wrap) ... ================================================ Private Sub cmdSendMail_AfterClick() Dim varMailTo As String, varCopyTo As String, varSubject As String, varBody As String ' Set your values (arbitrary field names, of course) varMailTo = txtRecipientEmail varCopyTo = txtCCEmail varSubject = txtSubject varBody = txtBody DoCmd.SendObject acSendNoObject, , , varMailTo, varCopyTo, , varSubject, varBody End Sub ================================================ Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Paul Rodgers Sent: Thursday, September 23, 2004 06:04 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Emailing directly from the form Brilliant, Lonnie. I haven't done this before, and expected complications. Thanks very much. Cheers paul -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: 23 September 2004 10:36 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Emailing directly from the form If you know VBA you can set up a button on your form and in the Click Event you can use the DoCmd.SendObject command and in the parameters for the recipient and subject and so on, you can reference a field on your form. Paul Rodgers wrote:Is there a simple way to email from the form, specifying certain fields like [Name], [Department], [Date] please, Craftsfolk? (I use Outlook and Access2K) Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CMackin at quiznos.com Thu Sep 23 08:49:51 2004 From: CMackin at quiznos.com (Mackin, Christopher) Date: Thu, 23 Sep 2004 07:49:51 -0600 Subject: [AccessD] ADPs - accessing SQL Views Message-ID: I would immediately check the permissions the developer has on that View. -Chris Mackin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Thursday, September 23, 2004 2:33 AM To: 'Access Developers discussion and problem solving'; dba-sqlserver at databaseadvisors.com Subject: [AccessD] ADPs - accessing SQL Views Dear all I have had this problem raised by one of the developers on my team. Can anyone assist? "Using ADO objects via OLE DB, I can access data in my SQL Server database in the form of tables and stored procs with no problem. When I try and retrieve records from a SQL Server view, I get an OLE DB error. I have tried using all the different ways, command objects, recordsets etc." TIA Roz From Mark.Mitsules at ngc.com Thu Sep 23 09:01:11 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Thu, 23 Sep 2004 10:01:11 -0400 Subject: [AccessD] .TIFF Image of Report Pages Message-ID: A follow-up to this came Monday when I put forth a few of these suggestions. Much to my surprise and chagrin, another representative stated that he indeed HAD researched most of these automated options, but determined that the manual way wasn't really eating up all that much time. He finished his explanation with the comment that he was awaiting approval to commission a custom printer driver written specifically for us. This stance really bothered me. He is acknowledging a need for an automated solution, and is willing to spend top dollar just to address a situation that deep down he believes (in his department at least) is inconsequential. How warped is that? Mark -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Monday, September 20, 2004 10:36 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] .TIFF Image of Report Pages Mark, I've seen situations where things were being done in a rather labor intensive, inefficient manner just as you describe. I've proposed better solutions and people have initially gotten a bit excited about the idea but in the end they kept doing it the same way. Sooo. I'd say you're going to get to labeled as: 1. a genius :-) 2. a lazy tehcno-geek who thinks the computers can do everything but doesn't realize that not everybody can run the computers as well as you (i.e. the scanner staff would have to be trained to run the software to do this-it would be too efficient to just have the engineers do it.) ;-) 3. a trouble maker who is trying to put all those people with jobs in the scanning section out of work! :-( John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Friday, September 17, 2004 6:50 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] .TIFF Image of Report Pages Many thanks to you all. After a little research into how other divisions have handled this creation of .tiff files from AutoCAD .dwg files, I'm a little disappointed. I mean that, just on the hint that we might have to take over this responsibility, it has only taken 12 hours for you kind folks to provide a multitude of viable options. What scares me is that some divisions are actually doing this manually by scanning a hard copy. So, in comparison, would I be considered lazy or efficient for wanting a better way? ;) Mark -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, September 16, 2004 11:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] .TIFF Image of Report Pages Hi Mark The "Print To Picture" printer driver: http://progrex.narod.ru/ptp.html can output to PCX, BMP, or PNG files. Then you can convert to TIFF. /gustav > Does anyone have any brilliant ideas on how I could automatically generate a > .tiff image for each page in a report? > Background: Our company stores issued drawings in .tiff format. In the > past, drawings have been scanned in manually in a reproduction department. > Currently, I issue drawings using Access reports. It has been suggested > that the .tiff creation MAY fall to the engineering department. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Sep 23 08:55:09 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 23 Sep 2004 15:55:09 +0200 Subject: [AccessD] ADPs in the future In-Reply-To: References: Message-ID: <4724629855.20040923155509@cactus.dk> Hi all So now's perhaps the time for alternatives ... If you need 5 GB of database space running on a Linux engine, watch this free offer from Sybase: http://www.sybase.com/linuxpromo /gustav > Access 2003 is designed to work with SQL Server 2000, not the next > version of SQL Server. From Patricia.O'Connor at dfa.state.ny.us Thu Sep 23 09:47:46 2004 From: Patricia.O'Connor at dfa.state.ny.us (O'Connor, Patricia (OTDA)) Date: Thu, 23 Sep 2004 10:47:46 -0400 Subject: [AccessD] ADPs - accessing SQL Views Message-ID: Roz, What is the error you are getting? Check the permissions for the TABLES underlying the View as well as the view. We ran into something similar because the Code tables that made up the view did not have the same permissions as the main table. HTH Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at dfa.state.ny.us *(w) mailto:aa1160 at dfa.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke > Sent: Thursday, September 23, 2004 04:33 AM > To: 'Access Developers discussion and problem solving'; > dba-sqlserver at databaseadvisors.com > Subject: [AccessD] ADPs - accessing SQL Views > > Dear all > > I have had this problem raised by one of the developers on my > team. Can anyone assist? > > "Using ADO objects via OLE DB, I can access data in my SQL > Server database in the form of tables and stored procs with > no problem. When I try and retrieve records from a SQL > Server view, I get an OLE DB error. I have tried using all > the different ways, command objects, recordsets etc." > > TIA > > Roz > > > From Developer at UltraDNT.com Thu Sep 23 09:56:14 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Thu, 23 Sep 2004 10:56:14 -0400 Subject: [AccessD] ADPs in the future In-Reply-To: <4724629855.20040923155509@cactus.dk> Message-ID: <001901c4a17d$795d0620$0200a8c0@COA3> There are plenty of alternatives, but, even leaving out forms vs. asp/html/php UI debate, the mgmt tools are always lacking (if they exist) ,and reporting is damn near impossible. Is there anything on any platform that comes close to our favorite product - in one package? And even if ADPs won't work, MDBs with ODBC linked tables will work - and with just about ANYthing else. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, September 23, 2004 9:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ADPs in the future Hi all So now's perhaps the time for alternatives ... If you need 5 GB of database space running on a Linux engine, watch this free offer from Sybase: http://www.sybase.com/linuxpromo /gustav > Access 2003 is designed to work with SQL Server 2000, not the next > version of SQL Server. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From roz.clarke at donnslaw.co.uk Thu Sep 23 09:57:02 2004 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Thu, 23 Sep 2004 15:57:02 +0100 Subject: [AccessD] ADPs - accessing SQL Views Message-ID: <61F915314798D311A2F800A0C9C8318805CED4EC@dibble.observatory.donnslaw.co.uk> Thanks Patti, and also Chris Tom (my developer) had got his connection objects mixed up and was getting the wrong permissions as a result. Cheers for your help Roz -----Original Message----- From: O'Connor, Patricia (OTDA) [mailto:Patricia.O'Connor at dfa.state.ny.us] Sent: 23 September 2004 15:48 To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADPs - accessing SQL Views Roz, What is the error you are getting? Check the permissions for the TABLES underlying the View as well as the view. We ran into something similar because the Code tables that made up the view did not have the same permissions as the main table. HTH Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at dfa.state.ny.us *(w) mailto:aa1160 at dfa.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke > Sent: Thursday, September 23, 2004 04:33 AM > To: 'Access Developers discussion and problem solving'; > dba-sqlserver at databaseadvisors.com > Subject: [AccessD] ADPs - accessing SQL Views > > Dear all > > I have had this problem raised by one of the developers on my > team. Can anyone assist? > > "Using ADO objects via OLE DB, I can access data in my SQL > Server database in the form of tables and stored procs with > no problem. When I try and retrieve records from a SQL > Server view, I get an OLE DB error. I have tried using all > the different ways, command objects, recordsets etc." > > TIA > > Roz > > > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From JColby at dispec.com Thu Sep 23 11:11:13 2004 From: JColby at dispec.com (Colby, John) Date: Thu, 23 Sep 2004 12:11:13 -0400 Subject: [AccessD] Windows XP - Access closes unexpectedly Message-ID: <05C61C52D7CAD211A7830008C7DF6F1079BDEB@DISABILITYINS01> Have any of you seen Access close unexpectedly on Windows XP machines? My client has a mix of Win98 / Win2K and WinXP machines. EVERY machine with WinXP is reporting the app just shutting down, no warning, no nothing. NONE of the non-XP machines reports this. http://support.microsoft.com/default.aspx?kbid=320299 reports this problem, but with an error message. My client DOES have some sort of network issues, all the machines (users) have, at one time or another reported the old "disk or network error" meaning they lost connection to the server briefly. In Windows98/2k you just continue on. It would seem that in Windows XP the OS itself will terminate Access when this happens. A tad RUDE don't you think? Anyone else seeing this? John W. Colby The DIS Database Guy From bheid at appdevgrp.com Thu Sep 23 11:58:28 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 23 Sep 2004 12:58:28 -0400 Subject: [AccessD] Windows XP - Access closes unexpectedly In-Reply-To: <916187228923D311A6FE00A0CC3FAA309A6B77@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB873@ADGSERVER> Haven't heard of that one. Is there anything in the event logs? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John Sent: Thursday, September 23, 2004 12:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Windows XP - Access closes unexpectedly Have any of you seen Access close unexpectedly on Windows XP machines? My client has a mix of Win98 / Win2K and WinXP machines. EVERY machine with WinXP is reporting the app just shutting down, no warning, no nothing. NONE of the non-XP machines reports this. http://support.microsoft.com/default.aspx?kbid=320299 reports this problem, but with an error message. My client DOES have some sort of network issues, all the machines (users) have, at one time or another reported the old "disk or network error" meaning they lost connection to the server briefly. In Windows98/2k you just continue on. It would seem that in Windows XP the OS itself will terminate Access when this happens. A tad RUDE don't you think? Anyone else seeing this? John W. Colby The DIS Database Guy -- From Erwin.Craps at ithelps.be Thu Sep 23 12:05:11 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Thu, 23 Sep 2004 19:05:11 +0200 Subject: [AccessD] Windows XP - Access closes unexpectedly Message-ID: <46B976F2B698FF46A4FE7636509B22DF735E@stekelbes.ithelps.local> Access 2003 terminates regulary... And for the rest Access also terminates with incorrect API calls Maybe u use some API call that is not suported by XP Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Bobby Heid Verzonden: donderdag 23 september 2004 18:58 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] Windows XP - Access closes unexpectedly Haven't heard of that one. Is there anything in the event logs? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John Sent: Thursday, September 23, 2004 12:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Windows XP - Access closes unexpectedly Have any of you seen Access close unexpectedly on Windows XP machines? My client has a mix of Win98 / Win2K and WinXP machines. EVERY machine with WinXP is reporting the app just shutting down, no warning, no nothing. NONE of the non-XP machines reports this. http://support.microsoft.com/default.aspx?kbid=320299 reports this problem, but with an error message. My client DOES have some sort of network issues, all the machines (users) have, at one time or another reported the old "disk or network error" meaning they lost connection to the server briefly. In Windows98/2k you just continue on. It would seem that in Windows XP the OS itself will terminate Access when this happens. A tad RUDE don't you think? Anyone else seeing this? John W. Colby The DIS Database Guy -- -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Sep 23 12:07:23 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 23 Sep 2004 19:07:23 +0200 Subject: [AccessD] Connecting to SQL from Access w/a single login? In-Reply-To: <100F91B31300334B89EC531C9DCB086506595F@tccexch01.tappeconstruction.net> References: <100F91B31300334B89EC531C9DCB086506595F@tccexch01.tappeconstruction.net> Message-ID: <8236164341.20040923190723@cactus.dk> Hi Brett >>First, I think this is for attached Jet databases only. > No, I have used this extensively for attaching to our SQL Server 2000 > databases. It won't hurt, it's just that if I check the attributes of some tables linked from SQL Server where the password is saved in the connect string, this attribute is NOT set. >>Also, this should not be necessary: > A couple of points here: > 1. The TableDef object doesn't have a Refresh method. Perhaps > RefreshLink? Yes. > 2. If you try this, omit the tdf.SourceTableName = rs!ForeignName line. > It blows up. Yes, sorry, it is only for creating a linked tabledef. It makes no sense for an already linked table. > 3. I can't remember the exact reason why I dropped and recreated the > table. I can recall trying the simple update and RefreshLink but had > difficulties. Can't remember much more than that. Seems to work OK > now, though. Well, after 10 years with Access, I've have yet to see this fail. I believe you safely can use RefreshLink for reattaching a table when server or file has been moved. It is way faster too. /gustav > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Sunday, September 19, 2004 9:56 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Connecting to SQL from Access w/a single login? > Hi Brett >> Try setting tdAttach.Attributes = dbAttachSavePWD > First, I think this is for attached Jet databases only. > Second, I guess this should be: > tdAttach.Attributes = tdAttach.Attributes Or dbAttachSavePWD > or you would kill any other attribute (or raise an error). > Also, this should not be necessary: >> Do Until rs.EOF >> Debug.Print rs!Name >> Set tdf = db.CreateTableDef(rs!Name) >> >> tdf.Connect = "ODBC;" & _ >> ExtractArg(rs!Connect, "DRIVER") & ";" & _ >> "SERVER=" & strServer & ";" & _ >> ExtractArg(rs!Connect, "DATABASE") & ";" & _ >> "UID=" & strUID & ";" & _ >> "PWD=" & strPWD >> >> tdf.Attributes = dbAttachSavePWD >> tdf.SourceTableName = rs!ForeignName >> db.TableDefs.Delete rs!Name >> db.TableDefs.Append tdf >> >> rs.MoveNext >> Loop > A Refresh is normally fine (and faster): > Set tdf = db.TableDefs(rs!Name) > tdf.Connect = "ODBC;" & _ ... > tdf.Attributes = dbAttachSavePWD > tdf.SourceTableName = rs!ForeignName > tdf.Refresh > /gustav >> I'm using a similar routine currently. I have a metadata table full >> of information about the data tables. It contains the localname, path >> and sourceobject name of the table I'm linking to in SQL Server. >> The actual linking is fine, but as you said remembering the password >> is an issue. From JColby at dispec.com Thu Sep 23 12:15:41 2004 From: JColby at dispec.com (Colby, John) Date: Thu, 23 Sep 2004 13:15:41 -0400 Subject: [AccessD] Windows XP - Access closes unexpectedly Message-ID: <05C61C52D7CAD211A7830008C7DF6F1079BDEC@DISABILITYINS01> what event logs? John W. Colby The DIS Database Guy -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Thursday, September 23, 2004 12:58 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Windows XP - Access closes unexpectedly Haven't heard of that one. Is there anything in the event logs? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John Sent: Thursday, September 23, 2004 12:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Windows XP - Access closes unexpectedly Have any of you seen Access close unexpectedly on Windows XP machines? My client has a mix of Win98 / Win2K and WinXP machines. EVERY machine with WinXP is reporting the app just shutting down, no warning, no nothing. NONE of the non-XP machines reports this. http://support.microsoft.com/default.aspx?kbid=320299 reports this problem, but with an error message. My client DOES have some sort of network issues, all the machines (users) have, at one time or another reported the old "disk or network error" meaning they lost connection to the server briefly. In Windows98/2k you just continue on. It would seem that in Windows XP the OS itself will terminate Access when this happens. A tad RUDE don't you think? Anyone else seeing this? John W. Colby The DIS Database Guy -- -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Thu Sep 23 12:48:07 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 23 Sep 2004 13:48:07 -0400 Subject: [AccessD] Windows XP - Access closes unexpectedly In-Reply-To: <916187228923D311A6FE00A0CC3FAA309A6BCB@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB876@ADGSERVER> The application, security, and system logs. They would be somewhere under administrative tools (or maybe under the Manage Computer add-in). Under Win2K, it is under Programs\Administrative Tools\Event Viewer. I'll look at home to see where it is in XP. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John Sent: Thursday, September 23, 2004 1:16 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Windows XP - Access closes unexpectedly what event logs? John W. Colby The DIS Database Guy -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Thursday, September 23, 2004 12:58 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Windows XP - Access closes unexpectedly Haven't heard of that one. Is there anything in the event logs? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John Sent: Thursday, September 23, 2004 12:11 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Windows XP - Access closes unexpectedly Have any of you seen Access close unexpectedly on Windows XP machines? My client has a mix of Win98 / Win2K and WinXP machines. EVERY machine with WinXP is reporting the app just shutting down, no warning, no nothing. NONE of the non-XP machines reports this. http://support.microsoft.com/default.aspx?kbid=320299 reports this problem, but with an error message. My client DOES have some sort of network issues, all the machines (users) have, at one time or another reported the old "disk or network error" meaning they lost connection to the server briefly. In Windows98/2k you just continue on. It would seem that in Windows XP the OS itself will terminate Access when this happens. A tad RUDE don't you think? Anyone else seeing this? John W. Colby The DIS Database Guy -- From davide at dalyn.co.nz Thu Sep 23 13:36:29 2004 From: davide at dalyn.co.nz (David Emerson) Date: Fri, 24 Sep 2004 06:36:29 +1200 Subject: [AccessD] Windows XP - Access closes unexpectedly In-Reply-To: <916187228923D311A6FE00A0CC3FAA305BB876@ADGSERVER> References: <916187228923D311A6FE00A0CC3FAA309A6BCB@ADGSERVER> <916187228923D311A6FE00A0CC3FAA305BB876@ADGSERVER> Message-ID: <6.1.2.0.0.20040924063106.01a4c870@mail.dalyn.co.nz> John, Does it happen during a specific part of the programme? I had a situation where every time I tried to import an excel spreadsheet Access would come up with "Unexpected Error", then close down. Eventually it was tracked down to the shortcut being used to open the programme (a virtually identical copy of the FE was opening fine. When we changed its shortcut to the problem FE then the problem went away. When we tried opening the good FE with the corrupt shortcut the good FE started crashing. Our solution was to delete the bad shortcut and make a copy of the good shortcut. Never found out why the shortcut should have caused the problem.) Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Churton Park Wellington, New Zealand Ph/Fax (04) 478-7456 Mobile 027-280-9348 At 24/09/2004, you wrote: >The application, security, and system logs. They would be somewhere under >administrative tools (or maybe under the Manage Computer add-in). Under >Win2K, it is under Programs\Administrative Tools\Event Viewer. > >I'll look at home to see where it is in XP. > >Bobby > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John >Sent: Thursday, September 23, 2004 1:16 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Windows XP - Access closes unexpectedly > > >what event logs? > >John W. Colby >The DIS Database Guy > > >-----Original Message----- >From: Bobby Heid [mailto:bheid at appdevgrp.com] >Sent: Thursday, September 23, 2004 12:58 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Windows XP - Access closes unexpectedly > > >Haven't heard of that one. Is there anything in the event logs? > >Bobby > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John >Sent: Thursday, September 23, 2004 12:11 PM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Windows XP - Access closes unexpectedly > > >Have any of you seen Access close unexpectedly on Windows XP machines? My >client has a mix of Win98 / Win2K and WinXP machines. EVERY machine with >WinXP is reporting the app just shutting down, no warning, no nothing. NONE >of the non-XP machines reports this. > >http://support.microsoft.com/default.aspx?kbid=320299 > >reports this problem, but with an error message. My client DOES have some >sort of network issues, all the machines (users) have, at one time or >another reported the old "disk or network error" meaning they lost >connection to the server briefly. In Windows98/2k you just continue on. It >would seem that in Windows XP the OS itself will terminate Access when this >happens. A tad RUDE don't you think? > >Anyone else seeing this? > >John W. Colby >The DIS Database Guy From KIsmert at TexasSystems.com Thu Sep 23 15:06:59 2004 From: KIsmert at TexasSystems.com (Ken Ismert) Date: Thu, 23 Sep 2004 15:06:59 -0500 Subject: [AccessD] ADPs in the future In-Reply-To: <4724629855.20040923155509@cactus.dk> Message-ID: <005c01c4a1a8$e2f91990$2a3ca8c0@TEXASSYSTEMS.COM> > So now's perhaps the time for alternatives ... >/gustav Hear, Hear. This is yet more evidence that Access is dead. Despite its unique advantages, Access is increasingly obsolescent in the current Microsoft vision of .NET, SQL Server, web-centric, and distributed computing. More evidence of this comes from recent reports of a precipitous drop in Access consulting rates in our local area. How low? Let's just say you could earn more if you were a certified welder than if you solely designed Access databases. Around here, large businesses are simply not doing serious Access development. There are still small to mid-size businesses that rely on Access, and they will provide the bulk of Access-related jobs in the coming years, but even they will dwindle over time as newer tools gain market saturation. So, fellow AccessD posters, I would gently suggest that we all take a serious look now at alternatives that will provide a better source of income in the future. We must start developing competence in new areas, because opportunities in Access will likely dry up in the next couple of years. Its no fun seeing the skill set that you have worked on for so many years be thrown away so casually, but that is simply a harsh fact of life when you depend for your livelihood on a company whose market imperitives demand obsoleting the current code base in order to sell the next. -Ken >> There is no service pack or quick fix being planned as far >> as I know because of the amount of work it would entail. >> If you stop to think about it, it's pretty hard to see how >> accomodating new Yukon features like CLR assemblies and >> complex data types in the ADP designers could be achieved >> without a complete rewrite. >> --Mary Chipman From dwaters at usinternet.com Thu Sep 23 15:34:45 2004 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 23 Sep 2004 15:34:45 -0500 Subject: [AccessD] ADPs in the future In-Reply-To: <28499797.1095971093054.JavaMail.root@sniper9.usinternet.com> Message-ID: <002201c4a1ac$c41e6670$de1811d8@danwaters> Ken, Let's not sink the ship just yet. A new version of Access (12) will soon begin to be discussed. Let's see what it is first. OTOH, the skills that I know I've developed will let learn whatever I need to learn to make my future work! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ken Ismert Sent: Thursday, September 23, 2004 3:07 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future > So now's perhaps the time for alternatives ... >/gustav Hear, Hear. This is yet more evidence that Access is dead. Despite its unique advantages, Access is increasingly obsolescent in the current Microsoft vision of .NET, SQL Server, web-centric, and distributed computing. More evidence of this comes from recent reports of a precipitous drop in Access consulting rates in our local area. How low? Let's just say you could earn more if you were a certified welder than if you solely designed Access databases. Around here, large businesses are simply not doing serious Access development. There are still small to mid-size businesses that rely on Access, and they will provide the bulk of Access-related jobs in the coming years, but even they will dwindle over time as newer tools gain market saturation. So, fellow AccessD posters, I would gently suggest that we all take a serious look now at alternatives that will provide a better source of income in the future. We must start developing competence in new areas, because opportunities in Access will likely dry up in the next couple of years. Its no fun seeing the skill set that you have worked on for so many years be thrown away so casually, but that is simply a harsh fact of life when you depend for your livelihood on a company whose market imperitives demand obsoleting the current code base in order to sell the next. -Ken >> There is no service pack or quick fix being planned as far >> as I know because of the amount of work it would entail. >> If you stop to think about it, it's pretty hard to see how >> accomodating new Yukon features like CLR assemblies and >> complex data types in the ADP designers could be achieved >> without a complete rewrite. >> --Mary Chipman -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Sep 23 16:25:55 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 23 Sep 2004 14:25:55 -0700 Subject: [AccessD] One hardware solution to MS buffer overflow security problems References: <002201c4a1ac$c41e6670$de1811d8@danwaters> Message-ID: <41533F63.9070204@shaw.ca> This solution is to use Win XP SP2 and brand new Intel chips with Execute Disable bit set Right now it is only available in Intel Itanium Servers and AMD Athalon 64 bit servers. http://www.intel.com/business/bss/infrastructure/security/xdbit.htm What it does, is set apart pages of memory to be data only, so code cannot be executed from it. http://www.intel.com/business/bss/infrastructure/security/flash.htm -- Marty Connelly Victoria, B.C. Canada From jwcolby at colbyconsulting.com Thu Sep 23 19:03:21 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 23 Sep 2004 20:03:21 -0400 Subject: [AccessD] One hardware solution to MS buffer overflow securityproblems In-Reply-To: <41533F63.9070204@shaw.ca> Message-ID: <002501c4a1c9$e86ea400$e8dafea9@ColbyM6805> >and brand new Intel chips with Execute Disable bit set Uhh... AMD might not like you calling THEIR technology "Intel chips". AMD invented the concept (or at least was first to market with it) in the Athlon 64 processor family. Intel promptly copied it. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Thursday, September 23, 2004 5:26 PM To: Access Developers discussion and problem solving Subject: [AccessD] One hardware solution to MS buffer overflow securityproblems This solution is to use Win XP SP2 and brand new Intel chips with Execute Disable bit set Right now it is only available in Intel Itanium Servers and AMD Athalon 64 bit servers. http://www.intel.com/business/bss/infrastructure/security/xdbit.htm What it does, is set apart pages of memory to be data only, so code cannot be executed from it. http://www.intel.com/business/bss/infrastructure/security/flash.htm -- Marty Connelly Victoria, B.C. Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From listmaster at databaseadvisors.com Thu Sep 23 20:27:48 2004 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Thu, 23 Sep 2004 21:27:48 -0400 Subject: [AccessD] Administrivia - ADMIN Server Troubles Message-ID: <41533FD4.8127.698BF2@localhost> The mail server that is running DBA's mailing lists is in the midst of an identity crisis. It doesn't want to act like a mial server, which is why some mail is taking hours and days to deliver, as some of you have noticed recently. So I will need to take the server off-line this weekend. The server will be going off-line at around 9pm EDT (UTC +0400). I can't say for sure when it will be back on-line, but it will be before Monday Morning (UTC+0400) (Late morning for those of you in Europe and the UK) Hopefully this will resolve the problems and thanks for your patience while we work through this. From actebs at actebs.com.au Fri Sep 24 02:13:14 2004 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 24 Sep 2004 17:13:14 +1000 Subject: [AccessD] Elegant Solution? Message-ID: <2025BB6F17FCB54791F23CD505583328041BB3@starfleet.unknown.local> Hi Everyone, Does anyone have any code or such that handles the following elegantly: Dim dbs as DAO.Database Dim rst as DAO.Recordset Set dbs etc etc Do whatever here dbs.close dbs = nothing etc etc I am tired of having do the above to open database connections and recordsets in the above manner in every Sub or Function. Surely there's a more elegant method that someone has come up with here you just parse the SQL Statement through or something... Any suggestions or links will be greatly appreciated... Regards Vlad From Erwin.Craps at ithelps.be Fri Sep 24 02:57:25 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Fri, 24 Sep 2004 09:57:25 +0200 Subject: [AccessD] Elegant Solution? Message-ID: <46B976F2B698FF46A4FE7636509B22DF0ADC10@stekelbes.ithelps.local> I never do dbs as DAO.Database I always do Set rstTemp as currentdb.openrecordset (bla bla) Dbs can be replaced by currentdb Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS Sent: Friday, September 24, 2004 9:13 AM To: access group Subject: [AccessD] Elegant Solution? Hi Everyone, Does anyone have any code or such that handles the following elegantly: Dim dbs as DAO.Database Dim rst as DAO.Recordset Set dbs etc etc Do whatever here dbs.close dbs = nothing etc etc I am tired of having do the above to open database connections and recordsets in the above manner in every Sub or Function. Surely there's a more elegant method that someone has come up with here you just parse the SQL Statement through or something... Any suggestions or links will be greatly appreciated... Regards Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Sep 24 05:14:50 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 24 Sep 2004 12:14:50 +0200 Subject: [AccessD] Elegant Solution? In-Reply-To: <2025BB6F17FCB54791F23CD505583328041BB3@starfleet.unknown.local> References: <2025BB6F17FCB54791F23CD505583328041BB3@starfleet.unknown.local> Message-ID: <8011754091.20040924121450@cactus.dk> Hi Vlad I use copy-and-paste ... In 2000 I brought up the idea of "terminating" any object before exiting a function. Shamil suggested this solution: I think you can write the following sub which slightly extends Gustav's idea: Sub TerminateExt(ParamArray aobj() As Variant) On Error GoTo TerminateExt_Err Dim lngIdx As Long If UBound(aobj) > -1 Then For lngIdx = 0 To UBound(aobj) aobj(lngIdx).Close Set aobj(lngIdx) = Nothing Next lngIdx End If TerminateExt_Exit: Exit Sub TerminateExt_Err: Select Case Err Case 91 ' Object obj doesn't exist. Case 438 ' Object obj doesn't support method close. Case 3420 ' Object obj has already been closed. Case Else ' Unknown error. MsgBox "Error " & Err & ". " & Err.Description, _ vbExclamation, _ "Error terminating object (ParamarrayIndex = " & lngIdx & ", " & _ "TypeName = " & TypeName(aobj(lngIdx)) & ")" End Select Resume Next End Sub and use it in your case this way: TerminateExt MyObject2, MyObject1, rst,db HTHAWOK, Shamil --- But I must admit I've never used it ... /gustav > Does anyone have any code or such that handles the following elegantly: > Dim dbs as DAO.Database > Dim rst as DAO.Recordset > Set dbs etc etc > Do whatever here > dbs.close > dbs = nothing etc etc > I am tired of having do the above to open database connections and > recordsets in the above manner in every Sub or Function. Surely there's > a more elegant method that someone has come up with here you just parse > the SQL Statement through or something... > Any suggestions or links will be greatly appreciated... > Regards > Vlad From accma at sympatico.ca Fri Sep 24 06:08:28 2004 From: accma at sympatico.ca (Annie Courchesne, CMA) Date: Fri, 24 Sep 2004 07:08:28 -0400 Subject: [AccessD] Delete record via query with another query Message-ID: Hi group, Here my problem. I want to be able to delete record from a table using the result of a query. Is that possible? I was able to do it running code and a recordset... but, to increase the speed, I would like to so it with a query. Thanks for any info you may have. Annie Courchesne, CMA From bheid at appdevgrp.com Fri Sep 24 06:18:42 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 24 Sep 2004 07:18:42 -0400 Subject: [AccessD] Elegant Solution? In-Reply-To: <916187228923D311A6FE00A0CC3FAA309A6D45@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB87B@ADGSERVER> I thought using currentdb everywhere used extra resources and was a no-no. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Friday, September 24, 2004 3:57 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Elegant Solution? I never do dbs as DAO.Database I always do Set rstTemp as currentdb.openrecordset (bla bla) Dbs can be replaced by currentdb Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS Sent: Friday, September 24, 2004 9:13 AM To: access group Subject: [AccessD] Elegant Solution? Hi Everyone, Does anyone have any code or such that handles the following elegantly: Dim dbs as DAO.Database Dim rst as DAO.Recordset Set dbs etc etc Do whatever here dbs.close dbs = nothing etc etc I am tired of having do the above to open database connections and recordsets in the above manner in every Sub or Function. Surely there's a more elegant method that someone has come up with here you just parse the SQL Statement through or something... Any suggestions or links will be greatly appreciated... Regards Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Sep 24 06:43:44 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 24 Sep 2004 13:43:44 +0200 Subject: [AccessD] Delete record via query with another query In-Reply-To: References: Message-ID: <3917081521.20040924134344@cactus.dk> Hi Annie Yes, you can do something like Delete * From sometable Where ID In (Select SomeID From anothertable Where ...) /gustav > Here my problem. I want to be able to delete record from a table using the > result of a query. Is that possible? I was able to do it running code and > a recordset... but, to increase the speed, I would like to so it with a > query. From DWUTKA at marlow.com Fri Sep 24 07:11:36 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 24 Sep 2004 07:11:36 -0500 Subject: [AccessD] Elegant Solution? Message-ID: <123701F54509D9119A4F00D0B747349016CF8E@main2.marlow.com> Put the code in a module, and send the recordset through as an agrument ByRef. Drew -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, September 24, 2004 2:13 AM To: access group Subject: [AccessD] Elegant Solution? Hi Everyone, Does anyone have any code or such that handles the following elegantly: Dim dbs as DAO.Database Dim rst as DAO.Recordset Set dbs etc etc Do whatever here dbs.close dbs = nothing etc etc I am tired of having do the above to open database connections and recordsets in the above manner in every Sub or Function. Surely there's a more elegant method that someone has come up with here you just parse the SQL Statement through or something... Any suggestions or links will be greatly appreciated... Regards Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Sep 24 07:13:05 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 24 Sep 2004 07:13:05 -0500 Subject: [AccessD] Delete record via query with another query Message-ID: <123701F54509D9119A4F00D0B747349016CF8F@main2.marlow.com> what is the query you want to delete from? Drew -----Original Message----- From: Annie Courchesne, CMA [mailto:accma at sympatico.ca] Sent: Friday, September 24, 2004 6:08 AM To: Accessd Subject: [AccessD] Delete record via query with another query Hi group, Here my problem. I want to be able to delete record from a table using the result of a query. Is that possible? I was able to do it running code and a recordset... but, to increase the speed, I would like to so it with a query. Thanks for any info you may have. Annie Courchesne, CMA -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Fri Sep 24 07:37:48 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Fri, 24 Sep 2004 08:37:48 -0400 Subject: [AccessD] Elegant Solution? In-Reply-To: <123701F54509D9119A4F00D0B747349016CF8E@main2.marlow.com> Message-ID: <001701c4a233$4d121900$0200a8c0@COA3> I *think* he means the opposite ... That is, he needs to set up a function that takes in the SQL statement and returns an RS. Steve Public function ReturnRS (stSQL as string) as DAO.recordset ' not debating these specifics: ' Could use: ' Set ReturnRS= currentdb.openrecordset(stSQL,dbopensnapshot) End function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, September 24, 2004 8:12 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Elegant Solution? Put the code in a module, and send the recordset through as an agrument ByRef. Drew -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, September 24, 2004 2:13 AM To: access group Subject: [AccessD] Elegant Solution? Hi Everyone, Does anyone have any code or such that handles the following elegantly: Dim dbs as DAO.Database Dim rst as DAO.Recordset Set dbs etc etc Do whatever here dbs.close dbs = nothing etc etc I am tired of having do the above to open database connections and recordsets in the above manner in every Sub or Function. Surely there's a more elegant method that someone has come up with here you just parse the SQL Statement through or something... Any suggestions or links will be greatly appreciated... Regards Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Fri Sep 24 07:45:55 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 24 Sep 2004 08:45:55 -0400 Subject: [AccessD] Advisor.com Message-ID: <08F823FD83787D4BA0B99CA580AD3C74089C45@TTNEXCHCL2.hshhp.com> Is anyone going to the Advisor.com event in Las Vegas next week? Jim DeMarco Director Application Development Hudson Health Plan *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Erwin.Craps at ithelps.be Fri Sep 24 08:14:52 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Fri, 24 Sep 2004 15:14:52 +0200 Subject: [AccessD] Elegant Solution? Message-ID: <46B976F2B698FF46A4FE7636509B22DF0ADC1E@stekelbes.ithelps.local> Well I have no idea. I started using currentdb when there was this issue with workspace or somthing when they started to use jet as an windows OS database to. I can't recal anything I read that disencourages use of currentdb in a DAO environment. Maybe this used to be an issue with an older version of Access... Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Friday, September 24, 2004 1:19 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Elegant Solution? I thought using currentdb everywhere used extra resources and was a no-no. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Friday, September 24, 2004 3:57 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Elegant Solution? I never do dbs as DAO.Database I always do Set rstTemp as currentdb.openrecordset (bla bla) Dbs can be replaced by currentdb Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS Sent: Friday, September 24, 2004 9:13 AM To: access group Subject: [AccessD] Elegant Solution? Hi Everyone, Does anyone have any code or such that handles the following elegantly: Dim dbs as DAO.Database Dim rst as DAO.Recordset Set dbs etc etc Do whatever here dbs.close dbs = nothing etc etc I am tired of having do the above to open database connections and recordsets in the above manner in every Sub or Function. Surely there's a more elegant method that someone has come up with here you just parse the SQL Statement through or something... Any suggestions or links will be greatly appreciated... Regards Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Sep 24 08:29:47 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 24 Sep 2004 08:29:47 -0500 Subject: [AccessD] Elegant Solution? Message-ID: <123701F54509D9119A4F00D0B747349016CF91@main2.marlow.com> I was implying the sql statement: Function OpenRS(ByRef rs AS DAO.Recordset, ByVal strSQL as String) End Function Works either way..... Drew -----Original Message----- From: Steve Conklin (Developer at UltraDNT) [mailto:Developer at ultradnt.com] Sent: Friday, September 24, 2004 7:38 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Elegant Solution? I *think* he means the opposite ... That is, he needs to set up a function that takes in the SQL statement and returns an RS. Steve Public function ReturnRS (stSQL as string) as DAO.recordset ' not debating these specifics: ' Could use: ' Set ReturnRS= currentdb.openrecordset(stSQL,dbopensnapshot) End function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, September 24, 2004 8:12 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Elegant Solution? Put the code in a module, and send the recordset through as an agrument ByRef. Drew -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, September 24, 2004 2:13 AM To: access group Subject: [AccessD] Elegant Solution? Hi Everyone, Does anyone have any code or such that handles the following elegantly: Dim dbs as DAO.Database Dim rst as DAO.Recordset Set dbs etc etc Do whatever here dbs.close dbs = nothing etc etc I am tired of having do the above to open database connections and recordsets in the above manner in every Sub or Function. Surely there's a more elegant method that someone has come up with here you just parse the SQL Statement through or something... Any suggestions or links will be greatly appreciated... Regards Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Sep 24 08:43:21 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 24 Sep 2004 09:43:21 -0400 Subject: [AccessD] Windows XP - Access closes unexpectedly In-Reply-To: <6.1.2.0.0.20040924063106.01a4c870@mail.dalyn.co.nz> Message-ID: <003301c4a23c$78971040$e8dafea9@ColbyM6805> Scary stuff eh? A shortcut causes a program to crash. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Thursday, September 23, 2004 2:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Windows XP - Access closes unexpectedly John, Does it happen during a specific part of the programme? I had a situation where every time I tried to import an excel spreadsheet Access would come up with "Unexpected Error", then close down. Eventually it was tracked down to the shortcut being used to open the programme (a virtually identical copy of the FE was opening fine. When we changed its shortcut to the problem FE then the problem went away. When we tried opening the good FE with the corrupt shortcut the good FE started crashing. Our solution was to delete the bad shortcut and make a copy of the good shortcut. Never found out why the shortcut should have caused the problem.) Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Churton Park Wellington, New Zealand Ph/Fax (04) 478-7456 Mobile 027-280-9348 At 24/09/2004, you wrote: >The application, security, and system logs. They would be somewhere >under administrative tools (or maybe under the Manage Computer add-in). >Under Win2K, it is under Programs\Administrative Tools\Event Viewer. > >I'll look at home to see where it is in XP. > >Bobby > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John >Sent: Thursday, September 23, 2004 1:16 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Windows XP - Access closes unexpectedly > > >what event logs? > >John W. Colby >The DIS Database Guy > > >-----Original Message----- >From: Bobby Heid [mailto:bheid at appdevgrp.com] >Sent: Thursday, September 23, 2004 12:58 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Windows XP - Access closes unexpectedly > > >Haven't heard of that one. Is there anything in the event logs? > >Bobby > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John >Sent: Thursday, September 23, 2004 12:11 PM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Windows XP - Access closes unexpectedly > > >Have any of you seen Access close unexpectedly on Windows XP machines? >My client has a mix of Win98 / Win2K and WinXP machines. EVERY machine >with WinXP is reporting the app just shutting down, no warning, no >nothing. NONE of the non-XP machines reports this. > >http://support.microsoft.com/default.aspx?kbid=320299 > >reports this problem, but with an error message. My client DOES have >some sort of network issues, all the machines (users) have, at one time >or another reported the old "disk or network error" meaning they lost >connection to the server briefly. In Windows98/2k you just continue >on. It would seem that in Windows XP the OS itself will terminate >Access when this happens. A tad RUDE don't you think? > >Anyone else seeing this? > >John W. Colby >The DIS Database Guy -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Sep 24 09:06:06 2004 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 24 Sep 2004 09:06:06 -0500 Subject: [AccessD] Elegant Solution? In-Reply-To: <25088583.1096024872899.JavaMail.root@sniper8.usinternet.com> Message-ID: <000401c4a23f$a2a99a80$de1811d8@danwaters> Using CurrentDB everywhere is slower. I use: Set rst = DBEngine(0)(0).OpenRecordset(stg,db.....) I did a test once and determined that using the above line is exactly 8 times faster than using: Set rst = CurrentDB.OpenRecordset(stg,db.....) However, you must use CurrentDB for some things, like setting the current database's properties in VBA. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Friday, September 24, 2004 6:19 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Elegant Solution? I thought using currentdb everywhere used extra resources and was a no-no. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Friday, September 24, 2004 3:57 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Elegant Solution? I never do dbs as DAO.Database I always do Set rstTemp as currentdb.openrecordset (bla bla) Dbs can be replaced by currentdb Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS Sent: Friday, September 24, 2004 9:13 AM To: access group Subject: [AccessD] Elegant Solution? Hi Everyone, Does anyone have any code or such that handles the following elegantly: Dim dbs as DAO.Database Dim rst as DAO.Recordset Set dbs etc etc Do whatever here dbs.close dbs = nothing etc etc I am tired of having do the above to open database connections and recordsets in the above manner in every Sub or Function. Surely there's a more elegant method that someone has come up with here you just parse the SQL Statement through or something... Any suggestions or links will be greatly appreciated... Regards Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Sep 24 09:09:20 2004 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 24 Sep 2004 09:09:20 -0500 Subject: [AccessD] Windows XP - Access closes unexpectedly In-Reply-To: <17711956.1096033933928.JavaMail.root@sniper6.usinternet.com> Message-ID: <000501c4a240$1691b130$de1811d8@danwaters> I've also seen, only once, a shortcut that was apparently corrupt. Deleting it and replacing it with a new one solved the problem. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday, September 24, 2004 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Windows XP - Access closes unexpectedly Scary stuff eh? A shortcut causes a program to crash. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Thursday, September 23, 2004 2:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Windows XP - Access closes unexpectedly John, Does it happen during a specific part of the programme? I had a situation where every time I tried to import an excel spreadsheet Access would come up with "Unexpected Error", then close down. Eventually it was tracked down to the shortcut being used to open the programme (a virtually identical copy of the FE was opening fine. When we changed its shortcut to the problem FE then the problem went away. When we tried opening the good FE with the corrupt shortcut the good FE started crashing. Our solution was to delete the bad shortcut and make a copy of the good shortcut. Never found out why the shortcut should have caused the problem.) Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Churton Park Wellington, New Zealand Ph/Fax (04) 478-7456 Mobile 027-280-9348 At 24/09/2004, you wrote: >The application, security, and system logs. They would be somewhere >under administrative tools (or maybe under the Manage Computer add-in). >Under Win2K, it is under Programs\Administrative Tools\Event Viewer. > >I'll look at home to see where it is in XP. > >Bobby > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John >Sent: Thursday, September 23, 2004 1:16 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Windows XP - Access closes unexpectedly > > >what event logs? > >John W. Colby >The DIS Database Guy > > >-----Original Message----- >From: Bobby Heid [mailto:bheid at appdevgrp.com] >Sent: Thursday, September 23, 2004 12:58 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Windows XP - Access closes unexpectedly > > >Haven't heard of that one. Is there anything in the event logs? > >Bobby > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John >Sent: Thursday, September 23, 2004 12:11 PM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Windows XP - Access closes unexpectedly > > >Have any of you seen Access close unexpectedly on Windows XP machines? >My client has a mix of Win98 / Win2K and WinXP machines. EVERY machine >with WinXP is reporting the app just shutting down, no warning, no >nothing. NONE of the non-XP machines reports this. > >http://support.microsoft.com/default.aspx?kbid=320299 > >reports this problem, but with an error message. My client DOES have >some sort of network issues, all the machines (users) have, at one time >or another reported the old "disk or network error" meaning they lost >connection to the server briefly. In Windows98/2k you just continue >on. It would seem that in Windows XP the OS itself will terminate >Access when this happens. A tad RUDE don't you think? > >Anyone else seeing this? > >John W. Colby >The DIS Database Guy -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Sep 24 09:44:52 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 24 Sep 2004 16:44:52 +0200 Subject: [AccessD] Elegant Solution? In-Reply-To: <000401c4a23f$a2a99a80$de1811d8@danwaters> References: <000401c4a23f$a2a99a80$de1811d8@danwaters> Message-ID: <6127950330.20040924164452@cactus.dk> Hi Dan > However, you must use CurrentDB for some things, like setting the current > database's properties in VBA. Njah, you just need to do a DBEngine(0).Properties.Refresh Same thing for other collections if you manipulate these. /gustav From bchacc at san.rr.com Fri Sep 24 11:13:46 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 24 Sep 2004 09:13:46 -0700 Subject: [AccessD] Very Strange Problem with Access Message-ID: <00ee01c4a251$784958e0$6601a8c0@HAL9002> Dear List: Sorry for the undescriptive subject but I don't know how else to say it. Client is at a remote site running an app I created for them. App is created in Access 2000. It's running on Access 2002. In this app, which tracks assets, the hierarchy is Cluster, Buildings within Cluster, Rooms within Buildings. There is a query qryBuildingByCluster that is the row source of a combo box on frmRoom. The uses Forms!frmRoom!txtClusterID as a parameter and the combo box is requeried every time a room record is displayed so that the combo box will display only buildings in the selected cluster. All's well and good. It runs fine on every box its ever been on. But on this one box, when the user exits from frmRoom and the Main Menu is displayed, they get an "Enter Parameter" box prompting for Forms!frmRoom!txtClusterID as if the combo box is being requeried. But at this point the form frmRoom is closed. I've stepped through the code and the parameter prompt appears AFTER the .Close. qryBuildingByCluster is only used in one place in the system - as the row source of the Building combo box in frmRoom. We checked references and they're identical to the client's laptop on which the program runs fine - can't duplicate the error. Has anyone ever seen this behavior before? MTIA Rocky Smolin Beach Access Software http://www.e-z-mrp.com From kaupca at chevrontexaco.com Fri Sep 24 11:16:39 2004 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Fri, 24 Sep 2004 11:16:39 -0500 Subject: [AccessD] Query gives invalid operation error Message-ID: <1375769556091B4DAABC159F944CA1BB07A1EC@bocnte2k4.boc.chevrontexaco.net> The following query gives an invalid operation error. Each of the queries it is based on runs fine. Any ideas? SELECT [qry Ft Stockton Other Fields Gas].ACTVDATE, [qry Ft Stockton Other Fields Gas]![SumOfVOLUME_SS]+[qry Gomez Field Gas]![SumOfVOLUME_SS]+[qry Halley Field Gas]![SumOfVOLUME_SS]+[qry Waha Field Gas]![SumOfVOLUME_SS]+[qry Warwink Field Gas]![SumOfVOLUME_SS]+[qry Sandhills Gas]![SumOfVOLUME_SS] AS MCFPD, [qry Ft Stockton Other Fields Gas]![NWI Gas]+[qry Gomez Field Gas]![SumOfVOLUME_SS]+[qry Halley Field Gas]![SumOfVOLUME_SS]+[qry Waha Field Gas]![SumOfVOLUME_SS]+[qry Warwink Field Gas]![SumOfVOLUME_SS]+[qry Sandhills Gas]![NWI Gas] AS [NWI MCFPD] FROM [qry Sandhills Gas] INNER JOIN ([qry Gomez Field Gas] INNER JOIN ((([qry Ft Stockton Other Fields Gas] INNER JOIN [qry Halley Field Gas] ON [qry Ft Stockton Other Fields Gas].ACTVDATE = [qry Halley Field Gas].ACTVDATE) INNER JOIN [qry Waha Field Gas] ON [qry Ft Stockton Other Fields Gas].ACTVDATE = [qry Waha Field Gas].ACTVDATE) INNER JOIN [qry Warwink Field Gas] ON [qry Ft Stockton Other Fields Gas].ACTVDATE = [qry Warwink Field Gas].ACTVDATE) ON [qry Gomez Field Gas].ACTVDATE = [qry Ft Stockton Other Fields Gas].ACTVDATE) ON [qry Sandhills Gas].ACTVDATE = [qry Ft Stockton Other Fields Gas].ACTVDATE; Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7414 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From gustav at cactus.dk Fri Sep 24 11:28:46 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 24 Sep 2004 18:28:46 +0200 Subject: [AccessD] Very Strange Problem with Access In-Reply-To: <00ee01c4a251$784958e0$6601a8c0@HAL9002> References: <00ee01c4a251$784958e0$6601a8c0@HAL9002> Message-ID: <1972507185.20040924182846@cactus.dk> Hi Rocky Check - or just go ahead and update/reinstall - the MDAC. /gustav > It runs fine on every box its ever been on. But on this one box, when the user exits from frmRoom and the Main Menu is displayed, they get an "Enter Parameter" box prompting for > Forms!frmRoom!txtClusterID as if the combo box is being requeried. But at this point the form frmRoom is closed. I've stepped through the code and the parameter prompt appears AFTER the .Close. > qryBuildingByCluster is only used in one place in the system - as the row source of the Building combo box in frmRoom. We checked references and they're identical to the client's laptop on which > the program runs fine - can't duplicate the error. From gustav at cactus.dk Fri Sep 24 11:37:56 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 24 Sep 2004 18:37:56 +0200 Subject: [AccessD] Query gives invalid operation error In-Reply-To: <1375769556091B4DAABC159F944CA1BB07A1EC@bocnte2k4.boc.chevrontexaco.net> References: <1375769556091B4DAABC159F944CA1BB07A1EC@bocnte2k4.boc.chevrontexaco.net> Message-ID: <293057907.20040924183756@cactus.dk> Hi Chester Could it be these fields: [NWI Gas] All other you add seem to be Sums. Try wrapping it in Nz(): + Nz([NWI Gas], 0) /gustav > The following query gives an invalid operation error. Each of the > queries it is based on runs fine. Any ideas? > SELECT [qry Ft Stockton Other Fields Gas].ACTVDATE, [qry Ft Stockton > Other Fields Gas]![SumOfVOLUME_SS]+[qry Gomez Field > Gas]![SumOfVOLUME_SS]+[qry Halley Field Gas]![SumOfVOLUME_SS]+[qry Waha > Field Gas]![SumOfVOLUME_SS]+[qry Warwink Field > Gas]![SumOfVOLUME_SS]+[qry Sandhills Gas]![SumOfVOLUME_SS] AS MCFPD, > [qry Ft Stockton Other Fields Gas]![NWI Gas]+[qry Gomez Field > Gas]![SumOfVOLUME_SS]+[qry Halley Field Gas]![SumOfVOLUME_SS]+[qry Waha > Field Gas]![SumOfVOLUME_SS]+[qry Warwink Field > Gas]![SumOfVOLUME_SS]+[qry Sandhills Gas]![NWI Gas] AS [NWI MCFPD] > FROM [qry Sandhills Gas] INNER JOIN ([qry Gomez Field Gas] INNER JOIN > ((([qry Ft Stockton Other Fields Gas] INNER JOIN [qry Halley Field Gas] > ON [qry Ft Stockton Other Fields Gas].ACTVDATE = [qry Halley Field > Gas].ACTVDATE) INNER JOIN [qry Waha Field Gas] ON [qry Ft Stockton Other > Fields Gas].ACTVDATE = [qry Waha Field Gas].ACTVDATE) INNER JOIN [qry > Warwink Field Gas] ON [qry Ft Stockton Other Fields Gas].ACTVDATE = [qry > Warwink Field Gas].ACTVDATE) ON [qry Gomez Field Gas].ACTVDATE = [qry Ft > Stockton Other Fields Gas].ACTVDATE) ON [qry Sandhills Gas].ACTVDATE = > [qry Ft Stockton Other Fields Gas].ACTVDATE; From KIsmert at TexasSystems.com Fri Sep 24 12:02:02 2004 From: KIsmert at TexasSystems.com (Ken Ismert) Date: Fri, 24 Sep 2004 12:02:02 -0500 Subject: [AccessD] ADPs in the future In-Reply-To: <002201c4a1ac$c41e6670$de1811d8@danwaters> Message-ID: <002701c4a258$372bdde0$2a3ca8c0@TEXASSYSTEMS.COM> Dan, Unless the next version of Access is a completely .NET centric product, Windows forms on top, VB.NET or C# underneath, and is fully web enabled (in other words the complete rewrite Mary Chipman said they weren't going to do), it will have nothing of interest in it for me. A simple test: if the next version of Access doesn't natively support Microsoft's flagship database, SQL Server 2005, it has been abandoned. I would like to hear more responses regarding the current prospects of Access consulting. Nearly everyone I know locally is either having a tough time getting Access work, or is moving away from Access towards more profitable work. A consensus from this group that there is a burgeoning Access job market in the near future would do more than anything else to dispel my pessimism. And yes, the bright side of the story is that the fundamentals we learn here are applicable to any new data environment we may encounter. -Ken -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Thursday, September 23, 2004 3:35 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Ken, Let's not sink the ship just yet. A new version of Access (12) will soon begin to be discussed. Let's see what it is first. OTOH, the skills that I know I've developed will let learn whatever I need to learn to make my future work! Dan Waters From cyx5 at cdc.gov Fri Sep 24 12:07:54 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 24 Sep 2004 13:07:54 -0400 Subject: [AccessD] Limiting User Navigation to Forms Message-ID: I have about 50 users in 10 different departments. Based on the user network login id, I want to limit the users ability to open up various forms - for instance, someone in the QA department would receive a "you are not authorized to open this form" message box when they try to open up the AS departments data entry forms. I don't want to have to code in each form that needs limitations an on open event to evaluate the id's and let those authorized through. Has anyone built a table to hold network logins with passwords that are evaluated on form openings? Karen Nicholson National Laboratory Xerox Global Services From bchacc at san.rr.com Fri Sep 24 12:21:03 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 24 Sep 2004 10:21:03 -0700 Subject: [AccessD] Very Strange Problem with Access References: <00ee01c4a251$784958e0$6601a8c0@HAL9002> <1972507185.20040924182846@cactus.dk> Message-ID: <012d01c4a25a$deaf4000$6601a8c0@HAL9002> You know Gustav, that might be the problem. The user was talking about MDAC versions but I don't think that they can modify the user's machine in any event. It's a military installation. But I disabled the problem. I tracked it down to any use of that combo box. If the combo box wasn't accessed while the form was open, the form closed correctly. So right before the DoCmd.Close I had the user insert cboBuilding.RowSource = "" and the problem went away. I'll forward your idea to the user, though. Thanks again. Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Friday, September 24, 2004 9:28 AM Subject: Re: [AccessD] Very Strange Problem with Access > Hi Rocky > > Check - or just go ahead and update/reinstall - the MDAC. > > /gustav > > > > It runs fine on every box its ever been on. But on this one box, when the user exits from frmRoom and the Main Menu is displayed, they get an "Enter Parameter" box prompting for > > Forms!frmRoom!txtClusterID as if the combo box is being requeried. But at this point the form frmRoom is closed. I've stepped through the code and the parameter prompt appears AFTER the .Close. > > > qryBuildingByCluster is only used in one place in the system - as the row source of the Building combo box in frmRoom. We checked references and they're identical to the client's laptop on which > > the program runs fine - can't duplicate the error. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Fri Sep 24 12:34:41 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 24 Sep 2004 19:34:41 +0200 Subject: [AccessD] Very Strange Problem with Access In-Reply-To: <012d01c4a25a$deaf4000$6601a8c0@HAL9002> References: <00ee01c4a251$784958e0$6601a8c0@HAL9002> <1972507185.20040924182846@cactus.dk> <012d01c4a25a$deaf4000$6601a8c0@HAL9002> Message-ID: <336462412.20040924193441@cactus.dk> Hi Rocky Very clever! If you can't move the mountain, go to the mountain. Or here: If you can't move the mountain away, leave the mountain. /gustav > You know Gustav, that might be the problem. The user was talking about MDAC > versions but I don't think that they can modify the user's machine in any > event. It's a military installation. > But I disabled the problem. I tracked it down to any use of that combo box. > If the combo box wasn't accessed while the form was open, the form closed > correctly. So right before the DoCmd.Close I had the user insert > cboBuilding.RowSource = "" and the problem went away. > I'll forward your idea to the user, though. > Thanks again. > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > ----- Original Message ----- > From: "Gustav Brock" > To: "Access Developers discussion and problem solving" > > Sent: Friday, September 24, 2004 9:28 AM > Subject: Re: [AccessD] Very Strange Problem with Access >> Hi Rocky >> >> Check - or just go ahead and update/reinstall - the MDAC. >> >> /gustav >> >> >> > It runs fine on every box its ever been on. But on this one box, when >> > the user exits from frmRoom and the Main Menu is displayed, they get an >> > "Enter Parameter" box prompting for >> > Forms!frmRoom!txtClusterID as if the combo box is being requeried. But >> > at this point the form frmRoom is closed. I've stepped through the code and >> > the parameter prompt appears AFTER the .Close. >> >> > qryBuildingByCluster is only used in one place in the system - as the >> > row source of the Building combo box in frmRoom. We checked references and >> > they're identical to the client's laptop on which >> > the program runs fine - can't duplicate the error. From gustav at cactus.dk Fri Sep 24 12:55:34 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 24 Sep 2004 19:55:34 +0200 Subject: [AccessD] Limiting User Navigation to Forms In-Reply-To: References: Message-ID: <717715894.20040924195534@cactus.dk> Hi Karen Yes, sort of. In the OnOpen event of the form put: Cancel = IsUserAuthorized(Me.Name) Then create a function: Public Function IsUserAuthorized( _ ByVal strForm As String) As Boolean Const cstrMessage As String = _ "You are not authorized to open this form." Const cstrTitle As String = _ "Restricted Form" Dim lngAccessLevel As Long Dim booAccess As Boolean Select Case strForm Case "frmSome", "frmAnother" lngAccessLevel = 3 Case "frmThird" lngAccessLevel = 4 ' etc. ... End Select If GetUserAccessLevel() >= lngAccessLevel Then booAccess = True Else DoCmd.Beep MsgBox cstrMessage, vbInformation, cstrTitle End If IsUserAuthorized = booAccess End Function The function GetUserAccessLevel() retrieves the access level of the current user which you will have to define somewhere else. /gustav > I have about 50 users in 10 different departments. Based on the user > network login id, I want to limit the users ability to open up various > forms - for instance, someone in the QA department would receive a "you > are not authorized to open this form" message box when they try to open > up the AS departments data entry forms. I don't want to have to code in > each form that needs limitations an on open event to evaluate the id's > and let those authorized through. Has anyone built a table to hold > network logins with passwords that are evaluated on form openings? > Karen Nicholson > National Laboratory > Xerox Global Services From pedro at plex.nl Fri Sep 24 16:29:40 2004 From: pedro at plex.nl (Pedro Janssen) Date: Fri, 24 Sep 2004 23:29:40 +0200 Subject: [AccessD] date query Message-ID: <000c01c4a27d$9b424600$f9c581d5@pedro> Hello Group, i have a table [tblmeasure1] and important for the query are two fields: Date and Temperature. I am trying to get avg, min etc. etc from Temperature in certain date periods (Between #...# and #....#. But i keep running into errors. What is the right way to do this? Thanks Pedro Janssen Cytologist From martyconnelly at shaw.ca Fri Sep 24 17:03:40 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 24 Sep 2004 15:03:40 -0700 Subject: [AccessD] Limiting User Navigation to Forms References: Message-ID: <415499BC.9060809@shaw.ca> If you want to limit opening forms by department, I would have a backend table with userid and department Then before opening the form I would check the userid in the table against something like this code to verify against the machines network logon id If you could obtain the network logon password, you would break network security. Depending on the way your network security is setup you might be able to get the network id's group name. This code is a little longer that most posted on the net to obtain the network login id and is more robust. http://vbnet.mvps.org/index.html?code/network/netusergetinfo.htm http://vbnet.mvps.org/code/network/lookupaccountname.htm http://vbnet.mvps.org/index.html?code/network/netwkstagetinfousername.htm Nicholson, Karen wrote: >I have about 50 users in 10 different departments. Based on the user >network login id, I want to limit the users ability to open up various >forms - for instance, someone in the QA department would receive a "you >are not authorized to open this form" message box when they try to open >up the AS departments data entry forms. I don't want to have to code in >each form that needs limitations an on open event to evaluate the id's >and let those authorized through. Has anyone built a table to hold >network logins with passwords that are evaluated on form openings? > > > >Karen Nicholson >National Laboratory >Xerox Global Services > > > > -- Marty Connelly Victoria, B.C. Canada From stuart at lexacorp.com.pg Fri Sep 24 17:51:55 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 25 Sep 2004 08:51:55 +1000 Subject: [AccessD] Query gives invalid operation error In-Reply-To: <1375769556091B4DAABC159F944CA1BB07A1EC@bocnte2k4.boc.chevrontexaco.net> Message-ID: <415531AB.18385.9682C6E@lexacorp.com.pg> On 24 Sep 2004 at 11:16, Kaup, Chester A wrote: > FROM [qry Sandhills Gas] INNER JOIN ([qry Gomez Field Gas] INNER JOIN > ((([qry Ft Stockton Other Fields Gas] INNER JOIN What are these INNER JOINs on? You haven't specified. -- Stuart From KIsmert at TexasSystems.com Fri Sep 24 18:41:02 2004 From: KIsmert at TexasSystems.com (Ken Ismert) Date: Fri, 24 Sep 2004 18:41:02 -0500 Subject: [AccessD] Elegant Solution? In-Reply-To: <2025BB6F17FCB54791F23CD505583328041BB3@starfleet.unknown.local> Message-ID: <002f01c4a28f$f45e4ba0$2a3ca8c0@TEXASSYSTEMS.COM> Vlad, If you're interested, I have developed a class called clsDAOLib that wraps the most common DAO functions. It handles setting up and shutting down the workspace and database automatically for you. It handles parameter queries, and running groups of queries in a transaction. It has full error handling. You can use it as a standalone global object, or locally within another class or subroutine. It isn't fancy, but it is mature, well-tested code that I have had around for years, and have used in Access 2000, Excel and Project. Code samples: * Open a recordset from a query: Set rsTree = gDAO.OpenQueryDef("qryFrmProjBOMTree") * Open a recordset from a parameter query: gDAO.AddQryParm "PMStatusID", lPMStatusID gDAO.AddQryParm "BOMID", lBOMID Set rRs = gDAO.OpenQueryDef("qryBOMPMStatus", dbOpenForwardOnly) * Execute a parameter query and return the records affected: gDAO.AddQryParm "PMReleaseDate", dtPMReleaseDate lCt = gDAO.ExecuteQueryDef("qryBOMPMRelease", dbFailOnError + dbSeeChanges) * Open a recordset from a SQL string: Set rRs = gDAO.OpenSQL(sSQL, dbOpenForwardOnly) * Execute a SQL string: gDAO.ExecuteSQL sSQL, dbFailOnError + dbSeeChanges * Execute a batch of SQL statements within a transaction: With gDAO .AddSQL sSQLCommoditySaveDeletedPart .AddSQL sSQLCommodityPartDelete .AddSQL sSQLRuntimeSaveDeleted .AddSQL sSQLRuntimeDelete .ExecuteSQLBatch Options:=dbFailOnError + dbSeeChanges End With If anyone is interested, please email me offline for the code, and short instructions on use. -Ken -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Friday, September 24, 2004 2:13 AM To: access group Subject: [AccessD] Elegant Solution? Hi Everyone, Does anyone have any code or such that handles the following elegantly: Dim dbs as DAO.Database Dim rst as DAO.Recordset Set dbs etc etc Do whatever here dbs.close dbs = nothing etc etc I am tired of having do the above to open database connections and recordsets in the above manner in every Sub or Function. Surely there's a more elegant method that someone has come up with here you just parse the SQL Statement through or something... Any suggestions or links will be greatly appreciated... Regards Vlad From mikedorism at adelphia.net Fri Sep 24 21:34:00 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Fri, 24 Sep 2004 22:34:00 -0400 Subject: [AccessD] date query In-Reply-To: <000c01c4a27d$9b424600$f9c581d5@pedro> Message-ID: <000001c4a2a8$1d8f1be0$060aa845@hargrove.internal> Your first problem is probably the use of "Date" as a variable when it is a Reserved word. The syntax you are looking for is something like this... SELECT Avg(Temperature) AS AvgTemp FROM tblMeasure1 WHERE [Date] BETWEEN #...# AND #...# Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: Friday, September 24, 2004 5:30 PM To: AccessD at databaseadvisors.com Subject: [AccessD] date query Hello Group, i have a table [tblmeasure1] and important for the query are two fields: Date and Temperature. I am trying to get avg, min etc. etc from Temperature in certain date periods (Between #...# and #....#. But i keep running into errors. What is the right way to do this? Thanks Pedro Janssen Cytologist -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Sep 25 02:15:22 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 25 Sep 2004 09:15:22 +0200 Subject: [AccessD] date query In-Reply-To: <000c01c4a27d$9b424600$f9c581d5@pedro> References: <000c01c4a27d$9b424600$f9c581d5@pedro> Message-ID: <691989590.20040925091522@cactus.dk> Hi Pedro > i have a table [tblmeasure1] and important for the query are two > fields: Date and Temperature. > I am trying to get avg, min etc. etc from Temperature in certain > date periods (Between #...# and #....#. But i keep running into > errors. What is the right way to do this? This is the way. So why not show us your query? /gustav From listmaster at databaseadvisors.com Sat Sep 25 07:02:26 2004 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Sat, 25 Sep 2004 08:02:26 -0400 Subject: [AccessD] Testing Message-ID: <41552612.31413.1510D5@localhost> Testing 1, 2, 3 -- Bryan Carbonnell - listmaster at databaseadvisors.com Nobody can make you feel inferior without your permission. From listmaster at databaseadvisors.com Sat Sep 25 07:11:41 2004 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Sat, 25 Sep 2004 08:11:41 -0400 Subject: [AccessD] Administrivia - Server Back Up Message-ID: <4155283D.12253.1D8604@localhost> Well, the mailserver and list software is back up and running. Hopefully our problems are all cleared up now. If not, please let me know at either listmaster at databaseadvisors.com AND carbonnb at sympatico.ca That way if dba's server is not working, then I will still be able to look at it. Thanks for your understanding and patience. -- Bryan Carbonnell - listmaster at databaseadvisors.com There's a fine line between genius and insanity. I have erased this line. From andy at minstersystems.co.uk Sat Sep 25 08:44:34 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat, 25 Sep 2004 14:44:34 +0100 Subject: [AccessD] Administrivia - Server Back Up In-Reply-To: <4155283D.12253.1D8604@localhost> Message-ID: <000701c4a305$caa288f0$b274d0d5@minster33c3r25> A vote of thanks for Bryan's efforts. -- 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: 25 September 2004 13:12 > To: administrivia at databaseadvisors.com > Subject: [AccessD] Administrivia - Server Back Up > > > Well, the mailserver and list software is back up and running. > > Hopefully our problems are all cleared up now. If not, please let me > know at either listmaster at databaseadvisors.com AND > carbonnb at sympatico.ca > > That way if dba's server is not working, then I will still be able to > look at it. > > Thanks for your understanding and patience. > > -- > Bryan Carbonnell - listmaster at databaseadvisors.com > There's a fine line between genius and insanity. I have erased this > line. > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From jwcolby at colbyconsulting.com Sat Sep 25 08:55:46 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 25 Sep 2004 09:55:46 -0400 Subject: [AccessD] Administrivia - Server Back Up In-Reply-To: <000701c4a305$caa288f0$b274d0d5@minster33c3r25> Message-ID: <006d01c4a307$5e6f0850$e8dafea9@ColbyM6805> Hear Hear! John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Saturday, September 25, 2004 9:45 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Administrivia - Server Back Up A vote of thanks for Bryan's efforts. -- 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: 25 September 2004 13:12 > To: administrivia at databaseadvisors.com > Subject: [AccessD] Administrivia - Server Back Up > > > Well, the mailserver and list software is back up and running. > > Hopefully our problems are all cleared up now. If not, please let me > know at either listmaster at databaseadvisors.com AND > carbonnb at sympatico.ca > > That way if dba's server is not working, then I will still be able to > look at it. > > Thanks for your understanding and patience. > > -- > Bryan Carbonnell - listmaster at databaseadvisors.com > There's a fine line between genius and insanity. I have erased this > line. > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Sat Sep 25 09:12:56 2004 From: john at winhaven.net (John Bartow) Date: Sat, 25 Sep 2004 09:12:56 -0500 Subject: [AccessD] Administrivia - Server Back Up In-Reply-To: <4155283D.12253.1D8604@localhost> Message-ID: Three cheers and a HUGE pat on the back for Bryan! He did this maintenance work in his personal free time! 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 Bryan Carbonnell Sent: Saturday, September 25, 2004 7:12 AM To: administrivia at databaseadvisors.com Subject: [AccessD] Administrivia - Server Back Up Well, the mailserver and list software is back up and running. Hopefully our problems are all cleared up now. If not, please let me know at either listmaster at databaseadvisors.com AND carbonnb at sympatico.ca That way if dba's server is not working, then I will still be able to look at it. Thanks for your understanding and patience. -- Bryan Carbonnell - listmaster at databaseadvisors.com There's a fine line between genius and insanity. I have erased this line. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Paul at PStrauss.net Sat Sep 25 22:05:47 2004 From: Paul at PStrauss.net (Paul Strauss) Date: Sat, 25 Sep 2004 23:05:47 -0400 Subject: [AccessD] Elegant Solution? In-Reply-To: <002f01c4a28f$f45e4ba0$2a3ca8c0@TEXASSYSTEMS.COM> References: <2025BB6F17FCB54791F23CD505583328041BB3@starfleet.unknown.local> <002f01c4a28f$f45e4ba0$2a3ca8c0@TEXASSYSTEMS.COM> Message-ID: <6.1.2.0.2.20040925225505.021f3ab0@mail.pstrauss.net> At 9/24/2004 07:41 PM, you wrote: >Vlad, > >If you're interested, I have developed a class called clsDAOLib that wraps >the most common DAO functions. > >...snip... >If anyone is interested, please email me offline for the code, and short >instructions on use. Looks very interesting, very cool. I'd like to take a look. I also have a few goodies that I'll share with you if you want. I have one class that edits names and addresses to fix the proper capitalization and to change addresses into what the USPS likes to see, e.g. Avenue -> Ave. I've got a great function, that I didn't actually write that properly quotes string for use in SQL strings, e.g. it properly quotes 5'4". One I did write is a function to properly quote dates and times. These all have been testing and working for years. I've got a bunch of other random stuff that I use all the time. I've been doing Access for about 10 years now and one tends to accumulate these things. I'm also working on a class to do an audit trail of any changes to a row. This one may still have some bugs as I've just finished it and it still needs some testing, but it seems to be mostly working. If you want any of this stuff, I'll be glad to send them my "return mail". One thing I'd ask, if you could, but certainly not as a condition: I almost never have the opportunity for anyone to review and comment on my code, so I really don't know what is good, bad, or ugly. If you could comment on it, I love to hear your comments. Regards, Paul Strauss ---------- ? Web Site Design, Graphics, and Hosting (www.RationalHosting.net) ? MS Access Database Custom Applications ? Technical Support and Consulting 718-253-5535 / 917-975-1729 Paul at PStrauss.net From Paul at PStrauss.net Sat Sep 25 22:17:29 2004 From: Paul at PStrauss.net (Paul Strauss) Date: Sat, 25 Sep 2004 23:17:29 -0400 Subject: [AccessD] Limiting User Navigation to Forms In-Reply-To: References: Message-ID: <6.1.2.0.2.20040925231036.021daa00@mail.pstrauss.net> >I have about 50 users in 10 different departments. Based on the user >network login id, I want to limit the users ability to open up various >forms - for instance, someone in the QA department would receive a "you >are not authorized to open this form" message box when they try to open >up the AS departments data entry forms. I don't want to have to code in >each form that needs limitations an on open event to evaluate the id's >and let those authorized through. Has anyone built a table to hold >network logins with passwords that are evaluated on form openings? What I do in this situation is to not even show them the button to open the form. Why let them try to open the form, just to get a nany-nany-b00-boo message? Seriously, if you are trying to keep their mits off a form, the first line of defense is to not even let them know that there is something that they can't do. Showing them that there is something to do, but then blocking them, is bound to look like a challenge to some people. Even if they don't have anything sinister in mind, you still don't want them trying to break your security. Regards, Paul Strauss From william.thompson1 at att.net Sun Sep 26 00:16:38 2004 From: william.thompson1 at att.net (william.thompson1 at att.net) Date: Sun, 26 Sep 2004 05:16:38 +0000 Subject: [AccessD] Acc used to resolve SQL Svr Excel prb Message-ID: <092620040516.18377.415650B50009C02E000047C92160376021CE02019C9F0301089BD2030E0704040799@att.net> List, I have a question about refreshing files that, for various reasons, I'm reluctant to create a job to delete in order to replace the data in them. I'm thinking that Access will be the desired tool to replace/contain data used in a multi-sheet workbook, but am not clear on a few things about SQL Svr refreshes. (The workbook's format and sheets layout has to stay intact). One of the steps in a DTS package is used to run a sql statement against the worksheet - but the sql statement doesn't do anything in this case - it was simply set up to fit into the context of a series of DTS packages for purposes of destructively refreshing sheets within a set of Excel spreadsheets on a file share based on a customized set of strings in DTS. One package replaces the data in each worksheet. Am I correct to assume that within the context of sql server data transfers that 1.) An Excel spreadsheet is updateable but Not insert/deletable. 2.) While the driver is fairly recent, Excel data can be only be pulled by worksheet, not pushed. 3.) Because the requirement that four worksheets stay intact in each Workbook, the destructive refresh imposes a requirement that four Access tables must be used by a macro or some other auto process to reconstruct four worksheets. In my humble yet slightly uncertain opinion. I'm good to go on the Access app used as a container to push/ be pulled, but I'm wondering if I overlooked anything. Temp tables are not the favored method either, so this option would be a last resort. The data has to be somewhat 'linked' to the file that is generated each week. Any comments/suggestions appreciated. What would we do without Excel huh? Bill Thompson From gustav at cactus.dk Sun Sep 26 03:40:35 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 26 Sep 2004 10:40:35 +0200 Subject: [AccessD] Acc used to resolve SQL Svr Excel prb In-Reply-To: <092620040516.18377.415650B50009C02E000047C92160376021CE02019C9F0301089BD2030E0704040799@att.net> References: <092620040516.18377.415650B50009C02E000047C92160376021CE02019C9F0301089BD2030E0704040799@att.net> Message-ID: <1912137323.20040926104035@cactus.dk> Hi William > Am I correct to assume that within the context of sql server data transfers that > 1.) An Excel spreadsheet is updateable but Not insert/deletable. You can update and, if empty rows are present, add records. No deletes. However, you can write a simple erase function looping through the rows and the fields of these clearing these by setting the value to Null. Indeed, for an attached table (see next) this is very easy and fast. > 2.) While the driver is fairly recent, Excel data can be only be > pulled by worksheet, not pushed. Not quite sure what you mean. If you attach a worksheet or - the preferred method - a Named Range, you can read and write data in both Access and Excel. > 3.) Because the requirement that four worksheets stay intact in > each Workbook, the destructive refresh imposes a requirement that > four Access tables must be used by a macro or some other auto > process to reconstruct four worksheets. In my humble yet slightly > uncertain opinion. The fastest way to "refresh" a workbook is simply to delete it completely and create a new copy from a master which is never touched. Also, this ensures that your workbook never gets bloated or corrupted by multiple writings. If you need to keep the old data, just rename the workbook (and move it to an archive folder) instead of deleting it. > I'm good to go on the Access app used as a container to push/ be > pulled, but I'm wondering if I overlooked anything. Temp tables are > not the favored method either, so this option would be a last > resort. The data has to be somewhat 'linked' to the file that is > generated each week. Temp tables can be very useful. It is much faster to manipulate data in a temp Access/Jet table and - when ready - copy the data to the attached Excel tables. Just keep the temp tables in a separate file which you - as for the workbook - can replace by a new and empty copy of a master each week. /gustav From jmoss111 at bellsouth.net Sun Sep 26 04:20:12 2004 From: jmoss111 at bellsouth.net (JMoss) Date: Sun, 26 Sep 2004 04:20:12 -0500 Subject: [AccessD] Acc used to resolve SQL Svr Excel prb In-Reply-To: <092620040516.18377.415650B50009C02E000047C92160376021CE02019C9F0301089BD2030E0704040799@att.net> Message-ID: Why not start a macro and then format the sheets and save the macro, then copy the vba code from the macro into an access module, that lets you recreate the formatting? Then read the data from sql server into recordsets in access and use automation to create the spreadsheet. I am doing this with linked Oracle Financials tables and it works quite well. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of william.thompson1 at att.net Sent: Sunday, September 26, 2004 12:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Acc used to resolve SQL Svr Excel prb List, I have a question about refreshing files that, for various reasons, I'm reluctant to create a job to delete in order to replace the data in them. I'm thinking that Access will be the desired tool to replace/contain data used in a multi-sheet workbook, but am not clear on a few things about SQL Svr refreshes. (The workbook's format and sheets layout has to stay intact). One of the steps in a DTS package is used to run a sql statement against the worksheet - but the sql statement doesn't do anything in this case - it was simply set up to fit into the context of a series of DTS packages for purposes of destructively refreshing sheets within a set of Excel spreadsheets on a file share based on a customized set of strings in DTS. One package replaces the data in each worksheet. Am I correct to assume that within the context of sql server data transfers that 1.) An Excel spreadsheet is updateable but Not insert/deletable. 2.) While the driver is fairly recent, Excel data can be only be pulled by worksheet, not pushed. 3.) Because the requirement that four worksheets stay intact in each Workbook, the destructive refresh imposes a requirement that four Access tables must be used by a macro or some other auto process to reconstruct four worksheets. In my humble yet slightly uncertain opinion. I'm good to go on the Access app used as a container to push/ be pulled, but I'm wondering if I overlooked anything. Temp tables are not the favored method either, so this option would be a last resort. The data has to be somewhat 'linked' to the file that is generated each week. Any comments/suggestions appreciated. What would we do without Excel huh? Bill Thompson -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From william.thompson1 at att.net Sun Sep 26 12:31:41 2004 From: william.thompson1 at att.net (william.thompson1 at att.net) Date: Sun, 26 Sep 2004 17:31:41 +0000 Subject: [AccessD] Acc used to resolve SQL Svr Excel prb Message-ID: <092620041731.27156.4156FCFC000E335B00006A142158766720CE02019C9F0301089BD2030E0704040799@att.net> << clearing these by setting the value to Null >> it would be interesting to see what shortcuts would evolve if a refresh was done this way in Excel. <> I meant to say 'the Excel driver in SQL Server, context of DTS' which is ISAM I think - basically text??. I'll look into that. But anyway, I'm glad to get a second nod regarding how Excel files are updated. I was certain there was no insert / delete, but DTS is too flexible sometimes, and the when the package was written, it was apparently tested. <> SQL Server DTS would be doing this task, and I'm still looking into the shell xp (system stored procedure) that handles this. <> You're right - the Access DB could be attaching after the data is destroyed/refreshed. I appreciate the help, William N. Thompson -------------- Original message from Gustav Brock : -------------- > Hi William > > > Am I correct to assume that within the context of sql server data transfers > that > > > 1.) An Excel spreadsheet is updateable but Not insert/deletable. > > You can update and, if empty rows are present, add records. > No deletes. However, you can write a simple erase function looping > through the rows and the fields of these clearing these by setting the > value to Null. Indeed, for an attached table (see next) this is very > easy and fast. > > > 2.) While the driver is fairly recent, Excel data can be only be > > pulled by worksheet, not pushed. > > Not quite sure what you mean. If you attach a worksheet or - the > preferred method - a Named Range, you can read and write data in both > Access and Excel. > > > 3.) Because the requirement that four worksheets stay intact in > > each Workbook, the destructive refresh imposes a requirement that > > four Access tables must be used by a macro or some other auto > > process to reconstruct four worksheets. In my humble yet slightly > > uncertain opinion. > > The fastest way to "refresh" a workbook is simply to delete it > completely and create a new copy from a master which is never touched. > Also, this ensures that your workbook never gets bloated or corrupted > by multiple writings. If you need to keep the old data, just rename > the workbook (and move it to an archive folder) instead of deleting > it. > > > I'm good to go on the Access app used as a container to push/ be > > pulled, but I'm wondering if I overlooked anything. Temp tables are > > not the favored method either, so this option would be a last > > resort. The data has to be somewhat 'linked' to the file that is > > generated each week. > > Temp tables can be very useful. It is much faster to manipulate data > in a temp Access/Jet table and - when ready - copy the data to the > attached Excel tables. Just keep the temp tables in a separate file > which you - as for the workbook - can replace by a new and empty copy > of a master each week. > > /gustav > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From william.thompson1 at att.net Sun Sep 26 12:48:43 2004 From: william.thompson1 at att.net (william.thompson1 at att.net) Date: Sun, 26 Sep 2004 17:48:43 +0000 Subject: [AccessD] Acc used to resolve SQL Svr Excel prb Message-ID: <092620041748.6326.415700FA000E35C0000018B62158766720CE02019C9F0301089BD2030E0704040799@att.net> Jim, Good point. I'd like to be doing just that, and have an Access app already set up. I'd also like to log some of the process in a little xml file. I've got a bunch of code in several different places that I need to bring together to make it happen. This situation - the SQL Svr DTS package was apparently written some time ago, tested with a not-so-realistic set of data. It was certain to break on 'Delete from Workbook' script in the transform. I was almost sure (now very sure) there was no insert / delete in ISAM, but DTS is too flexible sometimes, and the when the package was written, it was apparently tested. The Access app I'd like to be similar to your situation - flexible and be able to handle any data source - SQL Server, Oracle, Excel, Text, and XML - soon. I imagine it will take some time for DTS packages in a typical Enterprise to be written with this in mind. Oracle RDMS are probably further along in terms of XML. Bill -------------- Original message from "JMoss" : -------------- > Why not start a macro and then format the sheets and save the macro, then > copy the vba code from the macro into an access module, that lets you > recreate the formatting? Then read the data from sql server into recordsets > in access and use automation to create the spreadsheet. I am doing this with > linked Oracle Financials tables and it works quite well. > > Jim > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > william.thompson1 at att.net > Sent: Sunday, September 26, 2004 12:17 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Acc used to resolve SQL Svr Excel prb > > > List, > I have a question about refreshing files that, for various reasons, I'm > reluctant to create a job to delete in order to replace the data in them. > I'm thinking that Access will be the desired tool to replace/contain data > used in a multi-sheet workbook, but am not clear on a few things about SQL > Svr refreshes. (The workbook's format and sheets layout has to stay > intact). > > One of the steps in a DTS package is used to run a sql statement against the > worksheet - but the sql statement doesn't do anything in this case - it was > simply set up to fit into the context of a series of DTS packages for > purposes of destructively refreshing sheets within a set of Excel > spreadsheets on a file share based on a customized set of strings in DTS. > One package replaces the data in each worksheet. > > Am I correct to assume that within the context of sql server data transfers > that > 1.) An Excel spreadsheet is updateable but Not insert/deletable. > 2.) While the driver is fairly recent, Excel data can be only be pulled by > worksheet, not pushed. > 3.) Because the requirement that four worksheets stay intact in each > Workbook, the destructive refresh imposes a requirement that four Access > tables must be used by a macro or some other auto process to reconstruct > four worksheets. In my humble yet slightly uncertain opinion. > > I'm good to go on the Access app used as a container to push/ be pulled, but > I'm wondering if I overlooked anything. Temp tables are not the favored > method either, so this option would be a last resort. The data has to be > somewhat 'linked' to the file that is generated each week. > > Any comments/suggestions appreciated. What would we do without Excel huh? > > Bill Thompson > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From william.thompson1 at att.net Sun Sep 26 13:04:41 2004 From: william.thompson1 at att.net (william.thompson1 at att.net) Date: Sun, 26 Sep 2004 18:04:41 +0000 Subject: [AccessD] Acc used to resolve SQL Svr Excel prb Message-ID: <092620041804.14809.415704B8000BD3D6000039D92158766720CE02019C9F0301089BD2030E0704040799@att.net> oops, I goofed the most important part That should read -- It was certain to break on 'Delete from Worksheet' script in the transform -- (not 'From Workbook' though that would break too!). The crux of the problem was that four worksheets, data created by SQL server, had to stay intact in each workbook, thus the Access app Bill From roz.clarke at donnslaw.co.uk Mon Sep 27 03:07:58 2004 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 27 Sep 2004 09:07:58 +0100 Subject: [AccessD] Administrivia - Server Back Up Message-ID: <61F915314798D311A2F800A0C9C8318805CED50A@dibble.observatory.donnslaw.co.uk> hip hip! -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: 25 September 2004 15:13 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Administrivia - Server Back Up Three cheers and a HUGE pat on the back for Bryan! He did this maintenance work in his personal free time! 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 Bryan Carbonnell Sent: Saturday, September 25, 2004 7:12 AM To: administrivia at databaseadvisors.com Subject: [AccessD] Administrivia - Server Back Up Well, the mailserver and list software is back up and running. Hopefully our problems are all cleared up now. If not, please let me know at either listmaster at databaseadvisors.com AND carbonnb at sympatico.ca That way if dba's server is not working, then I will still be able to look at it. Thanks for your understanding and patience. -- Bryan Carbonnell - listmaster at databaseadvisors.com There's a fine line between genius and insanity. I have erased this line. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From cyx5 at cdc.gov Mon Sep 27 05:33:12 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Mon, 27 Sep 2004 06:33:12 -0400 Subject: [AccessD] Access/SQL Dates Message-ID: I have an Access front-end and am querying an SQL backend. When putting in a select statement in the query, all is fine if I specify a date of say, less than today or Message-ID: <000d01c4a484$f8c20640$060aa845@hargrove.internal> I ran into this problem when I used smalldatetime in the table as the data type instead of datetime. To be honest, I was in a hurry and didn't have time to figure out why it was happening. I just changed from smalldatetime to datetime and the problem went away. I've never used smalldatetime since then. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Monday, September 27, 2004 6:33 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access/SQL Dates I have an Access front-end and am querying an SQL backend. When putting in a select statement in the query, all is fine if I specify a date of say, less than today or Interesting. The SQL backend structure can not be changed as it is proprietary. Yikes. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Monday, September 27, 2004 7:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access/SQL Dates I ran into this problem when I used smalldatetime in the table as the data type instead of datetime. To be honest, I was in a hurry and didn't have time to figure out why it was happening. I just changed from smalldatetime to datetime and the problem went away. I've never used smalldatetime since then. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Monday, September 27, 2004 6:33 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access/SQL Dates I have an Access front-end and am querying an SQL backend. When putting in a select statement in the query, all is fine if I specify a date of say, less than today or Thank you for doing this work Bryan! I hope this does the trick and all wll be well again. Gary Kjos garykjos at hotmail.com >From: "Bryan Carbonnell" >Reply-To: Discussion of Hardware and Software >issues >To: administrivia at databaseadvisors.com >Subject: [dba-Tech] Administrivia - Server Back Up >Date: Sat, 25 Sep 2004 08:11:41 -0400 > >Well, the mailserver and list software is back up and running. > >Hopefully our problems are all cleared up now. If not, please let me >know at either listmaster at databaseadvisors.com AND >carbonnb at sympatico.ca > >That way if dba's server is not working, then I will still be able to >look at it. > >Thanks for your understanding and patience. > >-- >Bryan Carbonnell - listmaster at databaseadvisors.com >There's a fine line between genius and insanity. I have erased this >line. > > >_______________________________________________ >dba-Tech mailing list >dba-Tech at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-tech >Website: http://www.databaseadvisors.com From garykjos at hotmail.com Mon Sep 27 07:36:41 2004 From: garykjos at hotmail.com (Gary Kjos) Date: Mon, 27 Sep 2004 07:36:41 -0500 Subject: [AccessD] Administrivia - Server Back Up Message-ID: Thanks Bryan! Gary Kjos garykjos at hotmail.com >From: "John W. Colby" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: RE: [AccessD] Administrivia - Server Back Up >Date: Sat, 25 Sep 2004 09:55:46 -0400 > >Hear Hear! > >John W. Colby >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Saturday, September 25, 2004 9:45 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Administrivia - Server Back Up > > >A vote of thanks for Bryan's efforts. > >-- 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: 25 September 2004 13:12 > > To: administrivia at databaseadvisors.com > > Subject: [AccessD] Administrivia - Server Back Up > > > > > > Well, the mailserver and list software is back up and running. > > > > Hopefully our problems are all cleared up now. If not, please let me > > know at either listmaster at databaseadvisors.com AND > > carbonnb at sympatico.ca > > > > That way if dba's server is not working, then I will still be able to > > look at it. > > > > Thanks for your understanding and patience. > > > > -- > > Bryan Carbonnell - listmaster at databaseadvisors.com > > There's a fine line between genius and insanity. I have erased this > > line. > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Mon Sep 27 10:18:53 2004 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 27 Sep 2004 11:18:53 -0400 Subject: [AccessD] Access/SQL Dates Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F0471A96E@xlivmbx21.aig.com> Very probably I am wrong as I've not yet had the joy of dealing with SQL server, but is it not the case that the date delimiting character in SQL Server is the percentage symbol (%) not pound or hash (#)? Lambert > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen > Sent: Monday, September 27, 2004 8:19 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Access/SQL Dates > > Interesting. The SQL backend structure can not be changed as it is > proprietary. Yikes. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris > Manning > Sent: Monday, September 27, 2004 7:27 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Access/SQL Dates > > > I ran into this problem when I used smalldatetime in the table as the > data > type instead of datetime. To be honest, I was in a hurry and didn't > have > time to figure out why it was happening. I just changed from > smalldatetime > to datetime and the problem went away. I've never used smalldatetime > since > then. > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, > Karen > Sent: Monday, September 27, 2004 6:33 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Access/SQL Dates > > > I have an Access front-end and am querying an SQL backend. When putting > in > a select statement in the query, all is fine if I specify a date of say, > less than today or date, I get an sql overflow error. The syntaxes I have tried > include: <#9/27/2004# <'9/27/2004' <'20040927'. Any clues? Thanks. > > Karen Nicholson > National Laboratory > Xerox Global Services > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Sep 27 10:43:04 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 27 Sep 2004 08:43:04 -0700 Subject: [AccessD] ADPs in the future Message-ID: All I know is that the State of California and the Federal government are still using Access desktop databases for stuff the programmers don't have time to create and small business still has the need for custom database apps that don't require SQL Server. ;-/ Charlotte Foust -----Original Message----- From: Ken Ismert [mailto:KIsmert at TexasSystems.com] Sent: Friday, September 24, 2004 10:02 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Dan, Unless the next version of Access is a completely .NET centric product, Windows forms on top, VB.NET or C# underneath, and is fully web enabled (in other words the complete rewrite Mary Chipman said they weren't going to do), it will have nothing of interest in it for me. A simple test: if the next version of Access doesn't natively support Microsoft's flagship database, SQL Server 2005, it has been abandoned. I would like to hear more responses regarding the current prospects of Access consulting. Nearly everyone I know locally is either having a tough time getting Access work, or is moving away from Access towards more profitable work. A consensus from this group that there is a burgeoning Access job market in the near future would do more than anything else to dispel my pessimism. And yes, the bright side of the story is that the fundamentals we learn here are applicable to any new data environment we may encounter. -Ken -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Thursday, September 23, 2004 3:35 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Ken, Let's not sink the ship just yet. A new version of Access (12) will soon begin to be discussed. Let's see what it is first. OTOH, the skills that I know I've developed will let learn whatever I need to learn to make my future work! Dan Waters -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Sep 27 10:45:22 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 27 Sep 2004 08:45:22 -0700 Subject: [AccessD] Elegant Solution? Message-ID: The difference is that if you use CurrentDb, you don't have to refresh to see the changes. DBEngine is faster because it doesn't refresh automatically. Redo your test with a refresh after every change and see how they compare. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, September 24, 2004 7:06 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Elegant Solution? Using CurrentDB everywhere is slower. I use: Set rst = DBEngine(0)(0).OpenRecordset(stg,db.....) I did a test once and determined that using the above line is exactly 8 times faster than using: Set rst = CurrentDB.OpenRecordset(stg,db.....) However, you must use CurrentDB for some things, like setting the current database's properties in VBA. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Friday, September 24, 2004 6:19 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Elegant Solution? I thought using currentdb everywhere used extra resources and was a no-no. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Friday, September 24, 2004 3:57 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Elegant Solution? I never do dbs as DAO.Database I always do Set rstTemp as currentdb.openrecordset (bla bla) Dbs can be replaced by currentdb Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS Sent: Friday, September 24, 2004 9:13 AM To: access group Subject: [AccessD] Elegant Solution? Hi Everyone, Does anyone have any code or such that handles the following elegantly: Dim dbs as DAO.Database Dim rst as DAO.Recordset Set dbs etc etc Do whatever here dbs.close dbs = nothing etc etc I am tired of having do the above to open database connections and recordsets in the above manner in every Sub or Function. Surely there's a more elegant method that someone has come up with here you just parse the SQL Statement through or something... Any suggestions or links will be greatly appreciated... Regards Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at adelphia.net Mon Sep 27 10:44:36 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Mon, 27 Sep 2004 11:44:36 -0400 Subject: [AccessD] Access/SQL Dates In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F0471A96E@xlivmbx21.aig.com> Message-ID: <000001c4a4a8$e4c62b70$060aa845@hargrove.internal> You are incorrect. The single quote (') is the correct delimiting character to replace the pound sign (#) used by Access. The percentage symbol (%) is the character to use when doing a LIKE search -- Access used an asterisk (*). Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Monday, September 27, 2004 11:19 AM To: 'Access Developers discussion and problem solving'; 'Nicholson, Karen' Subject: RE: [AccessD] Access/SQL Dates Very probably I am wrong as I've not yet had the joy of dealing with SQL server, but is it not the case that the date delimiting character in SQL Server is the percentage symbol (%) not pound or hash (#)? Lambert From mark.breen at gmail.com Mon Sep 27 10:57:49 2004 From: mark.breen at gmail.com (Mark Breen) Date: Mon, 27 Sep 2004 16:57:49 +0100 Subject: [AccessD] Elegant Solution? In-Reply-To: References: Message-ID: <26a96cce040927085772db8b56@mail.gmail.com> Hello All, Does anyone have a similar class or function for elegantly handling ADO record sets ? Or similar in the .Net environment ? Mark Breen Ireland On Mon, 27 Sep 2004 08:45:22 -0700, Charlotte Foust wrote: > The difference is that if you use CurrentDb, you don't have to refresh > to see the changes. DBEngine is faster because it doesn't refresh > automatically. Redo your test with a refresh after every change and see > how they compare. > > Charlotte Foust > > > > > -----Original Message----- > From: Dan Waters [mailto:dwaters at usinternet.com] > Sent: Friday, September 24, 2004 7:06 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Elegant Solution? > > Using CurrentDB everywhere is slower. > > I use: > Set rst = DBEngine(0)(0).OpenRecordset(stg,db.....) > > I did a test once and determined that using the above line is exactly 8 > times faster than using: Set rst = CurrentDB.OpenRecordset(stg,db.....) > > However, you must use CurrentDB for some things, like setting the > current database's properties in VBA. > > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid > Sent: Friday, September 24, 2004 6:19 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Elegant Solution? > > I thought using currentdb everywhere used extra resources and was a > no-no. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - > IT Helps > Sent: Friday, September 24, 2004 3:57 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Elegant Solution? > > I never do dbs as DAO.Database > > I always do > Set rstTemp as currentdb.openrecordset (bla bla) > > Dbs can be replaced by currentdb > > Erwin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS > Sent: Friday, September 24, 2004 9:13 AM > To: access group > Subject: [AccessD] Elegant Solution? > > Hi Everyone, > > Does anyone have any code or such that handles the following elegantly: > > Dim dbs as DAO.Database > Dim rst as DAO.Recordset > > Set dbs etc etc > > Do whatever here > > dbs.close > dbs = nothing etc etc > > I am tired of having do the above to open database connections and > recordsets in the above manner in every Sub or Function. Surely there's > a more elegant method that someone has come up with here you just parse > the SQL Statement through or something... > > Any suggestions or links will be greatly appreciated... > > Regards > Vlad > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gjgiever at myway.com Mon Sep 27 11:13:08 2004 From: gjgiever at myway.com (Gary J. Giever) Date: Mon, 27 Sep 2004 12:13:08 -0400 (EDT) Subject: [AccessD] No Permission? Message-ID: <20040927161308.6AAE73A72@mprdmxin.myway.com> I have an annoying problem with Access 97 that began when I switched from Windows 98SE to Windows XP Pro. Now when I try to re-link tables, I get this message from the Linked Table Manager: "You do not have access to the folder 'C:\My Documents\Access\In Progress\*.mdb'. See your administrator for access to this folder." Most of the time it lets me re-link the tables anyway, but sometimes it will not. This is confusing since I am the administrator and only user of this computer. I have checked the Security settings under properties for the files and I seem to have permission. Any ideas? Gary J. Giever, M.A. Applications Developer ACCMHS 3285 122nd Avenue PO Drawer 130 Allegan, MI 49010 Gary J. Giever, M.A. Applications Developer ACCMHS 3285 122nd Avenue PO Drawer 130 Allegan, MI 49010 _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From cyx5 at cdc.gov Mon Sep 27 11:13:04 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Mon, 27 Sep 2004 12:13:04 -0400 Subject: [AccessD] ADPs in the future Message-ID: I am working for the CDC at this time. They could not find an Access person in Pittsburgh to do what they needed. ? They want to take this to .net, so I am studying asp.net and vb.net as I develop and fix this in Access. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, September 27, 2004 11:43 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADPs in the future All I know is that the State of California and the Federal government are still using Access desktop databases for stuff the programmers don't have time to create and small business still has the need for custom database apps that don't require SQL Server. ;-/ Charlotte Foust -----Original Message----- From: Ken Ismert [mailto:KIsmert at TexasSystems.com] Sent: Friday, September 24, 2004 10:02 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Dan, Unless the next version of Access is a completely .NET centric product, Windows forms on top, VB.NET or C# underneath, and is fully web enabled (in other words the complete rewrite Mary Chipman said they weren't going to do), it will have nothing of interest in it for me. A simple test: if the next version of Access doesn't natively support Microsoft's flagship database, SQL Server 2005, it has been abandoned. I would like to hear more responses regarding the current prospects of Access consulting. Nearly everyone I know locally is either having a tough time getting Access work, or is moving away from Access towards more profitable work. A consensus from this group that there is a burgeoning Access job market in the near future would do more than anything else to dispel my pessimism. And yes, the bright side of the story is that the fundamentals we learn here are applicable to any new data environment we may encounter. -Ken -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Thursday, September 23, 2004 3:35 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Ken, Let's not sink the ship just yet. A new version of Access (12) will soon begin to be discussed. Let's see what it is first. OTOH, the skills that I know I've developed will let learn whatever I need to learn to make my future work! Dan Waters -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Mon Sep 27 11:27:39 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Mon, 27 Sep 2004 12:27:39 -0400 Subject: [AccessD] Elegant Solution? Message-ID: <08F823FD83787D4BA0B99CA580AD3C744867FF@TTNEXCHCL2.hshhp.com> I have one for VB but it can easily be modded if you're using wrote: > The difference is that if you use CurrentDb, you don't have to refresh > to see the changes. DBEngine is faster because it doesn't refresh > automatically. Redo your test with a refresh after every change and see > how they compare. > > Charlotte Foust > > > > > -----Original Message----- > From: Dan Waters [mailto:dwaters at usinternet.com] > Sent: Friday, September 24, 2004 7:06 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Elegant Solution? > > Using CurrentDB everywhere is slower. > > I use: > Set rst = DBEngine(0)(0).OpenRecordset(stg,db.....) > > I did a test once and determined that using the above line is exactly 8 > times faster than using: Set rst = CurrentDB.OpenRecordset(stg,db.....) > > However, you must use CurrentDB for some things, like setting the > current database's properties in VBA. > > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid > Sent: Friday, September 24, 2004 6:19 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Elegant Solution? > > I thought using currentdb everywhere used extra resources and was a > no-no. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - > IT Helps > Sent: Friday, September 24, 2004 3:57 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Elegant Solution? > > I never do dbs as DAO.Database > > I always do > Set rstTemp as currentdb.openrecordset (bla bla) > > Dbs can be replaced by currentdb > > Erwin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS > Sent: Friday, September 24, 2004 9:13 AM > To: access group > Subject: [AccessD] Elegant Solution? > > Hi Everyone, > > Does anyone have any code or such that handles the following elegantly: > > Dim dbs as DAO.Database > Dim rst as DAO.Recordset > > Set dbs etc etc > > Do whatever here > > dbs.close > dbs = nothing etc etc > > I am tired of having do the above to open database connections and > recordsets in the above manner in every Sub or Function. Surely there's > a more elegant method that someone has come up with here you just parse > the SQL Statement through or something... > > Any suggestions or links will be greatly appreciated... > > Regards > Vlad > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From dwaters at usinternet.com Mon Sep 27 12:35:16 2004 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 27 Sep 2004 12:35:16 -0500 Subject: [AccessD] Elegant Solution? In-Reply-To: <23202672.1096300635849.JavaMail.root@sniper5.usinternet.com> Message-ID: <000201c4a4b8$5a5eb370$de1811d8@danwaters> Charlotte, Thanks for describing this - I did not know that was the difference. With what I'm currently doing I don't need to refresh immediately, but I'll remember this for when I do. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, September 27, 2004 10:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Elegant Solution? The difference is that if you use CurrentDb, you don't have to refresh to see the changes. DBEngine is faster because it doesn't refresh automatically. Redo your test with a refresh after every change and see how they compare. Charlotte Foust -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Friday, September 24, 2004 7:06 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Elegant Solution? Using CurrentDB everywhere is slower. I use: Set rst = DBEngine(0)(0).OpenRecordset(stg,db.....) I did a test once and determined that using the above line is exactly 8 times faster than using: Set rst = CurrentDB.OpenRecordset(stg,db.....) However, you must use CurrentDB for some things, like setting the current database's properties in VBA. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Friday, September 24, 2004 6:19 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Elegant Solution? I thought using currentdb everywhere used extra resources and was a no-no. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Friday, September 24, 2004 3:57 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Elegant Solution? I never do dbs as DAO.Database I always do Set rstTemp as currentdb.openrecordset (bla bla) Dbs can be replaced by currentdb Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS Sent: Friday, September 24, 2004 9:13 AM To: access group Subject: [AccessD] Elegant Solution? Hi Everyone, Does anyone have any code or such that handles the following elegantly: Dim dbs as DAO.Database Dim rst as DAO.Recordset Set dbs etc etc Do whatever here dbs.close dbs = nothing etc etc I am tired of having do the above to open database connections and recordsets in the above manner in every Sub or Function. Surely there's a more elegant method that someone has come up with here you just parse the SQL Statement through or something... Any suggestions or links will be greatly appreciated... Regards Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Sep 27 12:37:34 2004 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 27 Sep 2004 12:37:34 -0500 Subject: [AccessD] ADPs in the future In-Reply-To: <3916622.1096303779545.JavaMail.root@sniper6.usinternet.com> Message-ID: <000301c4a4b8$ac980c40$de1811d8@danwaters> Karen, What was it they wanted to do in Access that they couldn't find anyone to do? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Monday, September 27, 2004 11:13 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADPs in the future I am working for the CDC at this time. They could not find an Access person in Pittsburgh to do what they needed. ? They want to take this to .net, so I am studying asp.net and vb.net as I develop and fix this in Access. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, September 27, 2004 11:43 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADPs in the future All I know is that the State of California and the Federal government are still using Access desktop databases for stuff the programmers don't have time to create and small business still has the need for custom database apps that don't require SQL Server. ;-/ Charlotte Foust -----Original Message----- From: Ken Ismert [mailto:KIsmert at TexasSystems.com] Sent: Friday, September 24, 2004 10:02 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Dan, Unless the next version of Access is a completely .NET centric product, Windows forms on top, VB.NET or C# underneath, and is fully web enabled (in other words the complete rewrite Mary Chipman said they weren't going to do), it will have nothing of interest in it for me. A simple test: if the next version of Access doesn't natively support Microsoft's flagship database, SQL Server 2005, it has been abandoned. I would like to hear more responses regarding the current prospects of Access consulting. Nearly everyone I know locally is either having a tough time getting Access work, or is moving away from Access towards more profitable work. A consensus from this group that there is a burgeoning Access job market in the near future would do more than anything else to dispel my pessimism. And yes, the bright side of the story is that the fundamentals we learn here are applicable to any new data environment we may encounter. -Ken -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Thursday, September 23, 2004 3:35 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Ken, Let's not sink the ship just yet. A new version of Access (12) will soon begin to be discussed. Let's see what it is first. OTOH, the skills that I know I've developed will let learn whatever I need to learn to make my future work! Dan Waters -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Mon Sep 27 13:14:12 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Mon, 27 Sep 2004 14:14:12 -0400 Subject: [AccessD] ADPs in the future Message-ID: The system was originally written by an employee who was not a programmer but was incredibly resourceful in getting the program to work with a million macros. They hired a firm to turn it into a web application and the project failed after about a $300,000 investment. Then they decided to get someone in to make the Access application work better. Once this is up and running and we have an understanding of the tangled web that was woven, then we can up it to the .net environment. Why couldn't they find anyone in Pittsburgh? Looks like most folks have moved up to the .net environment here. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, September 27, 2004 1:38 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Karen, What was it they wanted to do in Access that they couldn't find anyone to do? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Monday, September 27, 2004 11:13 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADPs in the future I am working for the CDC at this time. They could not find an Access person in Pittsburgh to do what they needed. ? They want to take this to .net, so I am studying asp.net and vb.net as I develop and fix this in Access. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, September 27, 2004 11:43 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADPs in the future All I know is that the State of California and the Federal government are still using Access desktop databases for stuff the programmers don't have time to create and small business still has the need for custom database apps that don't require SQL Server. ;-/ Charlotte Foust -----Original Message----- From: Ken Ismert [mailto:KIsmert at TexasSystems.com] Sent: Friday, September 24, 2004 10:02 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Dan, Unless the next version of Access is a completely .NET centric product, Windows forms on top, VB.NET or C# underneath, and is fully web enabled (in other words the complete rewrite Mary Chipman said they weren't going to do), it will have nothing of interest in it for me. A simple test: if the next version of Access doesn't natively support Microsoft's flagship database, SQL Server 2005, it has been abandoned. I would like to hear more responses regarding the current prospects of Access consulting. Nearly everyone I know locally is either having a tough time getting Access work, or is moving away from Access towards more profitable work. A consensus from this group that there is a burgeoning Access job market in the near future would do more than anything else to dispel my pessimism. And yes, the bright side of the story is that the fundamentals we learn here are applicable to any new data environment we may encounter. -Ken -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Thursday, September 23, 2004 3:35 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Ken, Let's not sink the ship just yet. A new version of Access (12) will soon begin to be discussed. Let's see what it is first. OTOH, the skills that I know I've developed will let learn whatever I need to learn to make my future work! Dan Waters -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JColby at dispec.com Mon Sep 27 13:46:28 2004 From: JColby at dispec.com (Colby, John) Date: Mon, 27 Sep 2004 14:46:28 -0400 Subject: [AccessD] No MsgBox allowed Message-ID: <05C61C52D7CAD211A7830008C7DF6F1079BDFA@DISABILITYINS01> I am doing a rewrite on an app that runs unattended and emails (or FTPs) files out to a client. This app absolutely must run, or at least if it fails it has to NOT pop up a message box and halt the process. The process can send many different files, as well as importing data into the database. I want the piece that fails to error. log the error, email a notification of error, and exit so that the next process can attempt to run. The next process may well run just fine. Many of you are familiar with my error handler insertion wizard that inserts error handlers in any function, sub or property, and can do so for an entire module. I have used it forever and have in general been satisfied with it. Until now. It of course creates a default message box displaying a message box for any unhandled errors. Now I need all errors logged to disk, and the error log mailed to a list of email addresses when errors are encountered. Thinking about this immediately raises a slew of questions. I use a framework that sets up a host of functionality. What happens when the failure is so early in the process that it can't even do logging or send an email? How do I know how early that is? My framework has to be rewritten to log errors and email them as well (where possible), since obviously if my framework errors we don't want that hanging the app. OTOH, some errors can be ignored, others should stop the app. If I have classes in the framework used by the app (and obviously I do) how do I get errors in the framework code to log in the app error log? IOW, the framework has a wrapper class to copy files, create directories etc. If that code fails, it can log an error, but it will log to the framework log, not the app log. In a similar vein, does every function return an error code so that anything that can go wrong is checked and logged? If it returns an error code, what if it needs to return a string, i.e. how do you return an error and a value at the same time (I know, pass a parameter - that was just to highlight the issue)? My objective here is not to write a "can't possible crash" thing, but rather to intelligently determine what can be logged and emailed and what is so severe that.. well... it just pops up a message box and someone has to come look for the problem. Those kinds of things should rarely if EVER happen at the application level though. Just because a link for an excel file is bad doesn't mean the next report process will fail, only that THIS report process can't continue. The program I am replacing had the old "pop up an error message" for unhandled errors and it just seems that over time you continually run into new things that couldn't be (or weren't) anticipated. Every month at least the files don't go because the program is sitting with a message box up. Aside from the obvious "Access is not the optimum environment to write such an app", has anyone done stuff like this (in Access) and do you have any thoughts on the issues above or any others I haven't raised? Thinking about this concept gives a whole new appreciation for major apps such as Windows and Access where they should always do something intelligent even in the face of problems not even existing at the time the program was written. Just a few things to get you thinking. John W. Colby The DIS Database Guy From JColby at dispec.com Mon Sep 27 14:25:42 2004 From: JColby at dispec.com (Colby, John) Date: Mon, 27 Sep 2004 15:25:42 -0400 Subject: [AccessD] Err Message-ID: <05C61C52D7CAD211A7830008C7DF6F1079BDFC@DISABILITYINS01> What is the secret to passing the error object into a function. I am calling a function like: Public Function Er(objErr As ErrObject, but when I get inside the function the objErr is a zero and all it's properties are empty. John W. Colby The DIS Database Guy From dwaters at usinternet.com Mon Sep 27 14:43:43 2004 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 27 Sep 2004 14:43:43 -0500 Subject: [AccessD] Err In-Reply-To: <2191843.1096313725173.JavaMail.root@sniper7.usinternet.com> Message-ID: <001a01c4a4ca$4c2dde40$de1811d8@danwaters> John, Immediately after you use an error value the first time, its value is then 'erased' by Access. So to pass an error value or use it more than once, you need to create a variable like: GlngErrorNumber = Err.Number GstgErrorDescription = Err.Description Now you can use your variable as many times as you like. I don't remember where I first read this, but I was stumped for a while too. There was a description of why this happens, but that's lost to old memoryland too. HTH, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John Sent: Monday, September 27, 2004 2:26 PM To: 'AccessD at DatabaseAdvisors.com' Subject: [AccessD] Err What is the secret to passing the error object into a function. I am calling a function like: Public Function Er(objErr As ErrObject, but when I get inside the function the objErr is a zero and all it's properties are empty. John W. Colby The DIS Database Guy -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at adelphia.net Mon Sep 27 15:01:52 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Mon, 27 Sep 2004 16:01:52 -0400 Subject: [AccessD] Err In-Reply-To: <05C61C52D7CAD211A7830008C7DF6F1079BDFC@DISABILITYINS01> Message-ID: <000001c4a4cc$d5d0efa0$060aa845@hargrove.internal> Pass the Error number in and then Raise it to deal with the actual error. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John Sent: Monday, September 27, 2004 3:26 PM To: 'AccessD at DatabaseAdvisors.com' Subject: [AccessD] Err What is the secret to passing the error object into a function. I am calling a function like: Public Function Er(objErr As ErrObject, but when I get inside the function the objErr is a zero and all it's properties are empty. John W. Colby The DIS Database Guy -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davide at dalyn.co.nz Mon Sep 27 14:36:00 2004 From: davide at dalyn.co.nz (David Emerson) Date: Tue, 28 Sep 2004 07:36:00 +1200 Subject: [AccessD] Access/SQL Dates In-Reply-To: <000001c4a4a8$e4c62b70$060aa845@hargrove.internal> References: <1D7828CDB8350747AFE9D69E0E90DA1F0471A96E@xlivmbx21.aig.com> <000001c4a4a8$e4c62b70$060aa845@hargrove.internal> Message-ID: <6.1.2.0.0.20040928073454.019ec670@mail.dalyn.co.nz> Have you tried <'2004-09-24' Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Churton Park Wellington, New Zealand Ph/Fax 0064 4 478-7456 At 28/09/2004, you wrote: >You are incorrect. The single quote (') is the correct delimiting character >to replace the pound sign (#) used by Access. The percentage symbol (%) is >the character to use when doing a LIKE search -- Access used an asterisk >(*). > >Doris Manning >Database Administrator >Hargrove Inc. >www.hargroveinc.com > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert >Sent: Monday, September 27, 2004 11:19 AM >To: 'Access Developers discussion and problem solving'; 'Nicholson, Karen' >Subject: RE: [AccessD] Access/SQL Dates > > >Very probably I am wrong as I've not yet had the joy of dealing with SQL >server, but is it not the case that the date delimiting character in SQL >Server is the percentage symbol (%) not pound or hash (#)? > >Lambert > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Sep 27 16:57:07 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 27 Sep 2004 14:57:07 -0700 Subject: [AccessD] No Permission? References: <20040927161308.6AAE73A72@mprdmxin.myway.com> Message-ID: <41588CB3.6030109@shaw.ca> Are you sure you are logging on as administrator and not another user name? Try this code to indicate your user name at logon http://www.mvps.org/access/api/api0008.htm Generally with a named user login "my documents" folder for user "marty" would look like C:\Documents and Settings\marty\My Documents\Access\ or C:\Documents and Settings\All Users rather than C:\My Documents\Access\ unless you have moved it, somehow You could have a clobbered user profile which I am not sure how to correct. Try this code to see what is happening Sub mydocfolder() Dim MyAppPath As String Dim wshShell As Object Set wshShell = CreateObject("wscript.shell") MyAppPath = wshShell.SpecialFolders("MyDocuments") Set wshShell = Nothing Debug.Print MyAppPath Debug.Print fOSUserName End Sub See this article (it takes a second or two for the right frame to load) http://securityadmin.info/faq.asp#ownership If this is Pro, you need to disable simple file sharing using the Folder Options control panel, and then if you are using an admin account, you can see the security tab. Open Windows Explorer and right-click your "My Documents" folder. Then select the Sharing and Security option and click the security tab. You should see Administrators group, SYSTEM, and owner listed with full control, but likely you won't see owner listed and if owner is not part of the Administrators group, then that explains why you can't access the folder. Click the advanced button and click the owner tab. If the owner is Administrators, then leave it alone, but if the owner is some long string of numbers, you need to click Administrators and the checkbox that says to apply this to all subfolders. Then click OK. Now the folder belongs to a real account (and if you reinstall again, it won't be an unknown account, it will continue to be Administrators group). If owner does not appear in the list of accounts, then add owner and give owner "full control". Make sure that this is applied to all subfolders and files. Reboot to normal mode, logon as owner and try to access the folder again. Gary J. Giever wrote: >I have an annoying problem with Access 97 that began when I switched from Windows 98SE to Windows XP Pro. Now when I try to re-link tables, I get this message from the Linked Table Manager: "You do not have access to the folder 'C:\My Documents\Access\In Progress\*.mdb'. See your administrator for access to this folder." Most of the time it lets me re-link the tables anyway, but sometimes it will not. > >This is confusing since I am the administrator and only user of this computer. I have checked the Security settings under properties for the files and I seem to have permission. Any ideas? > > >Gary J. Giever, M.A. >Applications Developer >ACCMHS >3285 122nd Avenue >PO Drawer 130 >Allegan, MI 49010 > > > >Gary J. Giever, M.A. >Applications Developer >ACCMHS >3285 122nd Avenue >PO Drawer 130 >Allegan, MI 49010 > > >_______________________________________________ >No banners. No pop-ups. No kidding. >Make My Way your home on the Web - http://www.myway.com > > -- Marty Connelly Victoria, B.C. Canada From Chris.Foote at uk.thalesgroup.com Sat Sep 25 08:53:55 2004 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Sat, 25 Sep 2004 14:53:55 +0100 Subject: [AccessD] Administrivia - Server Back Up Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C381@ntscxch1.int.rdel.co.uk> Absolutely! Many thanks for all that you do Bryan! Regards Chris Foote (also at work on a Saturday in the UK) > -----Original Message----- > From: Andy Lacey [mailto:andy at minstersystems.co.uk] > Sent: Saturday, September 25, 2004 2:45 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Administrivia - Server Back Up > > > A vote of thanks for Bryan's efforts. > > -- 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: 25 September 2004 13:12 > > To: administrivia at databaseadvisors.com > > Subject: [AccessD] Administrivia - Server Back Up > > > > > > Well, the mailserver and list software is back up and running. > > > > Hopefully our problems are all cleared up now. If not, > please let me > > know at either listmaster at databaseadvisors.com AND > > carbonnb at sympatico.ca > > > > That way if dba's server is not working, then I will still > be able to > > look at it. > > > > Thanks for your understanding and patience. > > > > -- > > Bryan Carbonnell - listmaster at databaseadvisors.com From Chris.Foote at uk.thalesgroup.com Mon Sep 27 07:21:27 2004 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Mon, 27 Sep 2004 13:21:27 +0100 Subject: [AccessD] Test (please ignore!) Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C389@ntscxch1.int.rdel.co.uk> Test From GregSmith at starband.net Mon Sep 27 14:10:09 2004 From: GregSmith at starband.net (Greg Smith) Date: Mon, 27 Sep 2004 14:10:09 -0500 (CDT) Subject: [AccessD] No Permission? In-Reply-To: <20040927161308.6AAE73A72@mprdmxin.myway.com> References: <20040927161308.6AAE73A72@mprdmxin.myway.com> Message-ID: <2319.216.43.21.235.1096312209.squirrel@cetus.email.starband.net> Gary: I've lived with that for years with Access 97. None of our network guys could figure it out...so I just left it in my "Annoying Access 97 Things" box and learned to live with it. Greg Smith gregsmith at starband.net > I have an annoying problem with Access 97 that began when I switched > from Windows 98SE to Windows XP Pro. Now when I try to re-link tables, > I get this message from the Linked Table Manager: "You do not have > access to the folder 'C:\My Documents\Access\In Progress\*.mdb'. See > your administrator for access to this folder." Most of the time it lets > me re-link the tables anyway, but sometimes it will not. > > This is confusing since I am the administrator and only user of this > computer. I have checked the Security settings under properties for the > files and I seem to have permission. Any ideas? > > > Gary J. Giever, M.A. > Applications Developer > ACCMHS > 3285 122nd Avenue > PO Drawer 130 > Allegan, MI 49010 > > > > Gary J. Giever, M.A. > Applications Developer > ACCMHS > 3285 122nd Avenue > PO Drawer 130 > Allegan, MI 49010 > > > _______________________________________________ > No banners. No pop-ups. No kidding. > Make My Way your home on the Web - http://www.myway.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Mon Sep 27 15:06:49 2004 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Mon, 27 Sep 2004 16:06:49 -0400 Subject: [AccessD] Adding Hyperlink field using DAO Message-ID: <006701c4a4cd$86322260$0a00a8c0@cx470148a> I need to add a hyperlink field to a table using DAO. I tried the following, but received an error. Set fld = tbl.CreateField("EstimateSpreadsheet", dbHyperlinkField) Apparently, I need to create the field as "Memo" and set the attributes to dbHyperlinkField. When adding a field to a table in Design view, I can select data type Hyperlink. Why can't I do this in code? Or can I? I have a "master" database (which I add/update fields in Design view). There are several other databases in which I want to propagate (using DAO) changes from the master. How can I do this? I am using Access 97. Thanks, Barb Ryan From GregWSmith at starband.net Mon Sep 27 15:50:00 2004 From: GregWSmith at starband.net (GregWSmith at starband.net) Date: Mon, 27 Sep 2004 16:50:00 -0400 (EDT) Subject: [AccessD] Test-Do not archive Message-ID: <2694.216.43.21.235.1096318200.squirrel@medusa.email.starband.net> Test only. Greg -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: untitled-2 URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: untitled-3 URL: From carbonnb at sympatico.ca Mon Sep 27 20:25:22 2004 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Mon, 27 Sep 2004 21:25:22 -0400 Subject: [AccessD] No MsgBox allowed In-Reply-To: <05C61C52D7CAD211A7830008C7DF6F1079BDFA@DISABILITYINS01> Message-ID: <41588542.20768.B68441@localhost> On 27 Sep 2004 at 14:46, Colby, John wrote: > importing data into the database. I want the piece that fails to > error. log the error, email a notification of error, and exit so that > the next process can attempt to run. The next process may well run > just fine. > box displaying a message box for any unhandled errors. Now I need all > errors logged to disk, and the error log mailed to a list of email > addresses when errors are encountered. John, Have a look at the error logging module in the BEU. We needed a way to send back any errors in the upgrade so that not only could the developer upgrade the BE remotely, they could also debug it remotely too. > Thinking about this immediately raises a slew of questions. I use a > framework that sets up a host of functionality. What happens when the > failure is so early in the process that it can't even do logging or > send an email? How do I know how early that is? My framework has to > be rewritten to log errors and email them as well (where possible), > since obviously if my framework errors we don't want that hanging the > app. OTOH, some errors can be ignored, others should stop the app. > If I have classes in the framework used by the app (and obviously I > do) how do I get errors in the framework code to log in the app error > log? IOW, the framework has a wrapper class to copy files, create > directories etc. If that code fails, it can log an error, but it will > log to the framework log, not the app log. > Aside from the obvious "Access is not the optimum environment to write > such an app", has anyone done stuff like this (in Access) and do you > have any thoughts on the issues above or any others I haven't raised? > Thinking about this concept gives a whole new appreciation for major > apps such as Windows and Access where they should always do something > intelligent even in the face of problems not even existing at the time > the program was written. In the BEU, one of the very first, if not the absolute first things the BEU does is initialise the ErrorLogging class. That way when ANY error happens, it can be logged. I wrote it to solve a problem that I had with the BEU, how to detail the errors I found, so that Reuben and Andy could fix 'em :), and it was such a logical step to include it in the BEU as a feature. I have also ripped it out of the BEU to include in my most recent project, so that I could handle issues that arise whitout having to run all over the place to figure it out Have a look at it, and hopefully you can integrate something like it into your framework. -- Bryan Carbonnell - carbonnb at sympatico.ca It was difficult to code. So it damn well better be difficult to use. From GregSmith at starband.net Mon Sep 27 09:11:41 2004 From: GregSmith at starband.net (Greg Smith) Date: Mon, 27 Sep 2004 09:11:41 -0500 (CDT) Subject: [AccessD] Administrivia - Server Back Up In-Reply-To: <61F915314798D311A2F800A0C9C8318805CED50A@dibble.observatory.donnslaw.co.uk> References: <61F915314798D311A2F800A0C9C8318805CED50A@dibble.observatory.donnslaw.co.uk> Message-ID: <1470.216.43.21.235.1096294301.squirrel@cetus.email.starband.net> Bryan: Unless this one magically goes through, all my posts are still not getting there...I sent one last night (Sunday) to you at listmaster at databaseadvisors.com but I don't know if that even got to you. I'm cc'ing this one to your other address as well. Below is a copy of the returned message...I don't know if that helps you or not... This one was from Friday's message...haven't gotten anything about last night's message ... but it's not posted to AccessD yet either... Greg Returned message text: The original message was received at Fri, 24 Sep 2004 09:34:39 -0400 from cetus.email.starband.net [148.78.247.27] (may be forged) ----- The following addresses had permanent fatal errors ----- ----- Transcript of session follows ----- 221 2.0.0 databaseadvisors.com closing connection ... Deferred Message could not be delivered for 2 days Message will be deleted from queue From mark.breen at gmail.com Tue Sep 28 05:13:48 2004 From: mark.breen at gmail.com (Mark Breen) Date: Tue, 28 Sep 2004 11:13:48 +0100 Subject: [AccessD] Elegant Solution? In-Reply-To: <08F823FD83787D4BA0B99CA580AD3C744867FF@TTNEXCHCL2.hshhp.com> References: <08F823FD83787D4BA0B99CA580AD3C744867FF@TTNEXCHCL2.hshhp.com> Message-ID: <26a96cce04092803136ce6b2a8@mail.gmail.com> Hello Jim, Actually it was for VB that I really wanted it, but I felt shy about admitting it on AccessD. If you do not mind, I would be intersted in seeing it. I do not mind it being posted on list, I presume most are mildly interested, but if you prefer, you may send it directly. Thanks Jim, Mark Breen Ireland On Mon, 27 Sep 2004 12:27:39 -0400, Jim DeMarco wrote: > I have one for VB but it can easily be modded if you're using > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Breen > Sent: Monday, September 27, 2004 11:58 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Elegant Solution? > > Hello All, > > Does anyone have a similar class or function for elegantly handling > ADO record sets ? > > Or similar in the .Net environment ? > > Mark Breen > Ireland > > On Mon, 27 Sep 2004 08:45:22 -0700, Charlotte Foust > wrote: > > The difference is that if you use CurrentDb, you don't have to refresh > > to see the changes. DBEngine is faster because it doesn't refresh > > automatically. Redo your test with a refresh after every change and see > > how they compare. > > > > Charlotte Foust > > > > > > > > > > -----Original Message----- > > From: Dan Waters [mailto:dwaters at usinternet.com] > > Sent: Friday, September 24, 2004 7:06 AM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Elegant Solution? > > > > Using CurrentDB everywhere is slower. > > > > I use: > > Set rst = DBEngine(0)(0).OpenRecordset(stg,db.....) > > > > I did a test once and determined that using the above line is exactly 8 > > times faster than using: Set rst = CurrentDB.OpenRecordset(stg,db.....) > > > > However, you must use CurrentDB for some things, like setting the > > current database's properties in VBA. > > > > Dan Waters > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid > > Sent: Friday, September 24, 2004 6:19 AM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Elegant Solution? > > > > I thought using currentdb everywhere used extra resources and was a > > no-no. > > > > Bobby > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - > > IT Helps > > Sent: Friday, September 24, 2004 3:57 AM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] Elegant Solution? > > > > I never do dbs as DAO.Database > > > > I always do > > Set rstTemp as currentdb.openrecordset (bla bla) > > > > Dbs can be replaced by currentdb > > > > Erwin > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS > > Sent: Friday, September 24, 2004 9:13 AM > > To: access group > > Subject: [AccessD] Elegant Solution? > > > > Hi Everyone, > > > > Does anyone have any code or such that handles the following elegantly: > > > > Dim dbs as DAO.Database > > Dim rst as DAO.Recordset > > > > Set dbs etc etc > > > > Do whatever here > > > > dbs.close > > dbs = nothing etc etc > > > > I am tired of having do the above to open database connections and > > recordsets in the above manner in every Sub or Function. Surely there's > > a more elegant method that someone has come up with here you just parse > > the SQL Statement through or something... > > > > Any suggestions or links will be greatly appreciated... > > > > Regards > > Vlad > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > *********************************************************************************** > "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > *********************************************************************************** > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gjgiever at myway.com Tue Sep 28 06:05:00 2004 From: gjgiever at myway.com (Gary J. Giever) Date: Tue, 28 Sep 2004 07:05:00 -0400 (EDT) Subject: [AccessD] No Permission? Message-ID: <20040928110500.694DF39FB@mprdmxin.myway.com> I log in as having administrative rights but not as The Administrator. I don't like the XP set up, so I created a new folder on the C drive called My Documents and I ignore the XP My Documents which is buried somewhere. Thanks for the suggestions, I shall look into those issues. Gary J. Giever, M.A. Applications Developer ACCMHS 3285 122nd Avenue PO Drawer 130 Allegan, MI 49010 --- On Mon 09/27, MartyConnelly < martyconnelly at shaw.ca > wrote: From: MartyConnelly [mailto: martyconnelly at shaw.ca] To: accessd at databaseadvisors.com Date: Mon, 27 Sep 2004 14:57:07 -0700 Subject: Re: [AccessD] No Permission? Are you sure you are logging on as administrator and not another user name?

Try this code to indicate your user name at logon
http://www.mvps.org/access/api/api0008.htm

Generally with a named user login "my documents" folder for user "marty"
would look like
C:\Documents and Settings\marty\My Documents\Access\
or
C:\Documents and Settings\All Users

rather than

C:\My Documents\Access\



unless you have moved it, somehow

You could have a clobbered user profile which I am not sure how to correct.

Try this code to see what is happening
Sub mydocfolder()
Dim MyAppPath As String
Dim wshShell As Object
Set wshShell = CreateObject("wscript.shell")
MyAppPath = wshShell.SpecialFolders("MyDocuments")
Set wshShell = Nothing

Debug.Print MyAppPath
Debug.Print fOSUserName
End Sub

See this article (it takes a second or two for the right frame to load)
http://securityadmin.info/faq.asp#ownership


If this is Pro, you need to disable simple file sharing using
the Folder Options control panel, and then if you are using an admin
account, you can see the security tab.

Open Windows Explorer and right-click your "My Documents" folder. Then
select the Sharing and Security option and click the security tab. You
should see Administrators group, SYSTEM, and owner listed with full
control, but likely you won't see owner listed and if owner is not part
of the Administrators group, then that explains why you can't access the
folder.

Click the advanced button and click the owner tab. If the owner is
Administrators, then leave it alone, but if the owner is some long
string of numbers, you need to click Administrators and the checkbox
that says to apply this to all subfolders. Then click OK. Now the folder
belongs to a real account (and if you reinstall again, it won't be an
unknown account, it will continue to be Administrators group).

If owner does not appear in the list of accounts, then add owner and
give owner "full control". Make sure that this is applied to all
subfolders and files.

Reboot to normal mode, logon as owner and try to access the folder
again.


Gary J. Giever wrote:

>I have an annoying problem with Access 97 that began when I switched from Windows 98SE to Windows XP Pro. Now when I try to re-link tables, I get this message from the Linked Table Manager: "You do not have access to the folder 'C:\My Documents\Access\In Progress\*.mdb'. See your administrator for access to this folder." Most of the time it lets me re-link the tables anyway, but sometimes it will not.
>
>This is confusing since I am the administrator and only user of this computer. I have checked the Security settings under properties for the files and I seem to have permission. Any ideas?
>
>
>Gary J. Giever, M.A.
>Applications Developer
>ACCMHS
>3285 122nd Avenue
>PO Drawer 130
>Allegan, MI 49010
>
>
>
>Gary J. Giever, M.A.
>Applications Developer
>ACCMHS
>3285 122nd Avenue
>PO Drawer 130
>Allegan, MI 49010
>
>
>_______________________________________________
>No banners. No pop-ups. No kidding.
>Make My Way your home on the Web - http://www.myway.com
>
>

--
Marty Connelly
Victoria, B.C.
Canada



--
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com
_______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From gjgiever at myway.com Tue Sep 28 05:59:40 2004 From: gjgiever at myway.com (Gary J. Giever) Date: Tue, 28 Sep 2004 06:59:40 -0400 (EDT) Subject: [AccessD] No Permission? Message-ID: <20040928105940.6F55D39B5@mprdmxin.myway.com> That's what I was figuring too. But Marty Connelly came up with some ideas that I shall explore before I give up. Gary J. Giever, M.A. Applications Developer ACCMHS 3285 122nd Avenue PO Drawer 130 Allegan, MI 49010 --- On Mon 09/27, Greg Smith < GregSmith at starband.net > wrote: From: Greg Smith [mailto: GregSmith at starband.net] To: accessd at databaseadvisors.com Date: Mon, 27 Sep 2004 14:10:09 -0500 (CDT) Subject: Re: [AccessD] No Permission? Gary:

I've lived with that for years with Access 97. None of our network guys
could figure it out...so I just left it in my "Annoying Access 97 Things"
box and learned to live with it.

Greg Smith
gregsmith at starband.net

> I have an annoying problem with Access 97 that began when I switched
> from Windows 98SE to Windows XP Pro. Now when I try to re-link tables,
> I get this message from the Linked Table Manager: "You do not have
> access to the folder 'C:\My Documents\Access\In Progress\*.mdb'. See
> your administrator for access to this folder." Most of the time it lets
> me re-link the tables anyway, but sometimes it will not.
>
> This is confusing since I am the administrator and only user of this
> computer. I have checked the Security settings under properties for the
> files and I seem to have permission. Any ideas?
>
>
> Gary J. Giever, M.A.
> Applications Developer
> ACCMHS
> 3285 122nd Avenue
> PO Drawer 130
> Allegan, MI 49010
>
>
>
> Gary J. Giever, M.A.
> Applications Developer
> ACCMHS
> 3285 122nd Avenue
> PO Drawer 130
> Allegan, MI 49010
>
>
> _______________________________________________
> No banners. No pop-ups. No kidding.
> Make My Way your home on the Web - http://www.myway.com
> --
> _______________________________________________
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/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 banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com From jwcolby at colbyconsulting.com Tue Sep 28 06:48:49 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 28 Sep 2004 07:48:49 -0400 Subject: [AccessD] Elegant Solution? In-Reply-To: <26a96cce04092803136ce6b2a8@mail.gmail.com> Message-ID: <003d01c4a551$1fdfa120$e8dafea9@ColbyM6805> Mark, Are you using vb6 or .net? John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: Tuesday, September 28, 2004 6:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Elegant Solution? Hello Jim, Actually it was for VB that I really wanted it, but I felt shy about admitting it on AccessD. If you do not mind, I would be intersted in seeing it. I do not mind it being posted on list, I presume most are mildly interested, but if you prefer, you may send it directly. Thanks Jim, Mark Breen Ireland On Mon, 27 Sep 2004 12:27:39 -0400, Jim DeMarco wrote: > I have one for VB but it can easily be modded if you're using > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Breen > Sent: Monday, September 27, 2004 11:58 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Elegant Solution? > > Hello All, > > Does anyone have a similar class or function for elegantly handling > ADO record sets ? > > Or similar in the .Net environment ? > > Mark Breen > Ireland > > On Mon, 27 Sep 2004 08:45:22 -0700, Charlotte Foust > wrote: > > The difference is that if you use CurrentDb, you don't have to > > refresh to see the changes. DBEngine is faster because it doesn't > > refresh automatically. Redo your test with a refresh after every > > change and see how they compare. > > > > Charlotte Foust > > > > > > > > > > -----Original Message----- > > From: Dan Waters [mailto:dwaters at usinternet.com] > > Sent: Friday, September 24, 2004 7:06 AM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Elegant Solution? > > > > Using CurrentDB everywhere is slower. > > > > I use: > > Set rst = DBEngine(0)(0).OpenRecordset(stg,db.....) > > > > I did a test once and determined that using the above line is > > exactly 8 times faster than using: Set rst = > > CurrentDB.OpenRecordset(stg,db.....) > > > > However, you must use CurrentDB for some things, like setting the > > current database's properties in VBA. > > > > Dan Waters > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby > > Heid > > Sent: Friday, September 24, 2004 6:19 AM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Elegant Solution? > > > > I thought using currentdb everywhere used extra resources and was a > > no-no. > > > > Bobby > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin > > Craps - IT Helps > > Sent: Friday, September 24, 2004 3:57 AM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] Elegant Solution? > > > > I never do dbs as DAO.Database > > > > I always do > > Set rstTemp as currentdb.openrecordset (bla bla) > > > > Dbs can be replaced by currentdb > > > > Erwin > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS > > Sent: Friday, September 24, 2004 9:13 AM > > To: access group > > Subject: [AccessD] Elegant Solution? > > > > Hi Everyone, > > > > Does anyone have any code or such that handles the following > > elegantly: > > > > Dim dbs as DAO.Database > > Dim rst as DAO.Recordset > > > > Set dbs etc etc > > > > Do whatever here > > > > dbs.close > > dbs = nothing etc etc > > > > I am tired of having do the above to open database connections and > > recordsets in the above manner in every Sub or Function. Surely > > there's a more elegant method that someone has come up with here you > > just parse the SQL Statement through or something... > > > > Any suggestions or links will be greatly appreciated... > > > > Regards > > Vlad > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > ********************************************************************** > ************* > "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > **************************************************************************** ******* > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mark.breen at gmail.com Tue Sep 28 07:46:58 2004 From: mark.breen at gmail.com (Mark Breen) Date: Tue, 28 Sep 2004 13:46:58 +0100 Subject: [AccessD] Elegant Solution? In-Reply-To: <003d01c4a551$1fdfa120$e8dafea9@ColbyM6805> References: <26a96cce04092803136ce6b2a8@mail.gmail.com> <003d01c4a551$1fdfa120$e8dafea9@ColbyM6805> Message-ID: <26a96cce04092805462fa522d1@mail.gmail.com> Hello John, I am about to start a .Net project, but I have not written a line of it yet, other than playing with some exercises in a book I have on it. It has been my intention, once I start, to read your emails and to search the archives for other ones you may have written on it. How have you gotton on with it? Are you still working with it? In relation to the ADO class, I do not mind which ver it is, I was curious to see what others out there do to handle this issue. I use cut and paste and am very careful about tidying up as I go. It is not that sophisticated, but it works and it prevents concerns about things getting confused when By Ref etc come into play. Also, I wonder about the over head of passing By Val when it is a big rst being passed. Nevertheless, I am interested in a efficient way of openning rst and passing them back without having to do all the work in side each sub routine. How is life, how are you enjoying parenthood ? Mark On Tue, 28 Sep 2004 07:48:49 -0400, John W. Colby wrote: > Mark, > > Are you using vb6 or .net? > > John W. Colby > www.ColbyConsulting.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: Tuesday, September 28, 2004 6:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Elegant Solution? > > Hello Jim, > > Actually it was for VB that I really wanted it, but I felt shy about > admitting it on AccessD. > > If you do not mind, I would be intersted in seeing it. > > I do not mind it being posted on list, I presume most are mildly interested, > but if you prefer, you may send it directly. > > Thanks Jim, > > Mark Breen > Ireland > > On Mon, 27 Sep 2004 12:27:39 -0400, Jim DeMarco > wrote: > > I have one for VB but it can easily be modded if you're using > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Breen > > Sent: Monday, September 27, 2004 11:58 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Elegant Solution? > > > > Hello All, > > > > Does anyone have a similar class or function for elegantly handling > > ADO record sets ? > > > > Or similar in the .Net environment ? > > > > Mark Breen > > Ireland > > > > On Mon, 27 Sep 2004 08:45:22 -0700, Charlotte Foust > > wrote: > > > The difference is that if you use CurrentDb, you don't have to > > > refresh to see the changes. DBEngine is faster because it doesn't > > > refresh automatically. Redo your test with a refresh after every > > > change and see how they compare. > > > > > > Charlotte Foust > > > > > > > > > > > > > > > -----Original Message----- > > > From: Dan Waters [mailto:dwaters at usinternet.com] > > > Sent: Friday, September 24, 2004 7:06 AM > > > To: 'Access Developers discussion and problem solving' > > > Subject: RE: [AccessD] Elegant Solution? > > > > > > Using CurrentDB everywhere is slower. > > > > > > I use: > > > Set rst = DBEngine(0)(0).OpenRecordset(stg,db.....) > > > > > > I did a test once and determined that using the above line is > > > exactly 8 times faster than using: Set rst = > > > CurrentDB.OpenRecordset(stg,db.....) > > > > > > However, you must use CurrentDB for some things, like setting the > > > current database's properties in VBA. > > > > > > Dan Waters > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby > > > Heid > > > Sent: Friday, September 24, 2004 6:19 AM > > > To: 'Access Developers discussion and problem solving' > > > Subject: RE: [AccessD] Elegant Solution? > > > > > > I thought using currentdb everywhere used extra resources and was a > > > no-no. > > > > > > Bobby > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin > > > Craps - IT Helps > > > Sent: Friday, September 24, 2004 3:57 AM > > > To: Access Developers discussion and problem solving > > > Subject: RE: [AccessD] Elegant Solution? > > > > > > I never do dbs as DAO.Database > > > > > > I always do > > > Set rstTemp as currentdb.openrecordset (bla bla) > > > > > > Dbs can be replaced by currentdb > > > > > > Erwin > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS > > > Sent: Friday, September 24, 2004 9:13 AM > > > To: access group > > > Subject: [AccessD] Elegant Solution? > > > > > > Hi Everyone, > > > > > > Does anyone have any code or such that handles the following > > > elegantly: > > > > > > Dim dbs as DAO.Database > > > Dim rst as DAO.Recordset > > > > > > Set dbs etc etc > > > > > > Do whatever here > > > > > > dbs.close > > > dbs = nothing etc etc > > > > > > I am tired of having do the above to open database connections and > > > recordsets in the above manner in every Sub or Function. Surely > > > there's a more elegant method that someone has come up with here you > > > just parse the SQL Statement through or something... > > > > > > Any suggestions or links will be greatly appreciated... > > > > > > Regards > > > Vlad > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > ********************************************************************** > > ************* > > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that is > confidential or privileged. If you are not the intended recipient, you are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail address > noted above or calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > > > **************************************************************************** > ******* > > > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From actebs at actebs.com.au Tue Sep 28 08:32:42 2004 From: actebs at actebs.com.au (ACTEBS) Date: Tue, 28 Sep 2004 23:32:42 +1000 Subject: [AccessD] Elegant Solution? Message-ID: <2025BB6F17FCB54791F23CD50558332803851E@starfleet.unknown.local> Jim, I would love to get a copy... Regards Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Tuesday, 28 September 2004 2:28 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Elegant Solution? I have one for VB but it can easily be modded if you're using wrote: > The difference is that if you use CurrentDb, you don't have to refresh > to see the changes. DBEngine is faster because it doesn't refresh > automatically. Redo your test with a refresh after every change and > see how they compare. > > Charlotte Foust > > > > > -----Original Message----- > From: Dan Waters [mailto:dwaters at usinternet.com] > Sent: Friday, September 24, 2004 7:06 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Elegant Solution? > > Using CurrentDB everywhere is slower. > > I use: > Set rst = DBEngine(0)(0).OpenRecordset(stg,db.....) > > I did a test once and determined that using the above line is exactly > 8 times faster than using: Set rst = > CurrentDB.OpenRecordset(stg,db.....) > > However, you must use CurrentDB for some things, like setting the > current database's properties in VBA. > > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid > Sent: Friday, September 24, 2004 6:19 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Elegant Solution? > > I thought using currentdb everywhere used extra resources and was a > no-no. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps > - IT Helps > Sent: Friday, September 24, 2004 3:57 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Elegant Solution? > > I never do dbs as DAO.Database > > I always do > Set rstTemp as currentdb.openrecordset (bla bla) > > Dbs can be replaced by currentdb > > Erwin > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS > Sent: Friday, September 24, 2004 9:13 AM > To: access group > Subject: [AccessD] Elegant Solution? > > Hi Everyone, > > Does anyone have any code or such that handles the following > elegantly: > > Dim dbs as DAO.Database > Dim rst as DAO.Recordset > > Set dbs etc etc > > Do whatever here > > dbs.close > dbs = nothing etc etc > > I am tired of having do the above to open database connections and > recordsets in the above manner in every Sub or Function. Surely > there's a more elegant method that someone has come up with here you > just parse the SQL Statement through or something... > > Any suggestions or links will be greatly appreciated... > > Regards > Vlad > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JColby at dispec.com Tue Sep 28 09:25:42 2004 From: JColby at dispec.com (Colby, John) Date: Tue, 28 Sep 2004 10:25:42 -0400 Subject: [AccessD] Elegant Solution? Message-ID: <05C61C52D7CAD211A7830008C7DF6F1079BDFE@DISABILITYINS01> Parenthood is a gas. I never thought I'd care, I was always a dog person. Fill up the bowl with food and water and leave for the weekend if I wanted. Now..... John W. Colby The DIS Database Guy -----Original Message----- From: Mark Breen [mailto:mark.breen at gmail.com] Sent: Tuesday, September 28, 2004 8:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Elegant Solution? Hello John, I am about to start a .Net project, but I have not written a line of it yet, other than playing with some exercises in a book I have on it. It has been my intention, once I start, to read your emails and to search the archives for other ones you may have written on it. How have you gotton on with it? Are you still working with it? In relation to the ADO class, I do not mind which ver it is, I was curious to see what others out there do to handle this issue. I use cut and paste and am very careful about tidying up as I go. It is not that sophisticated, but it works and it prevents concerns about things getting confused when By Ref etc come into play. Also, I wonder about the over head of passing By Val when it is a big rst being passed. Nevertheless, I am interested in a efficient way of openning rst and passing them back without having to do all the work in side each sub routine. How is life, how are you enjoying parenthood ? Mark On Tue, 28 Sep 2004 07:48:49 -0400, John W. Colby wrote: > Mark, > > Are you using vb6 or .net? > > John W. Colby > www.ColbyConsulting.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: Tuesday, September 28, 2004 6:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Elegant Solution? > > Hello Jim, > > Actually it was for VB that I really wanted it, but I felt shy about > admitting it on AccessD. > > If you do not mind, I would be intersted in seeing it. > > I do not mind it being posted on list, I presume most are mildly interested, > but if you prefer, you may send it directly. > > Thanks Jim, > > Mark Breen > Ireland > > On Mon, 27 Sep 2004 12:27:39 -0400, Jim DeMarco > wrote: > > I have one for VB but it can easily be modded if you're using > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Breen > > Sent: Monday, September 27, 2004 11:58 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Elegant Solution? > > > > Hello All, > > > > Does anyone have a similar class or function for elegantly handling > > ADO record sets ? > > > > Or similar in the .Net environment ? > > > > Mark Breen > > Ireland > > > > On Mon, 27 Sep 2004 08:45:22 -0700, Charlotte Foust > > wrote: > > > The difference is that if you use CurrentDb, you don't have to > > > refresh to see the changes. DBEngine is faster because it doesn't > > > refresh automatically. Redo your test with a refresh after every > > > change and see how they compare. > > > > > > Charlotte Foust > > > > > > > > > > > > > > > -----Original Message----- > > > From: Dan Waters [mailto:dwaters at usinternet.com] > > > Sent: Friday, September 24, 2004 7:06 AM > > > To: 'Access Developers discussion and problem solving' > > > Subject: RE: [AccessD] Elegant Solution? > > > > > > Using CurrentDB everywhere is slower. > > > > > > I use: > > > Set rst = DBEngine(0)(0).OpenRecordset(stg,db.....) > > > > > > I did a test once and determined that using the above line is > > > exactly 8 times faster than using: Set rst = > > > CurrentDB.OpenRecordset(stg,db.....) > > > > > > However, you must use CurrentDB for some things, like setting the > > > current database's properties in VBA. > > > > > > Dan Waters > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby > > > Heid > > > Sent: Friday, September 24, 2004 6:19 AM > > > To: 'Access Developers discussion and problem solving' > > > Subject: RE: [AccessD] Elegant Solution? > > > > > > I thought using currentdb everywhere used extra resources and was a > > > no-no. > > > > > > Bobby > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin > > > Craps - IT Helps > > > Sent: Friday, September 24, 2004 3:57 AM > > > To: Access Developers discussion and problem solving > > > Subject: RE: [AccessD] Elegant Solution? > > > > > > I never do dbs as DAO.Database > > > > > > I always do > > > Set rstTemp as currentdb.openrecordset (bla bla) > > > > > > Dbs can be replaced by currentdb > > > > > > Erwin > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS > > > Sent: Friday, September 24, 2004 9:13 AM > > > To: access group > > > Subject: [AccessD] Elegant Solution? > > > > > > Hi Everyone, > > > > > > Does anyone have any code or such that handles the following > > > elegantly: > > > > > > Dim dbs as DAO.Database > > > Dim rst as DAO.Recordset > > > > > > Set dbs etc etc > > > > > > Do whatever here > > > > > > dbs.close > > > dbs = nothing etc etc > > > > > > I am tired of having do the above to open database connections and > > > recordsets in the above manner in every Sub or Function. Surely > > > there's a more elegant method that someone has come up with here you > > > just parse the SQL Statement through or something... > > > > > > Any suggestions or links will be greatly appreciated... > > > > > > Regards > > > Vlad > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > ********************************************************************** > > ************* > > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that is > confidential or privileged. If you are not the intended recipient, you are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail address > noted above or calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > > > **************************************************************************** > ******* > > > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Sep 28 09:46:31 2004 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 28 Sep 2004 09:46:31 -0500 Subject: [AccessD] Elegant Solution? In-Reply-To: <5412441.1096382688806.JavaMail.root@sniper4.usinternet.com> Message-ID: <000001c4a569$f216dbf0$de1811d8@danwaters> DIS - Does that mean Dad Is Satisfied? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John Sent: Tuesday, September 28, 2004 9:26 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Elegant Solution? Parenthood is a gas. I never thought I'd care, I was always a dog person. Fill up the bowl with food and water and leave for the weekend if I wanted. Now..... John W. Colby The DIS Database Guy -----Original Message----- From: Mark Breen [mailto:mark.breen at gmail.com] Sent: Tuesday, September 28, 2004 8:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Elegant Solution? Hello John, I am about to start a .Net project, but I have not written a line of it yet, other than playing with some exercises in a book I have on it. It has been my intention, once I start, to read your emails and to search the archives for other ones you may have written on it. How have you gotton on with it? Are you still working with it? In relation to the ADO class, I do not mind which ver it is, I was curious to see what others out there do to handle this issue. I use cut and paste and am very careful about tidying up as I go. It is not that sophisticated, but it works and it prevents concerns about things getting confused when By Ref etc come into play. Also, I wonder about the over head of passing By Val when it is a big rst being passed. Nevertheless, I am interested in a efficient way of openning rst and passing them back without having to do all the work in side each sub routine. How is life, how are you enjoying parenthood ? Mark On Tue, 28 Sep 2004 07:48:49 -0400, John W. Colby wrote: > Mark, > > Are you using vb6 or .net? > > John W. Colby > www.ColbyConsulting.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: Tuesday, September 28, 2004 6:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Elegant Solution? > > Hello Jim, > > Actually it was for VB that I really wanted it, but I felt shy about > admitting it on AccessD. > > If you do not mind, I would be intersted in seeing it. > > I do not mind it being posted on list, I presume most are mildly interested, > but if you prefer, you may send it directly. > > Thanks Jim, > > Mark Breen > Ireland > > On Mon, 27 Sep 2004 12:27:39 -0400, Jim DeMarco > wrote: > > I have one for VB but it can easily be modded if you're using > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Breen > > Sent: Monday, September 27, 2004 11:58 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Elegant Solution? > > > > Hello All, > > > > Does anyone have a similar class or function for elegantly handling > > ADO record sets ? > > > > Or similar in the .Net environment ? > > > > Mark Breen > > Ireland > > > > On Mon, 27 Sep 2004 08:45:22 -0700, Charlotte Foust > > wrote: > > > The difference is that if you use CurrentDb, you don't have to > > > refresh to see the changes. DBEngine is faster because it doesn't > > > refresh automatically. Redo your test with a refresh after every > > > change and see how they compare. > > > > > > Charlotte Foust > > > > > > > > > > > > > > > -----Original Message----- > > > From: Dan Waters [mailto:dwaters at usinternet.com] > > > Sent: Friday, September 24, 2004 7:06 AM > > > To: 'Access Developers discussion and problem solving' > > > Subject: RE: [AccessD] Elegant Solution? > > > > > > Using CurrentDB everywhere is slower. > > > > > > I use: > > > Set rst = DBEngine(0)(0).OpenRecordset(stg,db.....) > > > > > > I did a test once and determined that using the above line is > > > exactly 8 times faster than using: Set rst = > > > CurrentDB.OpenRecordset(stg,db.....) > > > > > > However, you must use CurrentDB for some things, like setting the > > > current database's properties in VBA. > > > > > > Dan Waters > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby > > > Heid > > > Sent: Friday, September 24, 2004 6:19 AM > > > To: 'Access Developers discussion and problem solving' > > > Subject: RE: [AccessD] Elegant Solution? > > > > > > I thought using currentdb everywhere used extra resources and was a > > > no-no. > > > > > > Bobby > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin > > > Craps - IT Helps > > > Sent: Friday, September 24, 2004 3:57 AM > > > To: Access Developers discussion and problem solving > > > Subject: RE: [AccessD] Elegant Solution? > > > > > > I never do dbs as DAO.Database > > > > > > I always do > > > Set rstTemp as currentdb.openrecordset (bla bla) > > > > > > Dbs can be replaced by currentdb > > > > > > Erwin > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS > > > Sent: Friday, September 24, 2004 9:13 AM > > > To: access group > > > Subject: [AccessD] Elegant Solution? > > > > > > Hi Everyone, > > > > > > Does anyone have any code or such that handles the following > > > elegantly: > > > > > > Dim dbs as DAO.Database > > > Dim rst as DAO.Recordset > > > > > > Set dbs etc etc > > > > > > Do whatever here > > > > > > dbs.close > > > dbs = nothing etc etc > > > > > > I am tired of having do the above to open database connections and > > > recordsets in the above manner in every Sub or Function. Surely > > > there's a more elegant method that someone has come up with here you > > > just parse the SQL Statement through or something... > > > > > > Any suggestions or links will be greatly appreciated... > > > > > > Regards > > > Vlad > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > ********************************************************************** > > ************* > > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that is > confidential or privileged. If you are not the intended recipient, you are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail address > noted above or calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > > > **************************************************************************** > ******* > > > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JColby at dispec.com Tue Sep 28 10:08:09 2004 From: JColby at dispec.com (Colby, John) Date: Tue, 28 Sep 2004 11:08:09 -0400 Subject: [AccessD] Elegant Solution? Message-ID: <05C61C52D7CAD211A7830008C7DF6F1079BDFF@DISABILITYINS01> You'd be good at the acronym game! ;-) Disability Insurance Specialist. That's my sig for my user at that client (where I am currently working). I put that in when I first got here so that the employees would know who I was when they got an email from me. John W. Colby The DIS Database Guy -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Tuesday, September 28, 2004 10:47 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Elegant Solution? DIS - Does that mean Dad Is Satisfied? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John Sent: Tuesday, September 28, 2004 9:26 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Elegant Solution? Parenthood is a gas. I never thought I'd care, I was always a dog person. Fill up the bowl with food and water and leave for the weekend if I wanted. Now..... John W. Colby The DIS Database Guy -----Original Message----- From: Mark Breen [mailto:mark.breen at gmail.com] Sent: Tuesday, September 28, 2004 8:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Elegant Solution? Hello John, I am about to start a .Net project, but I have not written a line of it yet, other than playing with some exercises in a book I have on it. It has been my intention, once I start, to read your emails and to search the archives for other ones you may have written on it. How have you gotton on with it? Are you still working with it? In relation to the ADO class, I do not mind which ver it is, I was curious to see what others out there do to handle this issue. I use cut and paste and am very careful about tidying up as I go. It is not that sophisticated, but it works and it prevents concerns about things getting confused when By Ref etc come into play. Also, I wonder about the over head of passing By Val when it is a big rst being passed. Nevertheless, I am interested in a efficient way of openning rst and passing them back without having to do all the work in side each sub routine. How is life, how are you enjoying parenthood ? Mark On Tue, 28 Sep 2004 07:48:49 -0400, John W. Colby wrote: > Mark, > > Are you using vb6 or .net? > > John W. Colby > www.ColbyConsulting.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: Tuesday, September 28, 2004 6:14 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Elegant Solution? > > Hello Jim, > > Actually it was for VB that I really wanted it, but I felt shy about > admitting it on AccessD. > > If you do not mind, I would be intersted in seeing it. > > I do not mind it being posted on list, I presume most are mildly interested, > but if you prefer, you may send it directly. > > Thanks Jim, > > Mark Breen > Ireland > > On Mon, 27 Sep 2004 12:27:39 -0400, Jim DeMarco > wrote: > > I have one for VB but it can easily be modded if you're using > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Breen > > Sent: Monday, September 27, 2004 11:58 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Elegant Solution? > > > > Hello All, > > > > Does anyone have a similar class or function for elegantly handling > > ADO record sets ? > > > > Or similar in the .Net environment ? > > > > Mark Breen > > Ireland > > > > On Mon, 27 Sep 2004 08:45:22 -0700, Charlotte Foust > > wrote: > > > The difference is that if you use CurrentDb, you don't have to > > > refresh to see the changes. DBEngine is faster because it doesn't > > > refresh automatically. Redo your test with a refresh after every > > > change and see how they compare. > > > > > > Charlotte Foust > > > > > > > > > > > > > > > -----Original Message----- > > > From: Dan Waters [mailto:dwaters at usinternet.com] > > > Sent: Friday, September 24, 2004 7:06 AM > > > To: 'Access Developers discussion and problem solving' > > > Subject: RE: [AccessD] Elegant Solution? > > > > > > Using CurrentDB everywhere is slower. > > > > > > I use: > > > Set rst = DBEngine(0)(0).OpenRecordset(stg,db.....) > > > > > > I did a test once and determined that using the above line is > > > exactly 8 times faster than using: Set rst = > > > CurrentDB.OpenRecordset(stg,db.....) > > > > > > However, you must use CurrentDB for some things, like setting the > > > current database's properties in VBA. > > > > > > Dan Waters > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby > > > Heid > > > Sent: Friday, September 24, 2004 6:19 AM > > > To: 'Access Developers discussion and problem solving' > > > Subject: RE: [AccessD] Elegant Solution? > > > > > > I thought using currentdb everywhere used extra resources and was a > > > no-no. > > > > > > Bobby > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin > > > Craps - IT Helps > > > Sent: Friday, September 24, 2004 3:57 AM > > > To: Access Developers discussion and problem solving > > > Subject: RE: [AccessD] Elegant Solution? > > > > > > I never do dbs as DAO.Database > > > > > > I always do > > > Set rstTemp as currentdb.openrecordset (bla bla) > > > > > > Dbs can be replaced by currentdb > > > > > > Erwin > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS > > > Sent: Friday, September 24, 2004 9:13 AM > > > To: access group > > > Subject: [AccessD] Elegant Solution? > > > > > > Hi Everyone, > > > > > > Does anyone have any code or such that handles the following > > > elegantly: > > > > > > Dim dbs as DAO.Database > > > Dim rst as DAO.Recordset > > > > > > Set dbs etc etc > > > > > > Do whatever here > > > > > > dbs.close > > > dbs = nothing etc etc > > > > > > I am tired of having do the above to open database connections and > > > recordsets in the above manner in every Sub or Function. Surely > > > there's a more elegant method that someone has come up with here you > > > just parse the SQL Statement through or something... > > > > > > Any suggestions or links will be greatly appreciated... > > > > > > Regards > > > Vlad > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > ********************************************************************** > > ************* > > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that is > confidential or privileged. If you are not the intended recipient, you are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail address > noted above or calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > > > **************************************************************************** > ******* > > > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Tue Sep 28 10:16:26 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 28 Sep 2004 10:16:26 -0500 Subject: [AccessD] ADPs in the future Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677217FF63@corp-es01.fleetpride.com> Amen. Furthermore, without a strong developer community how does Microsoft expect power users to master Access? It is a copout for them to take the attitude that the future of Access is to be just a power users tool. Jim Hale -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, September 27, 2004 10:43 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADPs in the future All I know is that the State of California and the Federal government are still using Access desktop databases for stuff the programmers don't have time to create and small business still has the need for custom database apps that don't require SQL Server. ;-/ Charlotte Foust -----Original Message----- From: Ken Ismert [mailto:KIsmert at TexasSystems.com] Sent: Friday, September 24, 2004 10:02 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Dan, Unless the next version of Access is a completely .NET centric product, Windows forms on top, VB.NET or C# underneath, and is fully web enabled (in other words the complete rewrite Mary Chipman said they weren't going to do), it will have nothing of interest in it for me. A simple test: if the next version of Access doesn't natively support Microsoft's flagship database, SQL Server 2005, it has been abandoned. I would like to hear more responses regarding the current prospects of Access consulting. Nearly everyone I know locally is either having a tough time getting Access work, or is moving away from Access towards more profitable work. A consensus from this group that there is a burgeoning Access job market in the near future would do more than anything else to dispel my pessimism. And yes, the bright side of the story is that the fundamentals we learn here are applicable to any new data environment we may encounter. -Ken -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Thursday, September 23, 2004 3:35 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Ken, Let's not sink the ship just yet. A new version of Access (12) will soon begin to be discussed. Let's see what it is first. OTOH, the skills that I know I've developed will let learn whatever I need to learn to make my future work! Dan Waters -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Sep 28 10:34:02 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 28 Sep 2004 08:34:02 -0700 Subject: [AccessD] Access/SQL Dates Message-ID: SQL Server uses single quotes around date values. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Monday, September 27, 2004 8:19 AM To: 'Access Developers discussion and problem solving'; 'Nicholson, Karen' Subject: RE: [AccessD] Access/SQL Dates Very probably I am wrong as I've not yet had the joy of dealing with SQL server, but is it not the case that the date delimiting character in SQL Server is the percentage symbol (%) not pound or hash (#)? Lambert > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen > Sent: Monday, September 27, 2004 8:19 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Access/SQL Dates > > Interesting. The SQL backend structure can not be changed as it is > proprietary. Yikes. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & > Doris Manning > Sent: Monday, September 27, 2004 7:27 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Access/SQL Dates > > > I ran into this problem when I used smalldatetime in the table as the > data type instead of datetime. To be honest, I was in a hurry and > didn't have > time to figure out why it was happening. I just changed from > smalldatetime > to datetime and the problem went away. I've never used smalldatetime > since > then. > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, > Karen > Sent: Monday, September 27, 2004 6:33 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Access/SQL Dates > > > I have an Access front-end and am querying an SQL backend. When > putting in a select statement in the query, all is fine if I specify a > date of say, less than today or specify a particular date, I get an sql overflow error. The syntaxes > I have tried > include: <#9/27/2004# <'9/27/2004' <'20040927'. Any clues? Thanks. > > Karen Nicholson > National Laboratory > Xerox Global Services > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ajallen at mail.wvu.edu Tue Sep 28 11:07:42 2004 From: ajallen at mail.wvu.edu (Amanda Rittenhouse) Date: Tue, 28 Sep 2004 12:07:42 -0400 Subject: [AccessD] Splitting Information from One field into Two Message-ID: I can't find my sample code where I update two fields by splitting one. I have a field NAME which contains: last name comma first name Example: Smith, John I want to create two fields: LastName FirstName I want to populate the two fields with the data from NAME. Before the comma is the last name and after the comma is the first name. I've seen the update code to do it but can not locate it now. Please help. * Amanda From cfoust at infostatsystems.com Tue Sep 28 11:17:22 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 28 Sep 2004 09:17:22 -0700 Subject: [AccessD] ADPs in the future Message-ID: Why, Jim! All they have to do is buy a library of MS Press books and follow all the instructions! Charlotte Foust -----Original Message----- From: Hale, Jim [mailto:Jim.Hale at fleetpride.com] Sent: Tuesday, September 28, 2004 8:16 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Amen. Furthermore, without a strong developer community how does Microsoft expect power users to master Access? It is a copout for them to take the attitude that the future of Access is to be just a power users tool. Jim Hale -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, September 27, 2004 10:43 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADPs in the future All I know is that the State of California and the Federal government are still using Access desktop databases for stuff the programmers don't have time to create and small business still has the need for custom database apps that don't require SQL Server. ;-/ Charlotte Foust -----Original Message----- From: Ken Ismert [mailto:KIsmert at TexasSystems.com] Sent: Friday, September 24, 2004 10:02 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Dan, Unless the next version of Access is a completely .NET centric product, Windows forms on top, VB.NET or C# underneath, and is fully web enabled (in other words the complete rewrite Mary Chipman said they weren't going to do), it will have nothing of interest in it for me. A simple test: if the next version of Access doesn't natively support Microsoft's flagship database, SQL Server 2005, it has been abandoned. I would like to hear more responses regarding the current prospects of Access consulting. Nearly everyone I know locally is either having a tough time getting Access work, or is moving away from Access towards more profitable work. A consensus from this group that there is a burgeoning Access job market in the near future would do more than anything else to dispel my pessimism. And yes, the bright side of the story is that the fundamentals we learn here are applicable to any new data environment we may encounter. -Ken -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Thursday, September 23, 2004 3:35 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Ken, Let's not sink the ship just yet. A new version of Access (12) will soon begin to be discussed. Let's see what it is first. OTOH, the skills that I know I've developed will let learn whatever I need to learn to make my future work! Dan Waters -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KIsmert at TexasSystems.com Tue Sep 28 11:27:53 2004 From: KIsmert at TexasSystems.com (Ken Ismert) Date: Tue, 28 Sep 2004 11:27:53 -0500 Subject: [AccessD] No MsgBox allowed In-Reply-To: <05C61C52D7CAD211A7830008C7DF6F1079BDFA@DISABILITYINS01> Message-ID: <00c301c4a578$1afc56e0$2a3ca8c0@TEXASSYSTEMS.COM> John, I faced a similar problem when setting up a datamart application which runs nightly on the server. I needed error logging and notification when a sub-process failed, but the rest of the processes needed to run, if possible. My response was to develop an error logging system with plug-ins to support the various destinations of the logged messages. All the plug-ins support a common interface, IErrorLog, which defines the common properties and methods each must support. So far, I have written plug-ins that will log errors to tables using ADO and DAO, email via CDONTS and MAPI, text files, the console (immediate window) and yes, the message box. What plug-ins get used is defined by an .ini configuration file. For production, errors are routed to tables, CDONTS email and text. For development, another .ini file is used which routes errors to the console and message box. What the loggers do is defined in part by template text files. For the table loggers, these contain SQL statements. For the email, text and console loggers, these have boilerplate text. All template files contain tokens, like and , which are replaced by the matching information when the error is logged. This is all managed by a global error handling object, which keeps an internal record of all errors encountered during execution, and logs errors with all the currently active loggers. It allows the error generating routine to save the current error, or raise it. Calling routines can examine the error results of a call, and skip dependant calls which follow, go on to the next process, or raise the previous error. -Ken -----Original Message----- From: Colby, John [mailto:JColby at dispec.com] Sent: Monday, September 27, 2004 1:46 PM To: 'AccessD at DatabaseAdvisors.com' Subject: [AccessD] No MsgBox allowed I am doing a rewrite on an app that runs unattended and emails (or FTPs) files out to a client. This app absolutely must run, or at least if it fails it has to NOT pop up a message box and halt the process. Aside from the obvious "Access is not the optimum environment to write such an app", has anyone done stuff like this (in Access) and do you have any thoughts on the issues above or any others I haven't raised? John W. Colby The DIS Database Guy From rbgajewski at adelphia.net Tue Sep 28 11:24:57 2004 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Tue, 28 Sep 2004 12:24:57 -0400 Subject: [AccessD] Splitting Information from One field into Two In-Reply-To: Message-ID: Amanda Use the InStr function to locate the comma (or comma and following space) and then use the Left/Mid/Right functions to extract the portions on either side of the comma. Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Amanda Rittenhouse Sent: Tuesday, September 28, 2004 12:08 To: accessd at databaseadvisors.com Subject: [AccessD] Splitting Information from One field into Two I can't find my sample code where I update two fields by splitting one. I have a field NAME which contains: last name comma first name Example: Smith, John I want to create two fields: LastName FirstName I want to populate the two fields with the data from NAME. Before the comma is the last name and after the comma is the first name. I've seen the update code to do it but can not locate it now. Please help. * Amanda -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Tue Sep 28 11:35:18 2004 From: JHewson at karta.com (Jim Hewson) Date: Tue, 28 Sep 2004 11:35:18 -0500 Subject: [AccessD] Splitting Information from One field into Two Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0103E35C@karta-exc-int.Karta.com> Amanda Where Name is the field for the full name. I used a Make Table query. Try this: SELECT tblFullName.Name, Left([Name],InStr([Name],",")-1) AS LastName, Right([Name],Len([Name])-(InStr([Name],",")+1)) AS FirstName INTO tblSplitName FROM tblFullName; HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Amanda Rittenhouse Sent: Tuesday, September 28, 2004 11:08 AM To: accessd at databaseadvisors.com Subject: [AccessD] Splitting Information from One field into Two I can't find my sample code where I update two fields by splitting one. I have a field NAME which contains: last name comma first name Example: Smith, John I want to create two fields: LastName FirstName I want to populate the two fields with the data from NAME. Before the comma is the last name and after the comma is the first name. I've seen the update code to do it but can not locate it now. Please help. * Amanda -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JColby at dispec.com Tue Sep 28 11:59:51 2004 From: JColby at dispec.com (Colby, John) Date: Tue, 28 Sep 2004 12:59:51 -0400 Subject: [AccessD] No MsgBox allowed Message-ID: <05C61C52D7CAD211A7830008C7DF6F1079BE00@DISABILITYINS01> WOW. I am developing an error class for my framework. I may expand it as the needs arise, but atm it logs to a text file in the same location as the app, and sends email to an address list in my sysvars table. I waffled on logging to a table. For this app it probably isn't needed but for a general app where the error logs would end up on a user's desktop machine, logging to table is probably a better answer. I already have a logger class that can log to a table or a file so I could just modify the call to the logger to send it to a table. I liked the text file because it is already in a form that can be attached to email. The class can be "programmed" to send email automatically (any error), and optionally attach the error log to the email, or any individual error handler can cause an email (with subject and message) and optionally send the log file. Having the individual error messages send / attach is obviously tedious so in general I'm guessing that I will have the app just email / send log on any error. I definitely need to get other methods of mail. ATM all my clients use outlook so I just use that but I am going to run into someone who detests Outlook and I'll be forced to look elsewhere. John W. Colby The DIS Database Guy -----Original Message----- From: Ken Ismert [mailto:KIsmert at TexasSystems.com] Sent: Tuesday, September 28, 2004 12:28 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] No MsgBox allowed John, I faced a similar problem when setting up a datamart application which runs nightly on the server. I needed error logging and notification when a sub-process failed, but the rest of the processes needed to run, if possible. My response was to develop an error logging system with plug-ins to support the various destinations of the logged messages. All the plug-ins support a common interface, IErrorLog, which defines the common properties and methods each must support. So far, I have written plug-ins that will log errors to tables using ADO and DAO, email via CDONTS and MAPI, text files, the console (immediate window) and yes, the message box. What plug-ins get used is defined by an .ini configuration file. For production, errors are routed to tables, CDONTS email and text. For development, another .ini file is used which routes errors to the console and message box. What the loggers do is defined in part by template text files. For the table loggers, these contain SQL statements. For the email, text and console loggers, these have boilerplate text. All template files contain tokens, like and , which are replaced by the matching information when the error is logged. This is all managed by a global error handling object, which keeps an internal record of all errors encountered during execution, and logs errors with all the currently active loggers. It allows the error generating routine to save the current error, or raise it. Calling routines can examine the error results of a call, and skip dependant calls which follow, go on to the next process, or raise the previous error. -Ken -----Original Message----- From: Colby, John [mailto:JColby at dispec.com] Sent: Monday, September 27, 2004 1:46 PM To: 'AccessD at DatabaseAdvisors.com' Subject: [AccessD] No MsgBox allowed I am doing a rewrite on an app that runs unattended and emails (or FTPs) files out to a client. This app absolutely must run, or at least if it fails it has to NOT pop up a message box and halt the process. Aside from the obvious "Access is not the optimum environment to write such an app", has anyone done stuff like this (in Access) and do you have any thoughts on the issues above or any others I haven't raised? John W. Colby The DIS Database Guy -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Tue Sep 28 13:58:50 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Tue, 28 Sep 2004 14:58:50 -0400 Subject: [AccessD] Access/SQL Dates Message-ID: Not this puppy! The ODBC driver is from some company called pervasive.com. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, September 28, 2004 11:34 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access/SQL Dates SQL Server uses single quotes around date values. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Monday, September 27, 2004 8:19 AM To: 'Access Developers discussion and problem solving'; 'Nicholson, Karen' Subject: RE: [AccessD] Access/SQL Dates Very probably I am wrong as I've not yet had the joy of dealing with SQL server, but is it not the case that the date delimiting character in SQL Server is the percentage symbol (%) not pound or hash (#)? Lambert > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen > Sent: Monday, September 27, 2004 8:19 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Access/SQL Dates > > Interesting. The SQL backend structure can not be changed as it is > proprietary. Yikes. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & > Doris Manning > Sent: Monday, September 27, 2004 7:27 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Access/SQL Dates > > > I ran into this problem when I used smalldatetime in the table as the > data type instead of datetime. To be honest, I was in a hurry and > didn't have > time to figure out why it was happening. I just changed from > smalldatetime > to datetime and the problem went away. I've never used smalldatetime > since > then. > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, > Karen > Sent: Monday, September 27, 2004 6:33 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Access/SQL Dates > > > I have an Access front-end and am querying an SQL backend. When > putting in a select statement in the query, all is fine if I specify a > date of say, less than today or specify a particular date, I get an sql overflow error. The syntaxes > I have tried > include: <#9/27/2004# <'9/27/2004' <'20040927'. Any clues? Thanks. > > Karen Nicholson > National Laboratory > Xerox Global Services > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From serbach at new.rr.com Tue Sep 28 14:49:36 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Tue, 28 Sep 2004 14:49:36 -0500 Subject: [AccessD] A2K: Exact match in query Message-ID: <20040928144936.1554955827.serbach@new.rr.com> Dear Group, I've scanned through Access help on this and I'm coming up short. I have a query like the following: INSERT INTO Daily ( [Date], [Source Number], [Facility Part #], [Used before disposal], [Unit used], ProductID ) SELECT DailyFID3.Date, DailyFID3.[Source Number], DailyFID3.[Facility Part #], DailyFID3.[Used before disposal], DailyFID3.[Unit used], Product.ProductID FROM DailyFID3 INNER JOIN Product ON DailyFID3.[Facility Part #] = Product.[Facility Part Number]; The query inserts records from the DailyFID3 table into the Daily table. This is an upgrade from a Paradox for Windows application and I'm consolidating and normalizing the data. There are several records in the DailyFID3 table that have a [Facility Part #] of 8605guz. The problem comes here: the Product table has entries for both 8605guz and 8605GUZ. So for every record in DailyFID3 with a part number of 8605guz, Access appends TWO records into the Daily table, each record having a different ProductID. Paradox had no trouble matching the exact capitalization of the [Facility Part #]. Access seems to ignore capitalization; thus I'm getting more records appended than exist in the original table. My question is: how do I get an Access query to pay attention to capitalization? Regards, Steve Erbach Neenah, WI "We cannot make a man worth a gven amount by making it illegal for anyone to offer him less." - Henry Hazlitt From mikedorism at adelphia.net Tue Sep 28 15:47:03 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Tue, 28 Sep 2004 16:47:03 -0400 Subject: [AccessD] A2K: Exact match in query In-Reply-To: <20040928144936.1554955827.serbach@new.rr.com> Message-ID: <000001c4a59c$50433700$060aa845@hargrove.internal> Try using Ucase(DailyFID3.[Facility Part #]) = Ucase(Product.[Facility Part Number]) -- it will force all the alpha characters to upper case. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steven W. Erbach Sent: Tuesday, September 28, 2004 3:50 PM To: Access Developers discussion and problem solving Subject: [AccessD] A2K: Exact match in query Dear Group, I've scanned through Access help on this and I'm coming up short. I have a query like the following: INSERT INTO Daily ( [Date], [Source Number], [Facility Part #], [Used before disposal], [Unit used], ProductID ) SELECT DailyFID3.Date, DailyFID3.[Source Number], DailyFID3.[Facility Part #], DailyFID3.[Used before disposal], DailyFID3.[Unit used], Product.ProductID FROM DailyFID3 INNER JOIN Product ON DailyFID3.[Facility Part #] = Product.[Facility Part Number]; The query inserts records from the DailyFID3 table into the Daily table. This is an upgrade from a Paradox for Windows application and I'm consolidating and normalizing the data. There are several records in the DailyFID3 table that have a [Facility Part #] of 8605guz. The problem comes here: the Product table has entries for both 8605guz and 8605GUZ. So for every record in DailyFID3 with a part number of 8605guz, Access appends TWO records into the Daily table, each record having a different ProductID. Paradox had no trouble matching the exact capitalization of the [Facility Part #]. Access seems to ignore capitalization; thus I'm getting more records appended than exist in the original table. My question is: how do I get an Access query to pay attention to capitalization? Regards, Steve Erbach Neenah, WI "We cannot make a man worth a gven amount by making it illegal for anyone to offer him less." - Henry Hazlitt -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Sep 28 15:56:07 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 28 Sep 2004 13:56:07 -0700 Subject: [AccessD] A2K: Exact match in query Message-ID: Access is not case sensitive by default and the query engine isn't at all, although you can force binary comparisons using InStr with the 0 option to force a binary compare. Are the two productIDs actually for different products? If so, you might want to find one of the values and replace all those with a new ProductID that won't confuse the issue as well. Charlotte Foust -----Original Message----- From: Steven W. Erbach [mailto:serbach at new.rr.com] Sent: Tuesday, September 28, 2004 12:50 PM To: Access Developers discussion and problem solving Subject: [AccessD] A2K: Exact match in query Dear Group, I've scanned through Access help on this and I'm coming up short. I have a query like the following: INSERT INTO Daily ( [Date], [Source Number], [Facility Part #], [Used before disposal], [Unit used], ProductID ) SELECT DailyFID3.Date, DailyFID3.[Source Number], DailyFID3.[Facility Part #], DailyFID3.[Used before disposal], DailyFID3.[Unit used], Product.ProductID FROM DailyFID3 INNER JOIN Product ON DailyFID3.[Facility Part #] = Product.[Facility Part Number]; The query inserts records from the DailyFID3 table into the Daily table. This is an upgrade from a Paradox for Windows application and I'm consolidating and normalizing the data. There are several records in the DailyFID3 table that have a [Facility Part #] of 8605guz. The problem comes here: the Product table has entries for both 8605guz and 8605GUZ. So for every record in DailyFID3 with a part number of 8605guz, Access appends TWO records into the Daily table, each record having a different ProductID. Paradox had no trouble matching the exact capitalization of the [Facility Part #]. Access seems to ignore capitalization; thus I'm getting more records appended than exist in the original table. My question is: how do I get an Access query to pay attention to capitalization? Regards, Steve Erbach Neenah, WI "We cannot make a man worth a gven amount by making it illegal for anyone to offer him less." - Henry Hazlitt -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shait at mindspring.com Tue Sep 28 16:11:37 2004 From: shait at mindspring.com (Stephen Hait) Date: Tue, 28 Sep 2004 17:11:37 -0400 Subject: [AccessD] A2K: Exact match in query In-Reply-To: <20040928144936.1554955827.serbach@new.rr.com> Message-ID: <41599B49.26315.1958AE1C@localhost> > My question is: how do I get an Access query to pay attention to > capitalization? Access queries are case insensitive. You may be able to use the strComp function, though. Stephen From serbach at new.rr.com Tue Sep 28 16:22:26 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Tue, 28 Sep 2004 16:22:26 -0500 Subject: [AccessD] A2K: Exact match in query In-Reply-To: <000001c4a59c$50433700$060aa845@hargrove.internal> References: <20040928144936.1554955827.serbach@new.rr.com> <000001c4a59c$50433700$060aa845@hargrove.internal> Message-ID: <20040928162226.812392248.serbach@new.rr.com> Doris, >> Try using Ucase(DailyFID3.[Facility Part #]) = Ucase(Product.[Facility Part Number]) -- it will force all the alpha characters to upper case. << Won't this still add two records? Because both occurences of the [Facility Part Number] will be upper case now and there are still two different product numbers? Steve Erbach From serbach at new.rr.com Tue Sep 28 16:24:43 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Tue, 28 Sep 2004 16:24:43 -0500 Subject: [AccessD] A2K: Exact match in query In-Reply-To: References: Message-ID: <20040928162443.439057683.serbach@new.rr.com> Charlotte, >> Access is not case sensitive by default and the query engine isn't at all, although you can force binary comparisons using InStr with the 0 option to force a binary compare. << Ah! That sounds like the ticket. >> Are the two productIDs actually for different products? ?If so, you might want to find one of the values and replace all those with a new ProductID that won't confuse the issue as well. << The customer has to do some inspection of his data before this program is put into production. Yes, the two product IDs represent identical products, just entered sloppily. However, each occurence of the product has different attributes. Only the customer can confirm which is the right one. Thanks, Charlotte. Steve Erbach From paul.hartland at fsmail.net Tue Sep 28 05:32:07 2004 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 28 Sep 2004 12:32:07 +0200 (CEST) Subject: [AccessD] Common Dialog in Access 97 Message-ID: <16860256.1096367527513.JavaMail.www@wwinf3002> To all, I have developed an application in Office XP which uses the Microsoft common dialog control. I converted the application to Access 97, using the convert wizard and when installed on an Access 97 machine the common dialog section does not work, and it's not available in the ActiveX controls, anyone any idea's on how I can get this in Access 97 Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From GregWSmith at starband.net Tue Sep 28 09:37:32 2004 From: GregWSmith at starband.net (GregWSmith at starband.net) Date: Tue, 28 Sep 2004 10:37:32 -0400 (EDT) Subject: [AccessD] Test-Do not archive In-Reply-To: <2694.216.43.21.235.1096318200.squirrel@medusa.email.starband.net> References: <2694.216.43.21.235.1096318200.squirrel@medusa.email.starband.net> Message-ID: <1671.216.43.21.235.1096382252.squirrel@medusa.email.starband.net> Sent at 0938 CDT 09-28-04. > Test only. > > Greg From pjones at btl.net Tue Sep 28 17:39:14 2004 From: pjones at btl.net (Paul M. Jones) Date: Tue, 28 Sep 2004 16:39:14 -0600 Subject: [AccessD] File DSN vs. System DSN In-Reply-To: <20040928162443.439057683.serbach@new.rr.com> References: <20040928162443.439057683.serbach@new.rr.com> Message-ID: <6.1.2.0.2.20040928163625.022957e8@pop.btl.net> I am connecting an MS Access 2000 front end to SQL Server 2000. I have found that it's easier to deploy applications using a File DSN instead of a System DSN. Anyone knows if there's a performance hit or other factors associated with File DSN instead of System DSN? Paul M. Jones Spire Services Ltd. ---------------------------------------------------------------------------------------------- Reality is the murder of a beautiful theory by a gang of ugly facts. Robert L. Glass From jmhla at earthlink.net Tue Sep 28 23:09:41 2004 From: jmhla at earthlink.net (Joe Hecht) Date: Tue, 28 Sep 2004 21:09:41 -0700 Subject: [AccessD] ADPs in the future In-Reply-To: Message-ID: <200409290409.i8T49Zf05625@databaseadvisors.com> Be Nice You Joe Hecht jmhla at earthlink.net 28g -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, September 28, 2004 9:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADPs in the future Why, Jim! All they have to do is buy a library of MS Press books and follow all the instructions! Charlotte Foust -----Original Message----- From: Hale, Jim [mailto:Jim.Hale at fleetpride.com] Sent: Tuesday, September 28, 2004 8:16 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Amen. Furthermore, without a strong developer community how does Microsoft expect power users to master Access? It is a copout for them to take the attitude that the future of Access is to be just a power users tool. Jim Hale -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, September 27, 2004 10:43 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADPs in the future All I know is that the State of California and the Federal government are still using Access desktop databases for stuff the programmers don't have time to create and small business still has the need for custom database apps that don't require SQL Server. ;-/ Charlotte Foust -----Original Message----- From: Ken Ismert [mailto:KIsmert at TexasSystems.com] Sent: Friday, September 24, 2004 10:02 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Dan, Unless the next version of Access is a completely .NET centric product, Windows forms on top, VB.NET or C# underneath, and is fully web enabled (in other words the complete rewrite Mary Chipman said they weren't going to do), it will have nothing of interest in it for me. A simple test: if the next version of Access doesn't natively support Microsoft's flagship database, SQL Server 2005, it has been abandoned. I would like to hear more responses regarding the current prospects of Access consulting. Nearly everyone I know locally is either having a tough time getting Access work, or is moving away from Access towards more profitable work. A consensus from this group that there is a burgeoning Access job market in the near future would do more than anything else to dispel my pessimism. And yes, the bright side of the story is that the fundamentals we learn here are applicable to any new data environment we may encounter. -Ken -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Thursday, September 23, 2004 3:35 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADPs in the future Ken, Let's not sink the ship just yet. A new version of Access (12) will soon begin to be discussed. Let's see what it is first. OTOH, the skills that I know I've developed will let learn whatever I need to learn to make my future work! Dan Waters -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Wed Sep 29 00:05:22 2004 From: michael at ddisolutions.com.au (Michael Maddison) Date: Wed, 29 Sep 2004 15:05:22 +1000 Subject: [AccessD] Common Dialog in Access 97 Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D01011BE1@ddi-01.DDI.local> Don't use the control :-) Use the API's instead. You can find source code all over the WWW. Google VB common dialog code cheers Michael M To all, I have developed an application in Office XP which uses the Microsoft common dialog control. I converted the application to Access 97, using the convert wizard and when installed on an Access 97 machine the common dialog section does not work, and it's not available in the ActiveX controls, anyone any idea's on how I can get this in Access 97 Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Paul.Rogers at SummitMedia.co.uk Wed Sep 29 04:36:10 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Wed, 29 Sep 2004 10:36:10 +0100 Subject: [AccessD] Access form producing a Word document Message-ID: Can an Access form be coded to print a single Word document in which the text is almost always the same, but for about three fields, please? For example, a command button to produce (for the employee whose form it is) birthday cheers, or a wedding congratulations, or to be fired. Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 From gustav at cactus.dk Wed Sep 29 05:01:39 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 29 Sep 2004 12:01:39 +0200 Subject: [AccessD] Common Dialog in Access 97 In-Reply-To: <16860256.1096367527513.JavaMail.www@wwinf3002> References: <16860256.1096367527513.JavaMail.www@wwinf3002> Message-ID: <5710827579.20040929120139@cactus.dk> Hi Paul You need to have exactly the same version of the ocx on the machine. If it is not used for anything else on that machine, you can copy your version. You may need to register it though. If this is not a one-shot install, rewrite your code to use the API. /gustav > To all, > I have developed an application in Office XP which uses the Microsoft common dialog control. I converted the application to Access 97, using the convert wizard and when installed on an Access 97 > machine the common dialog section does not work, and it's not available in the ActiveX controls, anyone any idea's on how I can get this in Access 97 > Paul Hartland From joconnell at indy.rr.com Wed Sep 29 09:30:35 2004 From: joconnell at indy.rr.com (Joseph O'Connell) Date: Wed, 29 Sep 2004 09:30:35 -0500 Subject: [AccessD] Access form producing a Word document Message-ID: <01a301c4a630$e3c9a2e0$6701a8c0@joe> Paul, Create a Word document and instead of typing the text that can change, insert a bookmark using names that are meaningful to you. Save the document. Create a form with 3 text boxes and a command button. The user will enter values into each textbox to be inserted into the Word document. Insert this code for the Click event of the button (insert your own error handling). Dim appWord As Word.Application Dim docWord As Word.Document Dim strFile as String strFile = "insert the complete path to the Word document" Set appWord = New Word.Application Set docWord = appWord.Documents.Add(strFile) docWord.Bookmarks("the name of the first bookmark").Range.Text = Me!txtField1 docWord.Bookmarks("the name of the second bookmark").Range.Text = Me!txtField2 docWord.Bookmarks("the name of the third bookmark").Range.Text = Me!txtField3 appWord.ActiveDocument.PrintOut appWord.ActiveDocument.Close Set appWord = Nothing Set appWord = Nothing strFile = "" Joe O'Connell -----Original Message----- From: Paul Rodgers To: 'Access Developers discussion and problem solving' Date: Wednesday, September 29, 2004 4:43 AM Subject: [AccessD] Access form producing a Word document |Can an Access form be coded to print a single Word document in which the |text is almost always the same, but for about three fields, please? | |For example, a command button to produce (for the employee whose form it is) |birthday cheers, or a wedding congratulations, or to be fired. | |Cheers |paul | |--- |Outgoing mail is certified Virus Free. |Checked by AVG anti-virus system (http://www.grisoft.com). |Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 | | |-- |_______________________________________________ |AccessD mailing list |AccessD at databaseadvisors.com |http://databaseadvisors.com/mailman/listinfo/accessd |Website: http://www.databaseadvisors.com From ajallen at mail.wvu.edu Wed Sep 29 09:39:28 2004 From: ajallen at mail.wvu.edu (Amanda Rittenhouse) Date: Wed, 29 Sep 2004 10:39:28 -0400 Subject: [AccessD] Splitting Information from One field into Two Message-ID: Thank you. That worked perfectly. * Amanda >>> rbgajewski at adelphia.net 9/28/04 12:24:57 PM >>> Amanda Use the InStr function to locate the comma (or comma and following space) and then use the Left/Mid/Right functions to extract the portions on either side of the comma. Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Amanda Rittenhouse Sent: Tuesday, September 28, 2004 12:08 To: accessd at databaseadvisors.com Subject: [AccessD] Splitting Information from One field into Two I can't find my sample code where I update two fields by splitting one. I have a field NAME which contains: last name comma first name Example: Smith, John I want to create two fields: LastName FirstName I want to populate the two fields with the data from NAME. Before the comma is the last name and after the comma is the first name. I've seen the update code to do it but can not locate it now. Please help. * Amanda -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Paul.Rogers at SummitMedia.co.uk Wed Sep 29 10:01:48 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Wed, 29 Sep 2004 16:01:48 +0100 Subject: [AccessD] Access form producing a Word document Message-ID: That looks excellent, Joe. Many, many thanks. All the best paul -----Original Message----- From: Joseph O'Connell [mailto:joconnell at indy.rr.com] Sent: 29 September 2004 15:31 To: Access Developers discussion and problem solving; Paul.Rogers at summitmedia.co.uk Subject: Re: [AccessD] Access form producing a Word document Paul, Create a Word document and instead of typing the text that can change, insert a bookmark using names that are meaningful to you. Save the document. Create a form with 3 text boxes and a command button. The user will enter values into each textbox to be inserted into the Word document. Insert this code for the Click event of the button (insert your own error handling). Dim appWord As Word.Application Dim docWord As Word.Document Dim strFile as String strFile = "insert the complete path to the Word document" Set appWord = New Word.Application Set docWord = appWord.Documents.Add(strFile) docWord.Bookmarks("the name of the first bookmark").Range.Text = Me!txtField1 docWord.Bookmarks("the name of the second bookmark").Range.Text = Me!txtField2 docWord.Bookmarks("the name of the third bookmark").Range.Text = Me!txtField3 appWord.ActiveDocument.PrintOut appWord.ActiveDocument.Close Set appWord = Nothing Set appWord = Nothing strFile = "" Joe O'Connell -----Original Message----- From: Paul Rodgers To: 'Access Developers discussion and problem solving' Date: Wednesday, September 29, 2004 4:43 AM Subject: [AccessD] Access form producing a Word document |Can an Access form be coded to print a single Word document in which the |text is almost always the same, but for about three fields, please? | |For example, a command button to produce (for the employee whose form it is) |birthday cheers, or a wedding congratulations, or to be fired. | |Cheers |paul | |--- |Outgoing mail is certified Virus Free. |Checked by AVG anti-virus system (http://www.grisoft.com). |Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 | | |-- |_______________________________________________ |AccessD mailing list |AccessD at databaseadvisors.com |http://databaseadvisors.com/mailman/listinfo/accessd |Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 From garykjos at hotmail.com Wed Sep 29 10:17:49 2004 From: garykjos at hotmail.com (Gary Kjos) Date: Wed, 29 Sep 2004 10:17:49 -0500 Subject: [AccessD] Splitting Information from One field into Two Message-ID: Hi Amanda, You need an update query with something like LastName:Left([FullName],Instr(1,[FullName],",")-1) FirstNameName:Mid([FullName],Instr(1,[FullName],",")+1) ----------- What these statements do is; Left = Returns a Variant (String) containing a specified number of characters from the left side of a string. InStr = Returns a Variant (Long) specifying the position of the first occurrence of one string within another. Mid = Returns a Variant (String) containing a specified number of characters from a string. ---------------- So the first one grabs everything to the left of the comma and the second one grabs everything to the right of the comma. You are kind of asking for trouble with a field just called NAME in my opinion. Could be reserved things using that term. Gary Kjos garykjos at hotmail.com >From: "Amanda Rittenhouse" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: [AccessD] Splitting Information from One field into Two >Date: Tue, 28 Sep 2004 12:07:42 -0400 > >I can't find my sample code where I update two fields by splitting one. I >have a field NAME which contains: >last name comma first name Example: Smith, John >I want to create two fields: LastName FirstName >I want to populate the two fields with the data from NAME. Before the >comma is the last name and after the comma is the first name. I've seen >the update code to do it but can not locate it now. Please help. > >* Amanda > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Wed Sep 29 11:45:49 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 29 Sep 2004 11:45:49 -0500 Subject: [AccessD] Access form producing a Word document Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677217FF65@corp-es01.fleetpride.com> Wow, I hope you don't hit the wrong button by mistake! ;-) Jim -----Original Message----- From: Paul Rodgers [mailto:Paul.Rogers at SummitMedia.co.uk] Sent: Wednesday, September 29, 2004 4:36 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access form producing a Word document Can an Access form be coded to print a single Word document in which the text is almost always the same, but for about three fields, please? For example, a command button to produce (for the employee whose form it is) birthday cheers, or a wedding congratulations, or to be fired. Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ajallen at mail.wvu.edu Wed Sep 29 14:12:16 2004 From: ajallen at mail.wvu.edu (Amanda Rittenhouse) Date: Wed, 29 Sep 2004 15:12:16 -0400 Subject: [AccessD] Exporting Memo Fields Message-ID: I use the following code to send a query results via email. However, my memo field from the table is converted into a text field and cutting the field at 255 characters. How do I get the query to provide the entire memo field? DoCmd.SendObject acSendQuery,"q_Name", acFormatXLS, , "email to", , "Subject", "email Message", True * Amanda From DWUTKA at marlow.com Wed Sep 29 15:07:19 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 29 Sep 2004 15:07:19 -0500 Subject: [AccessD] Exporting Memo Fields Message-ID: <123701F54509D9119A4F00D0B747349016CFA5@main2.marlow.com> I think the fastest way to fix this is to just build a report for that query, set the memo field's CanGrow property to True, and change your code to send the report, instead of sending a query. When you send the query, it is going to send it like a row in a query, which is going to limit the number of viewable characters to 255. Drew -----Original Message----- From: Amanda Rittenhouse [mailto:ajallen at mail.wvu.edu] Sent: Wednesday, September 29, 2004 2:12 PM To: accessd at databaseadvisors.com Subject: [AccessD] Exporting Memo Fields I use the following code to send a query results via email. However, my memo field from the table is converted into a text field and cutting the field at 255 characters. How do I get the query to provide the entire memo field? DoCmd.SendObject acSendQuery,"q_Name", acFormatXLS, , "email to", , "Subject", "email Message", True * Amanda -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lmrazek at lcm-res.com Wed Sep 29 15:36:03 2004 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Wed, 29 Sep 2004 15:36:03 -0500 Subject: [AccessD] Days of the Week Report In-Reply-To: Message-ID: <200409291635435.SM01212@hplaptop> Hi: I know I'm missing something, but I currently can't get the following to work: 1. tblProductionInfo has the following fields: (ProductionID, DateProduced, KgsProduced, BatchSize, BagsProduced ... Etc.) Basically, I want to be able to display a report with the days of the week at the top (column headings), and the fields (KgsProduced, BatchSize, BagsProduced) as row headings. Thus, it should look something like: Sun Mon Tues Wed Thur Fri Sat KgsProduced 1 3 3 2 2 2 1 BatchSize 1 3 3 2 2 2 1 BagsProduced 1 3 3 2 2 2 1 Totals 3 9 9 6 6 6 3 Can I do this in Access? I'll be using a parameter in the query to select only one calendar week at a time using the DatePart and Year function to filter against user supplied criteria. Any hints would be appreciated ... Haven't worked with Crosstabs in a long time ... I know it has to be easier than I'm making it ! Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 fx. 314-432-3304 From JHewson at karta.com Wed Sep 29 15:54:38 2004 From: JHewson at karta.com (Jim Hewson) Date: Wed, 29 Sep 2004 15:54:38 -0500 Subject: [AccessD] Access form producing a Word document Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0103E36C@karta-exc-int.Karta.com> I can't get this to work. It errors out on the first line with the cryptic: "Compile error: User-defined type not defined" I couldn't find anything in help "Word.Application" I'm using A2K if that makes a difference. Thanks, Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joseph O'Connell Sent: Wednesday, September 29, 2004 9:31 AM To: Access Developers discussion and problem solving; Paul.Rogers at SummitMedia.co.uk Subject: Re: [AccessD] Access form producing a Word document Paul, Create a Word document and instead of typing the text that can change, insert a bookmark using names that are meaningful to you. Save the document. Create a form with 3 text boxes and a command button. The user will enter values into each textbox to be inserted into the Word document. Insert this code for the Click event of the button (insert your own error handling). Dim appWord As Word.Application Dim docWord As Word.Document Dim strFile as String strFile = "insert the complete path to the Word document" Set appWord = New Word.Application Set docWord = appWord.Documents.Add(strFile) docWord.Bookmarks("the name of the first bookmark").Range.Text = Me!txtField1 docWord.Bookmarks("the name of the second bookmark").Range.Text = Me!txtField2 docWord.Bookmarks("the name of the third bookmark").Range.Text = Me!txtField3 appWord.ActiveDocument.PrintOut appWord.ActiveDocument.Close Set appWord = Nothing Set appWord = Nothing strFile = "" Joe O'Connell -----Original Message----- From: Paul Rodgers To: 'Access Developers discussion and problem solving' Date: Wednesday, September 29, 2004 4:43 AM Subject: [AccessD] Access form producing a Word document |Can an Access form be coded to print a single Word document in which the |text is almost always the same, but for about three fields, please? | |For example, a command button to produce (for the employee whose form it is) |birthday cheers, or a wedding congratulations, or to be fired. | |Cheers |paul | |--- |Outgoing mail is certified Virus Free. |Checked by AVG anti-virus system (http://www.grisoft.com). |Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 | | |-- |_______________________________________________ |AccessD mailing list |AccessD at databaseadvisors.com |http://databaseadvisors.com/mailman/listinfo/accessd |Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Wed Sep 29 16:15:36 2004 From: JHewson at karta.com (Jim Hewson) Date: Wed, 29 Sep 2004 16:15:36 -0500 Subject: [AccessD] Access form producing a Word document Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0103E36D@karta-exc-int.Karta.com> I get it... Think references! Doh! Sometimes I feel like a dolt. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Wednesday, September 29, 2004 3:55 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access form producing a Word document I can't get this to work. It errors out on the first line with the cryptic: "Compile error: User-defined type not defined" I couldn't find anything in help "Word.Application" I'm using A2K if that makes a difference. Thanks, Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joseph O'Connell Sent: Wednesday, September 29, 2004 9:31 AM To: Access Developers discussion and problem solving; Paul.Rogers at SummitMedia.co.uk Subject: Re: [AccessD] Access form producing a Word document Paul, Create a Word document and instead of typing the text that can change, insert a bookmark using names that are meaningful to you. Save the document. Create a form with 3 text boxes and a command button. The user will enter values into each textbox to be inserted into the Word document. Insert this code for the Click event of the button (insert your own error handling). Dim appWord As Word.Application Dim docWord As Word.Document Dim strFile as String strFile = "insert the complete path to the Word document" Set appWord = New Word.Application Set docWord = appWord.Documents.Add(strFile) docWord.Bookmarks("the name of the first bookmark").Range.Text = Me!txtField1 docWord.Bookmarks("the name of the second bookmark").Range.Text = Me!txtField2 docWord.Bookmarks("the name of the third bookmark").Range.Text = Me!txtField3 appWord.ActiveDocument.PrintOut appWord.ActiveDocument.Close Set appWord = Nothing Set appWord = Nothing strFile = "" Joe O'Connell -----Original Message----- From: Paul Rodgers To: 'Access Developers discussion and problem solving' Date: Wednesday, September 29, 2004 4:43 AM Subject: [AccessD] Access form producing a Word document |Can an Access form be coded to print a single Word document in which the |text is almost always the same, but for about three fields, please? | |For example, a command button to produce (for the employee whose form it is) |birthday cheers, or a wedding congratulations, or to be fired. | |Cheers |paul | |--- |Outgoing mail is certified Virus Free. |Checked by AVG anti-virus system (http://www.grisoft.com). |Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004 | | |-- |_______________________________________________ |AccessD mailing list |AccessD at databaseadvisors.com |http://databaseadvisors.com/mailman/listinfo/accessd |Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Wed Sep 29 05:11:28 2004 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 29 Sep 2004 12:11:28 +0200 (CEST) Subject: [AccessD] Common Dialog in Access 97 Message-ID: <199913.1096452688580.JavaMail.www@wwinf3003> Thanks for everyone's help on this, I went the API route in the end. Message date : Sep 29 2004, 11:05 AM >From : "Gustav Brock" To : "Access Developers discussion and problem solving" Copy to : Subject : Re: [AccessD] Common Dialog in Access 97 Hi Paul You need to have exactly the same version of the ocx on the machine. If it is not used for anything else on that machine, you can copy your version. You may need to register it though. If this is not a one-shot install, rewrite your code to use the API. /gustav > To all, > I have developed an application in Office XP which uses the Microsoft common dialog control. I converted the application to Access 97, using the convert wizard and when installed on an Access 97 > machine the common dialog section does not work, and it's not available in the ActiveX controls, anyone any idea's on how I can get this in Access 97 > Paul Hartland -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From pedro at plex.nl Thu Sep 30 11:49:45 2004 From: pedro at plex.nl (pedro at plex.nl) Date: Thu, 30 Sep 2004 11:49:45 (MET DST) Subject: [AccessD] print structure Message-ID: <200409300949.i8U9nj9S020105@mailhostC.plex.net> Hello group, is there a way to print out the structure of a database. With this i mean all fields, type's and properties of the table's, forms etc. Thanks Pedro Janssen From ssharkins at bellsouth.net Thu Sep 30 06:23:43 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 30 Sep 2004 07:23:43 -0400 Subject: [AccessD] print structure References: <200409300949.i8U9nj9S020105@mailhostC.plex.net> Message-ID: <014701c4a6e1$c90559c0$9865fea9@BILLONE> Use the Documenter feature -- Tools, Database Utilities -- it's simple to use. Susan H. > Hello group, > > is there a way to print out the structure of a database. With this i mean all fields, type's and properties of the table's, forms etc. > From paul.hartland at fsmail.net Thu Sep 30 07:18:46 2004 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 30 Sep 2004 14:18:46 +0200 (CEST) Subject: [AccessD] Exporting Using Code Message-ID: <22306874.1096546726997.JavaMail.www@wwinf3004> I have the following code to export a query into csv file, strExcelName = "G3-DE-DJL-25-" & Format(dtStart, "dd-mm-yyyy") & ".csv" strSQL = "SELECT * INTO " & _ "[Text;Database=\\Genesis\Genesis$\Excel_Worksheets\Email\" & strExcelName & "] " & _ "FROM qryDailyJobListingForTimer " & _ "WHERE (tblBooking.JobDate >= #" & dtStart & "# AND tblBooking.JobDate <= #" & dtFinish & "#) OR " & _ "(tblBooking.JobDate < #" & dtStart & "# AND tblBooking.BkgDate >= #" & dtStart & "# AND tblBooking.BkgDate <=#" & dtFinish & "#)" however when I run it using dbConn.Execute strSQL I get the following error: Run Time Error ?-2147467259 (80004005)?: ?qryDailyJobListingForTimer? is not a valid name. Make sure that it does not include invalid characters or punctuation and that it is not too long I am running this from Visual Basic, the dbConn is the connection to the correct database, I just can?t seem to get it to work, any ideas anyone ? Thanks in advance for any help. Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From actebs at actebs.com.au Thu Sep 30 08:06:36 2004 From: actebs at actebs.com.au (ACTEBS) Date: Thu, 30 Sep 2004 23:06:36 +1000 Subject: [AccessD] Arthur's Treeview Message-ID: <2025BB6F17FCB54791F23CD505583328041BB6@starfleet.unknown.local> Hi everyone, I am mucking around with Arthur's Tree view control using DAO. What I can't figure out is how you get the ID of the item selected within the treeview itself so I can use it to filter a recordset. For example: Level 1 = ProductCategory eg Dairy Level 2 = Product eg Goats Milk I want to be able to get the ProductCategoryID as I am only able to get the ProductCategoryText out at the moment in Level 1. This also applies to the Level 2 where I'd prefer to obtain the ProductID rather than the ProductDescription. Obviously I don't want the user to see these values... Any help much appreciated... Vlad From mikedorism at adelphia.net Thu Sep 30 08:35:57 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Thu, 30 Sep 2004 09:35:57 -0400 Subject: [AccessD] Arthur's Treeview In-Reply-To: <2025BB6F17FCB54791F23CD505583328041BB6@starfleet.unknown.local> Message-ID: <000001c4a6f2$6aefe6a0$060aa845@hargrove.internal> I store that information in the Node's Tag property. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS Sent: Thursday, September 30, 2004 9:07 AM To: access group Subject: [AccessD] Arthur's Treeview Hi everyone, I am mucking around with Arthur's Tree view control using DAO. What I can't figure out is how you get the ID of the item selected within the treeview itself so I can use it to filter a recordset. For example: Level 1 = ProductCategory eg Dairy Level 2 = Product eg Goats Milk I want to be able to get the ProductCategoryID as I am only able to get the ProductCategoryText out at the moment in Level 1. This also applies to the Level 2 where I'd prefer to obtain the ProductID rather than the ProductDescription. Obviously I don't want the user to see these values... Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JColby at dispec.com Thu Sep 30 08:40:01 2004 From: JColby at dispec.com (Colby, John) Date: Thu, 30 Sep 2004 09:40:01 -0400 Subject: [AccessD] Flattening out a child table Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF8EE@DISABILITYINS01> I have a data export that I need to do. An "Advise to Pay" (ATP) tells the insurer to pay on a claim, how much and for how long. Part of that information will be Offsets to the payment. Pay this amount gross, but deduct this amount and this amount and this amount. The offsets consist of a code (type of offset), offset from date, offset to date and amount of the offset. Since the offsets are in a child table to ATP, any advise to pay can have from zero to unlimited offsets. I am taking this data - Claim, claimant, ATP and Offset - and inserting it into a single record where there are repeating fields (denormalized obviously) for things like the offsets. The export format gives me 16 sets of fields (code / from date / to date / amount) into which I can insert up to 16 offsets, which realistically is more than I need. My question is, can this be done only in SQL or am I going to need to build a temporary table to put this in and run a program to pull the data from the offset records and jam it into sequential offset "slots" in the temp table? I can't for the life of me envision SQL able to flatten out n to 16 offsets into repeating field groups in this manner. For one record, yea, for N ATP records... It seems this is a crosstab kind of thing but my brain just isn't kicking out the solution this AM. John W. Colby The DIS Database Guy From Alun.Garraway at otto.de Thu Sep 30 09:02:51 2004 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Thu, 30 Sep 2004 16:02:51 +0200 Subject: [AccessD] Arthur's Treeview Message-ID: Hi Vlad, I use the Node.Key to store that info. here's some test code hth alun Private Sub tvwSpot_ON_NodeClick(ByVal Node As Object) Dim strLeval As String With Node strLeval = Left(.Key, 2) Select Case strLeval Case "WG" MsgBox "this is leval 1 " & .Key Case "AR" MsgBox "this is leval 2 " & Right(.Key, 6) Case Else MsgBox "nothing! " & .Key End Select End With End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Thursday, September 30, 2004 3:07 PM To: access group Subject: [AccessD] Arthur's Treeview Hi everyone, I am mucking around with Arthur's Tree view control using DAO. What I can't figure out is how you get the ID of the item selected within the treeview itself so I can use it to filter a recordset. For example: Level 1 = ProductCategory eg Dairy Level 2 = Product eg Goats Milk I want to be able to get the ProductCategoryID as I am only able to get the ProductCategoryText out at the moment in Level 1. This also applies to the Level 2 where I'd prefer to obtain the ProductID rather than the ProductDescription. Obviously I don't want the user to see these values... Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From GregSmith at starband.net Thu Sep 30 09:19:52 2004 From: GregSmith at starband.net (Greg Smith) Date: Thu, 30 Sep 2004 09:19:52 -0500 (CDT) Subject: [AccessD] Test - Posts not delivered. In-Reply-To: <2025BB6F17FCB54791F23CD505583328041BB6@starfleet.unknown.local> References: <2025BB6F17FCB54791F23CD505583328041BB6@starfleet.unknown.local> Message-ID: <1586.216.43.21.235.1096553992.squirrel@cetus.email.starband.net> Bryan: Most of my posts are still being 'undelivered'. They bounce back, as this one will from databaseadvisors.com (makes no difference whether it's to listmaster or accessD), and are at first marked 'warning...could not...deliver...just a warning', then about a day later I'll get the message that it couldn't deliver it and it was trashed. I even signed up a second account to accessD from starband (temporary email address ... maybe...), but it's getting the same thing. I have NO server-side filtering on either account, so it's not being blocked by anything I have here. Is there something in the header of my emails that is being captured or blocked by databaseadvisors.com? I feel a lot like the tail trying to wag the dog...as I have no control over how Starband sends emails, but if you could find out what's causing the issue, and it's a Starband issue, I sure would let them know! Thanks. Greg Smith From Mike.W.Gowey at doc.state.or.us Thu Sep 30 09:21:32 2004 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Thu, 30 Sep 2004 08:21:32 -0600 Subject: [AccessD] Calling and filling in an Outlook Form Message-ID: <05EBB8A3BEB95B4F8216BE4EF4860778042AFFB6@srciml1.ds.doc.state.or.us> Hi Everyone, Before I go off and spend a lot of time on this I wanted to ask if anyone has ever called an Outlook form and filled it in with data from an Access table and than send the Outlook form???? Any information on this would be greatly appreciated. Thanks, Mike Gowey MCSA, A+, LME, NET+ Team Leader - SRCI Information Systems & Services From GregSmith at starband.net Thu Sep 30 09:56:18 2004 From: GregSmith at starband.net (Greg Smith) Date: Thu, 30 Sep 2004 09:56:18 -0500 (CDT) Subject: [AccessD] Test - Posts not delivered. In-Reply-To: <1586.216.43.21.235.1096553992.squirrel@cetus.email.starband.net> References: <2025BB6F17FCB54791F23CD505583328041BB6@starfleet.unknown.local> <1586.216.43.21.235.1096553992.squirrel@cetus.email.starband.net> Message-ID: <1726.216.43.21.235.1096556178.squirrel@cetus.email.starband.net> Oh FINE. NOW it posts 'em right away. Sigh. Make me look like an idiot. I really don't need any help in THAT department... Greg > Bryan: > > Most of my posts are still being 'undelivered'. They bounce back, as > this one will from databaseadvisors.com (makes no difference whether > it's to listmaster or accessD), and are at first marked 'warning...could > not...deliver...just a warning', then about a day later I'll get the > message that it couldn't deliver it and it was trashed. > > I even signed up a second account to accessD from starband (temporary > email address ... maybe...), but it's getting the same thing. I have NO > server-side filtering on either account, so it's not being blocked by > anything I have here. > > Is there something in the header of my emails that is being captured or > blocked by databaseadvisors.com? > > I feel a lot like the tail trying to wag the dog...as I have no control > over how Starband sends emails, but if you could find out what's causing > the issue, and it's a Starband issue, I sure would let them know! > > Thanks. > > Greg Smith > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From actebs at actebs.com.au Thu Sep 30 09:58:58 2004 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 1 Oct 2004 00:58:58 +1000 Subject: [AccessD] Arthur's Treeview Message-ID: <2025BB6F17FCB54791F23CD50558332803852B@starfleet.unknown.local> Alun, You're a superstar... Thanx Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Garraway, Alun Sent: Friday, 1 October 2004 12:03 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Arthur's Treeview Hi Vlad, I use the Node.Key to store that info. here's some test code hth alun Private Sub tvwSpot_ON_NodeClick(ByVal Node As Object) Dim strLeval As String With Node strLeval = Left(.Key, 2) Select Case strLeval Case "WG" MsgBox "this is leval 1 " & .Key Case "AR" MsgBox "this is leval 2 " & Right(.Key, 6) Case Else MsgBox "nothing! " & .Key End Select End With End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Thursday, September 30, 2004 3:07 PM To: access group Subject: [AccessD] Arthur's Treeview Hi everyone, I am mucking around with Arthur's Tree view control using DAO. What I can't figure out is how you get the ID of the item selected within the treeview itself so I can use it to filter a recordset. For example: Level 1 = ProductCategory eg Dairy Level 2 = Product eg Goats Milk I want to be able to get the ProductCategoryID as I am only able to get the ProductCategoryText out at the moment in Level 1. This also applies to the Level 2 where I'd prefer to obtain the ProductID rather than the ProductDescription. Obviously I don't want the user to see these values... Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Sep 30 10:26:34 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 30 Sep 2004 08:26:34 -0700 Subject: [AccessD] Test - Posts not delivered. Message-ID: LOL Wipe the egg off your face and keep posting!! ;-} Charlotte Foust -----Original Message----- From: Greg Smith [mailto:GregSmith at starband.net] Sent: Thursday, September 30, 2004 7:56 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Test - Posts not delivered. Oh FINE. NOW it posts 'em right away. Sigh. Make me look like an idiot. I really don't need any help in THAT department... Greg > Bryan: > > Most of my posts are still being 'undelivered'. They bounce back, as > this one will from databaseadvisors.com (makes no difference whether > it's to listmaster or accessD), and are at first marked > 'warning...could not...deliver...just a warning', then about a day > later I'll get the message that it couldn't deliver it and it was > trashed. > > I even signed up a second account to accessD from starband (temporary > email address ... maybe...), but it's getting the same thing. I have > NO server-side filtering on either account, so it's not being blocked > by anything I have here. > > Is there something in the header of my emails that is being captured > or blocked by databaseadvisors.com? > > I feel a lot like the tail trying to wag the dog...as I have no > control over how Starband sends emails, but if you could find out > what's causing the issue, and it's a Starband issue, I sure would let > them know! > > Thanks. > > Greg Smith > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JColby at dispec.com Thu Sep 30 10:45:21 2004 From: JColby at dispec.com (Colby, John) Date: Thu, 30 Sep 2004 11:45:21 -0400 Subject: [AccessD] Test - Posts not delivered. Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF8F0@DISABILITYINS01> Hey, we ARE having problems with the list, no egg wiping needed. My son leaves the egg on all day (and boy does it embarrass mom). John W. Colby The DIS Database Guy -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, September 30, 2004 11:27 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Test - Posts not delivered. LOL Wipe the egg off your face and keep posting!! ;-} Charlotte Foust -----Original Message----- From: Greg Smith [mailto:GregSmith at starband.net] Sent: Thursday, September 30, 2004 7:56 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Test - Posts not delivered. Oh FINE. NOW it posts 'em right away. Sigh. Make me look like an idiot. I really don't need any help in THAT department... Greg > Bryan: > > Most of my posts are still being 'undelivered'. They bounce back, as > this one will from databaseadvisors.com (makes no difference whether > it's to listmaster or accessD), and are at first marked > 'warning...could not...deliver...just a warning', then about a day > later I'll get the message that it couldn't deliver it and it was > trashed. > > I even signed up a second account to accessD from starband (temporary > email address ... maybe...), but it's getting the same thing. I have > NO server-side filtering on either account, so it's not being blocked > by anything I have here. > > Is there something in the header of my emails that is being captured > or blocked by databaseadvisors.com? > > I feel a lot like the tail trying to wag the dog...as I have no > control over how Starband sends emails, but if you could find out > what's causing the issue, and it's a Starband issue, I sure would let > them know! > > Thanks. > > Greg Smith > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Sep 30 11:01:02 2004 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 30 Sep 2004 12:01:02 -0400 Subject: [AccessD] Test - Posts not delivered. In-Reply-To: <05C61C52D7CAD211A7830008C7DF6F10CBF8F0@DISABILITYINS01> References: <05C61C52D7CAD211A7830008C7DF6F10CBF8F0@DISABILITYINS01> Message-ID: On Thu, 30 Sep 2004 11:45:21 -0400, Colby, John wrote: > Hey, we ARE having problems with the list, no egg wiping needed. My son > leaves the egg on all day (and boy does it embarrass mom). Were!! I *think* the problems disappeared 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 paul.hartland at fsmail.net Thu Sep 30 11:05:09 2004 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 30 Sep 2004 18:05:09 +0200 (CEST) Subject: [AccessD] Menu/Toolbar Switching Functions on/Off Message-ID: <5084615.1096560309103.JavaMail.www@wwinf3003> To All, If no text is selected in my textbox, I don't want the copy or cut functions to be available on my toolbar/menu. Likewise if the clipboard is empty I don't want to Paste to be available. I'm thinking that on the keypress/mousemove/any activity events of my textbox I could put in the appropriate code to enable and disable the relevant options. But this seems a bit messy to me. Is this the correct way to go about doing this or does anyone know of a better way? Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From bheid at appdevgrp.com Thu Sep 30 11:18:07 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 30 Sep 2004 12:18:07 -0400 Subject: [AccessD] Menu/Toolbar Switching Functions on/Off In-Reply-To: <916187228923D311A6FE00A0CC3FAA309B502E@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB89F@ADGSERVER> I am unable to bring up Access at the moment, but isn't this done automatically? I tried it with this e-mail and it is automatic. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Thursday, September 30, 2004 12:05 PM To: accessd Subject: [AccessD] Menu/Toolbar Switching Functions on/Off To All, If no text is selected in my textbox, I don't want the copy or cut functions to be available on my toolbar/menu. Likewise if the clipboard is empty I don't want to Paste to be available. I'm thinking that on the keypress/mousemove/any activity events of my textbox I could put in the appropriate code to enable and disable the relevant options. But this seems a bit messy to me. Is this the correct way to go about doing this or does anyone know of a better way? Paul Hartland From cfoust at infostatsystems.com Thu Sep 30 11:20:28 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 30 Sep 2004 09:20:28 -0700 Subject: [AccessD] Test - Posts not delivered. Message-ID: >>boy does it embarrass mom She just hasn't been doing it long enough to realize that little boys are made that way. They could find dirt in a space bubble and tidy is a brand of toilet cleanser! Charlotte Foust -----Original Message----- From: Colby, John [mailto:JColby at dispec.com] Sent: Thursday, September 30, 2004 8:45 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Test - Posts not delivered. Hey, we ARE having problems with the list, no egg wiping needed. My son leaves the egg on all day (and boy does it embarrass mom). John W. Colby The DIS Database Guy -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, September 30, 2004 11:27 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Test - Posts not delivered. LOL Wipe the egg off your face and keep posting!! ;-} Charlotte Foust -----Original Message----- From: Greg Smith [mailto:GregSmith at starband.net] Sent: Thursday, September 30, 2004 7:56 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Test - Posts not delivered. Oh FINE. NOW it posts 'em right away. Sigh. Make me look like an idiot. I really don't need any help in THAT department... Greg > Bryan: > > Most of my posts are still being 'undelivered'. They bounce back, as > this one will from databaseadvisors.com (makes no difference whether > it's to listmaster or accessD), and are at first marked > 'warning...could not...deliver...just a warning', then about a day > later I'll get the message that it couldn't deliver it and it was > trashed. > > I even signed up a second account to accessD from starband (temporary > email address ... maybe...), but it's getting the same thing. I have > NO server-side filtering on either account, so it's not being blocked > by anything I have here. > > Is there something in the header of my emails that is being captured > or blocked by databaseadvisors.com? > > I feel a lot like the tail trying to wag the dog...as I have no > control over how Starband sends emails, but if you could find out > what's causing the issue, and it's a Starband issue, I sure would let > them know! > > Thanks. > > Greg Smith > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JColby at dispec.com Thu Sep 30 11:21:21 2004 From: JColby at dispec.com (Colby, John) Date: Thu, 30 Sep 2004 12:21:21 -0400 Subject: [AccessD] Menu/Toolbar Switching Functions on/Off Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF8F1@DISABILITYINS01> Boy, you know he's out of things to do when... But seriously, whenever you do figure it out, that is definitely a framework kinda thing so that is there in all text boxes everywhere. John W. Colby The DIS Database Guy -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Thursday, September 30, 2004 12:05 PM To: accessd Subject: [AccessD] Menu/Toolbar Switching Functions on/Off To All, If no text is selected in my textbox, I don't want the copy or cut functions to be available on my toolbar/menu. Likewise if the clipboard is empty I don't want to Paste to be available. I'm thinking that on the keypress/mousemove/any activity events of my textbox I could put in the appropriate code to enable and disable the relevant options. But this seems a bit messy to me. Is this the correct way to go about doing this or does anyone know of a better way? Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at touchtelindia.net Thu Sep 30 13:00:46 2004 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Thu, 30 Sep 2004 23:30:46 +0530 Subject: [AccessD] Days of the Week Report References: <200409291635435.SM01212@hplaptop> Message-ID: <009601c4a717$93b510e0$c71865cb@winxp> Larry, You need a crosstab query as the record source for your report. However, your existing table design is not amenable to creation of the final query in a single shot. Under the circumstances, two alternatives can be considered. (1) Modify the table design. 1.1 If too much data has not already been filled in, the table design can be modified so as to replace the existing number type fields (KgsProduced, BatchSize, BagsProduced, -- etc), by just two fields, i.e. Item (text type) and Output (number type). 1.2 For each date, there will be separate records for KgsProduced, BatchSize, BagsProduced etc (all in the column named Item) and corresponding numbers will be entered in the column named Output. 1.3 With this arrangement, creation of crosstab query is straightforward, using Item as Row-Heading, WeekdayName as Column-Heading and Output as Value. (2) Managing with existing table structure. 2.1 If you feel compelled to stick to the existing table design, you have to create individual crosstab queries for KgsProduced, BatchSize, BagsProduced etc, inserting Item as independent alias, to serve as row heading. 2.2 All crosstab queries created as per 2.1 above, are then to be combined into a union query to serve as record source for the intended report. 2.3 As an illustration, SQL for crosstab query pertaining to BagsProduced, is given below. Other queries (for KgsProduced, BatchSize -- etc) can be built on similar lines. You should now be in a position to proceed ahead with the alternative best suited to your specific situation. If you are stuck for any reason (even after trying for the next few days), just let me know. Regards, A.D.Tejpal -------------- ===================================== TRANSFORM Sum(tblProductionInfo.BagsProduced) AS [OutPut] SELECT "BagsProduced" AS Item FROM tblProductionInfo GROUP BY "BagsProduced" PIVOT WeekdayName(Weekday([DateProduced]),True) In ("Sun","Mon","Tue","Wed","Thu","Fri","Sat"); ===================================== ----- Original Message ----- From: Lawrence Mrazek To: 'Access Developers discussion and problem solving' Sent: Thursday, September 30, 2004 02:06 Subject: [AccessD] Days of the Week Report Hi: I know I'm missing something, but I currently can't get the following to work: 1. tblProductionInfo has the following fields: (ProductionID, DateProduced, KgsProduced, BatchSize, BagsProduced ... Etc.) Basically, I want to be able to display a report with the days of the week at the top (column headings), and the fields (KgsProduced, BatchSize, BagsProduced) as row headings. Thus, it should look something like: Sun Mon Tues Wed Thur Fri Sat KgsProduced 1 3 3 2 2 2 1 BatchSize 1 3 3 2 2 2 1 BagsProduced 1 3 3 2 2 2 1 Totals 3 9 9 6 6 6 3 Can I do this in Access? I'll be using a parameter in the query to select only one calendar week at a time using the DatePart and Year function to filter against user supplied criteria. Any hints would be appreciated ... Haven't worked with Crosstabs in a long time ... I know it has to be easier than I'm making it ! Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 fx. 314-432-3304 From pedro at plex.nl Thu Sep 30 14:46:03 2004 From: pedro at plex.nl (Pedro Janssen) Date: Thu, 30 Sep 2004 21:46:03 +0200 Subject: [AccessD] print structure References: <200409300949.i8U9nj9S020105@mailhostC.plex.net> <014701c4a6e1$c90559c0$9865fea9@BILLONE> Message-ID: <008601c4a736$51180de0$f3c581d5@pedro> Hello Susan, thanks for sharing. I didn't know this option at all. It's very usefull. Pedro Janssen ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Thursday, September 30, 2004 1:23 PM Subject: Re: [AccessD] print structure > Use the Documenter feature -- Tools, Database Utilities -- it's simple to > use. > > Susan H. > > > > Hello group, > > > > is there a way to print out the structure of a database. With this i mean > all fields, type's and properties of the table's, forms etc. > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Thu Sep 30 15:01:39 2004 From: pedro at plex.nl (Pedro Janssen) Date: Thu, 30 Sep 2004 22:01:39 +0200 Subject: [AccessD] date query References: <000c01c4a27d$9b424600$f9c581d5@pedro> <691989590.20040925091522@cactus.dk> Message-ID: <008701c4a736$51891f30$f3c581d5@pedro> Hello Mike, Doris and Gustav, Mike and Doris you were right. The fieldname Date gave me the trouble. Gustav, sometimes i don't trust myself to show a query that isn't working. Because i expect that the solution is simple, i sometimes think "what do the other members of the group will think of such an easy question". I am not a developer and use access for easy working with patient data. I often don't have the time to concentrate total on a query or code. I know this is a bad excuse and that the best way to learn is taking time and confront myself with my mistakes. But time time time. I am glad that you folks exist and help with all the access problems. Thanks i will try to make more time. Greetings Pedro Janssen ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Saturday, September 25, 2004 9:15 AM Subject: Re: [AccessD] date query > Hi Pedro > > > i have a table [tblmeasure1] and important for the query are two > > fields: Date and Temperature. > > > I am trying to get avg, min etc. etc from Temperature in certain > > date periods (Between #...# and #....#. But i keep running into > > errors. What is the right way to do this? > > This is the way. So why not show us your query? > > /gustav > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Thu Sep 30 17:20:20 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 01 Oct 2004 08:20:20 +1000 Subject: [AccessD] Flattening out a child table In-Reply-To: <05C61C52D7CAD211A7830008C7DF6F10CBF8EE@DISABILITYINS01> Message-ID: <415D1344.6819.71FB458@lexacorp.com.pg> On 30 Sep 2004 at 9:40, Colby, John wrote: > I have a data export that I need to do. An "Advise to Pay" (ATP) tells the > insurer to pay on a claim, how much and for how long. Part of that > information will be Offsets to the payment. Pay this amount gross, but > deduct this amount and this amount and this amount. The offsets consist of > a code (type of offset), offset from date, offset to date and amount of the > offset. Since the offsets are in a child table to ATP, any advise to pay > can have from zero to unlimited offsets. > > I am taking this data - Claim, claimant, ATP and Offset - and inserting it > into a single record where there are repeating fields (denormalized > obviously) for things like the offsets. The export format gives me 16 sets > of fields (code / from date / to date / amount) into which I can insert up > to 16 offsets, which realistically is more than I need. > > My question is, can this be done only in SQL or am I going to need to build > a temporary table to put this in and run a program to pull the data from the > offset records and jam it into sequential offset "slots" in the temp table? > I can't for the life of me envision SQL able to flatten out n to 16 offsets > into repeating field groups in this manner. For one record, yea, for N ATP > records... It seems this is a crosstab kind of thing but my brain just > isn't kicking out the solution this AM. > Trouble with crosstabs is you can only have one Value field and you are looking at four. I would probably do this in code. Build a function which pulls the offsets for a specific claim from a recordset and structures the output appropriately. Depending on what you are exporting to, you can possibly then just write the data directly to your export file without building any temp table. -- Stuart From GregSmith at starband.net Wed Sep 29 14:08:10 2004 From: GregSmith at starband.net (Greg Smith) Date: Wed, 29 Sep 2004 14:08:10 -0500 (CDT) Subject: [AccessD] Test for today... In-Reply-To: References: Message-ID: <2210.216.43.21.235.1096484890.squirrel@cetus.email.starband.net> Test for Wednesday, 9-29-04 @ 1410 cdt Greg From john at winhaven.net Thu Sep 30 21:18:24 2004 From: john at winhaven.net (John Bartow) Date: Thu, 30 Sep 2004 21:18:24 -0500 Subject: [AccessD] Test for today... In-Reply-To: <2210.216.43.21.235.1096484890.squirrel@cetus.email.starband.net> Message-ID: OK at 21:09 CST -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Greg Smith Sent: Wednesday, September 29, 2004 2:08 PM To: accessd at databaseadvisors.com Subject: [AccessD] Test for today... Test for Wednesday, 9-29-04 @ 1410 cdt Greg -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lmrazek at lcm-res.com Thu Sep 30 22:05:27 2004 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Thu, 30 Sep 2004 22:05:27 -0500 Subject: [AccessD] Days of the Week Report In-Reply-To: <009601c4a717$93b510e0$c71865cb@winxp> Message-ID: <200409302305300.SM01420@hplaptop> Thanks A.D. This was a big help! Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 fx. 314-432-3304 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.Tejpal Sent: Thursday, September 30, 2004 1:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Days of the Week Report Larry, You need a crosstab query as the record source for your report. However, your existing table design is not amenable to creation of the final query in a single shot. Under the circumstances, two alternatives can be considered. (1) Modify the table design. 1.1 If too much data has not already been filled in, the table design can be modified so as to replace the existing number type fields (KgsProduced, BatchSize, BagsProduced, -- etc), by just two fields, i.e. Item (text type) and Output (number type). 1.2 For each date, there will be separate records for KgsProduced, BatchSize, BagsProduced etc (all in the column named Item) and corresponding numbers will be entered in the column named Output. 1.3 With this arrangement, creation of crosstab query is straightforward, using Item as Row-Heading, WeekdayName as Column-Heading and Output as Value. (2) Managing with existing table structure. 2.1 If you feel compelled to stick to the existing table design, you have to create individual crosstab queries for KgsProduced, BatchSize, BagsProduced etc, inserting Item as independent alias, to serve as row heading. 2.2 All crosstab queries created as per 2.1 above, are then to be combined into a union query to serve as record source for the intended report. 2.3 As an illustration, SQL for crosstab query pertaining to BagsProduced, is given below. Other queries (for KgsProduced, BatchSize -- etc) can be built on similar lines. You should now be in a position to proceed ahead with the alternative best suited to your specific situation. If you are stuck for any reason (even after trying for the next few days), just let me know. Regards, A.D.Tejpal -------------- ===================================== TRANSFORM Sum(tblProductionInfo.BagsProduced) AS [OutPut] SELECT "BagsProduced" AS Item FROM tblProductionInfo GROUP BY "BagsProduced" PIVOT WeekdayName(Weekday([DateProduced]),True) In ("Sun","Mon","Tue","Wed","Thu","Fri","Sat"); ===================================== ----- Original Message ----- From: Lawrence Mrazek To: 'Access Developers discussion and problem solving' Sent: Thursday, September 30, 2004 02:06 Subject: [AccessD] Days of the Week Report Hi: I know I'm missing something, but I currently can't get the following to work: 1. tblProductionInfo has the following fields: (ProductionID, DateProduced, KgsProduced, BatchSize, BagsProduced ... Etc.) Basically, I want to be able to display a report with the days of the week at the top (column headings), and the fields (KgsProduced, BatchSize, BagsProduced) as row headings. Thus, it should look something like: Sun Mon Tues Wed Thur Fri Sat KgsProduced 1 3 3 2 2 2 1 BatchSize 1 3 3 2 2 2 1 BagsProduced 1 3 3 2 2 2 1 Totals 3 9 9 6 6 6 3 Can I do this in Access? I'll be using a parameter in the query to select only one calendar week at a time using the DatePart and Year function to filter against user supplied criteria. Any hints would be appreciated ... Haven't worked with Crosstabs in a long time ... I know it has to be easier than I'm making it ! Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 fx. 314-432-3304 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From GregSmith at starband.net Tue Sep 28 08:08:32 2004 From: GregSmith at starband.net (Greg Smith) Date: Tue, 28 Sep 2004 08:08:32 -0500 (CDT) Subject: [AccessD] Test Only In-Reply-To: <1470.216.43.21.235.1096294301.squirrel@cetus.email.starband.net> References: <61F915314798D311A2F800A0C9C8318805CED50A@dibble.observatory.donnslaw.co.uk> <1470.216.43.21.235.1096294301.squirrel@cetus.email.starband.net> Message-ID: <1330.216.43.21.235.1096376912.squirrel@cetus.email.starband.net> Test only..Sorry about all these... Greg